From 26aae2857cb7f29d5fb44548fbc7977da85afce6 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 18 Dec 2024 00:18:15 +0000 Subject: [PATCH] feat: A new resource pattern value `projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}` added to the resource definition `contactcenterinsights.googleapis.com/Conversation` feat: A new field `agent_type` is added to message `.google.cloud.contactcenterinsights.v1.Conversation` feat: A new resource pattern value `projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis}` added to the resource definition `contactcenterinsights.googleapis.com/Analysis` feat: A new resource pattern value `projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label}` added to the resource definition `contactcenterinsights.googleapis.com/FeedbackLabel` PiperOrigin-RevId: 707203752 Source-Link: https://github.com/googleapis/googleapis/commit/5546362a78d82f8307eb1af4b2ac178a90cd9271 Source-Link: https://github.com/googleapis/googleapis-gen/commit/f7186d14b43d7fa905c7f64b4a2886b695667f03 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQ29udGFjdENlbnRlckluc2lnaHRzLlYxLy5Pd2xCb3QueWFtbCIsImgiOiJmNzE4NmQxNGI0M2Q3ZmE5MDVjN2Y2NGI0YTI4ODZiNjk1NjY3ZjAzIn0= --- ....BulkAnalyzeConversationsAsyncSnippet.g.cs | 63 + ...onversationsRequestObjectAsyncSnippet.g.cs | 68 + ...lyzeConversationsRequestObjectSnippet.g.cs | 67 + ...onversationsResourceNamesAsyncSnippet.g.cs | 64 + ...lyzeConversationsResourceNamesSnippet.g.cs | 63 + ...lient.BulkAnalyzeConversationsSnippet.g.cs | 62 + ...t.BulkDeleteConversationsAsyncSnippet.g.cs | 62 + ...onversationsRequestObjectAsyncSnippet.g.cs | 68 + ...leteConversationsRequestObjectSnippet.g.cs | 67 + ...onversationsResourceNamesAsyncSnippet.g.cs | 63 + ...leteConversationsResourceNamesSnippet.g.cs | 62 + ...Client.BulkDeleteConversationsSnippet.g.cs | 61 + ...ulkDownloadFeedbackLabelsAsyncSnippet.g.cs | 61 + ...edbackLabelsRequestObjectAsyncSnippet.g.cs | 71 + ...oadFeedbackLabelsRequestObjectSnippet.g.cs | 70 + ...edbackLabelsResourceNamesAsyncSnippet.g.cs | 62 + ...oadFeedbackLabelsResourceNamesSnippet.g.cs | 61 + ...ent.BulkDownloadFeedbackLabelsSnippet.g.cs | 60 + ....BulkUploadFeedbackLabelsAsyncSnippet.g.cs | 61 + ...edbackLabelsRequestObjectAsyncSnippet.g.cs | 67 + ...oadFeedbackLabelsRequestObjectSnippet.g.cs | 66 + ...edbackLabelsResourceNamesAsyncSnippet.g.cs | 62 + ...oadFeedbackLabelsResourceNamesSnippet.g.cs | 61 + ...lient.BulkUploadFeedbackLabelsSnippet.g.cs | 60 + ....CalculateIssueModelStatsAsyncSnippet.g.cs | 44 + ...ueModelStatsRequestObjectAsyncSnippet.g.cs | 47 + ...teIssueModelStatsRequestObjectSnippet.g.cs | 46 + ...ueModelStatsResourceNamesAsyncSnippet.g.cs | 44 + ...teIssueModelStatsResourceNamesSnippet.g.cs | 43 + ...lient.CalculateIssueModelStatsSnippet.g.cs | 43 + ...ghtsClient.CalculateStatsAsyncSnippet.g.cs | 44 + ...lculateStatsRequestObjectAsyncSnippet.g.cs | 49 + ...nt.CalculateStatsRequestObjectSnippet.g.cs | 48 + ...lculateStatsResourceNamesAsyncSnippet.g.cs | 45 + ...nt.CalculateStatsResourceNamesSnippet.g.cs | 44 + ...rInsightsClient.CalculateStatsSnippet.g.cs | 43 + ...ghtsClient.CreateAnalysisAsyncSnippet.g.cs | 62 + ...eateAnalysisRequestObjectAsyncSnippet.g.cs | 65 + ...nt.CreateAnalysisRequestObjectSnippet.g.cs | 64 + ...eateAnalysisResourceNamesAsyncSnippet.g.cs | 62 + ...nt.CreateAnalysisResourceNamesSnippet.g.cs | 61 + ...Client.CreateAnalysisRuleAsyncSnippet.g.cs | 45 + ...AnalysisRuleRequestObjectAsyncSnippet.g.cs | 49 + ...reateAnalysisRuleRequestObjectSnippet.g.cs | 48 + ...AnalysisRuleResourceNamesAsyncSnippet.g.cs | 46 + ...reateAnalysisRuleResourceNamesSnippet.g.cs | 45 + ...ightsClient.CreateAnalysisRuleSnippet.g.cs | 44 + ...rInsightsClient.CreateAnalysisSnippet.g.cs | 61 + ...Client.CreateConversationAsyncSnippet.g.cs | 46 + ...ConversationRequestObjectAsyncSnippet.g.cs | 50 + ...reateConversationRequestObjectSnippet.g.cs | 49 + ...ConversationResourceNamesAsyncSnippet.g.cs | 47 + ...reateConversationResourceNamesSnippet.g.cs | 46 + ...ightsClient.CreateConversationSnippet.g.cs | 45 + ...lient.CreateFeedbackLabelAsyncSnippet.g.cs | 46 + ...eedbackLabelRequestObjectAsyncSnippet.g.cs | 49 + ...eateFeedbackLabelRequestObjectSnippet.g.cs | 48 + ...eedbackLabelResourceNamesAsyncSnippet.g.cs | 46 + ...eateFeedbackLabelResourceNamesSnippet.g.cs | 45 + ...ghtsClient.CreateFeedbackLabelSnippet.g.cs | 45 + ...tsClient.CreateIssueModelAsyncSnippet.g.cs | 62 + ...teIssueModelRequestObjectAsyncSnippet.g.cs | 66 + ....CreateIssueModelRequestObjectSnippet.g.cs | 65 + ...teIssueModelResourceNamesAsyncSnippet.g.cs | 63 + ....CreateIssueModelResourceNamesSnippet.g.cs | 62 + ...nsightsClient.CreateIssueModelSnippet.g.cs | 61 + ...lient.CreatePhraseMatcherAsyncSnippet.g.cs | 45 + ...hraseMatcherRequestObjectAsyncSnippet.g.cs | 49 + ...eatePhraseMatcherRequestObjectSnippet.g.cs | 48 + ...hraseMatcherResourceNamesAsyncSnippet.g.cs | 46 + ...eatePhraseMatcherResourceNamesSnippet.g.cs | 45 + ...ghtsClient.CreatePhraseMatcherSnippet.g.cs | 44 + ...tsClient.CreateQaQuestionAsyncSnippet.g.cs | 46 + ...teQaQuestionRequestObjectAsyncSnippet.g.cs | 49 + ....CreateQaQuestionRequestObjectSnippet.g.cs | 48 + ...teQaQuestionResourceNamesAsyncSnippet.g.cs | 46 + ....CreateQaQuestionResourceNamesSnippet.g.cs | 45 + ...nsightsClient.CreateQaQuestionSnippet.g.cs | 45 + ...sClient.CreateQaScorecardAsyncSnippet.g.cs | 46 + ...eQaScorecardRequestObjectAsyncSnippet.g.cs | 50 + ...CreateQaScorecardRequestObjectSnippet.g.cs | 49 + ...eQaScorecardResourceNamesAsyncSnippet.g.cs | 47 + ...CreateQaScorecardResourceNamesSnippet.g.cs | 46 + ...CreateQaScorecardRevisionAsyncSnippet.g.cs | 46 + ...cardRevisionRequestObjectAsyncSnippet.g.cs | 49 + ...ScorecardRevisionRequestObjectSnippet.g.cs | 48 + ...cardRevisionResourceNamesAsyncSnippet.g.cs | 46 + ...ScorecardRevisionResourceNamesSnippet.g.cs | 45 + ...ient.CreateQaScorecardRevisionSnippet.g.cs | 45 + ...sightsClient.CreateQaScorecardSnippet.g.cs | 45 + ...InsightsClient.CreateViewAsyncSnippet.g.cs | 45 + ...t.CreateViewRequestObjectAsyncSnippet.g.cs | 49 + ...Client.CreateViewRequestObjectSnippet.g.cs | 48 + ...t.CreateViewResourceNamesAsyncSnippet.g.cs | 46 + ...Client.CreateViewResourceNamesSnippet.g.cs | 45 + ...enterInsightsClient.CreateViewSnippet.g.cs | 44 + ...ghtsClient.DeleteAnalysisAsyncSnippet.g.cs | 44 + ...leteAnalysisRequestObjectAsyncSnippet.g.cs | 47 + ...nt.DeleteAnalysisRequestObjectSnippet.g.cs | 46 + ...leteAnalysisResourceNamesAsyncSnippet.g.cs | 44 + ...nt.DeleteAnalysisResourceNamesSnippet.g.cs | 43 + ...Client.DeleteAnalysisRuleAsyncSnippet.g.cs | 44 + ...AnalysisRuleRequestObjectAsyncSnippet.g.cs | 47 + ...eleteAnalysisRuleRequestObjectSnippet.g.cs | 46 + ...AnalysisRuleResourceNamesAsyncSnippet.g.cs | 44 + ...eleteAnalysisRuleResourceNamesSnippet.g.cs | 43 + ...ightsClient.DeleteAnalysisRuleSnippet.g.cs | 43 + ...rInsightsClient.DeleteAnalysisSnippet.g.cs | 43 + ...Client.DeleteConversationAsyncSnippet.g.cs | 44 + ...ConversationRequestObjectAsyncSnippet.g.cs | 48 + ...eleteConversationRequestObjectSnippet.g.cs | 47 + ...ConversationResourceNamesAsyncSnippet.g.cs | 44 + ...eleteConversationResourceNamesSnippet.g.cs | 43 + ...ightsClient.DeleteConversationSnippet.g.cs | 43 + ...lient.DeleteFeedbackLabelAsyncSnippet.g.cs | 44 + ...eedbackLabelRequestObjectAsyncSnippet.g.cs | 47 + ...leteFeedbackLabelRequestObjectSnippet.g.cs | 46 + ...eedbackLabelResourceNamesAsyncSnippet.g.cs | 44 + ...leteFeedbackLabelResourceNamesSnippet.g.cs | 43 + ...ghtsClient.DeleteFeedbackLabelSnippet.g.cs | 43 + ...nsightsClient.DeleteIssueAsyncSnippet.g.cs | 44 + ...tsClient.DeleteIssueModelAsyncSnippet.g.cs | 62 + ...teIssueModelRequestObjectAsyncSnippet.g.cs | 65 + ....DeleteIssueModelRequestObjectSnippet.g.cs | 64 + ...teIssueModelResourceNamesAsyncSnippet.g.cs | 62 + ....DeleteIssueModelResourceNamesSnippet.g.cs | 61 + ...nsightsClient.DeleteIssueModelSnippet.g.cs | 61 + ....DeleteIssueRequestObjectAsyncSnippet.g.cs | 47 + ...lient.DeleteIssueRequestObjectSnippet.g.cs | 46 + ....DeleteIssueResourceNamesAsyncSnippet.g.cs | 44 + ...lient.DeleteIssueResourceNamesSnippet.g.cs | 43 + ...nterInsightsClient.DeleteIssueSnippet.g.cs | 43 + ...lient.DeletePhraseMatcherAsyncSnippet.g.cs | 44 + ...hraseMatcherRequestObjectAsyncSnippet.g.cs | 47 + ...letePhraseMatcherRequestObjectSnippet.g.cs | 46 + ...hraseMatcherResourceNamesAsyncSnippet.g.cs | 44 + ...letePhraseMatcherResourceNamesSnippet.g.cs | 43 + ...ghtsClient.DeletePhraseMatcherSnippet.g.cs | 43 + ...tsClient.DeleteQaQuestionAsyncSnippet.g.cs | 44 + ...teQaQuestionRequestObjectAsyncSnippet.g.cs | 47 + ....DeleteQaQuestionRequestObjectSnippet.g.cs | 46 + ...teQaQuestionResourceNamesAsyncSnippet.g.cs | 44 + ....DeleteQaQuestionResourceNamesSnippet.g.cs | 43 + ...nsightsClient.DeleteQaQuestionSnippet.g.cs | 43 + ...sClient.DeleteQaScorecardAsyncSnippet.g.cs | 44 + ...eQaScorecardRequestObjectAsyncSnippet.g.cs | 48 + ...DeleteQaScorecardRequestObjectSnippet.g.cs | 47 + ...eQaScorecardResourceNamesAsyncSnippet.g.cs | 44 + ...DeleteQaScorecardResourceNamesSnippet.g.cs | 43 + ...DeleteQaScorecardRevisionAsyncSnippet.g.cs | 44 + ...cardRevisionRequestObjectAsyncSnippet.g.cs | 48 + ...ScorecardRevisionRequestObjectSnippet.g.cs | 47 + ...cardRevisionResourceNamesAsyncSnippet.g.cs | 44 + ...ScorecardRevisionResourceNamesSnippet.g.cs | 43 + ...ient.DeleteQaScorecardRevisionSnippet.g.cs | 43 + ...sightsClient.DeleteQaScorecardSnippet.g.cs | 43 + ...InsightsClient.DeleteViewAsyncSnippet.g.cs | 44 + ...t.DeleteViewRequestObjectAsyncSnippet.g.cs | 47 + ...Client.DeleteViewRequestObjectSnippet.g.cs | 46 + ...t.DeleteViewResourceNamesAsyncSnippet.g.cs | 44 + ...Client.DeleteViewResourceNamesSnippet.g.cs | 43 + ...enterInsightsClient.DeleteViewSnippet.g.cs | 43 + ...tsClient.DeployIssueModelAsyncSnippet.g.cs | 61 + ...oyIssueModelRequestObjectAsyncSnippet.g.cs | 64 + ....DeployIssueModelRequestObjectSnippet.g.cs | 63 + ...oyIssueModelResourceNamesAsyncSnippet.g.cs | 61 + ....DeployIssueModelResourceNamesSnippet.g.cs | 60 + ...nsightsClient.DeployIssueModelSnippet.g.cs | 60 + ...cardRevisionRequestObjectAsyncSnippet.g.cs | 47 + ...ScorecardRevisionRequestObjectSnippet.g.cs | 46 + ...Client.ExportInsightsDataAsyncSnippet.g.cs | 61 + ...InsightsDataRequestObjectAsyncSnippet.g.cs | 69 + ...xportInsightsDataRequestObjectSnippet.g.cs | 68 + ...InsightsDataResourceNamesAsyncSnippet.g.cs | 62 + ...xportInsightsDataResourceNamesSnippet.g.cs | 61 + ...ightsClient.ExportInsightsDataSnippet.g.cs | 60 + ...tsClient.ExportIssueModelAsyncSnippet.g.cs | 61 + ...rtIssueModelRequestObjectAsyncSnippet.g.cs | 65 + ....ExportIssueModelRequestObjectSnippet.g.cs | 64 + ...rtIssueModelResourceNamesAsyncSnippet.g.cs | 61 + ....ExportIssueModelResourceNamesSnippet.g.cs | 60 + ...nsightsClient.ExportIssueModelSnippet.g.cs | 60 + ...nsightsClient.GetAnalysisAsyncSnippet.g.cs | 44 + ....GetAnalysisRequestObjectAsyncSnippet.g.cs | 47 + ...lient.GetAnalysisRequestObjectSnippet.g.cs | 46 + ....GetAnalysisResourceNamesAsyncSnippet.g.cs | 44 + ...lient.GetAnalysisResourceNamesSnippet.g.cs | 43 + ...htsClient.GetAnalysisRuleAsyncSnippet.g.cs | 44 + ...AnalysisRuleRequestObjectAsyncSnippet.g.cs | 47 + ...t.GetAnalysisRuleRequestObjectSnippet.g.cs | 46 + ...AnalysisRuleResourceNamesAsyncSnippet.g.cs | 44 + ...t.GetAnalysisRuleResourceNamesSnippet.g.cs | 43 + ...InsightsClient.GetAnalysisRuleSnippet.g.cs | 43 + ...nterInsightsClient.GetAnalysisSnippet.g.cs | 43 + ...htsClient.GetConversationAsyncSnippet.g.cs | 44 + ...ConversationRequestObjectAsyncSnippet.g.cs | 48 + ...t.GetConversationRequestObjectSnippet.g.cs | 47 + ...ConversationResourceNamesAsyncSnippet.g.cs | 44 + ...t.GetConversationResourceNamesSnippet.g.cs | 43 + ...InsightsClient.GetConversationSnippet.g.cs | 43 + ...sClient.GetEncryptionSpecAsyncSnippet.g.cs | 44 + ...cryptionSpecRequestObjectAsyncSnippet.g.cs | 47 + ...GetEncryptionSpecRequestObjectSnippet.g.cs | 46 + ...cryptionSpecResourceNamesAsyncSnippet.g.cs | 44 + ...GetEncryptionSpecResourceNamesSnippet.g.cs | 43 + ...sightsClient.GetEncryptionSpecSnippet.g.cs | 43 + ...tsClient.GetFeedbackLabelAsyncSnippet.g.cs | 44 + ...eedbackLabelRequestObjectAsyncSnippet.g.cs | 47 + ....GetFeedbackLabelRequestObjectSnippet.g.cs | 46 + ...eedbackLabelResourceNamesAsyncSnippet.g.cs | 44 + ....GetFeedbackLabelResourceNamesSnippet.g.cs | 43 + ...nsightsClient.GetFeedbackLabelSnippet.g.cs | 43 + ...erInsightsClient.GetIssueAsyncSnippet.g.cs | 44 + ...ightsClient.GetIssueModelAsyncSnippet.g.cs | 44 + ...etIssueModelRequestObjectAsyncSnippet.g.cs | 47 + ...ent.GetIssueModelRequestObjectSnippet.g.cs | 46 + ...etIssueModelResourceNamesAsyncSnippet.g.cs | 44 + ...ent.GetIssueModelResourceNamesSnippet.g.cs | 43 + ...erInsightsClient.GetIssueModelSnippet.g.cs | 43 + ...ent.GetIssueRequestObjectAsyncSnippet.g.cs | 47 + ...tsClient.GetIssueRequestObjectSnippet.g.cs | 46 + ...ent.GetIssueResourceNamesAsyncSnippet.g.cs | 44 + ...tsClient.GetIssueResourceNamesSnippet.g.cs | 43 + ...tCenterInsightsClient.GetIssueSnippet.g.cs | 43 + ...tsClient.GetPhraseMatcherAsyncSnippet.g.cs | 44 + ...hraseMatcherRequestObjectAsyncSnippet.g.cs | 47 + ....GetPhraseMatcherRequestObjectSnippet.g.cs | 46 + ...hraseMatcherResourceNamesAsyncSnippet.g.cs | 44 + ....GetPhraseMatcherResourceNamesSnippet.g.cs | 43 + ...nsightsClient.GetPhraseMatcherSnippet.g.cs | 43 + ...ightsClient.GetQaQuestionAsyncSnippet.g.cs | 44 + ...etQaQuestionRequestObjectAsyncSnippet.g.cs | 47 + ...ent.GetQaQuestionRequestObjectSnippet.g.cs | 46 + ...etQaQuestionResourceNamesAsyncSnippet.g.cs | 44 + ...ent.GetQaQuestionResourceNamesSnippet.g.cs | 43 + ...erInsightsClient.GetQaQuestionSnippet.g.cs | 43 + ...ghtsClient.GetQaScorecardAsyncSnippet.g.cs | 44 + ...tQaScorecardRequestObjectAsyncSnippet.g.cs | 47 + ...nt.GetQaScorecardRequestObjectSnippet.g.cs | 46 + ...tQaScorecardResourceNamesAsyncSnippet.g.cs | 44 + ...nt.GetQaScorecardResourceNamesSnippet.g.cs | 43 + ...nt.GetQaScorecardRevisionAsyncSnippet.g.cs | 44 + ...cardRevisionRequestObjectAsyncSnippet.g.cs | 47 + ...ScorecardRevisionRequestObjectSnippet.g.cs | 46 + ...cardRevisionResourceNamesAsyncSnippet.g.cs | 44 + ...ScorecardRevisionResourceNamesSnippet.g.cs | 43 + ...sClient.GetQaScorecardRevisionSnippet.g.cs | 43 + ...rInsightsClient.GetQaScorecardSnippet.g.cs | 43 + ...nsightsClient.GetSettingsAsyncSnippet.g.cs | 44 + ....GetSettingsRequestObjectAsyncSnippet.g.cs | 47 + ...lient.GetSettingsRequestObjectSnippet.g.cs | 46 + ....GetSettingsResourceNamesAsyncSnippet.g.cs | 44 + ...lient.GetSettingsResourceNamesSnippet.g.cs | 43 + ...nterInsightsClient.GetSettingsSnippet.g.cs | 43 + ...terInsightsClient.GetViewAsyncSnippet.g.cs | 44 + ...ient.GetViewRequestObjectAsyncSnippet.g.cs | 47 + ...htsClient.GetViewRequestObjectSnippet.g.cs | 46 + ...ient.GetViewResourceNamesAsyncSnippet.g.cs | 44 + ...htsClient.GetViewResourceNamesSnippet.g.cs | 43 + ...ctCenterInsightsClient.GetViewSnippet.g.cs | 43 + ...tsClient.ImportIssueModelAsyncSnippet.g.cs | 61 + ...rtIssueModelRequestObjectAsyncSnippet.g.cs | 67 + ....ImportIssueModelRequestObjectSnippet.g.cs | 66 + ...rtIssueModelResourceNamesAsyncSnippet.g.cs | 62 + ....ImportIssueModelResourceNamesSnippet.g.cs | 61 + ...nsightsClient.ImportIssueModelSnippet.g.cs | 60 + ...lient.IngestConversationsAsyncSnippet.g.cs | 61 + ...onversationsRequestObjectAsyncSnippet.g.cs | 71 + ...gestConversationsRequestObjectSnippet.g.cs | 70 + ...onversationsResourceNamesAsyncSnippet.g.cs | 62 + ...gestConversationsResourceNamesSnippet.g.cs | 61 + ...ghtsClient.IngestConversationsSnippet.g.cs | 60 + ....InitializeEncryptionSpecAsyncSnippet.g.cs | 61 + ...cryptionSpecRequestObjectAsyncSnippet.g.cs | 64 + ...izeEncryptionSpecRequestObjectSnippet.g.cs | 63 + ...lient.InitializeEncryptionSpecSnippet.g.cs | 60 + ...ent.ListAllFeedbackLabelsAsyncSnippet.g.cs | 79 + ...edbackLabelsRequestObjectAsyncSnippet.g.cs | 84 + ...AllFeedbackLabelsRequestObjectSnippet.g.cs | 82 + ...edbackLabelsResourceNamesAsyncSnippet.g.cs | 80 + ...AllFeedbackLabelsResourceNamesSnippet.g.cs | 78 + ...tsClient.ListAllFeedbackLabelsSnippet.g.cs | 77 + ...sightsClient.ListAnalysesAsyncSnippet.g.cs | 79 + ...ListAnalysesRequestObjectAsyncSnippet.g.cs | 83 + ...ient.ListAnalysesRequestObjectSnippet.g.cs | 81 + ...ListAnalysesResourceNamesAsyncSnippet.g.cs | 79 + ...ient.ListAnalysesResourceNamesSnippet.g.cs | 77 + ...terInsightsClient.ListAnalysesSnippet.g.cs | 77 + ...sClient.ListAnalysisRulesAsyncSnippet.g.cs | 79 + ...nalysisRulesRequestObjectAsyncSnippet.g.cs | 83 + ...ListAnalysisRulesRequestObjectSnippet.g.cs | 81 + ...nalysisRulesResourceNamesAsyncSnippet.g.cs | 80 + ...ListAnalysisRulesResourceNamesSnippet.g.cs | 78 + ...sightsClient.ListAnalysisRulesSnippet.g.cs | 77 + ...sClient.ListConversationsAsyncSnippet.g.cs | 79 + ...onversationsRequestObjectAsyncSnippet.g.cs | 86 + ...ListConversationsRequestObjectSnippet.g.cs | 84 + ...onversationsResourceNamesAsyncSnippet.g.cs | 80 + ...ListConversationsResourceNamesSnippet.g.cs | 78 + ...sightsClient.ListConversationsSnippet.g.cs | 77 + ...Client.ListFeedbackLabelsAsyncSnippet.g.cs | 79 + ...edbackLabelsRequestObjectAsyncSnippet.g.cs | 83 + ...istFeedbackLabelsRequestObjectSnippet.g.cs | 81 + ...edbackLabelsResourceNamesAsyncSnippet.g.cs | 79 + ...istFeedbackLabelsResourceNamesSnippet.g.cs | 77 + ...ightsClient.ListFeedbackLabelsSnippet.g.cs | 77 + ...htsClient.ListIssueModelsAsyncSnippet.g.cs | 44 + ...tIssueModelsRequestObjectAsyncSnippet.g.cs | 48 + ...t.ListIssueModelsRequestObjectSnippet.g.cs | 47 + ...tIssueModelsResourceNamesAsyncSnippet.g.cs | 45 + ...t.ListIssueModelsResourceNamesSnippet.g.cs | 44 + ...InsightsClient.ListIssueModelsSnippet.g.cs | 43 + ...InsightsClient.ListIssuesAsyncSnippet.g.cs | 44 + ...t.ListIssuesRequestObjectAsyncSnippet.g.cs | 47 + ...Client.ListIssuesRequestObjectSnippet.g.cs | 46 + ...t.ListIssuesResourceNamesAsyncSnippet.g.cs | 44 + ...Client.ListIssuesResourceNamesSnippet.g.cs | 43 + ...enterInsightsClient.ListIssuesSnippet.g.cs | 43 + ...Client.ListPhraseMatchersAsyncSnippet.g.cs | 79 + ...raseMatchersRequestObjectAsyncSnippet.g.cs | 84 + ...istPhraseMatchersRequestObjectSnippet.g.cs | 82 + ...raseMatchersResourceNamesAsyncSnippet.g.cs | 80 + ...istPhraseMatchersResourceNamesSnippet.g.cs | 78 + ...ightsClient.ListPhraseMatchersSnippet.g.cs | 77 + ...htsClient.ListQaQuestionsAsyncSnippet.g.cs | 79 + ...tQaQuestionsRequestObjectAsyncSnippet.g.cs | 82 + ...t.ListQaQuestionsRequestObjectSnippet.g.cs | 80 + ...tQaQuestionsResourceNamesAsyncSnippet.g.cs | 79 + ...t.ListQaQuestionsResourceNamesSnippet.g.cs | 77 + ...InsightsClient.ListQaQuestionsSnippet.g.cs | 77 + ....ListQaScorecardRevisionsAsyncSnippet.g.cs | 79 + ...ardRevisionsRequestObjectAsyncSnippet.g.cs | 83 + ...corecardRevisionsRequestObjectSnippet.g.cs | 81 + ...ardRevisionsResourceNamesAsyncSnippet.g.cs | 79 + ...corecardRevisionsResourceNamesSnippet.g.cs | 77 + ...lient.ListQaScorecardRevisionsSnippet.g.cs | 77 + ...tsClient.ListQaScorecardsAsyncSnippet.g.cs | 79 + ...QaScorecardsRequestObjectAsyncSnippet.g.cs | 83 + ....ListQaScorecardsRequestObjectSnippet.g.cs | 81 + ...QaScorecardsResourceNamesAsyncSnippet.g.cs | 80 + ....ListQaScorecardsResourceNamesSnippet.g.cs | 78 + ...nsightsClient.ListQaScorecardsSnippet.g.cs | 77 + ...rInsightsClient.ListViewsAsyncSnippet.g.cs | 79 + ...nt.ListViewsRequestObjectAsyncSnippet.g.cs | 83 + ...sClient.ListViewsRequestObjectSnippet.g.cs | 81 + ...nt.ListViewsResourceNamesAsyncSnippet.g.cs | 80 + ...sClient.ListViewsResourceNamesSnippet.g.cs | 78 + ...CenterInsightsClient.ListViewsSnippet.g.cs | 77 + ...QueryMetricsRequestObjectAsyncSnippet.g.cs | 70 + ...ient.QueryMetricsRequestObjectSnippet.g.cs | 69 + ...t.TuneQaScorecardRevisionAsyncSnippet.g.cs | 63 + ...cardRevisionRequestObjectAsyncSnippet.g.cs | 66 + ...ScorecardRevisionRequestObjectSnippet.g.cs | 65 + ...cardRevisionResourceNamesAsyncSnippet.g.cs | 63 + ...ScorecardRevisionResourceNamesSnippet.g.cs | 62 + ...Client.TuneQaScorecardRevisionSnippet.g.cs | 62 + ...Client.UndeployIssueModelAsyncSnippet.g.cs | 61 + ...oyIssueModelRequestObjectAsyncSnippet.g.cs | 64 + ...ndeployIssueModelRequestObjectSnippet.g.cs | 63 + ...oyIssueModelResourceNamesAsyncSnippet.g.cs | 61 + ...ndeployIssueModelResourceNamesSnippet.g.cs | 60 + ...ightsClient.UndeployIssueModelSnippet.g.cs | 60 + ...cardRevisionRequestObjectAsyncSnippet.g.cs | 47 + ...ScorecardRevisionRequestObjectSnippet.g.cs | 46 + ...Client.UpdateAnalysisRuleAsyncSnippet.g.cs | 46 + ...AnalysisRuleRequestObjectAsyncSnippet.g.cs | 49 + ...pdateAnalysisRuleRequestObjectSnippet.g.cs | 48 + ...ightsClient.UpdateAnalysisRuleSnippet.g.cs | 45 + ...Client.UpdateConversationAsyncSnippet.g.cs | 46 + ...ConversationRequestObjectAsyncSnippet.g.cs | 49 + ...pdateConversationRequestObjectSnippet.g.cs | 48 + ...ightsClient.UpdateConversationSnippet.g.cs | 45 + ...lient.UpdateFeedbackLabelAsyncSnippet.g.cs | 46 + ...eedbackLabelRequestObjectAsyncSnippet.g.cs | 49 + ...dateFeedbackLabelRequestObjectSnippet.g.cs | 48 + ...ghtsClient.UpdateFeedbackLabelSnippet.g.cs | 45 + ...nsightsClient.UpdateIssueAsyncSnippet.g.cs | 46 + ...tsClient.UpdateIssueModelAsyncSnippet.g.cs | 46 + ...teIssueModelRequestObjectAsyncSnippet.g.cs | 49 + ....UpdateIssueModelRequestObjectSnippet.g.cs | 48 + ...nsightsClient.UpdateIssueModelSnippet.g.cs | 45 + ....UpdateIssueRequestObjectAsyncSnippet.g.cs | 49 + ...lient.UpdateIssueRequestObjectSnippet.g.cs | 48 + ...nterInsightsClient.UpdateIssueSnippet.g.cs | 45 + ...lient.UpdatePhraseMatcherAsyncSnippet.g.cs | 46 + ...hraseMatcherRequestObjectAsyncSnippet.g.cs | 49 + ...datePhraseMatcherRequestObjectSnippet.g.cs | 48 + ...ghtsClient.UpdatePhraseMatcherSnippet.g.cs | 45 + ...tsClient.UpdateQaQuestionAsyncSnippet.g.cs | 46 + ...teQaQuestionRequestObjectAsyncSnippet.g.cs | 49 + ....UpdateQaQuestionRequestObjectSnippet.g.cs | 48 + ...nsightsClient.UpdateQaQuestionSnippet.g.cs | 45 + ...sClient.UpdateQaScorecardAsyncSnippet.g.cs | 46 + ...eQaScorecardRequestObjectAsyncSnippet.g.cs | 49 + ...UpdateQaScorecardRequestObjectSnippet.g.cs | 48 + ...sightsClient.UpdateQaScorecardSnippet.g.cs | 45 + ...ghtsClient.UpdateSettingsAsyncSnippet.g.cs | 46 + ...dateSettingsRequestObjectAsyncSnippet.g.cs | 49 + ...nt.UpdateSettingsRequestObjectSnippet.g.cs | 48 + ...rInsightsClient.UpdateSettingsSnippet.g.cs | 45 + ...InsightsClient.UpdateViewAsyncSnippet.g.cs | 46 + ...t.UpdateViewRequestObjectAsyncSnippet.g.cs | 49 + ...Client.UpdateViewRequestObjectSnippet.g.cs | 48 + ...enterInsightsClient.UpdateViewSnippet.g.cs | 45 + ...ConversationRequestObjectAsyncSnippet.g.cs | 69 + ...ploadConversationRequestObjectSnippet.g.cs | 68 + ...CenterInsights.V1.GeneratedSnippets.csproj | 15 + ...google.cloud.contactcenterinsights.v1.json | 20137 ++++++++ .../ContactCenterInsightsClientSnippets.g.cs | 9568 ++++ ...d.ContactCenterInsights.V1.Snippets.csproj | 15 + .../ContactCenterInsights.g.cs | 39461 ++++++++++++++++ .../ContactCenterInsightsClient.g.cs | 13630 ++++++ .../ContactCenterInsightsGrpc.g.cs | 5579 +++ .../ContactCenterInsightsResourceNames.g.cs | 859 + ...ogle.Cloud.ContactCenterInsights.V1.csproj | 49 + .../PackageApiMetadata.g.cs | 62 + .../Resources.g.cs | 27538 +++++++++++ .../ResourcesResourceNames.g.cs | 5061 ++ .../ServiceCollectionExtensions.g.cs | 68 + .../gapic_metadata.json | 462 + 420 files changed, 144629 insertions(+) create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployQaScorecardRevisionRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployQaScorecardRevisionRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.QueryMetricsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.QueryMetricsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelResourceNamesAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelResourceNamesSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployQaScorecardRevisionRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployQaScorecardRevisionRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UploadConversationRequestObjectAsyncSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UploadConversationRequestObjectSnippet.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets.csproj create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/snippet_metadata_google.cloud.contactcenterinsights.v1.json create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.Snippets/ContactCenterInsightsClientSnippets.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.Snippets/Google.Cloud.ContactCenterInsights.V1.Snippets.csproj create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsights.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsClient.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsGrpc.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsResourceNames.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.csproj create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/PackageApiMetadata.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/Resources.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ResourcesResourceNames.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ServiceCollectionExtensions.g.cs create mode 100755 owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/gapic_metadata.json diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsAsyncSnippet.g.cs new file mode 100755 index 000000000000..37323fa430f4 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsAsyncSnippet.g.cs @@ -0,0 +1,63 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkAnalyzeConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkAnalyzeConversationsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + string filter = ""; + float analysisPercentage = 0F; + // Make the request + Operation response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(parent, filter, analysisPercentage); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..097324f7461d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,68 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkAnalyzeConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkAnalyzeConversationsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + BulkAnalyzeConversationsRequest request = new BulkAnalyzeConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + AnalysisPercentage = 0F, + AnnotatorSelector = new AnnotatorSelector(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..eef83cd2a7c3 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsRequestObjectSnippet.g.cs @@ -0,0 +1,67 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkAnalyzeConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkAnalyzeConversationsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + BulkAnalyzeConversationsRequest request = new BulkAnalyzeConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + AnalysisPercentage = 0F, + AnnotatorSelector = new AnnotatorSelector(), + }; + // Make the request + Operation response = contactCenterInsightsClient.BulkAnalyzeConversations(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkAnalyzeConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..4eae270028f1 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,64 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkAnalyzeConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkAnalyzeConversationsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + string filter = ""; + float analysisPercentage = 0F; + // Make the request + Operation response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(parent, filter, analysisPercentage); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..c4dcd6d592c1 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsResourceNamesSnippet.g.cs @@ -0,0 +1,63 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkAnalyzeConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkAnalyzeConversationsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + string filter = ""; + float analysisPercentage = 0F; + // Make the request + Operation response = contactCenterInsightsClient.BulkAnalyzeConversations(parent, filter, analysisPercentage); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkAnalyzeConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsSnippet.g.cs new file mode 100755 index 000000000000..e2d86d4b5e15 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkAnalyzeConversationsSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkAnalyzeConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkAnalyzeConversations() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + string filter = ""; + float analysisPercentage = 0F; + // Make the request + Operation response = contactCenterInsightsClient.BulkAnalyzeConversations(parent, filter, analysisPercentage); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkAnalyzeConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsAsyncSnippet.g.cs new file mode 100755 index 000000000000..56488d87836d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDeleteConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkDeleteConversationsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + string filter = ""; + // Make the request + Operation response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(parent, filter); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..75915a2801ad --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,68 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDeleteConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkDeleteConversationsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + BulkDeleteConversationsRequest request = new BulkDeleteConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + MaxDeleteCount = 0, + Force = false, + }; + // Make the request + Operation response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..23c4040d4527 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsRequestObjectSnippet.g.cs @@ -0,0 +1,67 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDeleteConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkDeleteConversationsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + BulkDeleteConversationsRequest request = new BulkDeleteConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + MaxDeleteCount = 0, + Force = false, + }; + // Make the request + Operation response = contactCenterInsightsClient.BulkDeleteConversations(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDeleteConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..c06b394f4441 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,63 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDeleteConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkDeleteConversationsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + string filter = ""; + // Make the request + Operation response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(parent, filter); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..f14f8319ecda --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsResourceNamesSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDeleteConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkDeleteConversationsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + string filter = ""; + // Make the request + Operation response = contactCenterInsightsClient.BulkDeleteConversations(parent, filter); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDeleteConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsSnippet.g.cs new file mode 100755 index 000000000000..92d5cb2432ac --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDeleteConversationsSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDeleteConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkDeleteConversations() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + string filter = ""; + // Make the request + Operation response = contactCenterInsightsClient.BulkDeleteConversations(parent, filter); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDeleteConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsAsyncSnippet.g.cs new file mode 100755 index 000000000000..8c74b19a7f97 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDownloadFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkDownloadFeedbackLabelsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..e26658d39a64 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,71 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDownloadFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkDownloadFeedbackLabelsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + BulkDownloadFeedbackLabelsRequest request = new BulkDownloadFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + GcsDestination = new BulkDownloadFeedbackLabelsRequest.Types.GcsDestination(), + MaxDownloadCount = 0, + FeedbackLabelType = BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified, + ConversationFilter = "", + TemplateQaScorecardId = { "", }, + }; + // Make the request + Operation response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..5fbc30b4661c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsRequestObjectSnippet.g.cs @@ -0,0 +1,70 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDownloadFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkDownloadFeedbackLabelsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + BulkDownloadFeedbackLabelsRequest request = new BulkDownloadFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + GcsDestination = new BulkDownloadFeedbackLabelsRequest.Types.GcsDestination(), + MaxDownloadCount = 0, + FeedbackLabelType = BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified, + ConversationFilter = "", + TemplateQaScorecardId = { "", }, + }; + // Make the request + Operation response = contactCenterInsightsClient.BulkDownloadFeedbackLabels(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..c6818f5eebaa --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDownloadFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkDownloadFeedbackLabelsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..080c8331ded0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsResourceNamesSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDownloadFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkDownloadFeedbackLabelsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = contactCenterInsightsClient.BulkDownloadFeedbackLabels(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsSnippet.g.cs new file mode 100755 index 000000000000..c2aaed2ac5cf --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkDownloadFeedbackLabelsSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkDownloadFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkDownloadFeedbackLabels() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = contactCenterInsightsClient.BulkDownloadFeedbackLabels(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsAsyncSnippet.g.cs new file mode 100755 index 000000000000..ec53da826b14 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkUploadFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkUploadFeedbackLabelsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..4eac920a2bc7 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,67 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkUploadFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkUploadFeedbackLabelsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + BulkUploadFeedbackLabelsRequest request = new BulkUploadFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new BulkUploadFeedbackLabelsRequest.Types.GcsSource(), + ValidateOnly = false, + }; + // Make the request + Operation response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..52408815c6fa --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsRequestObjectSnippet.g.cs @@ -0,0 +1,66 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkUploadFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkUploadFeedbackLabelsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + BulkUploadFeedbackLabelsRequest request = new BulkUploadFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new BulkUploadFeedbackLabelsRequest.Types.GcsSource(), + ValidateOnly = false, + }; + // Make the request + Operation response = contactCenterInsightsClient.BulkUploadFeedbackLabels(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..0b812bbb49d3 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkUploadFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BulkUploadFeedbackLabelsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..4e9cf44c232e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsResourceNamesSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkUploadFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkUploadFeedbackLabelsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = contactCenterInsightsClient.BulkUploadFeedbackLabels(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsSnippet.g.cs new file mode 100755 index 000000000000..a8e5ade47c31 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.BulkUploadFeedbackLabelsSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for BulkUploadFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BulkUploadFeedbackLabels() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = contactCenterInsightsClient.BulkUploadFeedbackLabels(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsAsyncSnippet.g.cs new file mode 100755 index 000000000000..31945f1a9691 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateIssueModelStatsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CalculateIssueModelStatsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string issueModel = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(issueModel); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..4b5970cf7b93 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateIssueModelStatsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CalculateIssueModelStatsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CalculateIssueModelStatsRequest request = new CalculateIssueModelStatsRequest + { + IssueModelAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..213ced713720 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateIssueModelStats + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CalculateIssueModelStatsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CalculateIssueModelStatsRequest request = new CalculateIssueModelStatsRequest + { + IssueModelAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + CalculateIssueModelStatsResponse response = contactCenterInsightsClient.CalculateIssueModelStats(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..f54485409e5c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateIssueModelStatsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CalculateIssueModelStatsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName issueModel = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(issueModel); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..72089a588e3b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateIssueModelStats + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CalculateIssueModelStatsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName issueModel = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + CalculateIssueModelStatsResponse response = contactCenterInsightsClient.CalculateIssueModelStats(issueModel); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsSnippet.g.cs new file mode 100755 index 000000000000..7d0925bc6bef --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateIssueModelStatsSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateIssueModelStats + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CalculateIssueModelStats() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string issueModel = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + CalculateIssueModelStatsResponse response = contactCenterInsightsClient.CalculateIssueModelStats(issueModel); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsAsyncSnippet.g.cs new file mode 100755 index 000000000000..bfd009353db0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateStatsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CalculateStatsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string location = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(location); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..a52dfd741c99 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateStatsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CalculateStatsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CalculateStatsRequest request = new CalculateStatsRequest + { + LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..548bf2d045d9 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateStats + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CalculateStatsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CalculateStatsRequest request = new CalculateStatsRequest + { + LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + CalculateStatsResponse response = contactCenterInsightsClient.CalculateStats(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..6163620fbf39 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateStatsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CalculateStatsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(location); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..fb8119b28d97 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsResourceNamesSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateStats + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CalculateStatsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + CalculateStatsResponse response = contactCenterInsightsClient.CalculateStats(location); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsSnippet.g.cs new file mode 100755 index 000000000000..741d05a212e8 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CalculateStatsSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CalculateStats + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CalculateStats() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string location = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + CalculateStatsResponse response = contactCenterInsightsClient.CalculateStats(location); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisAsyncSnippet.g.cs new file mode 100755 index 000000000000..8ae3ba3ec92b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysisAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateAnalysisAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + Analysis analysis = new Analysis(); + // Make the request + Operation response = await contactCenterInsightsClient.CreateAnalysisAsync(parent, analysis); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..db669fcbda65 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,65 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysisAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateAnalysisRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateAnalysisRequest request = new CreateAnalysisRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Analysis = new Analysis(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.CreateAnalysisAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..e6bac921acaa --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRequestObjectSnippet.g.cs @@ -0,0 +1,64 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysis + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateAnalysisRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateAnalysisRequest request = new CreateAnalysisRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Analysis = new Analysis(), + }; + // Make the request + Operation response = contactCenterInsightsClient.CreateAnalysis(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateAnalysis(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..db71e7b0f577 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysisAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateAnalysisResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + Analysis analysis = new Analysis(); + // Make the request + Operation response = await contactCenterInsightsClient.CreateAnalysisAsync(parent, analysis); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..fd1276b5ae2a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisResourceNamesSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysis + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateAnalysisResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + Analysis analysis = new Analysis(); + // Make the request + Operation response = contactCenterInsightsClient.CreateAnalysis(parent, analysis); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateAnalysis(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleAsyncSnippet.g.cs new file mode 100755 index 000000000000..3cba4d7f12e9 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleAsyncSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysisRuleAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateAnalysisRuleAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + AnalysisRule analysisRule = new AnalysisRule(); + // Make the request + AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(parent, analysisRule); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..1f2cae0df2c6 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysisRuleAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateAnalysisRuleRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateAnalysisRuleRequest request = new CreateAnalysisRuleRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + AnalysisRule = new AnalysisRule(), + }; + // Make the request + AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..cc24d6e42177 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysisRule + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateAnalysisRuleRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateAnalysisRuleRequest request = new CreateAnalysisRuleRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + AnalysisRule = new AnalysisRule(), + }; + // Make the request + AnalysisRule response = contactCenterInsightsClient.CreateAnalysisRule(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..2c6ee8414325 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysisRuleAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateAnalysisRuleResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + AnalysisRule analysisRule = new AnalysisRule(); + // Make the request + AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(parent, analysisRule); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..d3c9efb503b9 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleResourceNamesSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysisRule + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateAnalysisRuleResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + AnalysisRule analysisRule = new AnalysisRule(); + // Make the request + AnalysisRule response = contactCenterInsightsClient.CreateAnalysisRule(parent, analysisRule); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleSnippet.g.cs new file mode 100755 index 000000000000..fe68dd934506 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisRuleSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysisRule + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateAnalysisRule() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + AnalysisRule analysisRule = new AnalysisRule(); + // Make the request + AnalysisRule response = contactCenterInsightsClient.CreateAnalysisRule(parent, analysisRule); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisSnippet.g.cs new file mode 100755 index 000000000000..b56fec89afa2 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateAnalysisSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateAnalysis + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateAnalysis() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + Analysis analysis = new Analysis(); + // Make the request + Operation response = contactCenterInsightsClient.CreateAnalysis(parent, analysis); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateAnalysis(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationAsyncSnippet.g.cs new file mode 100755 index 000000000000..4f78ff3c6c11 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateConversationAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + Conversation conversation = new Conversation(); + string conversationId = ""; + // Make the request + Conversation response = await contactCenterInsightsClient.CreateConversationAsync(parent, conversation, conversationId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..ef520aadfd37 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,50 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateConversationRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateConversationRequest request = new CreateConversationRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Conversation = new Conversation(), + ConversationId = "", + }; + // Make the request + Conversation response = await contactCenterInsightsClient.CreateConversationAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..b27f01644a55 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationRequestObjectSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateConversationRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateConversationRequest request = new CreateConversationRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Conversation = new Conversation(), + ConversationId = "", + }; + // Make the request + Conversation response = contactCenterInsightsClient.CreateConversation(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..6bc2aa12b1ba --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateConversationResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + Conversation conversation = new Conversation(); + string conversationId = ""; + // Make the request + Conversation response = await contactCenterInsightsClient.CreateConversationAsync(parent, conversation, conversationId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..19365791c2e1 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationResourceNamesSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateConversationResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + Conversation conversation = new Conversation(); + string conversationId = ""; + // Make the request + Conversation response = contactCenterInsightsClient.CreateConversation(parent, conversation, conversationId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationSnippet.g.cs new file mode 100755 index 000000000000..2eda21da586e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateConversationSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateConversation() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + Conversation conversation = new Conversation(); + string conversationId = ""; + // Make the request + Conversation response = contactCenterInsightsClient.CreateConversation(parent, conversation, conversationId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelAsyncSnippet.g.cs new file mode 100755 index 000000000000..d2d013a1d806 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateFeedbackLabelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateFeedbackLabelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + FeedbackLabel feedbackLabel = new FeedbackLabel(); + string feedbackLabelId = ""; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(parent, feedbackLabel, feedbackLabelId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..f9d01472134a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateFeedbackLabelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateFeedbackLabelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateFeedbackLabelRequest request = new CreateFeedbackLabelRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + FeedbackLabelId = "", + FeedbackLabel = new FeedbackLabel(), + }; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..5271f46164b6 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateFeedbackLabel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateFeedbackLabelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateFeedbackLabelRequest request = new CreateFeedbackLabelRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + FeedbackLabelId = "", + FeedbackLabel = new FeedbackLabel(), + }; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.CreateFeedbackLabel(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..e68f39d73b73 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateFeedbackLabelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateFeedbackLabelResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + FeedbackLabel feedbackLabel = new FeedbackLabel(); + string feedbackLabelId = ""; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(parent, feedbackLabel, feedbackLabelId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..9fe4f3a92aaa --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelResourceNamesSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateFeedbackLabel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateFeedbackLabelResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + FeedbackLabel feedbackLabel = new FeedbackLabel(); + string feedbackLabelId = ""; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.CreateFeedbackLabel(parent, feedbackLabel, feedbackLabelId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelSnippet.g.cs new file mode 100755 index 000000000000..db53040ea335 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateFeedbackLabelSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateFeedbackLabel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateFeedbackLabel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + FeedbackLabel feedbackLabel = new FeedbackLabel(); + string feedbackLabelId = ""; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.CreateFeedbackLabel(parent, feedbackLabel, feedbackLabelId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelAsyncSnippet.g.cs new file mode 100755 index 000000000000..ddb49e9cb22d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateIssueModelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + IssueModel issueModel = new IssueModel(); + // Make the request + Operation response = await contactCenterInsightsClient.CreateIssueModelAsync(parent, issueModel); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..09a030ae0db5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,66 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateIssueModelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateIssueModelRequest request = new CreateIssueModelRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + IssueModel = new IssueModel(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.CreateIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..b75fefe6face --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelRequestObjectSnippet.g.cs @@ -0,0 +1,65 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateIssueModelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateIssueModelRequest request = new CreateIssueModelRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + IssueModel = new IssueModel(), + }; + // Make the request + Operation response = contactCenterInsightsClient.CreateIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..940cc15c6053 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,63 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateIssueModelResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + IssueModel issueModel = new IssueModel(); + // Make the request + Operation response = await contactCenterInsightsClient.CreateIssueModelAsync(parent, issueModel); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..69961b300f39 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelResourceNamesSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateIssueModelResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + IssueModel issueModel = new IssueModel(); + // Make the request + Operation response = contactCenterInsightsClient.CreateIssueModel(parent, issueModel); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelSnippet.g.cs new file mode 100755 index 000000000000..ae8988a83c6a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateIssueModelSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateIssueModel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + IssueModel issueModel = new IssueModel(); + // Make the request + Operation response = contactCenterInsightsClient.CreateIssueModel(parent, issueModel); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherAsyncSnippet.g.cs new file mode 100755 index 000000000000..029ca1adcc06 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherAsyncSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreatePhraseMatcherAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreatePhraseMatcherAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + PhraseMatcher phraseMatcher = new PhraseMatcher(); + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(parent, phraseMatcher); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..b8503551e01c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreatePhraseMatcherAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreatePhraseMatcherRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreatePhraseMatcherRequest request = new CreatePhraseMatcherRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + PhraseMatcher = new PhraseMatcher(), + }; + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..7af8f216fb65 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreatePhraseMatcher + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreatePhraseMatcherRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreatePhraseMatcherRequest request = new CreatePhraseMatcherRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + PhraseMatcher = new PhraseMatcher(), + }; + // Make the request + PhraseMatcher response = contactCenterInsightsClient.CreatePhraseMatcher(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..42947f91730d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreatePhraseMatcherAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreatePhraseMatcherResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + PhraseMatcher phraseMatcher = new PhraseMatcher(); + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(parent, phraseMatcher); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..9f944617f2a2 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherResourceNamesSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreatePhraseMatcher + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreatePhraseMatcherResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + PhraseMatcher phraseMatcher = new PhraseMatcher(); + // Make the request + PhraseMatcher response = contactCenterInsightsClient.CreatePhraseMatcher(parent, phraseMatcher); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherSnippet.g.cs new file mode 100755 index 000000000000..ec54cb1be1c2 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreatePhraseMatcherSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreatePhraseMatcher + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreatePhraseMatcher() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + PhraseMatcher phraseMatcher = new PhraseMatcher(); + // Make the request + PhraseMatcher response = contactCenterInsightsClient.CreatePhraseMatcher(parent, phraseMatcher); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionAsyncSnippet.g.cs new file mode 100755 index 000000000000..d61884e0cadb --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaQuestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateQaQuestionAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + QaQuestion qaQuestion = new QaQuestion(); + string qaQuestionId = ""; + // Make the request + QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(parent, qaQuestion, qaQuestionId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..13659105adbb --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaQuestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateQaQuestionRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateQaQuestionRequest request = new CreateQaQuestionRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + QaQuestion = new QaQuestion(), + QaQuestionId = "", + }; + // Make the request + QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..7aac23114f83 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaQuestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateQaQuestionRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateQaQuestionRequest request = new CreateQaQuestionRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + QaQuestion = new QaQuestion(), + QaQuestionId = "", + }; + // Make the request + QaQuestion response = contactCenterInsightsClient.CreateQaQuestion(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..def40fe40906 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaQuestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateQaQuestionResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + QaQuestion qaQuestion = new QaQuestion(); + string qaQuestionId = ""; + // Make the request + QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(parent, qaQuestion, qaQuestionId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..6223cca70f82 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionResourceNamesSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaQuestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateQaQuestionResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + QaQuestion qaQuestion = new QaQuestion(); + string qaQuestionId = ""; + // Make the request + QaQuestion response = contactCenterInsightsClient.CreateQaQuestion(parent, qaQuestion, qaQuestionId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionSnippet.g.cs new file mode 100755 index 000000000000..e9bdaa5be4b2 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaQuestionSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaQuestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateQaQuestion() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + QaQuestion qaQuestion = new QaQuestion(); + string qaQuestionId = ""; + // Make the request + QaQuestion response = contactCenterInsightsClient.CreateQaQuestion(parent, qaQuestion, qaQuestionId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardAsyncSnippet.g.cs new file mode 100755 index 000000000000..290f60f7c735 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecardAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateQaScorecardAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + QaScorecard qaScorecard = new QaScorecard(); + string qaScorecardId = ""; + // Make the request + QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(parent, qaScorecard, qaScorecardId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..a060563c50b5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,50 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecardAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateQaScorecardRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateQaScorecardRequest request = new CreateQaScorecardRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + QaScorecard = new QaScorecard(), + QaScorecardId = "", + }; + // Make the request + QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..641c7beb6a47 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRequestObjectSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecard + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateQaScorecardRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateQaScorecardRequest request = new CreateQaScorecardRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + QaScorecard = new QaScorecard(), + QaScorecardId = "", + }; + // Make the request + QaScorecard response = contactCenterInsightsClient.CreateQaScorecard(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..4ce287495949 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecardAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateQaScorecardResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + QaScorecard qaScorecard = new QaScorecard(); + string qaScorecardId = ""; + // Make the request + QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(parent, qaScorecard, qaScorecardId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..849555a7a7aa --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardResourceNamesSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecard + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateQaScorecardResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + QaScorecard qaScorecard = new QaScorecard(); + string qaScorecardId = ""; + // Make the request + QaScorecard response = contactCenterInsightsClient.CreateQaScorecard(parent, qaScorecard, qaScorecardId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionAsyncSnippet.g.cs new file mode 100755 index 000000000000..28708d5398b2 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateQaScorecardRevisionAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + QaScorecardRevision qaScorecardRevision = new QaScorecardRevision(); + string qaScorecardRevisionId = ""; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(parent, qaScorecardRevision, qaScorecardRevisionId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..2d61c7d817f9 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateQaScorecardRevisionRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateQaScorecardRevisionRequest request = new CreateQaScorecardRevisionRequest + { + ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + QaScorecardRevision = new QaScorecardRevision(), + QaScorecardRevisionId = "", + }; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..6892b8ad4f65 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateQaScorecardRevisionRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateQaScorecardRevisionRequest request = new CreateQaScorecardRevisionRequest + { + ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + QaScorecardRevision = new QaScorecardRevision(), + QaScorecardRevisionId = "", + }; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.CreateQaScorecardRevision(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..faee4d4752f3 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateQaScorecardRevisionResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + QaScorecardRevision qaScorecardRevision = new QaScorecardRevision(); + string qaScorecardRevisionId = ""; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(parent, qaScorecardRevision, qaScorecardRevisionId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..ac475e0d9909 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionResourceNamesSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateQaScorecardRevisionResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + QaScorecardRevision qaScorecardRevision = new QaScorecardRevision(); + string qaScorecardRevisionId = ""; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.CreateQaScorecardRevision(parent, qaScorecardRevision, qaScorecardRevisionId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionSnippet.g.cs new file mode 100755 index 000000000000..4e7c753cb37d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardRevisionSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateQaScorecardRevision() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + QaScorecardRevision qaScorecardRevision = new QaScorecardRevision(); + string qaScorecardRevisionId = ""; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.CreateQaScorecardRevision(parent, qaScorecardRevision, qaScorecardRevisionId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardSnippet.g.cs new file mode 100755 index 000000000000..6aa0c7e2b5fc --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateQaScorecardSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateQaScorecard + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateQaScorecard() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + QaScorecard qaScorecard = new QaScorecard(); + string qaScorecardId = ""; + // Make the request + QaScorecard response = contactCenterInsightsClient.CreateQaScorecard(parent, qaScorecard, qaScorecardId); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewAsyncSnippet.g.cs new file mode 100755 index 000000000000..b046de758c40 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewAsyncSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateViewAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateViewAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + View view = new View(); + // Make the request + View response = await contactCenterInsightsClient.CreateViewAsync(parent, view); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..ccb81d672f61 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateViewAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateViewRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateViewRequest request = new CreateViewRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + View = new View(), + }; + // Make the request + View response = await contactCenterInsightsClient.CreateViewAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..bd3538e51aeb --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateView + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateViewRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateViewRequest request = new CreateViewRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + View = new View(), + }; + // Make the request + View response = contactCenterInsightsClient.CreateView(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..c2368f67b87a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateViewAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateViewResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + View view = new View(); + // Make the request + View response = await contactCenterInsightsClient.CreateViewAsync(parent, view); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..354a62640b70 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewResourceNamesSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateView + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateViewResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + View view = new View(); + // Make the request + View response = contactCenterInsightsClient.CreateView(parent, view); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewSnippet.g.cs new file mode 100755 index 000000000000..9ccbf683d69b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.CreateViewSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateView + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateView() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + View view = new View(); + // Make the request + View response = contactCenterInsightsClient.CreateView(parent, view); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisAsyncSnippet.g.cs new file mode 100755 index 000000000000..026d4dee445c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysisAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteAnalysisAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]"; + // Make the request + await contactCenterInsightsClient.DeleteAnalysisAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..e45831afcb55 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysisAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteAnalysisRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteAnalysisRequest request = new DeleteAnalysisRequest + { + AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteAnalysisAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..eb2a0cb28bd7 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysis + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteAnalysisRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteAnalysisRequest request = new DeleteAnalysisRequest + { + AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"), + }; + // Make the request + contactCenterInsightsClient.DeleteAnalysis(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..ae0c9c487b58 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysisAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteAnalysisResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + // Make the request + await contactCenterInsightsClient.DeleteAnalysisAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..1c0649b318fb --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysis + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteAnalysisResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + // Make the request + contactCenterInsightsClient.DeleteAnalysis(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleAsyncSnippet.g.cs new file mode 100755 index 000000000000..7277731f9e35 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysisRuleAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteAnalysisRuleAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]"; + // Make the request + await contactCenterInsightsClient.DeleteAnalysisRuleAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..28603f0d4286 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysisRuleAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteAnalysisRuleRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteAnalysisRuleRequest request = new DeleteAnalysisRuleRequest + { + AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteAnalysisRuleAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..7c91bbeb6fd6 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysisRule + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteAnalysisRuleRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteAnalysisRuleRequest request = new DeleteAnalysisRuleRequest + { + AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"), + }; + // Make the request + contactCenterInsightsClient.DeleteAnalysisRule(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..99b5696d8fa5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysisRuleAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteAnalysisRuleResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"); + // Make the request + await contactCenterInsightsClient.DeleteAnalysisRuleAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..70fae60df044 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysisRule + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteAnalysisRuleResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"); + // Make the request + contactCenterInsightsClient.DeleteAnalysisRule(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleSnippet.g.cs new file mode 100755 index 000000000000..5221e7d5f1d5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisRuleSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysisRule + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteAnalysisRule() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]"; + // Make the request + contactCenterInsightsClient.DeleteAnalysisRule(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisSnippet.g.cs new file mode 100755 index 000000000000..60c0c77e8664 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteAnalysisSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteAnalysis + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteAnalysis() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]"; + // Make the request + contactCenterInsightsClient.DeleteAnalysis(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationAsyncSnippet.g.cs new file mode 100755 index 000000000000..0f0bdaf2d319 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteConversationAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + await contactCenterInsightsClient.DeleteConversationAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..5a1117a53406 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteConversationRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteConversationRequest request = new DeleteConversationRequest + { + ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Force = false, + }; + // Make the request + await contactCenterInsightsClient.DeleteConversationAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..999729e58e2e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationRequestObjectSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteConversationRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteConversationRequest request = new DeleteConversationRequest + { + ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Force = false, + }; + // Make the request + contactCenterInsightsClient.DeleteConversation(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..f632914bcbc1 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteConversationResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + await contactCenterInsightsClient.DeleteConversationAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..9b4d3657c0b0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteConversationResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + contactCenterInsightsClient.DeleteConversation(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationSnippet.g.cs new file mode 100755 index 000000000000..fdf605028ccb --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteConversationSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteConversation() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + contactCenterInsightsClient.DeleteConversation(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelAsyncSnippet.g.cs new file mode 100755 index 000000000000..7b2ca4c7d5d5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteFeedbackLabelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteFeedbackLabelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/feedbackLabels/[FEEDBACK_LABEL]"; + // Make the request + await contactCenterInsightsClient.DeleteFeedbackLabelAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..a7325c16ed74 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteFeedbackLabelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteFeedbackLabelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteFeedbackLabelRequest request = new DeleteFeedbackLabelRequest + { + FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteFeedbackLabelAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..fbb820ed4636 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteFeedbackLabel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteFeedbackLabelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteFeedbackLabelRequest request = new DeleteFeedbackLabelRequest + { + FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"), + }; + // Make the request + contactCenterInsightsClient.DeleteFeedbackLabel(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..699fbee95fe8 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteFeedbackLabelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteFeedbackLabelResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"); + // Make the request + await contactCenterInsightsClient.DeleteFeedbackLabelAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..a5528e7cf627 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteFeedbackLabel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteFeedbackLabelResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"); + // Make the request + contactCenterInsightsClient.DeleteFeedbackLabel(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelSnippet.g.cs new file mode 100755 index 000000000000..16353781b576 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteFeedbackLabelSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteFeedbackLabel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteFeedbackLabel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/feedbackLabels/[FEEDBACK_LABEL]"; + // Make the request + contactCenterInsightsClient.DeleteFeedbackLabel(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueAsyncSnippet.g.cs new file mode 100755 index 000000000000..e04be7d821ba --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssueAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteIssueAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]"; + // Make the request + await contactCenterInsightsClient.DeleteIssueAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelAsyncSnippet.g.cs new file mode 100755 index 000000000000..47fc3d083ae8 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteIssueModelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = await contactCenterInsightsClient.DeleteIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..a29b2356a527 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,65 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteIssueModelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteIssueModelRequest request = new DeleteIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = await contactCenterInsightsClient.DeleteIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..603b3936890a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelRequestObjectSnippet.g.cs @@ -0,0 +1,64 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteIssueModelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteIssueModelRequest request = new DeleteIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = contactCenterInsightsClient.DeleteIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeleteIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..d172c35f1ece --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteIssueModelResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = await contactCenterInsightsClient.DeleteIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..a144340826fa --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelResourceNamesSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteIssueModelResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = contactCenterInsightsClient.DeleteIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeleteIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelSnippet.g.cs new file mode 100755 index 000000000000..a8697d19d26c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueModelSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteIssueModel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = contactCenterInsightsClient.DeleteIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeleteIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..cfb227bc6b86 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssueAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteIssueRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteIssueRequest request = new DeleteIssueRequest + { + IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteIssueAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..2df6c4be5499 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssue + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteIssueRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteIssueRequest request = new DeleteIssueRequest + { + IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"), + }; + // Make the request + contactCenterInsightsClient.DeleteIssue(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..88d5c0b2950f --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssueAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteIssueResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); + // Make the request + await contactCenterInsightsClient.DeleteIssueAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..d4242fb9af89 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssue + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteIssueResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); + // Make the request + contactCenterInsightsClient.DeleteIssue(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueSnippet.g.cs new file mode 100755 index 000000000000..b4c27cfe8757 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteIssueSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteIssue + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteIssue() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]"; + // Make the request + contactCenterInsightsClient.DeleteIssue(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherAsyncSnippet.g.cs new file mode 100755 index 000000000000..40dc9d8b82f6 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeletePhraseMatcherAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeletePhraseMatcherAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]"; + // Make the request + await contactCenterInsightsClient.DeletePhraseMatcherAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..480d8daea16c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeletePhraseMatcherAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeletePhraseMatcherRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeletePhraseMatcherRequest request = new DeletePhraseMatcherRequest + { + PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"), + }; + // Make the request + await contactCenterInsightsClient.DeletePhraseMatcherAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..19d999e0a0b5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeletePhraseMatcher + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeletePhraseMatcherRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeletePhraseMatcherRequest request = new DeletePhraseMatcherRequest + { + PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"), + }; + // Make the request + contactCenterInsightsClient.DeletePhraseMatcher(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..530cf93b9719 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeletePhraseMatcherAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeletePhraseMatcherResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + // Make the request + await contactCenterInsightsClient.DeletePhraseMatcherAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..19909aa77d70 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeletePhraseMatcher + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeletePhraseMatcherResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + // Make the request + contactCenterInsightsClient.DeletePhraseMatcher(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherSnippet.g.cs new file mode 100755 index 000000000000..2958969b27a7 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeletePhraseMatcherSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeletePhraseMatcher + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeletePhraseMatcher() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]"; + // Make the request + contactCenterInsightsClient.DeletePhraseMatcher(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionAsyncSnippet.g.cs new file mode 100755 index 000000000000..e77e8123f3a0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaQuestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteQaQuestionAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]"; + // Make the request + await contactCenterInsightsClient.DeleteQaQuestionAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..a346d880949f --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaQuestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteQaQuestionRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteQaQuestionRequest request = new DeleteQaQuestionRequest + { + QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteQaQuestionAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..70158594271c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaQuestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteQaQuestionRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteQaQuestionRequest request = new DeleteQaQuestionRequest + { + QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"), + }; + // Make the request + contactCenterInsightsClient.DeleteQaQuestion(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..d6256256e264 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaQuestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteQaQuestionResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"); + // Make the request + await contactCenterInsightsClient.DeleteQaQuestionAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..935e02340455 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaQuestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteQaQuestionResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"); + // Make the request + contactCenterInsightsClient.DeleteQaQuestion(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionSnippet.g.cs new file mode 100755 index 000000000000..a21eddb5973e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaQuestionSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaQuestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteQaQuestion() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]"; + // Make the request + contactCenterInsightsClient.DeleteQaQuestion(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardAsyncSnippet.g.cs new file mode 100755 index 000000000000..2d2821f3f868 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecardAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteQaScorecardAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..e7c35a8d8e99 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecardAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteQaScorecardRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteQaScorecardRequest request = new DeleteQaScorecardRequest + { + QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + Force = false, + }; + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..9c997cb5898b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRequestObjectSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecard + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteQaScorecardRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteQaScorecardRequest request = new DeleteQaScorecardRequest + { + QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + Force = false, + }; + // Make the request + contactCenterInsightsClient.DeleteQaScorecard(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..bb322a8d0948 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecardAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteQaScorecardResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..8e1828fc6490 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecard + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteQaScorecardResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + contactCenterInsightsClient.DeleteQaScorecard(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionAsyncSnippet.g.cs new file mode 100755 index 000000000000..494aac43ac0e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteQaScorecardRevisionAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..1a72d8cd51c8 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteQaScorecardRevisionRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteQaScorecardRevisionRequest request = new DeleteQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + Force = false, + }; + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..7068da080c1c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionRequestObjectSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteQaScorecardRevisionRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteQaScorecardRevisionRequest request = new DeleteQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + Force = false, + }; + // Make the request + contactCenterInsightsClient.DeleteQaScorecardRevision(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..b3e98fadbbd3 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteQaScorecardRevisionResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..16b0957ff057 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteQaScorecardRevisionResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + contactCenterInsightsClient.DeleteQaScorecardRevision(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionSnippet.g.cs new file mode 100755 index 000000000000..1592f961ae31 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardRevisionSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteQaScorecardRevision() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + contactCenterInsightsClient.DeleteQaScorecardRevision(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardSnippet.g.cs new file mode 100755 index 000000000000..0e3080eddd7f --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteQaScorecardSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteQaScorecard + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteQaScorecard() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + contactCenterInsightsClient.DeleteQaScorecard(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewAsyncSnippet.g.cs new file mode 100755 index 000000000000..44527f7ea4fe --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteViewAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteViewAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]"; + // Make the request + await contactCenterInsightsClient.DeleteViewAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..a366316cc634 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteViewAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteViewRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteViewRequest request = new DeleteViewRequest + { + ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteViewAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..20ff04f44dad --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteView + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteViewRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteViewRequest request = new DeleteViewRequest + { + ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"), + }; + // Make the request + contactCenterInsightsClient.DeleteView(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..79850f215ffb --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteViewAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteViewResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"); + // Make the request + await contactCenterInsightsClient.DeleteViewAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..d98143ff3d38 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteView + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteViewResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"); + // Make the request + contactCenterInsightsClient.DeleteView(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewSnippet.g.cs new file mode 100755 index 000000000000..8d12afd9d804 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeleteViewSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeleteView + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteView() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]"; + // Make the request + contactCenterInsightsClient.DeleteView(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelAsyncSnippet.g.cs new file mode 100755 index 000000000000..ca64d74d7c1d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeployIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeployIssueModelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = await contactCenterInsightsClient.DeployIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..d921d883699d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,64 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeployIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeployIssueModelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeployIssueModelRequest request = new DeployIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = await contactCenterInsightsClient.DeployIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..fb7ba2a1d86a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelRequestObjectSnippet.g.cs @@ -0,0 +1,63 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeployIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeployIssueModelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeployIssueModelRequest request = new DeployIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = contactCenterInsightsClient.DeployIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..94bee1570baf --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeployIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeployIssueModelResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = await contactCenterInsightsClient.DeployIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..d9fe263bda9c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelResourceNamesSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeployIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeployIssueModelResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = contactCenterInsightsClient.DeployIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelSnippet.g.cs new file mode 100755 index 000000000000..1f8403865dce --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployIssueModelSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeployIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeployIssueModel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = contactCenterInsightsClient.DeployIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployQaScorecardRevisionRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployQaScorecardRevisionRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..52040d0454ab --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployQaScorecardRevisionRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeployQaScorecardRevision_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeployQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeployQaScorecardRevisionRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeployQaScorecardRevisionRequest request = new DeployQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.DeployQaScorecardRevisionAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeployQaScorecardRevision_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployQaScorecardRevisionRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployQaScorecardRevisionRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..a8950990625b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.DeployQaScorecardRevisionRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_DeployQaScorecardRevision_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for DeployQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeployQaScorecardRevisionRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeployQaScorecardRevisionRequest request = new DeployQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.DeployQaScorecardRevision(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_DeployQaScorecardRevision_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataAsyncSnippet.g.cs new file mode 100755 index 000000000000..c9f62df833eb --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportInsightsDataAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ExportInsightsDataAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = await contactCenterInsightsClient.ExportInsightsDataAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..bb32822e84ab --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,69 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportInsightsDataAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ExportInsightsDataRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ExportInsightsDataRequest request = new ExportInsightsDataRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + BigQueryDestination = new ExportInsightsDataRequest.Types.BigQueryDestination(), + Filter = "", + KmsKey = "", + WriteDisposition = ExportInsightsDataRequest.Types.WriteDisposition.Unspecified, + }; + // Make the request + Operation response = await contactCenterInsightsClient.ExportInsightsDataAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..962b88b0b536 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataRequestObjectSnippet.g.cs @@ -0,0 +1,68 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportInsightsData + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ExportInsightsDataRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ExportInsightsDataRequest request = new ExportInsightsDataRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + BigQueryDestination = new ExportInsightsDataRequest.Types.BigQueryDestination(), + Filter = "", + KmsKey = "", + WriteDisposition = ExportInsightsDataRequest.Types.WriteDisposition.Unspecified, + }; + // Make the request + Operation response = contactCenterInsightsClient.ExportInsightsData(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportInsightsData(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..c14b9be003d8 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportInsightsDataAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ExportInsightsDataResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await contactCenterInsightsClient.ExportInsightsDataAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..336e30f38dbc --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataResourceNamesSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportInsightsData + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ExportInsightsDataResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = contactCenterInsightsClient.ExportInsightsData(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportInsightsData(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataSnippet.g.cs new file mode 100755 index 000000000000..9856e8737310 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportInsightsDataSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportInsightsData + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ExportInsightsData() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = contactCenterInsightsClient.ExportInsightsData(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportInsightsData(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelAsyncSnippet.g.cs new file mode 100755 index 000000000000..f9f5ea9e424a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ExportIssueModelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = await contactCenterInsightsClient.ExportIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..59c1f928ef5f --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,65 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ExportIssueModelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ExportIssueModelRequest request = new ExportIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + GcsDestination = new ExportIssueModelRequest.Types.GcsDestination(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.ExportIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..0be46ad9a564 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelRequestObjectSnippet.g.cs @@ -0,0 +1,64 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ExportIssueModelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ExportIssueModelRequest request = new ExportIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + GcsDestination = new ExportIssueModelRequest.Types.GcsDestination(), + }; + // Make the request + Operation response = contactCenterInsightsClient.ExportIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..6e7c3cca60ca --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ExportIssueModelResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = await contactCenterInsightsClient.ExportIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..b0568a073f3a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelResourceNamesSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ExportIssueModelResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = contactCenterInsightsClient.ExportIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelSnippet.g.cs new file mode 100755 index 000000000000..b43b93f0c3d6 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ExportIssueModelSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ExportIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ExportIssueModel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = contactCenterInsightsClient.ExportIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisAsyncSnippet.g.cs new file mode 100755 index 000000000000..a4da49808ca5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysisAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAnalysisAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]"; + // Make the request + Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..d23fe9f25524 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysisAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAnalysisRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetAnalysisRequest request = new GetAnalysisRequest + { + AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"), + }; + // Make the request + Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..758919f44925 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysis + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAnalysisRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetAnalysisRequest request = new GetAnalysisRequest + { + AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"), + }; + // Make the request + Analysis response = contactCenterInsightsClient.GetAnalysis(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..76f2ec2a6658 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysisAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAnalysisResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + // Make the request + Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..20b25d83132c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysis + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAnalysisResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + // Make the request + Analysis response = contactCenterInsightsClient.GetAnalysis(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleAsyncSnippet.g.cs new file mode 100755 index 000000000000..1c6736253728 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysisRuleAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAnalysisRuleAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]"; + // Make the request + AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..613a392d8860 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysisRuleAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAnalysisRuleRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetAnalysisRuleRequest request = new GetAnalysisRuleRequest + { + AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"), + }; + // Make the request + AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..5e86f16c5481 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysisRule + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAnalysisRuleRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetAnalysisRuleRequest request = new GetAnalysisRuleRequest + { + AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"), + }; + // Make the request + AnalysisRule response = contactCenterInsightsClient.GetAnalysisRule(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..dbf9179a7e72 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysisRuleAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAnalysisRuleResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"); + // Make the request + AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..64a8223113f5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysisRule + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAnalysisRuleResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"); + // Make the request + AnalysisRule response = contactCenterInsightsClient.GetAnalysisRule(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleSnippet.g.cs new file mode 100755 index 000000000000..4ba38ad169d8 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisRuleSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysisRule + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAnalysisRule() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]"; + // Make the request + AnalysisRule response = contactCenterInsightsClient.GetAnalysisRule(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisSnippet.g.cs new file mode 100755 index 000000000000..ad1085310557 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetAnalysisSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetAnalysis + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAnalysis() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]"; + // Make the request + Analysis response = contactCenterInsightsClient.GetAnalysis(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationAsyncSnippet.g.cs new file mode 100755 index 000000000000..f2714793f356 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetConversationAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + Conversation response = await contactCenterInsightsClient.GetConversationAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..abf9e99ac039 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetConversationRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetConversationRequest request = new GetConversationRequest + { + ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + View = ConversationView.Unspecified, + }; + // Make the request + Conversation response = await contactCenterInsightsClient.GetConversationAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..a08abfbe8407 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationRequestObjectSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetConversationRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetConversationRequest request = new GetConversationRequest + { + ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + View = ConversationView.Unspecified, + }; + // Make the request + Conversation response = contactCenterInsightsClient.GetConversation(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..2de463431479 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetConversationResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + Conversation response = await contactCenterInsightsClient.GetConversationAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..85200a1770ed --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetConversationResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + Conversation response = contactCenterInsightsClient.GetConversation(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationSnippet.g.cs new file mode 100755 index 000000000000..de82ae8cff21 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetConversationSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetConversation() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + Conversation response = contactCenterInsightsClient.GetConversation(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecAsyncSnippet.g.cs new file mode 100755 index 000000000000..454a42266940 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetEncryptionSpecAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetEncryptionSpecAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/encryptionSpec"; + // Make the request + EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..45d52719a9a7 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetEncryptionSpecAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetEncryptionSpecRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetEncryptionSpecRequest request = new GetEncryptionSpecRequest + { + EncryptionSpecName = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..e84d70af9a4d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetEncryptionSpec + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetEncryptionSpecRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetEncryptionSpecRequest request = new GetEncryptionSpecRequest + { + EncryptionSpecName = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + EncryptionSpec response = contactCenterInsightsClient.GetEncryptionSpec(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..afdc9f44bcda --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetEncryptionSpecAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetEncryptionSpecResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + EncryptionSpecName name = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..4dddc13d9bd4 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetEncryptionSpec + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetEncryptionSpecResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + EncryptionSpecName name = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + EncryptionSpec response = contactCenterInsightsClient.GetEncryptionSpec(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecSnippet.g.cs new file mode 100755 index 000000000000..7a165722abbc --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetEncryptionSpecSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetEncryptionSpec + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetEncryptionSpec() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/encryptionSpec"; + // Make the request + EncryptionSpec response = contactCenterInsightsClient.GetEncryptionSpec(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelAsyncSnippet.g.cs new file mode 100755 index 000000000000..3ca317e3b5ee --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetFeedbackLabelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetFeedbackLabelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/feedbackLabels/[FEEDBACK_LABEL]"; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..6855c251407d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetFeedbackLabelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetFeedbackLabelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetFeedbackLabelRequest request = new GetFeedbackLabelRequest + { + FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"), + }; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..a16f35eda961 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetFeedbackLabel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetFeedbackLabelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetFeedbackLabelRequest request = new GetFeedbackLabelRequest + { + FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"), + }; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.GetFeedbackLabel(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..51a729e13e7d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetFeedbackLabelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetFeedbackLabelResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"); + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..cd701cade745 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetFeedbackLabel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetFeedbackLabelResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"); + // Make the request + FeedbackLabel response = contactCenterInsightsClient.GetFeedbackLabel(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelSnippet.g.cs new file mode 100755 index 000000000000..f6136f621201 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetFeedbackLabelSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetFeedbackLabel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetFeedbackLabel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/feedbackLabels/[FEEDBACK_LABEL]"; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.GetFeedbackLabel(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueAsyncSnippet.g.cs new file mode 100755 index 000000000000..e4410393a973 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssueAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIssueAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]"; + // Make the request + Issue response = await contactCenterInsightsClient.GetIssueAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelAsyncSnippet.g.cs new file mode 100755 index 000000000000..40c388601fa7 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIssueModelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..6b758211a8c9 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIssueModelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetIssueModelRequest request = new GetIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..0ca2b2de855e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIssueModelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetIssueModelRequest request = new GetIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + IssueModel response = contactCenterInsightsClient.GetIssueModel(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..6c82c537abe8 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIssueModelResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..91a0b52d1061 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIssueModelResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + IssueModel response = contactCenterInsightsClient.GetIssueModel(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelSnippet.g.cs new file mode 100755 index 000000000000..04141aded10e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueModelSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIssueModel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + IssueModel response = contactCenterInsightsClient.GetIssueModel(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..7e9970db3e44 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssueAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIssueRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetIssueRequest request = new GetIssueRequest + { + IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"), + }; + // Make the request + Issue response = await contactCenterInsightsClient.GetIssueAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..06a44647e1ba --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssue + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIssueRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetIssueRequest request = new GetIssueRequest + { + IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"), + }; + // Make the request + Issue response = contactCenterInsightsClient.GetIssue(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..85f7fbd26f0c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssueAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIssueResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); + // Make the request + Issue response = await contactCenterInsightsClient.GetIssueAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..6dec9670aadd --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssue + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIssueResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); + // Make the request + Issue response = contactCenterInsightsClient.GetIssue(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueSnippet.g.cs new file mode 100755 index 000000000000..03e6491bd9e4 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetIssueSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetIssue + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIssue() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]"; + // Make the request + Issue response = contactCenterInsightsClient.GetIssue(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherAsyncSnippet.g.cs new file mode 100755 index 000000000000..ad97208194d0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetPhraseMatcherAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetPhraseMatcherAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]"; + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..2c6abac50c1d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetPhraseMatcherAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetPhraseMatcherRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetPhraseMatcherRequest request = new GetPhraseMatcherRequest + { + PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"), + }; + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..b81789d774af --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetPhraseMatcher + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetPhraseMatcherRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetPhraseMatcherRequest request = new GetPhraseMatcherRequest + { + PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"), + }; + // Make the request + PhraseMatcher response = contactCenterInsightsClient.GetPhraseMatcher(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..dac9074b8e97 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetPhraseMatcherAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetPhraseMatcherResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..4b14a2bd4c9e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetPhraseMatcher + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetPhraseMatcherResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + // Make the request + PhraseMatcher response = contactCenterInsightsClient.GetPhraseMatcher(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherSnippet.g.cs new file mode 100755 index 000000000000..495ffa5728ae --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetPhraseMatcherSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetPhraseMatcher + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetPhraseMatcher() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]"; + // Make the request + PhraseMatcher response = contactCenterInsightsClient.GetPhraseMatcher(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionAsyncSnippet.g.cs new file mode 100755 index 000000000000..8649e3e708e5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaQuestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetQaQuestionAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]"; + // Make the request + QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..6072f0283956 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaQuestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetQaQuestionRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetQaQuestionRequest request = new GetQaQuestionRequest + { + QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"), + }; + // Make the request + QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..ae58069f3b76 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaQuestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetQaQuestionRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetQaQuestionRequest request = new GetQaQuestionRequest + { + QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"), + }; + // Make the request + QaQuestion response = contactCenterInsightsClient.GetQaQuestion(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..6eb8bdfc8b88 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaQuestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetQaQuestionResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"); + // Make the request + QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..7c54e3ff9047 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaQuestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetQaQuestionResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"); + // Make the request + QaQuestion response = contactCenterInsightsClient.GetQaQuestion(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionSnippet.g.cs new file mode 100755 index 000000000000..d74c09d8e55c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaQuestionSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaQuestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetQaQuestion() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]"; + // Make the request + QaQuestion response = contactCenterInsightsClient.GetQaQuestion(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardAsyncSnippet.g.cs new file mode 100755 index 000000000000..af8864491c23 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecardAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetQaScorecardAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..cab98ce02ccd --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecardAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetQaScorecardRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetQaScorecardRequest request = new GetQaScorecardRequest + { + QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + }; + // Make the request + QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..a145e33bf5b3 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecard + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetQaScorecardRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetQaScorecardRequest request = new GetQaScorecardRequest + { + QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + }; + // Make the request + QaScorecard response = contactCenterInsightsClient.GetQaScorecard(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..1a855d23d5d4 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecardAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetQaScorecardResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..634a909d6d57 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecard + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetQaScorecardResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + QaScorecard response = contactCenterInsightsClient.GetQaScorecard(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionAsyncSnippet.g.cs new file mode 100755 index 000000000000..9be3a4c00071 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetQaScorecardRevisionAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..95dd558df683 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetQaScorecardRevisionRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetQaScorecardRevisionRequest request = new GetQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..877a579598b0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetQaScorecardRevisionRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetQaScorecardRevisionRequest request = new GetQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.GetQaScorecardRevision(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..0d22d061c288 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetQaScorecardRevisionResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..93a26c8e8bed --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetQaScorecardRevisionResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.GetQaScorecardRevision(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionSnippet.g.cs new file mode 100755 index 000000000000..e51581be95b7 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardRevisionSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetQaScorecardRevision() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.GetQaScorecardRevision(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardSnippet.g.cs new file mode 100755 index 000000000000..cd69b1921918 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetQaScorecardSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetQaScorecard + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetQaScorecard() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + QaScorecard response = contactCenterInsightsClient.GetQaScorecard(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsAsyncSnippet.g.cs new file mode 100755 index 000000000000..06bb11ff78b2 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetSettingsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetSettingsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/settings"; + // Make the request + Settings response = await contactCenterInsightsClient.GetSettingsAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..9321bfabce6d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetSettingsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetSettingsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetSettingsRequest request = new GetSettingsRequest + { + SettingsName = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + Settings response = await contactCenterInsightsClient.GetSettingsAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..f968e59c2b89 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetSettings + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetSettingsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetSettingsRequest request = new GetSettingsRequest + { + SettingsName = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + Settings response = contactCenterInsightsClient.GetSettings(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..c0b56cac0452 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetSettingsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetSettingsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + SettingsName name = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Settings response = await contactCenterInsightsClient.GetSettingsAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..89dc1952b605 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetSettings + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetSettingsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + SettingsName name = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Settings response = contactCenterInsightsClient.GetSettings(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsSnippet.g.cs new file mode 100755 index 000000000000..43e9ec2c5df9 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetSettingsSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetSettings + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetSettings() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/settings"; + // Make the request + Settings response = contactCenterInsightsClient.GetSettings(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewAsyncSnippet.g.cs new file mode 100755 index 000000000000..74ba47c916ad --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetView_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetViewAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetViewAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]"; + // Make the request + View response = await contactCenterInsightsClient.GetViewAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetView_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..6fe1508d5dbb --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetView_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetViewAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetViewRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetViewRequest request = new GetViewRequest + { + ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"), + }; + // Make the request + View response = await contactCenterInsightsClient.GetViewAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetView_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..6cf9ec6131a5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetView_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetView + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetViewRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetViewRequest request = new GetViewRequest + { + ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"), + }; + // Make the request + View response = contactCenterInsightsClient.GetView(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetView_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..24ff9b972933 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetView_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetViewAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetViewResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"); + // Make the request + View response = await contactCenterInsightsClient.GetViewAsync(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetView_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..0cbfad3cdcef --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetView_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetView + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetViewResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"); + // Make the request + View response = contactCenterInsightsClient.GetView(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetView_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewSnippet.g.cs new file mode 100755 index 000000000000..815c9c677479 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.GetViewSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_GetView_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for GetView + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetView() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]"; + // Make the request + View response = contactCenterInsightsClient.GetView(name); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_GetView_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelAsyncSnippet.g.cs new file mode 100755 index 000000000000..37f070e1bb94 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ImportIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ImportIssueModelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = await contactCenterInsightsClient.ImportIssueModelAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..42efc8834b9c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,67 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ImportIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ImportIssueModelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ImportIssueModelRequest request = new ImportIssueModelRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new ImportIssueModelRequest.Types.GcsSource(), + CreateNewModel = false, + }; + // Make the request + Operation response = await contactCenterInsightsClient.ImportIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..2e2e2b065245 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelRequestObjectSnippet.g.cs @@ -0,0 +1,66 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ImportIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ImportIssueModelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ImportIssueModelRequest request = new ImportIssueModelRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new ImportIssueModelRequest.Types.GcsSource(), + CreateNewModel = false, + }; + // Make the request + Operation response = contactCenterInsightsClient.ImportIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceImportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..f62b5ecb8c50 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ImportIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ImportIssueModelResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await contactCenterInsightsClient.ImportIssueModelAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..f1831c7bcb69 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelResourceNamesSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ImportIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ImportIssueModelResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = contactCenterInsightsClient.ImportIssueModel(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceImportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelSnippet.g.cs new file mode 100755 index 000000000000..7deb7783aec5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ImportIssueModelSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ImportIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ImportIssueModel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = contactCenterInsightsClient.ImportIssueModel(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceImportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsAsyncSnippet.g.cs new file mode 100755 index 000000000000..4fc3e3383e09 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for IngestConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task IngestConversationsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = await contactCenterInsightsClient.IngestConversationsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..a8985a84ba08 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,71 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for IngestConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task IngestConversationsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IngestConversationsRequest request = new IngestConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new IngestConversationsRequest.Types.GcsSource(), + TranscriptObjectConfig = new IngestConversationsRequest.Types.TranscriptObjectConfig(), + ConversationConfig = new IngestConversationsRequest.Types.ConversationConfig(), + RedactionConfig = new RedactionConfig(), + SpeechConfig = new SpeechConfig(), + SampleSize = 0, + }; + // Make the request + Operation response = await contactCenterInsightsClient.IngestConversationsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..12ceb4454659 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsRequestObjectSnippet.g.cs @@ -0,0 +1,70 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for IngestConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void IngestConversationsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IngestConversationsRequest request = new IngestConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new IngestConversationsRequest.Types.GcsSource(), + TranscriptObjectConfig = new IngestConversationsRequest.Types.TranscriptObjectConfig(), + ConversationConfig = new IngestConversationsRequest.Types.ConversationConfig(), + RedactionConfig = new RedactionConfig(), + SpeechConfig = new SpeechConfig(), + SampleSize = 0, + }; + // Make the request + Operation response = contactCenterInsightsClient.IngestConversations(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceIngestConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..1864da2aeb7d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for IngestConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task IngestConversationsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await contactCenterInsightsClient.IngestConversationsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..c52245af7374 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsResourceNamesSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for IngestConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void IngestConversationsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = contactCenterInsightsClient.IngestConversations(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceIngestConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsSnippet.g.cs new file mode 100755 index 000000000000..73aaba021fc8 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.IngestConversationsSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for IngestConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void IngestConversations() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = contactCenterInsightsClient.IngestConversations(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceIngestConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecAsyncSnippet.g.cs new file mode 100755 index 000000000000..f63863cd85e1 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for InitializeEncryptionSpecAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task InitializeEncryptionSpecAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + EncryptionSpec encryptionSpec = new EncryptionSpec(); + // Make the request + Operation response = await contactCenterInsightsClient.InitializeEncryptionSpecAsync(encryptionSpec); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + InitializeEncryptionSpecResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceInitializeEncryptionSpecAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..9439f54bf7bc --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,64 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for InitializeEncryptionSpecAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task InitializeEncryptionSpecRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + InitializeEncryptionSpecRequest request = new InitializeEncryptionSpecRequest + { + EncryptionSpec = new EncryptionSpec(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.InitializeEncryptionSpecAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + InitializeEncryptionSpecResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceInitializeEncryptionSpecAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..aa3a3e6df624 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecRequestObjectSnippet.g.cs @@ -0,0 +1,63 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for InitializeEncryptionSpec + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void InitializeEncryptionSpecRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + InitializeEncryptionSpecRequest request = new InitializeEncryptionSpecRequest + { + EncryptionSpec = new EncryptionSpec(), + }; + // Make the request + Operation response = contactCenterInsightsClient.InitializeEncryptionSpec(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + InitializeEncryptionSpecResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceInitializeEncryptionSpec(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecSnippet.g.cs new file mode 100755 index 000000000000..3c77cf21b611 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.InitializeEncryptionSpecSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for InitializeEncryptionSpec + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void InitializeEncryptionSpec() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + EncryptionSpec encryptionSpec = new EncryptionSpec(); + // Make the request + Operation response = contactCenterInsightsClient.InitializeEncryptionSpec(encryptionSpec); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + InitializeEncryptionSpecResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceInitializeEncryptionSpec(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsAsyncSnippet.g.cs new file mode 100755 index 000000000000..bfa15703f758 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_async_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAllFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAllFeedbackLabelsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabelsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAllFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..564a4a641e0e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,84 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_async] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAllFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAllFeedbackLabelsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListAllFeedbackLabelsRequest request = new ListAllFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabelsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAllFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..d14f65f1d0da --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsRequestObjectSnippet.g.cs @@ -0,0 +1,82 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_sync] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAllFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAllFeedbackLabelsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListAllFeedbackLabelsRequest request = new ListAllFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabels(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAllFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..4dd40d34550d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,80 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAllFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAllFeedbackLabelsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabelsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAllFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..53956846aefe --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsResourceNamesSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAllFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAllFeedbackLabelsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabels(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAllFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsSnippet.g.cs new file mode 100755 index 000000000000..33a300087dd0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAllFeedbackLabelsSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAllFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAllFeedbackLabels() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabels(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAllFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesAsyncSnippet.g.cs new file mode 100755 index 000000000000..a279febc9755 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_async_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalysesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAnalysesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Analysis item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..3e0f09da526c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,83 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_async] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalysesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAnalysesRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListAnalysesRequest request = new ListAnalysesRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysesAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Analysis item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..de96249d9259 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesRequestObjectSnippet.g.cs @@ -0,0 +1,81 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_sync] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalyses + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAnalysesRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListAnalysesRequest request = new ListAnalysesRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalyses(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Analysis item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..7d952bad5fd5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalysesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAnalysesResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Analysis item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..8c88d4b116a6 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesResourceNamesSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalyses + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAnalysesResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalyses(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Analysis item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesSnippet.g.cs new file mode 100755 index 000000000000..980ab006167c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysesSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalyses + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAnalyses() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalyses(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Analysis item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesAsyncSnippet.g.cs new file mode 100755 index 000000000000..03077b400a2b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_async_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalysisRulesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAnalysisRulesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysisRulesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((AnalysisRule item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysisRulesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..2995e1d19309 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,83 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_async] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalysisRulesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAnalysisRulesRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListAnalysisRulesRequest request = new ListAnalysisRulesRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysisRulesAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((AnalysisRule item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysisRulesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..d84c97c29b4f --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesRequestObjectSnippet.g.cs @@ -0,0 +1,81 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_sync] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalysisRules + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAnalysisRulesRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListAnalysisRulesRequest request = new ListAnalysisRulesRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalysisRules(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (AnalysisRule item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysisRulesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..e3e61e431f71 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,80 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalysisRulesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAnalysisRulesResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysisRulesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((AnalysisRule item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysisRulesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..d2f36829fc2c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesResourceNamesSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalysisRules + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAnalysisRulesResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalysisRules(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (AnalysisRule item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysisRulesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesSnippet.g.cs new file mode 100755 index 000000000000..a956b97f14ff --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListAnalysisRulesSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListAnalysisRules + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAnalysisRules() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalysisRules(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (AnalysisRule item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysisRulesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsAsyncSnippet.g.cs new file mode 100755 index 000000000000..41cf5afd0b3a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_async_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListConversationsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListConversationsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Conversation item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListConversationsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..ae1203b492fc --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,86 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_async] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListConversationsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListConversationsRequest request = new ListConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + View = ConversationView.Unspecified, + OrderBy = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListConversationsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Conversation item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListConversationsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..a98cc7faa866 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsRequestObjectSnippet.g.cs @@ -0,0 +1,84 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_sync] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListConversationsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListConversationsRequest request = new ListConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + View = ConversationView.Unspecified, + OrderBy = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListConversations(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Conversation item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListConversationsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..5bd389b0184b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,80 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListConversationsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListConversationsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListConversationsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Conversation item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListConversationsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..ce2a0da16849 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsResourceNamesSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListConversationsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListConversations(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Conversation item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListConversationsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsSnippet.g.cs new file mode 100755 index 000000000000..8185fa3ef95b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListConversationsSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListConversations + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListConversations() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListConversations(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Conversation item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListConversationsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsAsyncSnippet.g.cs new file mode 100755 index 000000000000..28f031a19be7 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_async_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListFeedbackLabelsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListFeedbackLabelsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..ddd26046bff0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,83 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_async] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListFeedbackLabelsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListFeedbackLabelsRequest request = new ListFeedbackLabelsRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListFeedbackLabelsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..39b85ca509be --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsRequestObjectSnippet.g.cs @@ -0,0 +1,81 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_sync] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListFeedbackLabelsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListFeedbackLabelsRequest request = new ListFeedbackLabelsRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListFeedbackLabels(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..38626d9ae5f4 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListFeedbackLabelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListFeedbackLabelsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListFeedbackLabelsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..55d9be862a38 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsResourceNamesSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListFeedbackLabelsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListFeedbackLabels(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsSnippet.g.cs new file mode 100755 index 000000000000..885dcba3ec7e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListFeedbackLabelsSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListFeedbackLabels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListFeedbackLabels() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListFeedbackLabels(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsAsyncSnippet.g.cs new file mode 100755 index 000000000000..a1a45bc713fe --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssueModelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListIssueModelsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(parent); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..54975da74230 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssueModelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListIssueModelsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListIssueModelsRequest request = new ListIssueModelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..423fbd0eab40 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsRequestObjectSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssueModels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListIssueModelsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListIssueModelsRequest request = new ListIssueModelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + ListIssueModelsResponse response = contactCenterInsightsClient.ListIssueModels(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..9afcef1e8846 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_async_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssueModelsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListIssueModelsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(parent); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..79aa013b0208 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsResourceNamesSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_sync_flattened_resourceNames] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssueModels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListIssueModelsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + ListIssueModelsResponse response = contactCenterInsightsClient.ListIssueModels(parent); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsSnippet.g.cs new file mode 100755 index 000000000000..ce9a8f8ed04f --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssueModelsSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssueModels + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListIssueModels() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + ListIssueModelsResponse response = contactCenterInsightsClient.ListIssueModels(parent); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesAsyncSnippet.g.cs new file mode 100755 index 000000000000..ddbc4ae19b80 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssuesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListIssuesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(parent); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..4c052e0e7b0f --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssuesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListIssuesRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListIssuesRequest request = new ListIssuesRequest + { + ParentAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..b60dca3a4142 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssues + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListIssuesRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListIssuesRequest request = new ListIssuesRequest + { + ParentAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + ListIssuesResponse response = contactCenterInsightsClient.ListIssues(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..3ccb8d4e1e37 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssuesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListIssuesResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName parent = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(parent); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..df798009e293 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssues + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListIssuesResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName parent = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + ListIssuesResponse response = contactCenterInsightsClient.ListIssues(parent); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesSnippet.g.cs new file mode 100755 index 000000000000..7e5e74d74b4b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListIssuesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListIssues + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListIssues() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + ListIssuesResponse response = contactCenterInsightsClient.ListIssues(parent); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersAsyncSnippet.g.cs new file mode 100755 index 000000000000..b81c966fb56c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_async_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListPhraseMatchersAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListPhraseMatchersAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListPhraseMatchersAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((PhraseMatcher item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListPhraseMatchersResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..29ea7774bada --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,84 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_async] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListPhraseMatchersAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListPhraseMatchersRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListPhraseMatchersRequest request = new ListPhraseMatchersRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListPhraseMatchersAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((PhraseMatcher item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListPhraseMatchersResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..269567c6db0f --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersRequestObjectSnippet.g.cs @@ -0,0 +1,82 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_sync] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListPhraseMatchers + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListPhraseMatchersRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListPhraseMatchersRequest request = new ListPhraseMatchersRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListPhraseMatchers(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (PhraseMatcher item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListPhraseMatchersResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..96f11fa7c97f --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,80 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListPhraseMatchersAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListPhraseMatchersResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListPhraseMatchersAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((PhraseMatcher item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListPhraseMatchersResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..ea32ef0f955d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersResourceNamesSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListPhraseMatchers + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListPhraseMatchersResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListPhraseMatchers(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (PhraseMatcher item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListPhraseMatchersResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersSnippet.g.cs new file mode 100755 index 000000000000..2944e2902003 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListPhraseMatchersSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListPhraseMatchers + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListPhraseMatchers() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListPhraseMatchers(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (PhraseMatcher item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListPhraseMatchersResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsAsyncSnippet.g.cs new file mode 100755 index 000000000000..9dbc92a02bbf --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_async_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaQuestionsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListQaQuestionsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaQuestionsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaQuestion item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaQuestionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..2f2326fb8020 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,82 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_async] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaQuestionsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListQaQuestionsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListQaQuestionsRequest request = new ListQaQuestionsRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaQuestionsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaQuestion item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaQuestionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..67f5b92a3d33 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsRequestObjectSnippet.g.cs @@ -0,0 +1,80 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_sync] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaQuestions + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListQaQuestionsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListQaQuestionsRequest request = new ListQaQuestionsRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaQuestions(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaQuestion item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaQuestionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..f714368d7ce9 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaQuestionsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListQaQuestionsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaQuestionsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaQuestion item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaQuestionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..15af25d8c737 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsResourceNamesSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaQuestions + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListQaQuestionsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaQuestions(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaQuestion item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaQuestionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsSnippet.g.cs new file mode 100755 index 000000000000..b05562046ce3 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaQuestionsSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaQuestions + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListQaQuestions() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaQuestions(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaQuestion item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaQuestionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsAsyncSnippet.g.cs new file mode 100755 index 000000000000..d54b9c443159 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_async_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecardRevisionsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListQaScorecardRevisionsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisionsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecardRevision item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardRevisionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..fcccfe0e532b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,83 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_async] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecardRevisionsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListQaScorecardRevisionsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListQaScorecardRevisionsRequest request = new ListQaScorecardRevisionsRequest + { + ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisionsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecardRevision item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardRevisionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..d2e8b20995bf --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsRequestObjectSnippet.g.cs @@ -0,0 +1,81 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_sync] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecardRevisions + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListQaScorecardRevisionsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListQaScorecardRevisionsRequest request = new ListQaScorecardRevisionsRequest + { + ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisions(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecardRevision item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardRevisionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..dc0054c35e6f --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecardRevisionsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListQaScorecardRevisionsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisionsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecardRevision item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardRevisionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..4f0650a1fa9c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsResourceNamesSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecardRevisions + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListQaScorecardRevisionsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisions(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecardRevision item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardRevisionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsSnippet.g.cs new file mode 100755 index 000000000000..6885abb386dd --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardRevisionsSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecardRevisions + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListQaScorecardRevisions() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisions(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecardRevision item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardRevisionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsAsyncSnippet.g.cs new file mode 100755 index 000000000000..5dc41899808c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_async_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecardsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListQaScorecardsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecard item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..71ed696936f4 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,83 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_async] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecardsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListQaScorecardsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListQaScorecardsRequest request = new ListQaScorecardsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecard item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..aa98fba1ffee --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsRequestObjectSnippet.g.cs @@ -0,0 +1,81 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_sync] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecards + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListQaScorecardsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListQaScorecardsRequest request = new ListQaScorecardsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecards(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecard item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..cfaaf28d031d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,80 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecardsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListQaScorecardsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecard item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..2867e78f15ba --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsResourceNamesSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecards + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListQaScorecardsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecards(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecard item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsSnippet.g.cs new file mode 100755 index 000000000000..5690ec026d28 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListQaScorecardsSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListQaScorecards + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListQaScorecards() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecards(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecard item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsAsyncSnippet.g.cs new file mode 100755 index 000000000000..7fb6278bca55 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsAsyncSnippet.g.cs @@ -0,0 +1,79 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_async_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListViewsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListViewsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListViewsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((View item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListViewsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..b5492fe22f3e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,83 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_async] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListViewsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListViewsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListViewsRequest request = new ListViewsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListViewsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((View item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListViewsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..8e731f74f975 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsRequestObjectSnippet.g.cs @@ -0,0 +1,81 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_sync] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListViews + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListViewsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListViewsRequest request = new ListViewsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListViews(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (View item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListViewsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..e9861a0da0d4 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,80 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + using System.Linq; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListViewsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListViewsResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListViewsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((View item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListViewsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..f323985d0631 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsResourceNamesSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListViews + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListViewsResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListViews(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (View item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListViewsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsSnippet.g.cs new file mode 100755 index 000000000000..98a467beddc5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.ListViewsSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.ContactCenterInsights.V1; + using System; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for ListViews + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListViews() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListViews(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (View item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListViewsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.QueryMetricsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.QueryMetricsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..24440726277a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.QueryMetricsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,70 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_QueryMetrics_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for QueryMetricsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task QueryMetricsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QueryMetricsRequest request = new QueryMetricsRequest + { + LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + TimeGranularity = QueryMetricsRequest.Types.TimeGranularity.Unspecified, + Dimensions = { new Dimension(), }, + MeasureMask = new FieldMask(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.QueryMetricsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + QueryMetricsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceQueryMetricsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + QueryMetricsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_QueryMetrics_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.QueryMetricsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.QueryMetricsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..0fb1576d4c94 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.QueryMetricsRequestObjectSnippet.g.cs @@ -0,0 +1,69 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_QueryMetrics_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for QueryMetrics + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void QueryMetricsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QueryMetricsRequest request = new QueryMetricsRequest + { + LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + TimeGranularity = QueryMetricsRequest.Types.TimeGranularity.Unspecified, + Dimensions = { new Dimension(), }, + MeasureMask = new FieldMask(), + }; + // Make the request + Operation response = contactCenterInsightsClient.QueryMetrics(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + QueryMetricsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceQueryMetrics(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + QueryMetricsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_QueryMetrics_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionAsyncSnippet.g.cs new file mode 100755 index 000000000000..f6d19e58a226 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionAsyncSnippet.g.cs @@ -0,0 +1,63 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for TuneQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task TuneQaScorecardRevisionAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + string filter = ""; + bool validateOnly = false; + // Make the request + Operation response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(parent, filter, validateOnly); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..dcad420bd6e6 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,66 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for TuneQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task TuneQaScorecardRevisionRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + TuneQaScorecardRevisionRequest request = new TuneQaScorecardRevisionRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + Filter = "", + ValidateOnly = false, + }; + // Make the request + Operation response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..9fb750f8ea28 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionRequestObjectSnippet.g.cs @@ -0,0 +1,65 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for TuneQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void TuneQaScorecardRevisionRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + TuneQaScorecardRevisionRequest request = new TuneQaScorecardRevisionRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + Filter = "", + ValidateOnly = false, + }; + // Make the request + Operation response = contactCenterInsightsClient.TuneQaScorecardRevision(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceTuneQaScorecardRevision(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..22cfe1ea743c --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,63 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for TuneQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task TuneQaScorecardRevisionResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + string filter = ""; + bool validateOnly = false; + // Make the request + Operation response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(parent, filter, validateOnly); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..2764373d6739 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionResourceNamesSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for TuneQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void TuneQaScorecardRevisionResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + string filter = ""; + bool validateOnly = false; + // Make the request + Operation response = contactCenterInsightsClient.TuneQaScorecardRevision(parent, filter, validateOnly); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceTuneQaScorecardRevision(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionSnippet.g.cs new file mode 100755 index 000000000000..ac081a1869a4 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.TuneQaScorecardRevisionSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for TuneQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void TuneQaScorecardRevision() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + string filter = ""; + bool validateOnly = false; + // Make the request + Operation response = contactCenterInsightsClient.TuneQaScorecardRevision(parent, filter, validateOnly); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceTuneQaScorecardRevision(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelAsyncSnippet.g.cs new file mode 100755 index 000000000000..4169b9010ec5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UndeployIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UndeployIssueModelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = await contactCenterInsightsClient.UndeployIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..f1488cffc6ba --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,64 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UndeployIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UndeployIssueModelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UndeployIssueModelRequest request = new UndeployIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = await contactCenterInsightsClient.UndeployIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..982234632c92 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelRequestObjectSnippet.g.cs @@ -0,0 +1,63 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UndeployIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UndeployIssueModelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UndeployIssueModelRequest request = new UndeployIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = contactCenterInsightsClient.UndeployIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceUndeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelResourceNamesAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelResourceNamesAsyncSnippet.g.cs new file mode 100755 index 000000000000..434c4b16ee5e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UndeployIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UndeployIssueModelResourceNamesAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = await contactCenterInsightsClient.UndeployIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelResourceNamesSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelResourceNamesSnippet.g.cs new file mode 100755 index 000000000000..e4f2423732d4 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelResourceNamesSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_sync_flattened_resourceNames] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UndeployIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UndeployIssueModelResourceNames() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = contactCenterInsightsClient.UndeployIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceUndeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_sync_flattened_resourceNames] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelSnippet.g.cs new file mode 100755 index 000000000000..373e61cea7a4 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployIssueModelSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UndeployIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UndeployIssueModel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = contactCenterInsightsClient.UndeployIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceUndeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployQaScorecardRevisionRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployQaScorecardRevisionRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..d750173d069b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployQaScorecardRevisionRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UndeployQaScorecardRevision_async] + using Google.Cloud.ContactCenterInsights.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UndeployQaScorecardRevisionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UndeployQaScorecardRevisionRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UndeployQaScorecardRevisionRequest request = new UndeployQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.UndeployQaScorecardRevisionAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UndeployQaScorecardRevision_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployQaScorecardRevisionRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployQaScorecardRevisionRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..f2c979a33ee0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UndeployQaScorecardRevisionRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UndeployQaScorecardRevision_sync] + using Google.Cloud.ContactCenterInsights.V1; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UndeployQaScorecardRevision + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UndeployQaScorecardRevisionRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UndeployQaScorecardRevisionRequest request = new UndeployQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.UndeployQaScorecardRevision(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UndeployQaScorecardRevision_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleAsyncSnippet.g.cs new file mode 100755 index 000000000000..a24278d338b3 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateAnalysisRuleAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateAnalysisRuleAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + AnalysisRule analysisRule = new AnalysisRule(); + FieldMask updateMask = new FieldMask(); + // Make the request + AnalysisRule response = await contactCenterInsightsClient.UpdateAnalysisRuleAsync(analysisRule, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..b0df727c2e26 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateAnalysisRuleAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateAnalysisRuleRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateAnalysisRuleRequest request = new UpdateAnalysisRuleRequest + { + AnalysisRule = new AnalysisRule(), + UpdateMask = new FieldMask(), + }; + // Make the request + AnalysisRule response = await contactCenterInsightsClient.UpdateAnalysisRuleAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..f6f622d096c0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateAnalysisRule + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateAnalysisRuleRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateAnalysisRuleRequest request = new UpdateAnalysisRuleRequest + { + AnalysisRule = new AnalysisRule(), + UpdateMask = new FieldMask(), + }; + // Make the request + AnalysisRule response = contactCenterInsightsClient.UpdateAnalysisRule(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleSnippet.g.cs new file mode 100755 index 000000000000..ff440eac6aba --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateAnalysisRuleSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateAnalysisRule + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateAnalysisRule() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + AnalysisRule analysisRule = new AnalysisRule(); + FieldMask updateMask = new FieldMask(); + // Make the request + AnalysisRule response = contactCenterInsightsClient.UpdateAnalysisRule(analysisRule, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationAsyncSnippet.g.cs new file mode 100755 index 000000000000..5db46da18c93 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateConversationAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + Conversation conversation = new Conversation(); + FieldMask updateMask = new FieldMask(); + // Make the request + Conversation response = await contactCenterInsightsClient.UpdateConversationAsync(conversation, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..eecf10e208b1 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateConversationRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateConversationRequest request = new UpdateConversationRequest + { + Conversation = new Conversation(), + UpdateMask = new FieldMask(), + }; + // Make the request + Conversation response = await contactCenterInsightsClient.UpdateConversationAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..4618d744514b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateConversationRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateConversationRequest request = new UpdateConversationRequest + { + Conversation = new Conversation(), + UpdateMask = new FieldMask(), + }; + // Make the request + Conversation response = contactCenterInsightsClient.UpdateConversation(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationSnippet.g.cs new file mode 100755 index 000000000000..eaae27b1316e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateConversationSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateConversation() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + Conversation conversation = new Conversation(); + FieldMask updateMask = new FieldMask(); + // Make the request + Conversation response = contactCenterInsightsClient.UpdateConversation(conversation, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelAsyncSnippet.g.cs new file mode 100755 index 000000000000..44cfa61910a1 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateFeedbackLabelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateFeedbackLabelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + FeedbackLabel feedbackLabel = new FeedbackLabel(); + FieldMask updateMask = new FieldMask(); + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.UpdateFeedbackLabelAsync(feedbackLabel, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..3ce650b71bbf --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateFeedbackLabelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateFeedbackLabelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateFeedbackLabelRequest request = new UpdateFeedbackLabelRequest + { + FeedbackLabel = new FeedbackLabel(), + UpdateMask = new FieldMask(), + }; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.UpdateFeedbackLabelAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..b7407a693b49 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateFeedbackLabel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateFeedbackLabelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateFeedbackLabelRequest request = new UpdateFeedbackLabelRequest + { + FeedbackLabel = new FeedbackLabel(), + UpdateMask = new FieldMask(), + }; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.UpdateFeedbackLabel(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelSnippet.g.cs new file mode 100755 index 000000000000..ba82c65db7b5 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateFeedbackLabelSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateFeedbackLabel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateFeedbackLabel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + FeedbackLabel feedbackLabel = new FeedbackLabel(); + FieldMask updateMask = new FieldMask(); + // Make the request + FeedbackLabel response = contactCenterInsightsClient.UpdateFeedbackLabel(feedbackLabel, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueAsyncSnippet.g.cs new file mode 100755 index 000000000000..3d066a35f29d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateIssueAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateIssueAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + Issue issue = new Issue(); + FieldMask updateMask = new FieldMask(); + // Make the request + Issue response = await contactCenterInsightsClient.UpdateIssueAsync(issue, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelAsyncSnippet.g.cs new file mode 100755 index 000000000000..c60d3462a417 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateIssueModelAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModel issueModel = new IssueModel(); + FieldMask updateMask = new FieldMask(); + // Make the request + IssueModel response = await contactCenterInsightsClient.UpdateIssueModelAsync(issueModel, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..2f10caaac2fc --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateIssueModelAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateIssueModelRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateIssueModelRequest request = new UpdateIssueModelRequest + { + IssueModel = new IssueModel(), + UpdateMask = new FieldMask(), + }; + // Make the request + IssueModel response = await contactCenterInsightsClient.UpdateIssueModelAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..0ec5da788962 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateIssueModelRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateIssueModelRequest request = new UpdateIssueModelRequest + { + IssueModel = new IssueModel(), + UpdateMask = new FieldMask(), + }; + // Make the request + IssueModel response = contactCenterInsightsClient.UpdateIssueModel(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelSnippet.g.cs new file mode 100755 index 000000000000..f9cdf19a6be7 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueModelSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateIssueModel + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateIssueModel() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModel issueModel = new IssueModel(); + FieldMask updateMask = new FieldMask(); + // Make the request + IssueModel response = contactCenterInsightsClient.UpdateIssueModel(issueModel, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..8be4f769b6e0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateIssueAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateIssueRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateIssueRequest request = new UpdateIssueRequest + { + Issue = new Issue(), + UpdateMask = new FieldMask(), + }; + // Make the request + Issue response = await contactCenterInsightsClient.UpdateIssueAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..3d1413b382f1 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateIssue + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateIssueRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateIssueRequest request = new UpdateIssueRequest + { + Issue = new Issue(), + UpdateMask = new FieldMask(), + }; + // Make the request + Issue response = contactCenterInsightsClient.UpdateIssue(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueSnippet.g.cs new file mode 100755 index 000000000000..dc4913869b14 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateIssueSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateIssue + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateIssue() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + Issue issue = new Issue(); + FieldMask updateMask = new FieldMask(); + // Make the request + Issue response = contactCenterInsightsClient.UpdateIssue(issue, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherAsyncSnippet.g.cs new file mode 100755 index 000000000000..6a9cb883006d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdatePhraseMatcherAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdatePhraseMatcherAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + PhraseMatcher phraseMatcher = new PhraseMatcher(); + FieldMask updateMask = new FieldMask(); + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.UpdatePhraseMatcherAsync(phraseMatcher, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..1b17a6d6fa54 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdatePhraseMatcherAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdatePhraseMatcherRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdatePhraseMatcherRequest request = new UpdatePhraseMatcherRequest + { + PhraseMatcher = new PhraseMatcher(), + UpdateMask = new FieldMask(), + }; + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.UpdatePhraseMatcherAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..3c72be396813 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdatePhraseMatcher + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdatePhraseMatcherRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdatePhraseMatcherRequest request = new UpdatePhraseMatcherRequest + { + PhraseMatcher = new PhraseMatcher(), + UpdateMask = new FieldMask(), + }; + // Make the request + PhraseMatcher response = contactCenterInsightsClient.UpdatePhraseMatcher(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherSnippet.g.cs new file mode 100755 index 000000000000..e074f84c74b0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdatePhraseMatcherSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdatePhraseMatcher + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdatePhraseMatcher() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + PhraseMatcher phraseMatcher = new PhraseMatcher(); + FieldMask updateMask = new FieldMask(); + // Make the request + PhraseMatcher response = contactCenterInsightsClient.UpdatePhraseMatcher(phraseMatcher, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionAsyncSnippet.g.cs new file mode 100755 index 000000000000..91a86d76047b --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateQaQuestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateQaQuestionAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaQuestion qaQuestion = new QaQuestion(); + FieldMask updateMask = new FieldMask(); + // Make the request + QaQuestion response = await contactCenterInsightsClient.UpdateQaQuestionAsync(qaQuestion, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..0cce8ec8aad7 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateQaQuestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateQaQuestionRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateQaQuestionRequest request = new UpdateQaQuestionRequest + { + QaQuestion = new QaQuestion(), + UpdateMask = new FieldMask(), + }; + // Make the request + QaQuestion response = await contactCenterInsightsClient.UpdateQaQuestionAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..f89a1729d50e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateQaQuestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateQaQuestionRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateQaQuestionRequest request = new UpdateQaQuestionRequest + { + QaQuestion = new QaQuestion(), + UpdateMask = new FieldMask(), + }; + // Make the request + QaQuestion response = contactCenterInsightsClient.UpdateQaQuestion(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionSnippet.g.cs new file mode 100755 index 000000000000..09407ac48e71 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaQuestionSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateQaQuestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateQaQuestion() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaQuestion qaQuestion = new QaQuestion(); + FieldMask updateMask = new FieldMask(); + // Make the request + QaQuestion response = contactCenterInsightsClient.UpdateQaQuestion(qaQuestion, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardAsyncSnippet.g.cs new file mode 100755 index 000000000000..4ed14a0b3314 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateQaScorecardAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateQaScorecardAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecard qaScorecard = new QaScorecard(); + FieldMask updateMask = new FieldMask(); + // Make the request + QaScorecard response = await contactCenterInsightsClient.UpdateQaScorecardAsync(qaScorecard, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..7cc9abc7392a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateQaScorecardAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateQaScorecardRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateQaScorecardRequest request = new UpdateQaScorecardRequest + { + QaScorecard = new QaScorecard(), + UpdateMask = new FieldMask(), + }; + // Make the request + QaScorecard response = await contactCenterInsightsClient.UpdateQaScorecardAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..57869b8626dc --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateQaScorecard + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateQaScorecardRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateQaScorecardRequest request = new UpdateQaScorecardRequest + { + QaScorecard = new QaScorecard(), + UpdateMask = new FieldMask(), + }; + // Make the request + QaScorecard response = contactCenterInsightsClient.UpdateQaScorecard(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardSnippet.g.cs new file mode 100755 index 000000000000..181963bacec4 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateQaScorecardSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateQaScorecard + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateQaScorecard() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecard qaScorecard = new QaScorecard(); + FieldMask updateMask = new FieldMask(); + // Make the request + QaScorecard response = contactCenterInsightsClient.UpdateQaScorecard(qaScorecard, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsAsyncSnippet.g.cs new file mode 100755 index 000000000000..58a27d1b1cab --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateSettingsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateSettingsAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + Settings settings = new Settings(); + FieldMask updateMask = new FieldMask(); + // Make the request + Settings response = await contactCenterInsightsClient.UpdateSettingsAsync(settings, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..dec8052764e2 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateSettingsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateSettingsRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateSettingsRequest request = new UpdateSettingsRequest + { + Settings = new Settings(), + UpdateMask = new FieldMask(), + }; + // Make the request + Settings response = await contactCenterInsightsClient.UpdateSettingsAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..43e6d7894d16 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateSettings + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateSettingsRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateSettingsRequest request = new UpdateSettingsRequest + { + Settings = new Settings(), + UpdateMask = new FieldMask(), + }; + // Make the request + Settings response = contactCenterInsightsClient.UpdateSettings(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsSnippet.g.cs new file mode 100755 index 000000000000..0a9df46f8caf --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateSettingsSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateSettings + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateSettings() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + Settings settings = new Settings(); + FieldMask updateMask = new FieldMask(); + // Make the request + Settings response = contactCenterInsightsClient.UpdateSettings(settings, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewAsyncSnippet.g.cs new file mode 100755 index 000000000000..8c1b0b83ac89 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_async_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateViewAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateViewAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + View view = new View(); + FieldMask updateMask = new FieldMask(); + // Make the request + View response = await contactCenterInsightsClient.UpdateViewAsync(view, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_async_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..577a31042072 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_async] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateViewAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateViewRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateViewRequest request = new UpdateViewRequest + { + View = new View(), + UpdateMask = new FieldMask(), + }; + // Make the request + View response = await contactCenterInsightsClient.UpdateViewAsync(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..248405484a72 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_sync] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateView + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateViewRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateViewRequest request = new UpdateViewRequest + { + View = new View(), + UpdateMask = new FieldMask(), + }; + // Make the request + View response = contactCenterInsightsClient.UpdateView(request); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewSnippet.g.cs new file mode 100755 index 000000000000..08d94f368ac2 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UpdateViewSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_sync_flattened] + using Google.Cloud.ContactCenterInsights.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UpdateView + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateView() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + View view = new View(); + FieldMask updateMask = new FieldMask(); + // Make the request + View response = contactCenterInsightsClient.UpdateView(view, updateMask); + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_sync_flattened] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UploadConversationRequestObjectAsyncSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UploadConversationRequestObjectAsyncSnippet.g.cs new file mode 100755 index 000000000000..77d1ae9cf49d --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UploadConversationRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,69 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UploadConversation_async] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UploadConversationAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UploadConversationRequestObjectAsync() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UploadConversationRequest request = new UploadConversationRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Conversation = new Conversation(), + ConversationId = "", + RedactionConfig = new RedactionConfig(), + SpeechConfig = new SpeechConfig(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.UploadConversationAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Conversation result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceUploadConversationAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Conversation retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UploadConversation_async] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UploadConversationRequestObjectSnippet.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UploadConversationRequestObjectSnippet.g.cs new file mode 100755 index 000000000000..c516fa4b3508 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/ContactCenterInsightsClient.UploadConversationRequestObjectSnippet.g.cs @@ -0,0 +1,68 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START contactcenterinsights_v1_generated_ContactCenterInsights_UploadConversation_sync] + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + + public sealed partial class GeneratedContactCenterInsightsClientSnippets + { + /// Snippet for UploadConversation + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UploadConversationRequestObject() + { + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UploadConversationRequest request = new UploadConversationRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Conversation = new Conversation(), + ConversationId = "", + RedactionConfig = new RedactionConfig(), + SpeechConfig = new SpeechConfig(), + }; + // Make the request + Operation response = contactCenterInsightsClient.UploadConversation(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Conversation result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceUploadConversation(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Conversation retrievedResult = retrievedResponse.Result; + } + } + } + // [END contactcenterinsights_v1_generated_ContactCenterInsights_UploadConversation_sync] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets.csproj b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets.csproj new file mode 100755 index 000000000000..46d42c959e41 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets.csproj @@ -0,0 +1,15 @@ + + + + + net6.0;net462 + latest + + + + + + + + + \ No newline at end of file diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/snippet_metadata_google.cloud.contactcenterinsights.v1.json b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/snippet_metadata_google.cloud.contactcenterinsights.v1.json new file mode 100755 index 000000000000..3501ace5f248 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.GeneratedSnippets/snippet_metadata_google.cloud.contactcenterinsights.v1.json @@ -0,0 +1,20137 @@ +{ + "clientLibrary": { + "name": "Google.Cloud.ContactCenterInsights.V1", + "language": "C_SHARP", + "apis": [ + { + "id": "google.cloud.contactcenterinsights.v1", + "version": "v1" + } + ] + }, + "snippets": [ + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_sync", + "title": "CreateConversationRequestObject", + "description": "Snippet for CreateConversation", + "file": "ContactCenterInsightsClient.CreateConversationRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateConversation", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateConversationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 35, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async", + "title": "CreateConversationRequestObjectAsync", + "description": "Snippet for CreateConversationAsync", + "file": "ContactCenterInsightsClient.CreateConversationRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateConversationAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateConversationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 48, + "type": "FULL" + }, + { + "start": 36, + "end": 46, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_sync_flattened", + "title": "CreateConversation", + "description": "Snippet for CreateConversation", + "file": "ContactCenterInsightsClient.CreateConversationSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateConversation", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "name": "conversation" + }, + { + "type": "System.String", + "name": "conversationId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async_flattened", + "title": "CreateConversationAsync", + "description": "Snippet for CreateConversationAsync", + "file": "ContactCenterInsightsClient.CreateConversationAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateConversationAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "name": "conversation" + }, + { + "type": "System.String", + "name": "conversationId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_sync_flattened_resourceNames", + "title": "CreateConversationResourceNames", + "description": "Snippet for CreateConversation", + "file": "ContactCenterInsightsClient.CreateConversationResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateConversation", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "name": "conversation" + }, + { + "type": "System.String", + "name": "conversationId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_async_flattened_resourceNames", + "title": "CreateConversationResourceNamesAsync", + "description": "Snippet for CreateConversationAsync", + "file": "ContactCenterInsightsClient.CreateConversationResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateConversationAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "name": "conversation" + }, + { + "type": "System.String", + "name": "conversationId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 36, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UploadConversation_sync", + "title": "UploadConversationRequestObject", + "description": "Snippet for UploadConversation", + "file": "ContactCenterInsightsClient.UploadConversationRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UploadConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UploadConversation", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UploadConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UploadConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 66, + "type": "FULL" + }, + { + "start": 36, + "end": 64, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UploadConversation_async", + "title": "UploadConversationRequestObjectAsync", + "description": "Snippet for UploadConversationAsync", + "file": "ContactCenterInsightsClient.UploadConversationRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UploadConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UploadConversationAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UploadConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UploadConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 67, + "type": "FULL" + }, + { + "start": 37, + "end": 65, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_sync", + "title": "UpdateConversationRequestObject", + "description": "Snippet for UpdateConversation", + "file": "ContactCenterInsightsClient.UpdateConversationRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateConversation", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateConversationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_async", + "title": "UpdateConversationRequestObjectAsync", + "description": "Snippet for UpdateConversationAsync", + "file": "ContactCenterInsightsClient.UpdateConversationRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateConversationAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateConversationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_sync_flattened", + "title": "UpdateConversation", + "description": "Snippet for UpdateConversation", + "file": "ContactCenterInsightsClient.UpdateConversationSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateConversation", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "name": "conversation" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_async_flattened", + "title": "UpdateConversationAsync", + "description": "Snippet for UpdateConversationAsync", + "file": "ContactCenterInsightsClient.UpdateConversationAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateConversationAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "name": "conversation" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_sync", + "title": "GetConversationRequestObject", + "description": "Snippet for GetConversation", + "file": "ContactCenterInsightsClient.GetConversationRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetConversation", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetConversationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 34, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async", + "title": "GetConversationRequestObjectAsync", + "description": "Snippet for GetConversationAsync", + "file": "ContactCenterInsightsClient.GetConversationRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetConversationAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetConversationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_sync_flattened", + "title": "GetConversation", + "description": "Snippet for GetConversation", + "file": "ContactCenterInsightsClient.GetConversationSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetConversation", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async_flattened", + "title": "GetConversationAsync", + "description": "Snippet for GetConversationAsync", + "file": "ContactCenterInsightsClient.GetConversationAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetConversationAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_sync_flattened_resourceNames", + "title": "GetConversationResourceNames", + "description": "Snippet for GetConversation", + "file": "ContactCenterInsightsClient.GetConversationResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetConversation", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Conversation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_async_flattened_resourceNames", + "title": "GetConversationResourceNamesAsync", + "description": "Snippet for GetConversationAsync", + "file": "ContactCenterInsightsClient.GetConversationResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetConversationAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_sync", + "title": "ListConversationsRequestObject", + "description": "Snippet for ListConversations", + "file": "ContactCenterInsightsClient.ListConversationsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListConversations", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListConversationsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 82, + "type": "FULL" + }, + { + "start": 37, + "end": 80, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_async", + "title": "ListConversationsRequestObjectAsync", + "description": "Snippet for ListConversationsAsync", + "file": "ContactCenterInsightsClient.ListConversationsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListConversationsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListConversationsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 84, + "type": "FULL" + }, + { + "start": 39, + "end": 82, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_sync_flattened", + "title": "ListConversations", + "description": "Snippet for ListConversations", + "file": "ContactCenterInsightsClient.ListConversationsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListConversations", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_async_flattened", + "title": "ListConversationsAsync", + "description": "Snippet for ListConversationsAsync", + "file": "ContactCenterInsightsClient.ListConversationsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListConversationsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_sync_flattened_resourceNames", + "title": "ListConversationsResourceNames", + "description": "Snippet for ListConversations", + "file": "ContactCenterInsightsClient.ListConversationsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListConversations", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_async_flattened_resourceNames", + "title": "ListConversationsResourceNamesAsync", + "description": "Snippet for ListConversationsAsync", + "file": "ContactCenterInsightsClient.ListConversationsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListConversationsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 39, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_sync", + "title": "DeleteConversationRequestObject", + "description": "Snippet for DeleteConversation", + "file": "ContactCenterInsightsClient.DeleteConversationRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteConversation", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteConversationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 34, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async", + "title": "DeleteConversationRequestObjectAsync", + "description": "Snippet for DeleteConversationAsync", + "file": "ContactCenterInsightsClient.DeleteConversationRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteConversationAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteConversationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_sync_flattened", + "title": "DeleteConversation", + "description": "Snippet for DeleteConversation", + "file": "ContactCenterInsightsClient.DeleteConversationSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteConversation", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async_flattened", + "title": "DeleteConversationAsync", + "description": "Snippet for DeleteConversationAsync", + "file": "ContactCenterInsightsClient.DeleteConversationAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteConversationAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_sync_flattened_resourceNames", + "title": "DeleteConversationResourceNames", + "description": "Snippet for DeleteConversation", + "file": "ContactCenterInsightsClient.DeleteConversationResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteConversation", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteConversation", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_async_flattened_resourceNames", + "title": "DeleteConversationResourceNamesAsync", + "description": "Snippet for DeleteConversationAsync", + "file": "ContactCenterInsightsClient.DeleteConversationResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteConversationAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteConversationAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversation", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_sync", + "title": "CreateAnalysisRequestObject", + "description": "Snippet for CreateAnalysis", + "file": "ContactCenterInsightsClient.CreateAnalysisRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysis", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysis", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 62, + "type": "FULL" + }, + { + "start": 35, + "end": 60, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async", + "title": "CreateAnalysisRequestObjectAsync", + "description": "Snippet for CreateAnalysisAsync", + "file": "ContactCenterInsightsClient.CreateAnalysisRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysisAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysisAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 63, + "type": "FULL" + }, + { + "start": 36, + "end": 61, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_sync_flattened", + "title": "CreateAnalysis", + "description": "Snippet for CreateAnalysis", + "file": "ContactCenterInsightsClient.CreateAnalysisSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysis", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysis", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.Analysis", + "name": "analysis" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 35, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async_flattened", + "title": "CreateAnalysisAsync", + "description": "Snippet for CreateAnalysisAsync", + "file": "ContactCenterInsightsClient.CreateAnalysisAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysisAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysisAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.Analysis", + "name": "analysis" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 36, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_sync_flattened_resourceNames", + "title": "CreateAnalysisResourceNames", + "description": "Snippet for CreateAnalysis", + "file": "ContactCenterInsightsClient.CreateAnalysisResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysis", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysis", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.Analysis", + "name": "analysis" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 35, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_async_flattened_resourceNames", + "title": "CreateAnalysisResourceNamesAsync", + "description": "Snippet for CreateAnalysisAsync", + "file": "ContactCenterInsightsClient.CreateAnalysisResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysisAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysisAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.Analysis", + "name": "analysis" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 36, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_sync", + "title": "GetAnalysisRequestObject", + "description": "Snippet for GetAnalysis", + "file": "ContactCenterInsightsClient.GetAnalysisRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysis", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysis", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetAnalysisRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Analysis", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async", + "title": "GetAnalysisRequestObjectAsync", + "description": "Snippet for GetAnalysisAsync", + "file": "ContactCenterInsightsClient.GetAnalysisRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysisAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysisAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetAnalysisRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_sync_flattened", + "title": "GetAnalysis", + "description": "Snippet for GetAnalysis", + "file": "ContactCenterInsightsClient.GetAnalysisSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysis", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysis", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Analysis", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async_flattened", + "title": "GetAnalysisAsync", + "description": "Snippet for GetAnalysisAsync", + "file": "ContactCenterInsightsClient.GetAnalysisAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysisAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysisAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_sync_flattened_resourceNames", + "title": "GetAnalysisResourceNames", + "description": "Snippet for GetAnalysis", + "file": "ContactCenterInsightsClient.GetAnalysisResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysis", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysis", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Analysis", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_async_flattened_resourceNames", + "title": "GetAnalysisResourceNamesAsync", + "description": "Snippet for GetAnalysisAsync", + "file": "ContactCenterInsightsClient.GetAnalysisResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysisAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysisAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_sync", + "title": "ListAnalysesRequestObject", + "description": "Snippet for ListAnalyses", + "file": "ContactCenterInsightsClient.ListAnalysesRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalyses", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalyses", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListAnalysesRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalyses", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalyses", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 36, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_async", + "title": "ListAnalysesRequestObjectAsync", + "description": "Snippet for ListAnalysesAsync", + "file": "ContactCenterInsightsClient.ListAnalysesRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalysesAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalysesAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListAnalysesRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalyses", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalyses", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 81, + "type": "FULL" + }, + { + "start": 38, + "end": 79, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_sync_flattened", + "title": "ListAnalyses", + "description": "Snippet for ListAnalyses", + "file": "ContactCenterInsightsClient.ListAnalysesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalyses", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalyses", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalyses", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalyses", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_async_flattened", + "title": "ListAnalysesAsync", + "description": "Snippet for ListAnalysesAsync", + "file": "ContactCenterInsightsClient.ListAnalysesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalysesAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalysesAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalyses", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalyses", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_sync_flattened_resourceNames", + "title": "ListAnalysesResourceNames", + "description": "Snippet for ListAnalyses", + "file": "ContactCenterInsightsClient.ListAnalysesResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalyses", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalyses", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalyses", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalyses", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_async_flattened_resourceNames", + "title": "ListAnalysesResourceNamesAsync", + "description": "Snippet for ListAnalysesAsync", + "file": "ContactCenterInsightsClient.ListAnalysesResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalysesAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalysesAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalyses", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalyses", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_sync", + "title": "DeleteAnalysisRequestObject", + "description": "Snippet for DeleteAnalysis", + "file": "ContactCenterInsightsClient.DeleteAnalysisRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysis", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysis", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async", + "title": "DeleteAnalysisRequestObjectAsync", + "description": "Snippet for DeleteAnalysisAsync", + "file": "ContactCenterInsightsClient.DeleteAnalysisRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysisAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysisAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_sync_flattened", + "title": "DeleteAnalysis", + "description": "Snippet for DeleteAnalysis", + "file": "ContactCenterInsightsClient.DeleteAnalysisSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysis", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysis", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async_flattened", + "title": "DeleteAnalysisAsync", + "description": "Snippet for DeleteAnalysisAsync", + "file": "ContactCenterInsightsClient.DeleteAnalysisAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysisAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysisAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_sync_flattened_resourceNames", + "title": "DeleteAnalysisResourceNames", + "description": "Snippet for DeleteAnalysis", + "file": "ContactCenterInsightsClient.DeleteAnalysisResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysis", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysis", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_async_flattened_resourceNames", + "title": "DeleteAnalysisResourceNamesAsync", + "description": "Snippet for DeleteAnalysisAsync", + "file": "ContactCenterInsightsClient.DeleteAnalysisResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysisAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysisAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysis", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_sync", + "title": "BulkAnalyzeConversationsRequestObject", + "description": "Snippet for BulkAnalyzeConversations", + "file": "ContactCenterInsightsClient.BulkAnalyzeConversationsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkAnalyzeConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkAnalyzeConversations", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkAnalyzeConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkAnalyzeConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 65, + "type": "FULL" + }, + { + "start": 36, + "end": 63, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_async", + "title": "BulkAnalyzeConversationsRequestObjectAsync", + "description": "Snippet for BulkAnalyzeConversationsAsync", + "file": "ContactCenterInsightsClient.BulkAnalyzeConversationsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkAnalyzeConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkAnalyzeConversationsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkAnalyzeConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkAnalyzeConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 66, + "type": "FULL" + }, + { + "start": 37, + "end": 64, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_sync_flattened", + "title": "BulkAnalyzeConversations", + "description": "Snippet for BulkAnalyzeConversations", + "file": "ContactCenterInsightsClient.BulkAnalyzeConversationsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkAnalyzeConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkAnalyzeConversations", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "System.Single", + "name": "analysisPercentage" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkAnalyzeConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkAnalyzeConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 35, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_async_flattened", + "title": "BulkAnalyzeConversationsAsync", + "description": "Snippet for BulkAnalyzeConversationsAsync", + "file": "ContactCenterInsightsClient.BulkAnalyzeConversationsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkAnalyzeConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkAnalyzeConversationsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "System.Single", + "name": "analysisPercentage" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkAnalyzeConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkAnalyzeConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 61, + "type": "FULL" + }, + { + "start": 36, + "end": 59, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_sync_flattened_resourceNames", + "title": "BulkAnalyzeConversationsResourceNames", + "description": "Snippet for BulkAnalyzeConversations", + "file": "ContactCenterInsightsClient.BulkAnalyzeConversationsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkAnalyzeConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkAnalyzeConversations", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "System.Single", + "name": "analysisPercentage" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkAnalyzeConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkAnalyzeConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 61, + "type": "FULL" + }, + { + "start": 36, + "end": 59, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_async_flattened_resourceNames", + "title": "BulkAnalyzeConversationsResourceNamesAsync", + "description": "Snippet for BulkAnalyzeConversationsAsync", + "file": "ContactCenterInsightsClient.BulkAnalyzeConversationsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkAnalyzeConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkAnalyzeConversationsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "System.Single", + "name": "analysisPercentage" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkAnalyzeConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkAnalyzeConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 62, + "type": "FULL" + }, + { + "start": 37, + "end": 60, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_sync", + "title": "BulkDeleteConversationsRequestObject", + "description": "Snippet for BulkDeleteConversations", + "file": "ContactCenterInsightsClient.BulkDeleteConversationsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDeleteConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDeleteConversations", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDeleteConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDeleteConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 65, + "type": "FULL" + }, + { + "start": 36, + "end": 63, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_async", + "title": "BulkDeleteConversationsRequestObjectAsync", + "description": "Snippet for BulkDeleteConversationsAsync", + "file": "ContactCenterInsightsClient.BulkDeleteConversationsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDeleteConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDeleteConversationsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDeleteConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDeleteConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 66, + "type": "FULL" + }, + { + "start": 37, + "end": 64, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_sync_flattened", + "title": "BulkDeleteConversations", + "description": "Snippet for BulkDeleteConversations", + "file": "ContactCenterInsightsClient.BulkDeleteConversationsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDeleteConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDeleteConversations", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDeleteConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDeleteConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 35, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_async_flattened", + "title": "BulkDeleteConversationsAsync", + "description": "Snippet for BulkDeleteConversationsAsync", + "file": "ContactCenterInsightsClient.BulkDeleteConversationsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDeleteConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDeleteConversationsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDeleteConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDeleteConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 36, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_sync_flattened_resourceNames", + "title": "BulkDeleteConversationsResourceNames", + "description": "Snippet for BulkDeleteConversations", + "file": "ContactCenterInsightsClient.BulkDeleteConversationsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDeleteConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDeleteConversations", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDeleteConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDeleteConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 36, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_async_flattened_resourceNames", + "title": "BulkDeleteConversationsResourceNamesAsync", + "description": "Snippet for BulkDeleteConversationsAsync", + "file": "ContactCenterInsightsClient.BulkDeleteConversationsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDeleteConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDeleteConversationsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDeleteConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDeleteConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 61, + "type": "FULL" + }, + { + "start": 37, + "end": 59, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_sync", + "title": "IngestConversationsRequestObject", + "description": "Snippet for IngestConversations", + "file": "ContactCenterInsightsClient.IngestConversationsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "IngestConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.IngestConversations", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "IngestConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.IngestConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 68, + "type": "FULL" + }, + { + "start": 36, + "end": 66, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_async", + "title": "IngestConversationsRequestObjectAsync", + "description": "Snippet for IngestConversationsAsync", + "file": "ContactCenterInsightsClient.IngestConversationsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "IngestConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.IngestConversationsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "IngestConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.IngestConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 69, + "type": "FULL" + }, + { + "start": 37, + "end": 67, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_sync_flattened", + "title": "IngestConversations", + "description": "Snippet for IngestConversations", + "file": "ContactCenterInsightsClient.IngestConversationsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "IngestConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.IngestConversations", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "IngestConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.IngestConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_async_flattened", + "title": "IngestConversationsAsync", + "description": "Snippet for IngestConversationsAsync", + "file": "ContactCenterInsightsClient.IngestConversationsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "IngestConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.IngestConversationsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "IngestConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.IngestConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_sync_flattened_resourceNames", + "title": "IngestConversationsResourceNames", + "description": "Snippet for IngestConversations", + "file": "ContactCenterInsightsClient.IngestConversationsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "IngestConversations", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.IngestConversations", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "IngestConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.IngestConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_async_flattened_resourceNames", + "title": "IngestConversationsResourceNamesAsync", + "description": "Snippet for IngestConversationsAsync", + "file": "ContactCenterInsightsClient.IngestConversationsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "IngestConversationsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.IngestConversationsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "IngestConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.IngestConversations", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 37, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_sync", + "title": "ExportInsightsDataRequestObject", + "description": "Snippet for ExportInsightsData", + "file": "ContactCenterInsightsClient.ExportInsightsDataRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportInsightsData", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportInsightsData", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportInsightsData", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsData", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 66, + "type": "FULL" + }, + { + "start": 36, + "end": 64, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async", + "title": "ExportInsightsDataRequestObjectAsync", + "description": "Snippet for ExportInsightsDataAsync", + "file": "ContactCenterInsightsClient.ExportInsightsDataRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportInsightsDataAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportInsightsDataAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportInsightsData", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsData", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 67, + "type": "FULL" + }, + { + "start": 37, + "end": 65, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_sync_flattened", + "title": "ExportInsightsData", + "description": "Snippet for ExportInsightsData", + "file": "ContactCenterInsightsClient.ExportInsightsDataSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportInsightsData", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportInsightsData", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportInsightsData", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsData", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async_flattened", + "title": "ExportInsightsDataAsync", + "description": "Snippet for ExportInsightsDataAsync", + "file": "ContactCenterInsightsClient.ExportInsightsDataAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportInsightsDataAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportInsightsDataAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportInsightsData", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsData", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_sync_flattened_resourceNames", + "title": "ExportInsightsDataResourceNames", + "description": "Snippet for ExportInsightsData", + "file": "ContactCenterInsightsClient.ExportInsightsDataResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportInsightsData", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportInsightsData", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportInsightsData", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsData", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_async_flattened_resourceNames", + "title": "ExportInsightsDataResourceNamesAsync", + "description": "Snippet for ExportInsightsDataAsync", + "file": "ContactCenterInsightsClient.ExportInsightsDataResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportInsightsDataAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportInsightsDataAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportInsightsData", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsData", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 37, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_sync", + "title": "CreateIssueModelRequestObject", + "description": "Snippet for CreateIssueModel", + "file": "ContactCenterInsightsClient.CreateIssueModelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 63, + "type": "FULL" + }, + { + "start": 36, + "end": 61, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async", + "title": "CreateIssueModelRequestObjectAsync", + "description": "Snippet for CreateIssueModelAsync", + "file": "ContactCenterInsightsClient.CreateIssueModelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 64, + "type": "FULL" + }, + { + "start": 37, + "end": 62, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_sync_flattened", + "title": "CreateIssueModel", + "description": "Snippet for CreateIssueModel", + "file": "ContactCenterInsightsClient.CreateIssueModelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateIssueModel", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModel", + "name": "issueModel" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 35, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async_flattened", + "title": "CreateIssueModelAsync", + "description": "Snippet for CreateIssueModelAsync", + "file": "ContactCenterInsightsClient.CreateIssueModelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModel", + "name": "issueModel" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 36, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_sync_flattened_resourceNames", + "title": "CreateIssueModelResourceNames", + "description": "Snippet for CreateIssueModel", + "file": "ContactCenterInsightsClient.CreateIssueModelResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateIssueModel", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModel", + "name": "issueModel" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 36, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_async_flattened_resourceNames", + "title": "CreateIssueModelResourceNamesAsync", + "description": "Snippet for CreateIssueModelAsync", + "file": "ContactCenterInsightsClient.CreateIssueModelResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModel", + "name": "issueModel" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 61, + "type": "FULL" + }, + { + "start": 37, + "end": 59, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_sync", + "title": "UpdateIssueModelRequestObject", + "description": "Snippet for UpdateIssueModel", + "file": "ContactCenterInsightsClient.UpdateIssueModelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.IssueModel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_async", + "title": "UpdateIssueModelRequestObjectAsync", + "description": "Snippet for UpdateIssueModelAsync", + "file": "ContactCenterInsightsClient.UpdateIssueModelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_sync_flattened", + "title": "UpdateIssueModel", + "description": "Snippet for UpdateIssueModel", + "file": "ContactCenterInsightsClient.UpdateIssueModelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModel", + "name": "issueModel" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.IssueModel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_async_flattened", + "title": "UpdateIssueModelAsync", + "description": "Snippet for UpdateIssueModelAsync", + "file": "ContactCenterInsightsClient.UpdateIssueModelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModel", + "name": "issueModel" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_sync", + "title": "GetIssueModelRequestObject", + "description": "Snippet for GetIssueModel", + "file": "ContactCenterInsightsClient.GetIssueModelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.IssueModel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async", + "title": "GetIssueModelRequestObjectAsync", + "description": "Snippet for GetIssueModelAsync", + "file": "ContactCenterInsightsClient.GetIssueModelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_sync_flattened", + "title": "GetIssueModel", + "description": "Snippet for GetIssueModel", + "file": "ContactCenterInsightsClient.GetIssueModelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssueModel", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.IssueModel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async_flattened", + "title": "GetIssueModelAsync", + "description": "Snippet for GetIssueModelAsync", + "file": "ContactCenterInsightsClient.GetIssueModelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_sync_flattened_resourceNames", + "title": "GetIssueModelResourceNames", + "description": "Snippet for GetIssueModel", + "file": "ContactCenterInsightsClient.GetIssueModelResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.IssueModel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_async_flattened_resourceNames", + "title": "GetIssueModelResourceNamesAsync", + "description": "Snippet for GetIssueModelAsync", + "file": "ContactCenterInsightsClient.GetIssueModelResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_sync", + "title": "ListIssueModelsRequestObject", + "description": "Snippet for ListIssueModels", + "file": "ContactCenterInsightsClient.ListIssueModelsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssueModels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssueModels", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListIssueModelsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.ListIssueModelsResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssueModels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_async", + "title": "ListIssueModelsRequestObjectAsync", + "description": "Snippet for ListIssueModelsAsync", + "file": "ContactCenterInsightsClient.ListIssueModelsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssueModelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssueModelsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListIssueModelsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssueModels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 36, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_sync_flattened", + "title": "ListIssueModels", + "description": "Snippet for ListIssueModels", + "file": "ContactCenterInsightsClient.ListIssueModelsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssueModels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssueModels", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.ListIssueModelsResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssueModels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_async_flattened", + "title": "ListIssueModelsAsync", + "description": "Snippet for ListIssueModelsAsync", + "file": "ContactCenterInsightsClient.ListIssueModelsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssueModelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssueModelsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssueModels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_sync_flattened_resourceNames", + "title": "ListIssueModelsResourceNames", + "description": "Snippet for ListIssueModels", + "file": "ContactCenterInsightsClient.ListIssueModelsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssueModels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssueModels", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.ListIssueModelsResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssueModels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_async_flattened_resourceNames", + "title": "ListIssueModelsResourceNamesAsync", + "description": "Snippet for ListIssueModelsAsync", + "file": "ContactCenterInsightsClient.ListIssueModelsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssueModelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssueModelsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssueModels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 36, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_sync", + "title": "DeleteIssueModelRequestObject", + "description": "Snippet for DeleteIssueModel", + "file": "ContactCenterInsightsClient.DeleteIssueModelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 62, + "type": "FULL" + }, + { + "start": 36, + "end": 60, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async", + "title": "DeleteIssueModelRequestObjectAsync", + "description": "Snippet for DeleteIssueModelAsync", + "file": "ContactCenterInsightsClient.DeleteIssueModelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 63, + "type": "FULL" + }, + { + "start": 37, + "end": 61, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_sync_flattened", + "title": "DeleteIssueModel", + "description": "Snippet for DeleteIssueModel", + "file": "ContactCenterInsightsClient.DeleteIssueModelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssueModel", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async_flattened", + "title": "DeleteIssueModelAsync", + "description": "Snippet for DeleteIssueModelAsync", + "file": "ContactCenterInsightsClient.DeleteIssueModelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 37, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_sync_flattened_resourceNames", + "title": "DeleteIssueModelResourceNames", + "description": "Snippet for DeleteIssueModel", + "file": "ContactCenterInsightsClient.DeleteIssueModelResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_async_flattened_resourceNames", + "title": "DeleteIssueModelResourceNamesAsync", + "description": "Snippet for DeleteIssueModelAsync", + "file": "ContactCenterInsightsClient.DeleteIssueModelResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 37, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_sync", + "title": "DeployIssueModelRequestObject", + "description": "Snippet for DeployIssueModel", + "file": "ContactCenterInsightsClient.DeployIssueModelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeployIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeployIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 61, + "type": "FULL" + }, + { + "start": 35, + "end": 59, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async", + "title": "DeployIssueModelRequestObjectAsync", + "description": "Snippet for DeployIssueModelAsync", + "file": "ContactCenterInsightsClient.DeployIssueModelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeployIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeployIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 62, + "type": "FULL" + }, + { + "start": 36, + "end": 60, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_sync_flattened", + "title": "DeployIssueModel", + "description": "Snippet for DeployIssueModel", + "file": "ContactCenterInsightsClient.DeployIssueModelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeployIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeployIssueModel", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async_flattened", + "title": "DeployIssueModelAsync", + "description": "Snippet for DeployIssueModelAsync", + "file": "ContactCenterInsightsClient.DeployIssueModelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeployIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeployIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_sync_flattened_resourceNames", + "title": "DeployIssueModelResourceNames", + "description": "Snippet for DeployIssueModel", + "file": "ContactCenterInsightsClient.DeployIssueModelResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeployIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeployIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_async_flattened_resourceNames", + "title": "DeployIssueModelResourceNamesAsync", + "description": "Snippet for DeployIssueModelAsync", + "file": "ContactCenterInsightsClient.DeployIssueModelResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeployIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeployIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_sync", + "title": "UndeployIssueModelRequestObject", + "description": "Snippet for UndeployIssueModel", + "file": "ContactCenterInsightsClient.UndeployIssueModelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UndeployIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UndeployIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UndeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 61, + "type": "FULL" + }, + { + "start": 35, + "end": 59, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async", + "title": "UndeployIssueModelRequestObjectAsync", + "description": "Snippet for UndeployIssueModelAsync", + "file": "ContactCenterInsightsClient.UndeployIssueModelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UndeployIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UndeployIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UndeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 62, + "type": "FULL" + }, + { + "start": 36, + "end": 60, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_sync_flattened", + "title": "UndeployIssueModel", + "description": "Snippet for UndeployIssueModel", + "file": "ContactCenterInsightsClient.UndeployIssueModelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UndeployIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UndeployIssueModel", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UndeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async_flattened", + "title": "UndeployIssueModelAsync", + "description": "Snippet for UndeployIssueModelAsync", + "file": "ContactCenterInsightsClient.UndeployIssueModelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UndeployIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UndeployIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UndeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_sync_flattened_resourceNames", + "title": "UndeployIssueModelResourceNames", + "description": "Snippet for UndeployIssueModel", + "file": "ContactCenterInsightsClient.UndeployIssueModelResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UndeployIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UndeployIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UndeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_async_flattened_resourceNames", + "title": "UndeployIssueModelResourceNamesAsync", + "description": "Snippet for UndeployIssueModelAsync", + "file": "ContactCenterInsightsClient.UndeployIssueModelResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UndeployIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UndeployIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UndeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_sync", + "title": "ExportIssueModelRequestObject", + "description": "Snippet for ExportIssueModel", + "file": "ContactCenterInsightsClient.ExportIssueModelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 62, + "type": "FULL" + }, + { + "start": 35, + "end": 60, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_async", + "title": "ExportIssueModelRequestObjectAsync", + "description": "Snippet for ExportIssueModelAsync", + "file": "ContactCenterInsightsClient.ExportIssueModelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 63, + "type": "FULL" + }, + { + "start": 36, + "end": 61, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_sync_flattened", + "title": "ExportIssueModel", + "description": "Snippet for ExportIssueModel", + "file": "ContactCenterInsightsClient.ExportIssueModelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportIssueModel", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_async_flattened", + "title": "ExportIssueModelAsync", + "description": "Snippet for ExportIssueModelAsync", + "file": "ContactCenterInsightsClient.ExportIssueModelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_sync_flattened_resourceNames", + "title": "ExportIssueModelResourceNames", + "description": "Snippet for ExportIssueModel", + "file": "ContactCenterInsightsClient.ExportIssueModelResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_async_flattened_resourceNames", + "title": "ExportIssueModelResourceNamesAsync", + "description": "Snippet for ExportIssueModelAsync", + "file": "ContactCenterInsightsClient.ExportIssueModelResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ExportIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ExportIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ExportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_sync", + "title": "ImportIssueModelRequestObject", + "description": "Snippet for ImportIssueModel", + "file": "ContactCenterInsightsClient.ImportIssueModelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ImportIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ImportIssueModel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ImportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ImportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 64, + "type": "FULL" + }, + { + "start": 36, + "end": 62, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_async", + "title": "ImportIssueModelRequestObjectAsync", + "description": "Snippet for ImportIssueModelAsync", + "file": "ContactCenterInsightsClient.ImportIssueModelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ImportIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ImportIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ImportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ImportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 65, + "type": "FULL" + }, + { + "start": 37, + "end": 63, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_sync_flattened", + "title": "ImportIssueModel", + "description": "Snippet for ImportIssueModel", + "file": "ContactCenterInsightsClient.ImportIssueModelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ImportIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ImportIssueModel", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ImportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ImportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_async_flattened", + "title": "ImportIssueModelAsync", + "description": "Snippet for ImportIssueModelAsync", + "file": "ContactCenterInsightsClient.ImportIssueModelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ImportIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ImportIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ImportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ImportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_sync_flattened_resourceNames", + "title": "ImportIssueModelResourceNames", + "description": "Snippet for ImportIssueModel", + "file": "ContactCenterInsightsClient.ImportIssueModelResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ImportIssueModel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ImportIssueModel", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ImportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ImportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_async_flattened_resourceNames", + "title": "ImportIssueModelResourceNamesAsync", + "description": "Snippet for ImportIssueModelAsync", + "file": "ContactCenterInsightsClient.ImportIssueModelResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ImportIssueModelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ImportIssueModelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ImportIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ImportIssueModel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 37, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_sync", + "title": "GetIssueRequestObject", + "description": "Snippet for GetIssue", + "file": "ContactCenterInsightsClient.GetIssueRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssue", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssue", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetIssueRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Issue", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async", + "title": "GetIssueRequestObjectAsync", + "description": "Snippet for GetIssueAsync", + "file": "ContactCenterInsightsClient.GetIssueRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssueAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssueAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetIssueRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_sync_flattened", + "title": "GetIssue", + "description": "Snippet for GetIssue", + "file": "ContactCenterInsightsClient.GetIssueSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssue", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssue", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Issue", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async_flattened", + "title": "GetIssueAsync", + "description": "Snippet for GetIssueAsync", + "file": "ContactCenterInsightsClient.GetIssueAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssueAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssueAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_sync_flattened_resourceNames", + "title": "GetIssueResourceNames", + "description": "Snippet for GetIssue", + "file": "ContactCenterInsightsClient.GetIssueResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssue", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssue", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Issue", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_async_flattened_resourceNames", + "title": "GetIssueResourceNamesAsync", + "description": "Snippet for GetIssueAsync", + "file": "ContactCenterInsightsClient.GetIssueResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIssueAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetIssueAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_sync", + "title": "ListIssuesRequestObject", + "description": "Snippet for ListIssues", + "file": "ContactCenterInsightsClient.ListIssuesRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssues", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssues", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListIssuesRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.ListIssuesResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssues", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssues", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_async", + "title": "ListIssuesRequestObjectAsync", + "description": "Snippet for ListIssuesAsync", + "file": "ContactCenterInsightsClient.ListIssuesRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssuesAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssuesAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListIssuesRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssues", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssues", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_sync_flattened", + "title": "ListIssues", + "description": "Snippet for ListIssues", + "file": "ContactCenterInsightsClient.ListIssuesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssues", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssues", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.ListIssuesResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssues", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssues", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_async_flattened", + "title": "ListIssuesAsync", + "description": "Snippet for ListIssuesAsync", + "file": "ContactCenterInsightsClient.ListIssuesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssuesAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssuesAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssues", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssues", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_sync_flattened_resourceNames", + "title": "ListIssuesResourceNames", + "description": "Snippet for ListIssues", + "file": "ContactCenterInsightsClient.ListIssuesResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssues", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssues", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.ListIssuesResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssues", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssues", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_async_flattened_resourceNames", + "title": "ListIssuesResourceNamesAsync", + "description": "Snippet for ListIssuesAsync", + "file": "ContactCenterInsightsClient.ListIssuesResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIssuesAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListIssuesAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListIssues", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssues", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_sync", + "title": "UpdateIssueRequestObject", + "description": "Snippet for UpdateIssue", + "file": "ContactCenterInsightsClient.UpdateIssueRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateIssue", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateIssue", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateIssueRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Issue", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_async", + "title": "UpdateIssueRequestObjectAsync", + "description": "Snippet for UpdateIssueAsync", + "file": "ContactCenterInsightsClient.UpdateIssueRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateIssueAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateIssueAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateIssueRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_sync_flattened", + "title": "UpdateIssue", + "description": "Snippet for UpdateIssue", + "file": "ContactCenterInsightsClient.UpdateIssueSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateIssue", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateIssue", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.Issue", + "name": "issue" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Issue", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_async_flattened", + "title": "UpdateIssueAsync", + "description": "Snippet for UpdateIssueAsync", + "file": "ContactCenterInsightsClient.UpdateIssueAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateIssueAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateIssueAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.Issue", + "name": "issue" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_sync", + "title": "DeleteIssueRequestObject", + "description": "Snippet for DeleteIssue", + "file": "ContactCenterInsightsClient.DeleteIssueRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssue", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssue", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteIssueRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_async", + "title": "DeleteIssueRequestObjectAsync", + "description": "Snippet for DeleteIssueAsync", + "file": "ContactCenterInsightsClient.DeleteIssueRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssueAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssueAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteIssueRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_sync_flattened", + "title": "DeleteIssue", + "description": "Snippet for DeleteIssue", + "file": "ContactCenterInsightsClient.DeleteIssueSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssue", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssue", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_async_flattened", + "title": "DeleteIssueAsync", + "description": "Snippet for DeleteIssueAsync", + "file": "ContactCenterInsightsClient.DeleteIssueAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssueAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssueAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_sync_flattened_resourceNames", + "title": "DeleteIssueResourceNames", + "description": "Snippet for DeleteIssue", + "file": "ContactCenterInsightsClient.DeleteIssueResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssue", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssue", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_async_flattened_resourceNames", + "title": "DeleteIssueResourceNamesAsync", + "description": "Snippet for DeleteIssueAsync", + "file": "ContactCenterInsightsClient.DeleteIssueResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIssueAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteIssueAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssue", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_sync", + "title": "CalculateIssueModelStatsRequestObject", + "description": "Snippet for CalculateIssueModelStats", + "file": "ContactCenterInsightsClient.CalculateIssueModelStatsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateIssueModelStats", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateIssueModelStats", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateIssueModelStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async", + "title": "CalculateIssueModelStatsRequestObjectAsync", + "description": "Snippet for CalculateIssueModelStatsAsync", + "file": "ContactCenterInsightsClient.CalculateIssueModelStatsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateIssueModelStatsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateIssueModelStatsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateIssueModelStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_sync_flattened", + "title": "CalculateIssueModelStats", + "description": "Snippet for CalculateIssueModelStats", + "file": "ContactCenterInsightsClient.CalculateIssueModelStatsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateIssueModelStats", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateIssueModelStats", + "parameters": [ + { + "type": "System.String", + "name": "issueModel" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateIssueModelStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async_flattened", + "title": "CalculateIssueModelStatsAsync", + "description": "Snippet for CalculateIssueModelStatsAsync", + "file": "ContactCenterInsightsClient.CalculateIssueModelStatsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateIssueModelStatsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateIssueModelStatsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "issueModel" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateIssueModelStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_sync_flattened_resourceNames", + "title": "CalculateIssueModelStatsResourceNames", + "description": "Snippet for CalculateIssueModelStats", + "file": "ContactCenterInsightsClient.CalculateIssueModelStatsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateIssueModelStats", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateIssueModelStats", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "issueModel" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateIssueModelStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_async_flattened_resourceNames", + "title": "CalculateIssueModelStatsResourceNamesAsync", + "description": "Snippet for CalculateIssueModelStatsAsync", + "file": "ContactCenterInsightsClient.CalculateIssueModelStatsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateIssueModelStatsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateIssueModelStatsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.IssueModelName", + "name": "issueModel" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateIssueModelStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_sync", + "title": "CreatePhraseMatcherRequestObject", + "description": "Snippet for CreatePhraseMatcher", + "file": "ContactCenterInsightsClient.CreatePhraseMatcherRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreatePhraseMatcher", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreatePhraseMatcher", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreatePhraseMatcherRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async", + "title": "CreatePhraseMatcherRequestObjectAsync", + "description": "Snippet for CreatePhraseMatcherAsync", + "file": "ContactCenterInsightsClient.CreatePhraseMatcherRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreatePhraseMatcherAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreatePhraseMatcherAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreatePhraseMatcherRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_sync_flattened", + "title": "CreatePhraseMatcher", + "description": "Snippet for CreatePhraseMatcher", + "file": "ContactCenterInsightsClient.CreatePhraseMatcherSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreatePhraseMatcher", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreatePhraseMatcher", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "name": "phraseMatcher" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 34, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async_flattened", + "title": "CreatePhraseMatcherAsync", + "description": "Snippet for CreatePhraseMatcherAsync", + "file": "ContactCenterInsightsClient.CreatePhraseMatcherAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreatePhraseMatcherAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreatePhraseMatcherAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "name": "phraseMatcher" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_sync_flattened_resourceNames", + "title": "CreatePhraseMatcherResourceNames", + "description": "Snippet for CreatePhraseMatcher", + "file": "ContactCenterInsightsClient.CreatePhraseMatcherResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreatePhraseMatcher", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreatePhraseMatcher", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "name": "phraseMatcher" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_async_flattened_resourceNames", + "title": "CreatePhraseMatcherResourceNamesAsync", + "description": "Snippet for CreatePhraseMatcherAsync", + "file": "ContactCenterInsightsClient.CreatePhraseMatcherResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreatePhraseMatcherAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreatePhraseMatcherAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "name": "phraseMatcher" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_sync", + "title": "GetPhraseMatcherRequestObject", + "description": "Snippet for GetPhraseMatcher", + "file": "ContactCenterInsightsClient.GetPhraseMatcherRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetPhraseMatcher", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetPhraseMatcher", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetPhraseMatcherRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetPhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async", + "title": "GetPhraseMatcherRequestObjectAsync", + "description": "Snippet for GetPhraseMatcherAsync", + "file": "ContactCenterInsightsClient.GetPhraseMatcherRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetPhraseMatcherAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetPhraseMatcherAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetPhraseMatcherRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetPhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_sync_flattened", + "title": "GetPhraseMatcher", + "description": "Snippet for GetPhraseMatcher", + "file": "ContactCenterInsightsClient.GetPhraseMatcherSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetPhraseMatcher", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetPhraseMatcher", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetPhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async_flattened", + "title": "GetPhraseMatcherAsync", + "description": "Snippet for GetPhraseMatcherAsync", + "file": "ContactCenterInsightsClient.GetPhraseMatcherAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetPhraseMatcherAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetPhraseMatcherAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetPhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_sync_flattened_resourceNames", + "title": "GetPhraseMatcherResourceNames", + "description": "Snippet for GetPhraseMatcher", + "file": "ContactCenterInsightsClient.GetPhraseMatcherResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetPhraseMatcher", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetPhraseMatcher", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcherName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetPhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_async_flattened_resourceNames", + "title": "GetPhraseMatcherResourceNamesAsync", + "description": "Snippet for GetPhraseMatcherAsync", + "file": "ContactCenterInsightsClient.GetPhraseMatcherResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetPhraseMatcherAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetPhraseMatcherAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcherName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetPhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_sync", + "title": "ListPhraseMatchersRequestObject", + "description": "Snippet for ListPhraseMatchers", + "file": "ContactCenterInsightsClient.ListPhraseMatchersRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListPhraseMatchers", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListPhraseMatchers", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListPhraseMatchers", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchers", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 80, + "type": "FULL" + }, + { + "start": 37, + "end": 78, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_async", + "title": "ListPhraseMatchersRequestObjectAsync", + "description": "Snippet for ListPhraseMatchersAsync", + "file": "ContactCenterInsightsClient.ListPhraseMatchersRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListPhraseMatchersAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListPhraseMatchersAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListPhraseMatchers", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchers", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 82, + "type": "FULL" + }, + { + "start": 39, + "end": 80, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_sync_flattened", + "title": "ListPhraseMatchers", + "description": "Snippet for ListPhraseMatchers", + "file": "ContactCenterInsightsClient.ListPhraseMatchersSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListPhraseMatchers", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListPhraseMatchers", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListPhraseMatchers", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchers", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_async_flattened", + "title": "ListPhraseMatchersAsync", + "description": "Snippet for ListPhraseMatchersAsync", + "file": "ContactCenterInsightsClient.ListPhraseMatchersAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListPhraseMatchersAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListPhraseMatchersAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListPhraseMatchers", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchers", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_sync_flattened_resourceNames", + "title": "ListPhraseMatchersResourceNames", + "description": "Snippet for ListPhraseMatchers", + "file": "ContactCenterInsightsClient.ListPhraseMatchersResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListPhraseMatchers", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListPhraseMatchers", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListPhraseMatchers", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchers", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_async_flattened_resourceNames", + "title": "ListPhraseMatchersResourceNamesAsync", + "description": "Snippet for ListPhraseMatchersAsync", + "file": "ContactCenterInsightsClient.ListPhraseMatchersResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListPhraseMatchersAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListPhraseMatchersAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListPhraseMatchers", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchers", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 39, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_sync", + "title": "DeletePhraseMatcherRequestObject", + "description": "Snippet for DeletePhraseMatcher", + "file": "ContactCenterInsightsClient.DeletePhraseMatcherRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeletePhraseMatcher", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeletePhraseMatcher", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeletePhraseMatcherRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeletePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async", + "title": "DeletePhraseMatcherRequestObjectAsync", + "description": "Snippet for DeletePhraseMatcherAsync", + "file": "ContactCenterInsightsClient.DeletePhraseMatcherRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeletePhraseMatcherAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeletePhraseMatcherAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeletePhraseMatcherRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeletePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_sync_flattened", + "title": "DeletePhraseMatcher", + "description": "Snippet for DeletePhraseMatcher", + "file": "ContactCenterInsightsClient.DeletePhraseMatcherSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeletePhraseMatcher", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeletePhraseMatcher", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeletePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async_flattened", + "title": "DeletePhraseMatcherAsync", + "description": "Snippet for DeletePhraseMatcherAsync", + "file": "ContactCenterInsightsClient.DeletePhraseMatcherAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeletePhraseMatcherAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeletePhraseMatcherAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeletePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_sync_flattened_resourceNames", + "title": "DeletePhraseMatcherResourceNames", + "description": "Snippet for DeletePhraseMatcher", + "file": "ContactCenterInsightsClient.DeletePhraseMatcherResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeletePhraseMatcher", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeletePhraseMatcher", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcherName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeletePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_async_flattened_resourceNames", + "title": "DeletePhraseMatcherResourceNamesAsync", + "description": "Snippet for DeletePhraseMatcherAsync", + "file": "ContactCenterInsightsClient.DeletePhraseMatcherResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeletePhraseMatcherAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeletePhraseMatcherAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcherName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeletePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_sync", + "title": "UpdatePhraseMatcherRequestObject", + "description": "Snippet for UpdatePhraseMatcher", + "file": "ContactCenterInsightsClient.UpdatePhraseMatcherRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdatePhraseMatcher", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdatePhraseMatcher", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdatePhraseMatcherRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdatePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_async", + "title": "UpdatePhraseMatcherRequestObjectAsync", + "description": "Snippet for UpdatePhraseMatcherAsync", + "file": "ContactCenterInsightsClient.UpdatePhraseMatcherRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdatePhraseMatcherAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdatePhraseMatcherAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdatePhraseMatcherRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdatePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_sync_flattened", + "title": "UpdatePhraseMatcher", + "description": "Snippet for UpdatePhraseMatcher", + "file": "ContactCenterInsightsClient.UpdatePhraseMatcherSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdatePhraseMatcher", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdatePhraseMatcher", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "name": "phraseMatcher" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdatePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_async_flattened", + "title": "UpdatePhraseMatcherAsync", + "description": "Snippet for UpdatePhraseMatcherAsync", + "file": "ContactCenterInsightsClient.UpdatePhraseMatcherAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdatePhraseMatcherAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdatePhraseMatcherAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.PhraseMatcher", + "name": "phraseMatcher" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdatePhraseMatcher", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_sync", + "title": "CalculateStatsRequestObject", + "description": "Snippet for CalculateStats", + "file": "ContactCenterInsightsClient.CalculateStatsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateStats", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateStats", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CalculateStatsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async", + "title": "CalculateStatsRequestObjectAsync", + "description": "Snippet for CalculateStatsAsync", + "file": "ContactCenterInsightsClient.CalculateStatsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateStatsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateStatsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CalculateStatsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_sync_flattened", + "title": "CalculateStats", + "description": "Snippet for CalculateStats", + "file": "ContactCenterInsightsClient.CalculateStatsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateStats", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateStats", + "parameters": [ + { + "type": "System.String", + "name": "location" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async_flattened", + "title": "CalculateStatsAsync", + "description": "Snippet for CalculateStatsAsync", + "file": "ContactCenterInsightsClient.CalculateStatsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateStatsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateStatsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "location" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_sync_flattened_resourceNames", + "title": "CalculateStatsResourceNames", + "description": "Snippet for CalculateStats", + "file": "ContactCenterInsightsClient.CalculateStatsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateStats", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateStats", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "location" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_async_flattened_resourceNames", + "title": "CalculateStatsResourceNamesAsync", + "description": "Snippet for CalculateStatsAsync", + "file": "ContactCenterInsightsClient.CalculateStatsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CalculateStatsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CalculateStatsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "location" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CalculateStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStats", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 36, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_sync", + "title": "GetSettingsRequestObject", + "description": "Snippet for GetSettings", + "file": "ContactCenterInsightsClient.GetSettingsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSettings", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetSettings", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetSettingsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Settings", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettings", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async", + "title": "GetSettingsRequestObjectAsync", + "description": "Snippet for GetSettingsAsync", + "file": "ContactCenterInsightsClient.GetSettingsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSettingsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetSettingsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetSettingsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettings", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_sync_flattened", + "title": "GetSettings", + "description": "Snippet for GetSettings", + "file": "ContactCenterInsightsClient.GetSettingsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSettings", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetSettings", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Settings", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettings", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async_flattened", + "title": "GetSettingsAsync", + "description": "Snippet for GetSettingsAsync", + "file": "ContactCenterInsightsClient.GetSettingsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSettingsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetSettingsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettings", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_sync_flattened_resourceNames", + "title": "GetSettingsResourceNames", + "description": "Snippet for GetSettings", + "file": "ContactCenterInsightsClient.GetSettingsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSettings", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetSettings", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.SettingsName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Settings", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettings", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_async_flattened_resourceNames", + "title": "GetSettingsResourceNamesAsync", + "description": "Snippet for GetSettingsAsync", + "file": "ContactCenterInsightsClient.GetSettingsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSettingsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetSettingsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.SettingsName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettings", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_sync", + "title": "UpdateSettingsRequestObject", + "description": "Snippet for UpdateSettings", + "file": "ContactCenterInsightsClient.UpdateSettingsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSettings", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateSettings", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateSettingsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Settings", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettings", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_async", + "title": "UpdateSettingsRequestObjectAsync", + "description": "Snippet for UpdateSettingsAsync", + "file": "ContactCenterInsightsClient.UpdateSettingsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSettingsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateSettingsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateSettingsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettings", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_sync_flattened", + "title": "UpdateSettings", + "description": "Snippet for UpdateSettings", + "file": "ContactCenterInsightsClient.UpdateSettingsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSettings", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateSettings", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.Settings", + "name": "settings" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.Settings", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettings", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_async_flattened", + "title": "UpdateSettingsAsync", + "description": "Snippet for UpdateSettingsAsync", + "file": "ContactCenterInsightsClient.UpdateSettingsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSettingsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateSettingsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.Settings", + "name": "settings" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettings", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_sync", + "title": "CreateAnalysisRuleRequestObject", + "description": "Snippet for CreateAnalysisRule", + "file": "ContactCenterInsightsClient.CreateAnalysisRuleRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysisRule", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysisRule", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRuleRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_async", + "title": "CreateAnalysisRuleRequestObjectAsync", + "description": "Snippet for CreateAnalysisRuleAsync", + "file": "ContactCenterInsightsClient.CreateAnalysisRuleRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysisRuleAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysisRuleAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRuleRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_sync_flattened", + "title": "CreateAnalysisRule", + "description": "Snippet for CreateAnalysisRule", + "file": "ContactCenterInsightsClient.CreateAnalysisRuleSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysisRule", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysisRule", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "name": "analysisRule" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 34, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_async_flattened", + "title": "CreateAnalysisRuleAsync", + "description": "Snippet for CreateAnalysisRuleAsync", + "file": "ContactCenterInsightsClient.CreateAnalysisRuleAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysisRuleAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysisRuleAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "name": "analysisRule" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_sync_flattened_resourceNames", + "title": "CreateAnalysisRuleResourceNames", + "description": "Snippet for CreateAnalysisRule", + "file": "ContactCenterInsightsClient.CreateAnalysisRuleResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysisRule", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysisRule", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "name": "analysisRule" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_async_flattened_resourceNames", + "title": "CreateAnalysisRuleResourceNamesAsync", + "description": "Snippet for CreateAnalysisRuleAsync", + "file": "ContactCenterInsightsClient.CreateAnalysisRuleResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateAnalysisRuleAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateAnalysisRuleAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "name": "analysisRule" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_sync", + "title": "GetAnalysisRuleRequestObject", + "description": "Snippet for GetAnalysisRule", + "file": "ContactCenterInsightsClient.GetAnalysisRuleRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysisRule", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysisRule", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetAnalysisRuleRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_async", + "title": "GetAnalysisRuleRequestObjectAsync", + "description": "Snippet for GetAnalysisRuleAsync", + "file": "ContactCenterInsightsClient.GetAnalysisRuleRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysisRuleAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysisRuleAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetAnalysisRuleRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_sync_flattened", + "title": "GetAnalysisRule", + "description": "Snippet for GetAnalysisRule", + "file": "ContactCenterInsightsClient.GetAnalysisRuleSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysisRule", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysisRule", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_async_flattened", + "title": "GetAnalysisRuleAsync", + "description": "Snippet for GetAnalysisRuleAsync", + "file": "ContactCenterInsightsClient.GetAnalysisRuleAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysisRuleAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysisRuleAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_sync_flattened_resourceNames", + "title": "GetAnalysisRuleResourceNames", + "description": "Snippet for GetAnalysisRule", + "file": "ContactCenterInsightsClient.GetAnalysisRuleResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysisRule", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysisRule", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisRuleName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_async_flattened_resourceNames", + "title": "GetAnalysisRuleResourceNamesAsync", + "description": "Snippet for GetAnalysisRuleAsync", + "file": "ContactCenterInsightsClient.GetAnalysisRuleResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetAnalysisRuleAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetAnalysisRuleAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisRuleName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_sync", + "title": "ListAnalysisRulesRequestObject", + "description": "Snippet for ListAnalysisRules", + "file": "ContactCenterInsightsClient.ListAnalysisRulesRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalysisRules", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalysisRules", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalysisRules", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalysisRules", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 37, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_async", + "title": "ListAnalysisRulesRequestObjectAsync", + "description": "Snippet for ListAnalysisRulesAsync", + "file": "ContactCenterInsightsClient.ListAnalysisRulesRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalysisRulesAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalysisRulesAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalysisRules", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalysisRules", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 81, + "type": "FULL" + }, + { + "start": 39, + "end": 79, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_sync_flattened", + "title": "ListAnalysisRules", + "description": "Snippet for ListAnalysisRules", + "file": "ContactCenterInsightsClient.ListAnalysisRulesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalysisRules", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalysisRules", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalysisRules", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalysisRules", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_async_flattened", + "title": "ListAnalysisRulesAsync", + "description": "Snippet for ListAnalysisRulesAsync", + "file": "ContactCenterInsightsClient.ListAnalysisRulesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalysisRulesAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalysisRulesAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalysisRules", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalysisRules", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_sync_flattened_resourceNames", + "title": "ListAnalysisRulesResourceNames", + "description": "Snippet for ListAnalysisRules", + "file": "ContactCenterInsightsClient.ListAnalysisRulesResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalysisRules", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalysisRules", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalysisRules", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalysisRules", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_async_flattened_resourceNames", + "title": "ListAnalysisRulesResourceNamesAsync", + "description": "Snippet for ListAnalysisRulesAsync", + "file": "ContactCenterInsightsClient.ListAnalysisRulesResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAnalysisRulesAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAnalysisRulesAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAnalysisRules", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalysisRules", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 39, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_sync", + "title": "UpdateAnalysisRuleRequestObject", + "description": "Snippet for UpdateAnalysisRule", + "file": "ContactCenterInsightsClient.UpdateAnalysisRuleRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateAnalysisRule", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateAnalysisRule", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateAnalysisRuleRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_async", + "title": "UpdateAnalysisRuleRequestObjectAsync", + "description": "Snippet for UpdateAnalysisRuleAsync", + "file": "ContactCenterInsightsClient.UpdateAnalysisRuleRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateAnalysisRuleAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateAnalysisRuleAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateAnalysisRuleRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_sync_flattened", + "title": "UpdateAnalysisRule", + "description": "Snippet for UpdateAnalysisRule", + "file": "ContactCenterInsightsClient.UpdateAnalysisRuleSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateAnalysisRule", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateAnalysisRule", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "name": "analysisRule" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_async_flattened", + "title": "UpdateAnalysisRuleAsync", + "description": "Snippet for UpdateAnalysisRuleAsync", + "file": "ContactCenterInsightsClient.UpdateAnalysisRuleAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateAnalysisRuleAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateAnalysisRuleAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisRule", + "name": "analysisRule" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_sync", + "title": "DeleteAnalysisRuleRequestObject", + "description": "Snippet for DeleteAnalysisRule", + "file": "ContactCenterInsightsClient.DeleteAnalysisRuleRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysisRule", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysisRule", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRuleRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_async", + "title": "DeleteAnalysisRuleRequestObjectAsync", + "description": "Snippet for DeleteAnalysisRuleAsync", + "file": "ContactCenterInsightsClient.DeleteAnalysisRuleRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysisRuleAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysisRuleAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRuleRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_sync_flattened", + "title": "DeleteAnalysisRule", + "description": "Snippet for DeleteAnalysisRule", + "file": "ContactCenterInsightsClient.DeleteAnalysisRuleSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysisRule", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysisRule", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_async_flattened", + "title": "DeleteAnalysisRuleAsync", + "description": "Snippet for DeleteAnalysisRuleAsync", + "file": "ContactCenterInsightsClient.DeleteAnalysisRuleAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysisRuleAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysisRuleAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_sync_flattened_resourceNames", + "title": "DeleteAnalysisRuleResourceNames", + "description": "Snippet for DeleteAnalysisRule", + "file": "ContactCenterInsightsClient.DeleteAnalysisRuleResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysisRule", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysisRule", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisRuleName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_async_flattened_resourceNames", + "title": "DeleteAnalysisRuleResourceNamesAsync", + "description": "Snippet for DeleteAnalysisRuleAsync", + "file": "ContactCenterInsightsClient.DeleteAnalysisRuleResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAnalysisRuleAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteAnalysisRuleAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.AnalysisRuleName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteAnalysisRule", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysisRule", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_sync", + "title": "GetEncryptionSpecRequestObject", + "description": "Snippet for GetEncryptionSpec", + "file": "ContactCenterInsightsClient.GetEncryptionSpecRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetEncryptionSpec", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetEncryptionSpec", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetEncryptionSpecRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.EncryptionSpec", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetEncryptionSpec", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetEncryptionSpec", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_async", + "title": "GetEncryptionSpecRequestObjectAsync", + "description": "Snippet for GetEncryptionSpecAsync", + "file": "ContactCenterInsightsClient.GetEncryptionSpecRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetEncryptionSpecAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetEncryptionSpecAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetEncryptionSpecRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetEncryptionSpec", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetEncryptionSpec", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_sync_flattened", + "title": "GetEncryptionSpec", + "description": "Snippet for GetEncryptionSpec", + "file": "ContactCenterInsightsClient.GetEncryptionSpecSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetEncryptionSpec", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetEncryptionSpec", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.EncryptionSpec", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetEncryptionSpec", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetEncryptionSpec", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_async_flattened", + "title": "GetEncryptionSpecAsync", + "description": "Snippet for GetEncryptionSpecAsync", + "file": "ContactCenterInsightsClient.GetEncryptionSpecAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetEncryptionSpecAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetEncryptionSpecAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetEncryptionSpec", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetEncryptionSpec", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_sync_flattened_resourceNames", + "title": "GetEncryptionSpecResourceNames", + "description": "Snippet for GetEncryptionSpec", + "file": "ContactCenterInsightsClient.GetEncryptionSpecResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetEncryptionSpec", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetEncryptionSpec", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.EncryptionSpecName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.EncryptionSpec", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetEncryptionSpec", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetEncryptionSpec", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_async_flattened_resourceNames", + "title": "GetEncryptionSpecResourceNamesAsync", + "description": "Snippet for GetEncryptionSpecAsync", + "file": "ContactCenterInsightsClient.GetEncryptionSpecResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetEncryptionSpecAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetEncryptionSpecAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.EncryptionSpecName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetEncryptionSpec", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetEncryptionSpec", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_sync", + "title": "InitializeEncryptionSpecRequestObject", + "description": "Snippet for InitializeEncryptionSpec", + "file": "ContactCenterInsightsClient.InitializeEncryptionSpecRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "InitializeEncryptionSpec", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.InitializeEncryptionSpec", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "InitializeEncryptionSpec", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.InitializeEncryptionSpec", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 61, + "type": "FULL" + }, + { + "start": 35, + "end": 59, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_async", + "title": "InitializeEncryptionSpecRequestObjectAsync", + "description": "Snippet for InitializeEncryptionSpecAsync", + "file": "ContactCenterInsightsClient.InitializeEncryptionSpecRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "InitializeEncryptionSpecAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.InitializeEncryptionSpecAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "InitializeEncryptionSpec", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.InitializeEncryptionSpec", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 62, + "type": "FULL" + }, + { + "start": 36, + "end": 60, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_sync_flattened", + "title": "InitializeEncryptionSpec", + "description": "Snippet for InitializeEncryptionSpec", + "file": "ContactCenterInsightsClient.InitializeEncryptionSpecSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "InitializeEncryptionSpec", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.InitializeEncryptionSpec", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.EncryptionSpec", + "name": "encryptionSpec" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "InitializeEncryptionSpec", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.InitializeEncryptionSpec", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_async_flattened", + "title": "InitializeEncryptionSpecAsync", + "description": "Snippet for InitializeEncryptionSpecAsync", + "file": "ContactCenterInsightsClient.InitializeEncryptionSpecAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "InitializeEncryptionSpecAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.InitializeEncryptionSpecAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.EncryptionSpec", + "name": "encryptionSpec" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "InitializeEncryptionSpec", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.InitializeEncryptionSpec", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_sync", + "title": "CreateViewRequestObject", + "description": "Snippet for CreateView", + "file": "ContactCenterInsightsClient.CreateViewRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateView", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateView", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateViewRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.View", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_async", + "title": "CreateViewRequestObjectAsync", + "description": "Snippet for CreateViewAsync", + "file": "ContactCenterInsightsClient.CreateViewRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateViewAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateViewAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateViewRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_sync_flattened", + "title": "CreateView", + "description": "Snippet for CreateView", + "file": "ContactCenterInsightsClient.CreateViewSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateView", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateView", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.View", + "name": "view" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.View", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 34, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_async_flattened", + "title": "CreateViewAsync", + "description": "Snippet for CreateViewAsync", + "file": "ContactCenterInsightsClient.CreateViewAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateViewAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateViewAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.View", + "name": "view" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_sync_flattened_resourceNames", + "title": "CreateViewResourceNames", + "description": "Snippet for CreateView", + "file": "ContactCenterInsightsClient.CreateViewResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateView", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateView", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.View", + "name": "view" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.View", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_async_flattened_resourceNames", + "title": "CreateViewResourceNamesAsync", + "description": "Snippet for CreateViewAsync", + "file": "ContactCenterInsightsClient.CreateViewResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateViewAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateViewAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.View", + "name": "view" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetView_sync", + "title": "GetViewRequestObject", + "description": "Snippet for GetView", + "file": "ContactCenterInsightsClient.GetViewRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetView", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetView", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetViewRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.View", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetView_async", + "title": "GetViewRequestObjectAsync", + "description": "Snippet for GetViewAsync", + "file": "ContactCenterInsightsClient.GetViewRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetViewAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetViewAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetViewRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetView_sync_flattened", + "title": "GetView", + "description": "Snippet for GetView", + "file": "ContactCenterInsightsClient.GetViewSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetView", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetView", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.View", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetView_async_flattened", + "title": "GetViewAsync", + "description": "Snippet for GetViewAsync", + "file": "ContactCenterInsightsClient.GetViewAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetViewAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetViewAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetView_sync_flattened_resourceNames", + "title": "GetViewResourceNames", + "description": "Snippet for GetView", + "file": "ContactCenterInsightsClient.GetViewResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetView", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetView", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ViewName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.View", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetView_async_flattened_resourceNames", + "title": "GetViewResourceNamesAsync", + "description": "Snippet for GetViewAsync", + "file": "ContactCenterInsightsClient.GetViewResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetViewAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetViewAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ViewName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_sync", + "title": "ListViewsRequestObject", + "description": "Snippet for ListViews", + "file": "ContactCenterInsightsClient.ListViewsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListViews", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListViews", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListViewsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListViews", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViews", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 37, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_async", + "title": "ListViewsRequestObjectAsync", + "description": "Snippet for ListViewsAsync", + "file": "ContactCenterInsightsClient.ListViewsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListViewsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListViewsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListViewsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListViews", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViews", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 81, + "type": "FULL" + }, + { + "start": 39, + "end": 79, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_sync_flattened", + "title": "ListViews", + "description": "Snippet for ListViews", + "file": "ContactCenterInsightsClient.ListViewsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListViews", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListViews", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListViews", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViews", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_async_flattened", + "title": "ListViewsAsync", + "description": "Snippet for ListViewsAsync", + "file": "ContactCenterInsightsClient.ListViewsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListViewsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListViewsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListViews", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViews", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_sync_flattened_resourceNames", + "title": "ListViewsResourceNames", + "description": "Snippet for ListViews", + "file": "ContactCenterInsightsClient.ListViewsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListViews", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListViews", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListViews", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViews", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_async_flattened_resourceNames", + "title": "ListViewsResourceNamesAsync", + "description": "Snippet for ListViewsAsync", + "file": "ContactCenterInsightsClient.ListViewsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListViewsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListViewsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListViews", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViews", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 39, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_sync", + "title": "UpdateViewRequestObject", + "description": "Snippet for UpdateView", + "file": "ContactCenterInsightsClient.UpdateViewRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateView", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateView", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateViewRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.View", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_async", + "title": "UpdateViewRequestObjectAsync", + "description": "Snippet for UpdateViewAsync", + "file": "ContactCenterInsightsClient.UpdateViewRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateViewAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateViewAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateViewRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_sync_flattened", + "title": "UpdateView", + "description": "Snippet for UpdateView", + "file": "ContactCenterInsightsClient.UpdateViewSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateView", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateView", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.View", + "name": "view" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.View", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_async_flattened", + "title": "UpdateViewAsync", + "description": "Snippet for UpdateViewAsync", + "file": "ContactCenterInsightsClient.UpdateViewAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateViewAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateViewAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.View", + "name": "view" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_sync", + "title": "DeleteViewRequestObject", + "description": "Snippet for DeleteView", + "file": "ContactCenterInsightsClient.DeleteViewRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteView", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteView", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteViewRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_async", + "title": "DeleteViewRequestObjectAsync", + "description": "Snippet for DeleteViewAsync", + "file": "ContactCenterInsightsClient.DeleteViewRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteViewAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteViewAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteViewRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_sync_flattened", + "title": "DeleteView", + "description": "Snippet for DeleteView", + "file": "ContactCenterInsightsClient.DeleteViewSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteView", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteView", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_async_flattened", + "title": "DeleteViewAsync", + "description": "Snippet for DeleteViewAsync", + "file": "ContactCenterInsightsClient.DeleteViewAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteViewAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteViewAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_sync_flattened_resourceNames", + "title": "DeleteViewResourceNames", + "description": "Snippet for DeleteView", + "file": "ContactCenterInsightsClient.DeleteViewResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteView", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteView", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ViewName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_async_flattened_resourceNames", + "title": "DeleteViewResourceNamesAsync", + "description": "Snippet for DeleteViewAsync", + "file": "ContactCenterInsightsClient.DeleteViewResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteViewAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteViewAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ViewName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteView", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_QueryMetrics_sync", + "title": "QueryMetricsRequestObject", + "description": "Snippet for QueryMetrics", + "file": "ContactCenterInsightsClient.QueryMetricsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "QueryMetrics", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.QueryMetrics", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "QueryMetrics", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.QueryMetrics", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 67, + "type": "FULL" + }, + { + "start": 37, + "end": 65, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_QueryMetrics_async", + "title": "QueryMetricsRequestObjectAsync", + "description": "Snippet for QueryMetricsAsync", + "file": "ContactCenterInsightsClient.QueryMetricsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "QueryMetricsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.QueryMetricsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "QueryMetrics", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.QueryMetrics", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 68, + "type": "FULL" + }, + { + "start": 38, + "end": 66, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_sync", + "title": "CreateQaQuestionRequestObject", + "description": "Snippet for CreateQaQuestion", + "file": "ContactCenterInsightsClient.CreateQaQuestionRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaQuestion", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaQuestion", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateQaQuestionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 34, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_async", + "title": "CreateQaQuestionRequestObjectAsync", + "description": "Snippet for CreateQaQuestionAsync", + "file": "ContactCenterInsightsClient.CreateQaQuestionRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaQuestionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaQuestionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateQaQuestionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 35, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_sync_flattened", + "title": "CreateQaQuestion", + "description": "Snippet for CreateQaQuestion", + "file": "ContactCenterInsightsClient.CreateQaQuestionSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaQuestion", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaQuestion", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "name": "qaQuestion" + }, + { + "type": "System.String", + "name": "qaQuestionId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_async_flattened", + "title": "CreateQaQuestionAsync", + "description": "Snippet for CreateQaQuestionAsync", + "file": "ContactCenterInsightsClient.CreateQaQuestionAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaQuestionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaQuestionAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "name": "qaQuestion" + }, + { + "type": "System.String", + "name": "qaQuestionId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_sync_flattened_resourceNames", + "title": "CreateQaQuestionResourceNames", + "description": "Snippet for CreateQaQuestion", + "file": "ContactCenterInsightsClient.CreateQaQuestionResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaQuestion", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaQuestion", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevisionName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "name": "qaQuestion" + }, + { + "type": "System.String", + "name": "qaQuestionId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_async_flattened_resourceNames", + "title": "CreateQaQuestionResourceNamesAsync", + "description": "Snippet for CreateQaQuestionAsync", + "file": "ContactCenterInsightsClient.CreateQaQuestionResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaQuestionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaQuestionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevisionName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "name": "qaQuestion" + }, + { + "type": "System.String", + "name": "qaQuestionId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_sync", + "title": "GetQaQuestionRequestObject", + "description": "Snippet for GetQaQuestion", + "file": "ContactCenterInsightsClient.GetQaQuestionRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaQuestion", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaQuestion", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetQaQuestionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_async", + "title": "GetQaQuestionRequestObjectAsync", + "description": "Snippet for GetQaQuestionAsync", + "file": "ContactCenterInsightsClient.GetQaQuestionRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaQuestionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaQuestionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetQaQuestionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_sync_flattened", + "title": "GetQaQuestion", + "description": "Snippet for GetQaQuestion", + "file": "ContactCenterInsightsClient.GetQaQuestionSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaQuestion", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaQuestion", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_async_flattened", + "title": "GetQaQuestionAsync", + "description": "Snippet for GetQaQuestionAsync", + "file": "ContactCenterInsightsClient.GetQaQuestionAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaQuestionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaQuestionAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_sync_flattened_resourceNames", + "title": "GetQaQuestionResourceNames", + "description": "Snippet for GetQaQuestion", + "file": "ContactCenterInsightsClient.GetQaQuestionResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaQuestion", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaQuestion", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaQuestionName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_async_flattened_resourceNames", + "title": "GetQaQuestionResourceNamesAsync", + "description": "Snippet for GetQaQuestionAsync", + "file": "ContactCenterInsightsClient.GetQaQuestionResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaQuestionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaQuestionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaQuestionName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_sync", + "title": "UpdateQaQuestionRequestObject", + "description": "Snippet for UpdateQaQuestion", + "file": "ContactCenterInsightsClient.UpdateQaQuestionRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateQaQuestion", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateQaQuestion", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateQaQuestionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_async", + "title": "UpdateQaQuestionRequestObjectAsync", + "description": "Snippet for UpdateQaQuestionAsync", + "file": "ContactCenterInsightsClient.UpdateQaQuestionRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateQaQuestionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateQaQuestionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateQaQuestionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_sync_flattened", + "title": "UpdateQaQuestion", + "description": "Snippet for UpdateQaQuestion", + "file": "ContactCenterInsightsClient.UpdateQaQuestionSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateQaQuestion", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateQaQuestion", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "name": "qaQuestion" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_async_flattened", + "title": "UpdateQaQuestionAsync", + "description": "Snippet for UpdateQaQuestionAsync", + "file": "ContactCenterInsightsClient.UpdateQaQuestionAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateQaQuestionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateQaQuestionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaQuestion", + "name": "qaQuestion" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_sync", + "title": "DeleteQaQuestionRequestObject", + "description": "Snippet for DeleteQaQuestion", + "file": "ContactCenterInsightsClient.DeleteQaQuestionRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaQuestion", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaQuestion", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteQaQuestionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_async", + "title": "DeleteQaQuestionRequestObjectAsync", + "description": "Snippet for DeleteQaQuestionAsync", + "file": "ContactCenterInsightsClient.DeleteQaQuestionRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaQuestionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaQuestionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteQaQuestionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_sync_flattened", + "title": "DeleteQaQuestion", + "description": "Snippet for DeleteQaQuestion", + "file": "ContactCenterInsightsClient.DeleteQaQuestionSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaQuestion", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaQuestion", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_async_flattened", + "title": "DeleteQaQuestionAsync", + "description": "Snippet for DeleteQaQuestionAsync", + "file": "ContactCenterInsightsClient.DeleteQaQuestionAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaQuestionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaQuestionAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_sync_flattened_resourceNames", + "title": "DeleteQaQuestionResourceNames", + "description": "Snippet for DeleteQaQuestion", + "file": "ContactCenterInsightsClient.DeleteQaQuestionResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaQuestion", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaQuestion", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaQuestionName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_async_flattened_resourceNames", + "title": "DeleteQaQuestionResourceNamesAsync", + "description": "Snippet for DeleteQaQuestionAsync", + "file": "ContactCenterInsightsClient.DeleteQaQuestionResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaQuestionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaQuestionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaQuestionName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaQuestion", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaQuestion", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_sync", + "title": "ListQaQuestionsRequestObject", + "description": "Snippet for ListQaQuestions", + "file": "ContactCenterInsightsClient.ListQaQuestionsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaQuestions", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaQuestions", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaQuestions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaQuestions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 36, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_async", + "title": "ListQaQuestionsRequestObjectAsync", + "description": "Snippet for ListQaQuestionsAsync", + "file": "ContactCenterInsightsClient.ListQaQuestionsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaQuestionsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaQuestionsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaQuestions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaQuestions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 80, + "type": "FULL" + }, + { + "start": 38, + "end": 78, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_sync_flattened", + "title": "ListQaQuestions", + "description": "Snippet for ListQaQuestions", + "file": "ContactCenterInsightsClient.ListQaQuestionsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaQuestions", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaQuestions", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaQuestions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaQuestions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_async_flattened", + "title": "ListQaQuestionsAsync", + "description": "Snippet for ListQaQuestionsAsync", + "file": "ContactCenterInsightsClient.ListQaQuestionsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaQuestionsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaQuestionsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaQuestions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaQuestions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_sync_flattened_resourceNames", + "title": "ListQaQuestionsResourceNames", + "description": "Snippet for ListQaQuestions", + "file": "ContactCenterInsightsClient.ListQaQuestionsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaQuestions", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaQuestions", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevisionName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaQuestions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaQuestions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_async_flattened_resourceNames", + "title": "ListQaQuestionsResourceNamesAsync", + "description": "Snippet for ListQaQuestionsAsync", + "file": "ContactCenterInsightsClient.ListQaQuestionsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaQuestionsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaQuestionsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevisionName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaQuestions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaQuestions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_sync", + "title": "CreateQaScorecardRequestObject", + "description": "Snippet for CreateQaScorecard", + "file": "ContactCenterInsightsClient.CreateQaScorecardRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecard", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecard", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 35, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_async", + "title": "CreateQaScorecardRequestObjectAsync", + "description": "Snippet for CreateQaScorecardAsync", + "file": "ContactCenterInsightsClient.CreateQaScorecardRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecardAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecardAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 48, + "type": "FULL" + }, + { + "start": 36, + "end": 46, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_sync_flattened", + "title": "CreateQaScorecard", + "description": "Snippet for CreateQaScorecard", + "file": "ContactCenterInsightsClient.CreateQaScorecardSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecard", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecard", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "name": "qaScorecard" + }, + { + "type": "System.String", + "name": "qaScorecardId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_async_flattened", + "title": "CreateQaScorecardAsync", + "description": "Snippet for CreateQaScorecardAsync", + "file": "ContactCenterInsightsClient.CreateQaScorecardAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecardAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecardAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "name": "qaScorecard" + }, + { + "type": "System.String", + "name": "qaScorecardId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_sync_flattened_resourceNames", + "title": "CreateQaScorecardResourceNames", + "description": "Snippet for CreateQaScorecard", + "file": "ContactCenterInsightsClient.CreateQaScorecardResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecard", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecard", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "name": "qaScorecard" + }, + { + "type": "System.String", + "name": "qaScorecardId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_async_flattened_resourceNames", + "title": "CreateQaScorecardResourceNamesAsync", + "description": "Snippet for CreateQaScorecardAsync", + "file": "ContactCenterInsightsClient.CreateQaScorecardResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecardAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecardAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "name": "qaScorecard" + }, + { + "type": "System.String", + "name": "qaScorecardId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 36, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_sync", + "title": "GetQaScorecardRequestObject", + "description": "Snippet for GetQaScorecard", + "file": "ContactCenterInsightsClient.GetQaScorecardRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecard", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecard", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_async", + "title": "GetQaScorecardRequestObjectAsync", + "description": "Snippet for GetQaScorecardAsync", + "file": "ContactCenterInsightsClient.GetQaScorecardRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecardAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecardAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_sync_flattened", + "title": "GetQaScorecard", + "description": "Snippet for GetQaScorecard", + "file": "ContactCenterInsightsClient.GetQaScorecardSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecard", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecard", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_async_flattened", + "title": "GetQaScorecardAsync", + "description": "Snippet for GetQaScorecardAsync", + "file": "ContactCenterInsightsClient.GetQaScorecardAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecardAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecardAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_sync_flattened_resourceNames", + "title": "GetQaScorecardResourceNames", + "description": "Snippet for GetQaScorecard", + "file": "ContactCenterInsightsClient.GetQaScorecardResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecard", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecard", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_async_flattened_resourceNames", + "title": "GetQaScorecardResourceNamesAsync", + "description": "Snippet for GetQaScorecardAsync", + "file": "ContactCenterInsightsClient.GetQaScorecardResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecardAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecardAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_sync", + "title": "UpdateQaScorecardRequestObject", + "description": "Snippet for UpdateQaScorecard", + "file": "ContactCenterInsightsClient.UpdateQaScorecardRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateQaScorecard", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateQaScorecard", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateQaScorecardRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_async", + "title": "UpdateQaScorecardRequestObjectAsync", + "description": "Snippet for UpdateQaScorecardAsync", + "file": "ContactCenterInsightsClient.UpdateQaScorecardRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateQaScorecardAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateQaScorecardAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateQaScorecardRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_sync_flattened", + "title": "UpdateQaScorecard", + "description": "Snippet for UpdateQaScorecard", + "file": "ContactCenterInsightsClient.UpdateQaScorecardSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateQaScorecard", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateQaScorecard", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "name": "qaScorecard" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_async_flattened", + "title": "UpdateQaScorecardAsync", + "description": "Snippet for UpdateQaScorecardAsync", + "file": "ContactCenterInsightsClient.UpdateQaScorecardAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateQaScorecardAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateQaScorecardAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecard", + "name": "qaScorecard" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_sync", + "title": "DeleteQaScorecardRequestObject", + "description": "Snippet for DeleteQaScorecard", + "file": "ContactCenterInsightsClient.DeleteQaScorecardRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecard", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecard", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 34, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_async", + "title": "DeleteQaScorecardRequestObjectAsync", + "description": "Snippet for DeleteQaScorecardAsync", + "file": "ContactCenterInsightsClient.DeleteQaScorecardRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecardAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecardAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_sync_flattened", + "title": "DeleteQaScorecard", + "description": "Snippet for DeleteQaScorecard", + "file": "ContactCenterInsightsClient.DeleteQaScorecardSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecard", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecard", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_async_flattened", + "title": "DeleteQaScorecardAsync", + "description": "Snippet for DeleteQaScorecardAsync", + "file": "ContactCenterInsightsClient.DeleteQaScorecardAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecardAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecardAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_sync_flattened_resourceNames", + "title": "DeleteQaScorecardResourceNames", + "description": "Snippet for DeleteQaScorecard", + "file": "ContactCenterInsightsClient.DeleteQaScorecardResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecard", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecard", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_async_flattened_resourceNames", + "title": "DeleteQaScorecardResourceNamesAsync", + "description": "Snippet for DeleteQaScorecardAsync", + "file": "ContactCenterInsightsClient.DeleteQaScorecardResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecardAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecardAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecard", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecard", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_sync", + "title": "ListQaScorecardsRequestObject", + "description": "Snippet for ListQaScorecards", + "file": "ContactCenterInsightsClient.ListQaScorecardsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecards", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecards", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecards", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecards", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 37, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_async", + "title": "ListQaScorecardsRequestObjectAsync", + "description": "Snippet for ListQaScorecardsAsync", + "file": "ContactCenterInsightsClient.ListQaScorecardsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecardsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecardsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecards", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecards", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 81, + "type": "FULL" + }, + { + "start": 39, + "end": 79, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_sync_flattened", + "title": "ListQaScorecards", + "description": "Snippet for ListQaScorecards", + "file": "ContactCenterInsightsClient.ListQaScorecardsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecards", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecards", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecards", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecards", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_async_flattened", + "title": "ListQaScorecardsAsync", + "description": "Snippet for ListQaScorecardsAsync", + "file": "ContactCenterInsightsClient.ListQaScorecardsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecardsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecardsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecards", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecards", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_sync_flattened_resourceNames", + "title": "ListQaScorecardsResourceNames", + "description": "Snippet for ListQaScorecards", + "file": "ContactCenterInsightsClient.ListQaScorecardsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecards", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecards", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecards", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecards", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_async_flattened_resourceNames", + "title": "ListQaScorecardsResourceNamesAsync", + "description": "Snippet for ListQaScorecardsAsync", + "file": "ContactCenterInsightsClient.ListQaScorecardsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecardsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecardsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecards", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecards", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 39, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_sync", + "title": "CreateQaScorecardRevisionRequestObject", + "description": "Snippet for CreateQaScorecardRevision", + "file": "ContactCenterInsightsClient.CreateQaScorecardRevisionRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecardRevision", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 34, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_async", + "title": "CreateQaScorecardRevisionRequestObjectAsync", + "description": "Snippet for CreateQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.CreateQaScorecardRevisionRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 35, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_sync_flattened", + "title": "CreateQaScorecardRevision", + "description": "Snippet for CreateQaScorecardRevision", + "file": "ContactCenterInsightsClient.CreateQaScorecardRevisionSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecardRevision", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "name": "qaScorecardRevision" + }, + { + "type": "System.String", + "name": "qaScorecardRevisionId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_async_flattened", + "title": "CreateQaScorecardRevisionAsync", + "description": "Snippet for CreateQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.CreateQaScorecardRevisionAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "name": "qaScorecardRevision" + }, + { + "type": "System.String", + "name": "qaScorecardRevisionId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_sync_flattened_resourceNames", + "title": "CreateQaScorecardRevisionResourceNames", + "description": "Snippet for CreateQaScorecardRevision", + "file": "ContactCenterInsightsClient.CreateQaScorecardRevisionResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecardRevision", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "name": "qaScorecardRevision" + }, + { + "type": "System.String", + "name": "qaScorecardRevisionId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_async_flattened_resourceNames", + "title": "CreateQaScorecardRevisionResourceNamesAsync", + "description": "Snippet for CreateQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.CreateQaScorecardRevisionResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "name": "qaScorecardRevision" + }, + { + "type": "System.String", + "name": "qaScorecardRevisionId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_sync", + "title": "GetQaScorecardRevisionRequestObject", + "description": "Snippet for GetQaScorecardRevision", + "file": "ContactCenterInsightsClient.GetQaScorecardRevisionRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecardRevision", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_async", + "title": "GetQaScorecardRevisionRequestObjectAsync", + "description": "Snippet for GetQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.GetQaScorecardRevisionRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_sync_flattened", + "title": "GetQaScorecardRevision", + "description": "Snippet for GetQaScorecardRevision", + "file": "ContactCenterInsightsClient.GetQaScorecardRevisionSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecardRevision", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_async_flattened", + "title": "GetQaScorecardRevisionAsync", + "description": "Snippet for GetQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.GetQaScorecardRevisionAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_sync_flattened_resourceNames", + "title": "GetQaScorecardRevisionResourceNames", + "description": "Snippet for GetQaScorecardRevision", + "file": "ContactCenterInsightsClient.GetQaScorecardRevisionResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecardRevision", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevisionName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_async_flattened_resourceNames", + "title": "GetQaScorecardRevisionResourceNamesAsync", + "description": "Snippet for GetQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.GetQaScorecardRevisionResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevisionName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_sync", + "title": "TuneQaScorecardRevisionRequestObject", + "description": "Snippet for TuneQaScorecardRevision", + "file": "ContactCenterInsightsClient.TuneQaScorecardRevisionRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "TuneQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.TuneQaScorecardRevision", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "TuneQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.TuneQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 63, + "type": "FULL" + }, + { + "start": 35, + "end": 61, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_async", + "title": "TuneQaScorecardRevisionRequestObjectAsync", + "description": "Snippet for TuneQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.TuneQaScorecardRevisionRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "TuneQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.TuneQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "TuneQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.TuneQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 64, + "type": "FULL" + }, + { + "start": 36, + "end": 62, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_sync_flattened", + "title": "TuneQaScorecardRevision", + "description": "Snippet for TuneQaScorecardRevision", + "file": "ContactCenterInsightsClient.TuneQaScorecardRevisionSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "TuneQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.TuneQaScorecardRevision", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "System.Boolean", + "name": "validateOnly" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "TuneQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.TuneQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 35, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_async_flattened", + "title": "TuneQaScorecardRevisionAsync", + "description": "Snippet for TuneQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.TuneQaScorecardRevisionAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "TuneQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.TuneQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "System.Boolean", + "name": "validateOnly" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "TuneQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.TuneQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 61, + "type": "FULL" + }, + { + "start": 36, + "end": 59, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_sync_flattened_resourceNames", + "title": "TuneQaScorecardRevisionResourceNames", + "description": "Snippet for TuneQaScorecardRevision", + "file": "ContactCenterInsightsClient.TuneQaScorecardRevisionResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "TuneQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.TuneQaScorecardRevision", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevisionName", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "System.Boolean", + "name": "validateOnly" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "TuneQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.TuneQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 35, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_async_flattened_resourceNames", + "title": "TuneQaScorecardRevisionResourceNamesAsync", + "description": "Snippet for TuneQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.TuneQaScorecardRevisionResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "TuneQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.TuneQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevisionName", + "name": "parent" + }, + { + "type": "System.String", + "name": "filter" + }, + { + "type": "System.Boolean", + "name": "validateOnly" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "TuneQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.TuneQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 61, + "type": "FULL" + }, + { + "start": 36, + "end": 59, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployQaScorecardRevision_sync", + "title": "DeployQaScorecardRevisionRequestObject", + "description": "Snippet for DeployQaScorecardRevision", + "file": "ContactCenterInsightsClient.DeployQaScorecardRevisionRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeployQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeployQaScorecardRevision", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeployQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeployQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployQaScorecardRevision_async", + "title": "DeployQaScorecardRevisionRequestObjectAsync", + "description": "Snippet for DeployQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.DeployQaScorecardRevisionRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeployQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeployQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeployQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeployQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployQaScorecardRevision_sync", + "title": "UndeployQaScorecardRevisionRequestObject", + "description": "Snippet for UndeployQaScorecardRevision", + "file": "ContactCenterInsightsClient.UndeployQaScorecardRevisionRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UndeployQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UndeployQaScorecardRevision", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UndeployQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UndeployQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployQaScorecardRevision_async", + "title": "UndeployQaScorecardRevisionRequestObjectAsync", + "description": "Snippet for UndeployQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.UndeployQaScorecardRevisionRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UndeployQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UndeployQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UndeployQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UndeployQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_sync", + "title": "DeleteQaScorecardRevisionRequestObject", + "description": "Snippet for DeleteQaScorecardRevision", + "file": "ContactCenterInsightsClient.DeleteQaScorecardRevisionRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecardRevision", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 34, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_async", + "title": "DeleteQaScorecardRevisionRequestObjectAsync", + "description": "Snippet for DeleteQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.DeleteQaScorecardRevisionRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRevisionRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_sync_flattened", + "title": "DeleteQaScorecardRevision", + "description": "Snippet for DeleteQaScorecardRevision", + "file": "ContactCenterInsightsClient.DeleteQaScorecardRevisionSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecardRevision", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_async_flattened", + "title": "DeleteQaScorecardRevisionAsync", + "description": "Snippet for DeleteQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.DeleteQaScorecardRevisionAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_sync_flattened_resourceNames", + "title": "DeleteQaScorecardRevisionResourceNames", + "description": "Snippet for DeleteQaScorecardRevision", + "file": "ContactCenterInsightsClient.DeleteQaScorecardRevisionResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecardRevision", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecardRevision", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevisionName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_async_flattened_resourceNames", + "title": "DeleteQaScorecardRevisionResourceNamesAsync", + "description": "Snippet for DeleteQaScorecardRevisionAsync", + "file": "ContactCenterInsightsClient.DeleteQaScorecardRevisionResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteQaScorecardRevisionAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteQaScorecardRevisionAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardRevisionName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteQaScorecardRevision", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecardRevision", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_sync", + "title": "ListQaScorecardRevisionsRequestObject", + "description": "Snippet for ListQaScorecardRevisions", + "file": "ContactCenterInsightsClient.ListQaScorecardRevisionsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecardRevisions", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecardRevisions", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecardRevisions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecardRevisions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 36, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_async", + "title": "ListQaScorecardRevisionsRequestObjectAsync", + "description": "Snippet for ListQaScorecardRevisionsAsync", + "file": "ContactCenterInsightsClient.ListQaScorecardRevisionsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecardRevisionsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecardRevisionsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecardRevisions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecardRevisions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 81, + "type": "FULL" + }, + { + "start": 38, + "end": 79, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_sync_flattened", + "title": "ListQaScorecardRevisions", + "description": "Snippet for ListQaScorecardRevisions", + "file": "ContactCenterInsightsClient.ListQaScorecardRevisionsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecardRevisions", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecardRevisions", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecardRevisions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecardRevisions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_async_flattened", + "title": "ListQaScorecardRevisionsAsync", + "description": "Snippet for ListQaScorecardRevisionsAsync", + "file": "ContactCenterInsightsClient.ListQaScorecardRevisionsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecardRevisionsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecardRevisionsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecardRevisions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecardRevisions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_sync_flattened_resourceNames", + "title": "ListQaScorecardRevisionsResourceNames", + "description": "Snippet for ListQaScorecardRevisions", + "file": "ContactCenterInsightsClient.ListQaScorecardRevisionsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecardRevisions", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecardRevisions", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecardRevisions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecardRevisions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_async_flattened_resourceNames", + "title": "ListQaScorecardRevisionsResourceNamesAsync", + "description": "Snippet for ListQaScorecardRevisionsAsync", + "file": "ContactCenterInsightsClient.ListQaScorecardRevisionsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListQaScorecardRevisionsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListQaScorecardRevisionsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.QaScorecardName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListQaScorecardRevisions", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecardRevisions", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_sync", + "title": "CreateFeedbackLabelRequestObject", + "description": "Snippet for CreateFeedbackLabel", + "file": "ContactCenterInsightsClient.CreateFeedbackLabelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateFeedbackLabel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateFeedbackLabel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateFeedbackLabelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 34, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_async", + "title": "CreateFeedbackLabelRequestObjectAsync", + "description": "Snippet for CreateFeedbackLabelAsync", + "file": "ContactCenterInsightsClient.CreateFeedbackLabelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateFeedbackLabelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateFeedbackLabelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.CreateFeedbackLabelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 35, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_sync_flattened", + "title": "CreateFeedbackLabel", + "description": "Snippet for CreateFeedbackLabel", + "file": "ContactCenterInsightsClient.CreateFeedbackLabelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateFeedbackLabel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateFeedbackLabel", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "name": "feedbackLabel" + }, + { + "type": "System.String", + "name": "feedbackLabelId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_async_flattened", + "title": "CreateFeedbackLabelAsync", + "description": "Snippet for CreateFeedbackLabelAsync", + "file": "ContactCenterInsightsClient.CreateFeedbackLabelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateFeedbackLabelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateFeedbackLabelAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "name": "feedbackLabel" + }, + { + "type": "System.String", + "name": "feedbackLabelId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_sync_flattened_resourceNames", + "title": "CreateFeedbackLabelResourceNames", + "description": "Snippet for CreateFeedbackLabel", + "file": "ContactCenterInsightsClient.CreateFeedbackLabelResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateFeedbackLabel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateFeedbackLabel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "name": "feedbackLabel" + }, + { + "type": "System.String", + "name": "feedbackLabelId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_async_flattened_resourceNames", + "title": "CreateFeedbackLabelResourceNamesAsync", + "description": "Snippet for CreateFeedbackLabelAsync", + "file": "ContactCenterInsightsClient.CreateFeedbackLabelResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateFeedbackLabelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.CreateFeedbackLabelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "parent" + }, + { + "type": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "name": "feedbackLabel" + }, + { + "type": "System.String", + "name": "feedbackLabelId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "CreateFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_sync", + "title": "ListFeedbackLabelsRequestObject", + "description": "Snippet for ListFeedbackLabels", + "file": "ContactCenterInsightsClient.ListFeedbackLabelsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListFeedbackLabels", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 36, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_async", + "title": "ListFeedbackLabelsRequestObjectAsync", + "description": "Snippet for ListFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.ListFeedbackLabelsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 81, + "type": "FULL" + }, + { + "start": 38, + "end": 79, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_sync_flattened", + "title": "ListFeedbackLabels", + "description": "Snippet for ListFeedbackLabels", + "file": "ContactCenterInsightsClient.ListFeedbackLabelsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListFeedbackLabels", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_async_flattened", + "title": "ListFeedbackLabelsAsync", + "description": "Snippet for ListFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.ListFeedbackLabelsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_sync_flattened_resourceNames", + "title": "ListFeedbackLabelsResourceNames", + "description": "Snippet for ListFeedbackLabels", + "file": "ContactCenterInsightsClient.ListFeedbackLabelsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListFeedbackLabels", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_async_flattened_resourceNames", + "title": "ListFeedbackLabelsResourceNamesAsync", + "description": "Snippet for ListFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.ListFeedbackLabelsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ConversationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_sync", + "title": "GetFeedbackLabelRequestObject", + "description": "Snippet for GetFeedbackLabel", + "file": "ContactCenterInsightsClient.GetFeedbackLabelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetFeedbackLabel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetFeedbackLabel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetFeedbackLabelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_async", + "title": "GetFeedbackLabelRequestObjectAsync", + "description": "Snippet for GetFeedbackLabelAsync", + "file": "ContactCenterInsightsClient.GetFeedbackLabelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetFeedbackLabelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetFeedbackLabelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.GetFeedbackLabelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_sync_flattened", + "title": "GetFeedbackLabel", + "description": "Snippet for GetFeedbackLabel", + "file": "ContactCenterInsightsClient.GetFeedbackLabelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetFeedbackLabel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetFeedbackLabel", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_async_flattened", + "title": "GetFeedbackLabelAsync", + "description": "Snippet for GetFeedbackLabelAsync", + "file": "ContactCenterInsightsClient.GetFeedbackLabelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetFeedbackLabelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetFeedbackLabelAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_sync_flattened_resourceNames", + "title": "GetFeedbackLabelResourceNames", + "description": "Snippet for GetFeedbackLabel", + "file": "ContactCenterInsightsClient.GetFeedbackLabelResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetFeedbackLabel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetFeedbackLabel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_async_flattened_resourceNames", + "title": "GetFeedbackLabelResourceNamesAsync", + "description": "Snippet for GetFeedbackLabelAsync", + "file": "ContactCenterInsightsClient.GetFeedbackLabelResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetFeedbackLabelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.GetFeedbackLabelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "GetFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_sync", + "title": "UpdateFeedbackLabelRequestObject", + "description": "Snippet for UpdateFeedbackLabel", + "file": "ContactCenterInsightsClient.UpdateFeedbackLabelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateFeedbackLabel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateFeedbackLabel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateFeedbackLabelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_async", + "title": "UpdateFeedbackLabelRequestObjectAsync", + "description": "Snippet for UpdateFeedbackLabelAsync", + "file": "ContactCenterInsightsClient.UpdateFeedbackLabelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateFeedbackLabelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateFeedbackLabelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.UpdateFeedbackLabelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_sync_flattened", + "title": "UpdateFeedbackLabel", + "description": "Snippet for UpdateFeedbackLabel", + "file": "ContactCenterInsightsClient.UpdateFeedbackLabelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateFeedbackLabel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateFeedbackLabel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "name": "feedbackLabel" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_async_flattened", + "title": "UpdateFeedbackLabelAsync", + "description": "Snippet for UpdateFeedbackLabelAsync", + "file": "ContactCenterInsightsClient.UpdateFeedbackLabelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateFeedbackLabelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.UpdateFeedbackLabelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabel", + "name": "feedbackLabel" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "UpdateFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_sync", + "title": "DeleteFeedbackLabelRequestObject", + "description": "Snippet for DeleteFeedbackLabel", + "file": "ContactCenterInsightsClient.DeleteFeedbackLabelRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteFeedbackLabel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteFeedbackLabel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteFeedbackLabelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_async", + "title": "DeleteFeedbackLabelRequestObjectAsync", + "description": "Snippet for DeleteFeedbackLabelAsync", + "file": "ContactCenterInsightsClient.DeleteFeedbackLabelRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteFeedbackLabelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteFeedbackLabelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.DeleteFeedbackLabelRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_sync_flattened", + "title": "DeleteFeedbackLabel", + "description": "Snippet for DeleteFeedbackLabel", + "file": "ContactCenterInsightsClient.DeleteFeedbackLabelSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteFeedbackLabel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteFeedbackLabel", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_async_flattened", + "title": "DeleteFeedbackLabelAsync", + "description": "Snippet for DeleteFeedbackLabelAsync", + "file": "ContactCenterInsightsClient.DeleteFeedbackLabelAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteFeedbackLabelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteFeedbackLabelAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_sync_flattened_resourceNames", + "title": "DeleteFeedbackLabelResourceNames", + "description": "Snippet for DeleteFeedbackLabel", + "file": "ContactCenterInsightsClient.DeleteFeedbackLabelResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteFeedbackLabel", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteFeedbackLabel", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_async_flattened_resourceNames", + "title": "DeleteFeedbackLabelResourceNamesAsync", + "description": "Snippet for DeleteFeedbackLabelAsync", + "file": "ContactCenterInsightsClient.DeleteFeedbackLabelResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteFeedbackLabelAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.DeleteFeedbackLabelAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.FeedbackLabelName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "DeleteFeedbackLabel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteFeedbackLabel", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_sync", + "title": "ListAllFeedbackLabelsRequestObject", + "description": "Snippet for ListAllFeedbackLabels", + "file": "ContactCenterInsightsClient.ListAllFeedbackLabelsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAllFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAllFeedbackLabels", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAllFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAllFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 80, + "type": "FULL" + }, + { + "start": 37, + "end": 78, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_async", + "title": "ListAllFeedbackLabelsRequestObjectAsync", + "description": "Snippet for ListAllFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.ListAllFeedbackLabelsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAllFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAllFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAllFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAllFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 82, + "type": "FULL" + }, + { + "start": 39, + "end": 80, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_sync_flattened", + "title": "ListAllFeedbackLabels", + "description": "Snippet for ListAllFeedbackLabels", + "file": "ContactCenterInsightsClient.ListAllFeedbackLabelsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAllFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAllFeedbackLabels", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAllFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAllFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_async_flattened", + "title": "ListAllFeedbackLabelsAsync", + "description": "Snippet for ListAllFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.ListAllFeedbackLabelsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAllFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAllFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAllFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAllFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 77, + "type": "FULL" + }, + { + "start": 38, + "end": 75, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_sync_flattened_resourceNames", + "title": "ListAllFeedbackLabelsResourceNames", + "description": "Snippet for ListAllFeedbackLabels", + "file": "ContactCenterInsightsClient.ListAllFeedbackLabelsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAllFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAllFeedbackLabels", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAllFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAllFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_async_flattened_resourceNames", + "title": "ListAllFeedbackLabelsResourceNamesAsync", + "description": "Snippet for ListAllFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.ListAllFeedbackLabelsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListAllFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.ListAllFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "ListAllFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAllFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 39, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_sync", + "title": "BulkUploadFeedbackLabelsRequestObject", + "description": "Snippet for BulkUploadFeedbackLabels", + "file": "ContactCenterInsightsClient.BulkUploadFeedbackLabelsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkUploadFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkUploadFeedbackLabels", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkUploadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkUploadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 64, + "type": "FULL" + }, + { + "start": 36, + "end": 62, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_async", + "title": "BulkUploadFeedbackLabelsRequestObjectAsync", + "description": "Snippet for BulkUploadFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.BulkUploadFeedbackLabelsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkUploadFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkUploadFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkUploadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkUploadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 65, + "type": "FULL" + }, + { + "start": 37, + "end": 63, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_sync_flattened", + "title": "BulkUploadFeedbackLabels", + "description": "Snippet for BulkUploadFeedbackLabels", + "file": "ContactCenterInsightsClient.BulkUploadFeedbackLabelsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkUploadFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkUploadFeedbackLabels", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkUploadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkUploadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_async_flattened", + "title": "BulkUploadFeedbackLabelsAsync", + "description": "Snippet for BulkUploadFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.BulkUploadFeedbackLabelsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkUploadFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkUploadFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkUploadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkUploadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_sync_flattened_resourceNames", + "title": "BulkUploadFeedbackLabelsResourceNames", + "description": "Snippet for BulkUploadFeedbackLabels", + "file": "ContactCenterInsightsClient.BulkUploadFeedbackLabelsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkUploadFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkUploadFeedbackLabels", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkUploadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkUploadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_async_flattened_resourceNames", + "title": "BulkUploadFeedbackLabelsResourceNamesAsync", + "description": "Snippet for BulkUploadFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.BulkUploadFeedbackLabelsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkUploadFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkUploadFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkUploadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkUploadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 37, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_sync", + "title": "BulkDownloadFeedbackLabelsRequestObject", + "description": "Snippet for BulkDownloadFeedbackLabels", + "file": "ContactCenterInsightsClient.BulkDownloadFeedbackLabelsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDownloadFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDownloadFeedbackLabels", + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDownloadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDownloadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 68, + "type": "FULL" + }, + { + "start": 36, + "end": 66, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_async", + "title": "BulkDownloadFeedbackLabelsRequestObjectAsync", + "description": "Snippet for BulkDownloadFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.BulkDownloadFeedbackLabelsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDownloadFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDownloadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDownloadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 69, + "type": "FULL" + }, + { + "start": 37, + "end": 67, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_sync_flattened", + "title": "BulkDownloadFeedbackLabels", + "description": "Snippet for BulkDownloadFeedbackLabels", + "file": "ContactCenterInsightsClient.BulkDownloadFeedbackLabelsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDownloadFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDownloadFeedbackLabels", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDownloadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDownloadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_async_flattened", + "title": "BulkDownloadFeedbackLabelsAsync", + "description": "Snippet for BulkDownloadFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.BulkDownloadFeedbackLabelsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDownloadFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDownloadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDownloadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_sync_flattened_resourceNames", + "title": "BulkDownloadFeedbackLabelsResourceNames", + "description": "Snippet for BulkDownloadFeedbackLabels", + "file": "ContactCenterInsightsClient.BulkDownloadFeedbackLabelsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDownloadFeedbackLabels", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDownloadFeedbackLabels", + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDownloadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDownloadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_async_flattened_resourceNames", + "title": "BulkDownloadFeedbackLabelsResourceNamesAsync", + "description": "Snippet for BulkDownloadFeedbackLabelsAsync", + "file": "ContactCenterInsightsClient.BulkDownloadFeedbackLabelsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "BulkDownloadFeedbackLabelsAsync", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Api.Gax.ResourceNames.LocationName", + "name": "parent" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ContactCenterInsightsClient", + "fullName": "Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsClient" + }, + "method": { + "shortName": "BulkDownloadFeedbackLabels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDownloadFeedbackLabels", + "service": { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 37, + "end": 58, + "type": "SHORT" + } + ] + } + ] +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.Snippets/ContactCenterInsightsClientSnippets.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.Snippets/ContactCenterInsightsClientSnippets.g.cs new file mode 100755 index 000000000000..9f074b7f1ee1 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.Snippets/ContactCenterInsightsClientSnippets.g.cs @@ -0,0 +1,9568 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + using Google.Api.Gax; + using Google.Api.Gax.ResourceNames; + using Google.Cloud.ContactCenterInsights.V1; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System; + using System.Linq; + using System.Threading.Tasks; + + /// Generated snippets. + public sealed class AllGeneratedContactCenterInsightsClientSnippets + { + /// Snippet for CreateConversation + public void CreateConversationRequestObject() + { + // Snippet: CreateConversation(CreateConversationRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateConversationRequest request = new CreateConversationRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Conversation = new Conversation(), + ConversationId = "", + }; + // Make the request + Conversation response = contactCenterInsightsClient.CreateConversation(request); + // End snippet + } + + /// Snippet for CreateConversationAsync + public async Task CreateConversationRequestObjectAsync() + { + // Snippet: CreateConversationAsync(CreateConversationRequest, CallSettings) + // Additional: CreateConversationAsync(CreateConversationRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateConversationRequest request = new CreateConversationRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Conversation = new Conversation(), + ConversationId = "", + }; + // Make the request + Conversation response = await contactCenterInsightsClient.CreateConversationAsync(request); + // End snippet + } + + /// Snippet for CreateConversation + public void CreateConversation() + { + // Snippet: CreateConversation(string, Conversation, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + Conversation conversation = new Conversation(); + string conversationId = ""; + // Make the request + Conversation response = contactCenterInsightsClient.CreateConversation(parent, conversation, conversationId); + // End snippet + } + + /// Snippet for CreateConversationAsync + public async Task CreateConversationAsync() + { + // Snippet: CreateConversationAsync(string, Conversation, string, CallSettings) + // Additional: CreateConversationAsync(string, Conversation, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + Conversation conversation = new Conversation(); + string conversationId = ""; + // Make the request + Conversation response = await contactCenterInsightsClient.CreateConversationAsync(parent, conversation, conversationId); + // End snippet + } + + /// Snippet for CreateConversation + public void CreateConversationResourceNames() + { + // Snippet: CreateConversation(LocationName, Conversation, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + Conversation conversation = new Conversation(); + string conversationId = ""; + // Make the request + Conversation response = contactCenterInsightsClient.CreateConversation(parent, conversation, conversationId); + // End snippet + } + + /// Snippet for CreateConversationAsync + public async Task CreateConversationResourceNamesAsync() + { + // Snippet: CreateConversationAsync(LocationName, Conversation, string, CallSettings) + // Additional: CreateConversationAsync(LocationName, Conversation, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + Conversation conversation = new Conversation(); + string conversationId = ""; + // Make the request + Conversation response = await contactCenterInsightsClient.CreateConversationAsync(parent, conversation, conversationId); + // End snippet + } + + /// Snippet for UploadConversation + public void UploadConversationRequestObject() + { + // Snippet: UploadConversation(UploadConversationRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UploadConversationRequest request = new UploadConversationRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Conversation = new Conversation(), + ConversationId = "", + RedactionConfig = new RedactionConfig(), + SpeechConfig = new SpeechConfig(), + }; + // Make the request + Operation response = contactCenterInsightsClient.UploadConversation(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Conversation result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceUploadConversation(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Conversation retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UploadConversationAsync + public async Task UploadConversationRequestObjectAsync() + { + // Snippet: UploadConversationAsync(UploadConversationRequest, CallSettings) + // Additional: UploadConversationAsync(UploadConversationRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UploadConversationRequest request = new UploadConversationRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Conversation = new Conversation(), + ConversationId = "", + RedactionConfig = new RedactionConfig(), + SpeechConfig = new SpeechConfig(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.UploadConversationAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Conversation result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceUploadConversationAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Conversation retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UpdateConversation + public void UpdateConversationRequestObject() + { + // Snippet: UpdateConversation(UpdateConversationRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateConversationRequest request = new UpdateConversationRequest + { + Conversation = new Conversation(), + UpdateMask = new FieldMask(), + }; + // Make the request + Conversation response = contactCenterInsightsClient.UpdateConversation(request); + // End snippet + } + + /// Snippet for UpdateConversationAsync + public async Task UpdateConversationRequestObjectAsync() + { + // Snippet: UpdateConversationAsync(UpdateConversationRequest, CallSettings) + // Additional: UpdateConversationAsync(UpdateConversationRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateConversationRequest request = new UpdateConversationRequest + { + Conversation = new Conversation(), + UpdateMask = new FieldMask(), + }; + // Make the request + Conversation response = await contactCenterInsightsClient.UpdateConversationAsync(request); + // End snippet + } + + /// Snippet for UpdateConversation + public void UpdateConversation() + { + // Snippet: UpdateConversation(Conversation, FieldMask, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + Conversation conversation = new Conversation(); + FieldMask updateMask = new FieldMask(); + // Make the request + Conversation response = contactCenterInsightsClient.UpdateConversation(conversation, updateMask); + // End snippet + } + + /// Snippet for UpdateConversationAsync + public async Task UpdateConversationAsync() + { + // Snippet: UpdateConversationAsync(Conversation, FieldMask, CallSettings) + // Additional: UpdateConversationAsync(Conversation, FieldMask, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + Conversation conversation = new Conversation(); + FieldMask updateMask = new FieldMask(); + // Make the request + Conversation response = await contactCenterInsightsClient.UpdateConversationAsync(conversation, updateMask); + // End snippet + } + + /// Snippet for GetConversation + public void GetConversationRequestObject() + { + // Snippet: GetConversation(GetConversationRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetConversationRequest request = new GetConversationRequest + { + ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + View = ConversationView.Unspecified, + }; + // Make the request + Conversation response = contactCenterInsightsClient.GetConversation(request); + // End snippet + } + + /// Snippet for GetConversationAsync + public async Task GetConversationRequestObjectAsync() + { + // Snippet: GetConversationAsync(GetConversationRequest, CallSettings) + // Additional: GetConversationAsync(GetConversationRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetConversationRequest request = new GetConversationRequest + { + ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + View = ConversationView.Unspecified, + }; + // Make the request + Conversation response = await contactCenterInsightsClient.GetConversationAsync(request); + // End snippet + } + + /// Snippet for GetConversation + public void GetConversation() + { + // Snippet: GetConversation(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + Conversation response = contactCenterInsightsClient.GetConversation(name); + // End snippet + } + + /// Snippet for GetConversationAsync + public async Task GetConversationAsync() + { + // Snippet: GetConversationAsync(string, CallSettings) + // Additional: GetConversationAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + Conversation response = await contactCenterInsightsClient.GetConversationAsync(name); + // End snippet + } + + /// Snippet for GetConversation + public void GetConversationResourceNames() + { + // Snippet: GetConversation(ConversationName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + Conversation response = contactCenterInsightsClient.GetConversation(name); + // End snippet + } + + /// Snippet for GetConversationAsync + public async Task GetConversationResourceNamesAsync() + { + // Snippet: GetConversationAsync(ConversationName, CallSettings) + // Additional: GetConversationAsync(ConversationName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + Conversation response = await contactCenterInsightsClient.GetConversationAsync(name); + // End snippet + } + + /// Snippet for ListConversations + public void ListConversationsRequestObject() + { + // Snippet: ListConversations(ListConversationsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListConversationsRequest request = new ListConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + View = ConversationView.Unspecified, + OrderBy = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListConversations(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Conversation item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListConversationsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListConversationsAsync + public async Task ListConversationsRequestObjectAsync() + { + // Snippet: ListConversationsAsync(ListConversationsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListConversationsRequest request = new ListConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + View = ConversationView.Unspecified, + OrderBy = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListConversationsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Conversation item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListConversationsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListConversations + public void ListConversations() + { + // Snippet: ListConversations(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListConversations(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Conversation item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListConversationsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListConversationsAsync + public async Task ListConversationsAsync() + { + // Snippet: ListConversationsAsync(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListConversationsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Conversation item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListConversationsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListConversations + public void ListConversationsResourceNames() + { + // Snippet: ListConversations(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListConversations(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Conversation item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListConversationsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListConversationsAsync + public async Task ListConversationsResourceNamesAsync() + { + // Snippet: ListConversationsAsync(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListConversationsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Conversation item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListConversationsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Conversation item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Conversation item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for DeleteConversation + public void DeleteConversationRequestObject() + { + // Snippet: DeleteConversation(DeleteConversationRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteConversationRequest request = new DeleteConversationRequest + { + ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Force = false, + }; + // Make the request + contactCenterInsightsClient.DeleteConversation(request); + // End snippet + } + + /// Snippet for DeleteConversationAsync + public async Task DeleteConversationRequestObjectAsync() + { + // Snippet: DeleteConversationAsync(DeleteConversationRequest, CallSettings) + // Additional: DeleteConversationAsync(DeleteConversationRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteConversationRequest request = new DeleteConversationRequest + { + ConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Force = false, + }; + // Make the request + await contactCenterInsightsClient.DeleteConversationAsync(request); + // End snippet + } + + /// Snippet for DeleteConversation + public void DeleteConversation() + { + // Snippet: DeleteConversation(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + contactCenterInsightsClient.DeleteConversation(name); + // End snippet + } + + /// Snippet for DeleteConversationAsync + public async Task DeleteConversationAsync() + { + // Snippet: DeleteConversationAsync(string, CallSettings) + // Additional: DeleteConversationAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + await contactCenterInsightsClient.DeleteConversationAsync(name); + // End snippet + } + + /// Snippet for DeleteConversation + public void DeleteConversationResourceNames() + { + // Snippet: DeleteConversation(ConversationName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + contactCenterInsightsClient.DeleteConversation(name); + // End snippet + } + + /// Snippet for DeleteConversationAsync + public async Task DeleteConversationResourceNamesAsync() + { + // Snippet: DeleteConversationAsync(ConversationName, CallSettings) + // Additional: DeleteConversationAsync(ConversationName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName name = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + await contactCenterInsightsClient.DeleteConversationAsync(name); + // End snippet + } + + /// Snippet for CreateAnalysis + public void CreateAnalysisRequestObject() + { + // Snippet: CreateAnalysis(CreateAnalysisRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateAnalysisRequest request = new CreateAnalysisRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Analysis = new Analysis(), + }; + // Make the request + Operation response = contactCenterInsightsClient.CreateAnalysis(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateAnalysis(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateAnalysisAsync + public async Task CreateAnalysisRequestObjectAsync() + { + // Snippet: CreateAnalysisAsync(CreateAnalysisRequest, CallSettings) + // Additional: CreateAnalysisAsync(CreateAnalysisRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateAnalysisRequest request = new CreateAnalysisRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Analysis = new Analysis(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.CreateAnalysisAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateAnalysis + public void CreateAnalysis() + { + // Snippet: CreateAnalysis(string, Analysis, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + Analysis analysis = new Analysis(); + // Make the request + Operation response = contactCenterInsightsClient.CreateAnalysis(parent, analysis); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateAnalysis(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateAnalysisAsync + public async Task CreateAnalysisAsync() + { + // Snippet: CreateAnalysisAsync(string, Analysis, CallSettings) + // Additional: CreateAnalysisAsync(string, Analysis, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + Analysis analysis = new Analysis(); + // Make the request + Operation response = await contactCenterInsightsClient.CreateAnalysisAsync(parent, analysis); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateAnalysis + public void CreateAnalysisResourceNames() + { + // Snippet: CreateAnalysis(ConversationName, Analysis, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + Analysis analysis = new Analysis(); + // Make the request + Operation response = contactCenterInsightsClient.CreateAnalysis(parent, analysis); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateAnalysis(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateAnalysisAsync + public async Task CreateAnalysisResourceNamesAsync() + { + // Snippet: CreateAnalysisAsync(ConversationName, Analysis, CallSettings) + // Additional: CreateAnalysisAsync(ConversationName, Analysis, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + Analysis analysis = new Analysis(); + // Make the request + Operation response = await contactCenterInsightsClient.CreateAnalysisAsync(parent, analysis); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Analysis result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateAnalysisAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Analysis retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for GetAnalysis + public void GetAnalysisRequestObject() + { + // Snippet: GetAnalysis(GetAnalysisRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetAnalysisRequest request = new GetAnalysisRequest + { + AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"), + }; + // Make the request + Analysis response = contactCenterInsightsClient.GetAnalysis(request); + // End snippet + } + + /// Snippet for GetAnalysisAsync + public async Task GetAnalysisRequestObjectAsync() + { + // Snippet: GetAnalysisAsync(GetAnalysisRequest, CallSettings) + // Additional: GetAnalysisAsync(GetAnalysisRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetAnalysisRequest request = new GetAnalysisRequest + { + AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"), + }; + // Make the request + Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(request); + // End snippet + } + + /// Snippet for GetAnalysis + public void GetAnalysis() + { + // Snippet: GetAnalysis(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]"; + // Make the request + Analysis response = contactCenterInsightsClient.GetAnalysis(name); + // End snippet + } + + /// Snippet for GetAnalysisAsync + public async Task GetAnalysisAsync() + { + // Snippet: GetAnalysisAsync(string, CallSettings) + // Additional: GetAnalysisAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]"; + // Make the request + Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(name); + // End snippet + } + + /// Snippet for GetAnalysis + public void GetAnalysisResourceNames() + { + // Snippet: GetAnalysis(AnalysisName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + // Make the request + Analysis response = contactCenterInsightsClient.GetAnalysis(name); + // End snippet + } + + /// Snippet for GetAnalysisAsync + public async Task GetAnalysisResourceNamesAsync() + { + // Snippet: GetAnalysisAsync(AnalysisName, CallSettings) + // Additional: GetAnalysisAsync(AnalysisName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + // Make the request + Analysis response = await contactCenterInsightsClient.GetAnalysisAsync(name); + // End snippet + } + + /// Snippet for ListAnalyses + public void ListAnalysesRequestObject() + { + // Snippet: ListAnalyses(ListAnalysesRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListAnalysesRequest request = new ListAnalysesRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalyses(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Analysis item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAnalysesAsync + public async Task ListAnalysesRequestObjectAsync() + { + // Snippet: ListAnalysesAsync(ListAnalysesRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListAnalysesRequest request = new ListAnalysesRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysesAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Analysis item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAnalyses + public void ListAnalyses() + { + // Snippet: ListAnalyses(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalyses(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Analysis item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAnalysesAsync + public async Task ListAnalysesAsync() + { + // Snippet: ListAnalysesAsync(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Analysis item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAnalyses + public void ListAnalysesResourceNames() + { + // Snippet: ListAnalyses(ConversationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalyses(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Analysis item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAnalysesAsync + public async Task ListAnalysesResourceNamesAsync() + { + // Snippet: ListAnalysesAsync(ConversationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((Analysis item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Analysis item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Analysis item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for DeleteAnalysis + public void DeleteAnalysisRequestObject() + { + // Snippet: DeleteAnalysis(DeleteAnalysisRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteAnalysisRequest request = new DeleteAnalysisRequest + { + AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"), + }; + // Make the request + contactCenterInsightsClient.DeleteAnalysis(request); + // End snippet + } + + /// Snippet for DeleteAnalysisAsync + public async Task DeleteAnalysisRequestObjectAsync() + { + // Snippet: DeleteAnalysisAsync(DeleteAnalysisRequest, CallSettings) + // Additional: DeleteAnalysisAsync(DeleteAnalysisRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteAnalysisRequest request = new DeleteAnalysisRequest + { + AnalysisName = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteAnalysisAsync(request); + // End snippet + } + + /// Snippet for DeleteAnalysis + public void DeleteAnalysis() + { + // Snippet: DeleteAnalysis(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]"; + // Make the request + contactCenterInsightsClient.DeleteAnalysis(name); + // End snippet + } + + /// Snippet for DeleteAnalysisAsync + public async Task DeleteAnalysisAsync() + { + // Snippet: DeleteAnalysisAsync(string, CallSettings) + // Additional: DeleteAnalysisAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/analyses/[ANALYSIS]"; + // Make the request + await contactCenterInsightsClient.DeleteAnalysisAsync(name); + // End snippet + } + + /// Snippet for DeleteAnalysis + public void DeleteAnalysisResourceNames() + { + // Snippet: DeleteAnalysis(AnalysisName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + // Make the request + contactCenterInsightsClient.DeleteAnalysis(name); + // End snippet + } + + /// Snippet for DeleteAnalysisAsync + public async Task DeleteAnalysisResourceNamesAsync() + { + // Snippet: DeleteAnalysisAsync(AnalysisName, CallSettings) + // Additional: DeleteAnalysisAsync(AnalysisName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + AnalysisName name = AnalysisName.FromProjectLocationConversationAnalysis("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + // Make the request + await contactCenterInsightsClient.DeleteAnalysisAsync(name); + // End snippet + } + + /// Snippet for BulkAnalyzeConversations + public void BulkAnalyzeConversationsRequestObject() + { + // Snippet: BulkAnalyzeConversations(BulkAnalyzeConversationsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + BulkAnalyzeConversationsRequest request = new BulkAnalyzeConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + AnalysisPercentage = 0F, + AnnotatorSelector = new AnnotatorSelector(), + }; + // Make the request + Operation response = contactCenterInsightsClient.BulkAnalyzeConversations(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkAnalyzeConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkAnalyzeConversationsAsync + public async Task BulkAnalyzeConversationsRequestObjectAsync() + { + // Snippet: BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest, CallSettings) + // Additional: BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + BulkAnalyzeConversationsRequest request = new BulkAnalyzeConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + AnalysisPercentage = 0F, + AnnotatorSelector = new AnnotatorSelector(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkAnalyzeConversations + public void BulkAnalyzeConversations() + { + // Snippet: BulkAnalyzeConversations(string, string, float, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + string filter = ""; + float analysisPercentage = 0F; + // Make the request + Operation response = contactCenterInsightsClient.BulkAnalyzeConversations(parent, filter, analysisPercentage); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkAnalyzeConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkAnalyzeConversationsAsync + public async Task BulkAnalyzeConversationsAsync() + { + // Snippet: BulkAnalyzeConversationsAsync(string, string, float, CallSettings) + // Additional: BulkAnalyzeConversationsAsync(string, string, float, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + string filter = ""; + float analysisPercentage = 0F; + // Make the request + Operation response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(parent, filter, analysisPercentage); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkAnalyzeConversations + public void BulkAnalyzeConversationsResourceNames() + { + // Snippet: BulkAnalyzeConversations(LocationName, string, float, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + string filter = ""; + float analysisPercentage = 0F; + // Make the request + Operation response = contactCenterInsightsClient.BulkAnalyzeConversations(parent, filter, analysisPercentage); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkAnalyzeConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkAnalyzeConversationsAsync + public async Task BulkAnalyzeConversationsResourceNamesAsync() + { + // Snippet: BulkAnalyzeConversationsAsync(LocationName, string, float, CallSettings) + // Additional: BulkAnalyzeConversationsAsync(LocationName, string, float, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + string filter = ""; + float analysisPercentage = 0F; + // Make the request + Operation response = await contactCenterInsightsClient.BulkAnalyzeConversationsAsync(parent, filter, analysisPercentage); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkAnalyzeConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkAnalyzeConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkAnalyzeConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDeleteConversations + public void BulkDeleteConversationsRequestObject() + { + // Snippet: BulkDeleteConversations(BulkDeleteConversationsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + BulkDeleteConversationsRequest request = new BulkDeleteConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + MaxDeleteCount = 0, + Force = false, + }; + // Make the request + Operation response = contactCenterInsightsClient.BulkDeleteConversations(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDeleteConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDeleteConversationsAsync + public async Task BulkDeleteConversationsRequestObjectAsync() + { + // Snippet: BulkDeleteConversationsAsync(BulkDeleteConversationsRequest, CallSettings) + // Additional: BulkDeleteConversationsAsync(BulkDeleteConversationsRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + BulkDeleteConversationsRequest request = new BulkDeleteConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + MaxDeleteCount = 0, + Force = false, + }; + // Make the request + Operation response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDeleteConversations + public void BulkDeleteConversations() + { + // Snippet: BulkDeleteConversations(string, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + string filter = ""; + // Make the request + Operation response = contactCenterInsightsClient.BulkDeleteConversations(parent, filter); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDeleteConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDeleteConversationsAsync + public async Task BulkDeleteConversationsAsync() + { + // Snippet: BulkDeleteConversationsAsync(string, string, CallSettings) + // Additional: BulkDeleteConversationsAsync(string, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + string filter = ""; + // Make the request + Operation response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(parent, filter); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDeleteConversations + public void BulkDeleteConversationsResourceNames() + { + // Snippet: BulkDeleteConversations(LocationName, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + string filter = ""; + // Make the request + Operation response = contactCenterInsightsClient.BulkDeleteConversations(parent, filter); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDeleteConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDeleteConversationsAsync + public async Task BulkDeleteConversationsResourceNamesAsync() + { + // Snippet: BulkDeleteConversationsAsync(LocationName, string, CallSettings) + // Additional: BulkDeleteConversationsAsync(LocationName, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + string filter = ""; + // Make the request + Operation response = await contactCenterInsightsClient.BulkDeleteConversationsAsync(parent, filter); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDeleteConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDeleteConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDeleteConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for IngestConversations + public void IngestConversationsRequestObject() + { + // Snippet: IngestConversations(IngestConversationsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IngestConversationsRequest request = new IngestConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new IngestConversationsRequest.Types.GcsSource(), + TranscriptObjectConfig = new IngestConversationsRequest.Types.TranscriptObjectConfig(), + ConversationConfig = new IngestConversationsRequest.Types.ConversationConfig(), + RedactionConfig = new RedactionConfig(), + SpeechConfig = new SpeechConfig(), + SampleSize = 0, + }; + // Make the request + Operation response = contactCenterInsightsClient.IngestConversations(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceIngestConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for IngestConversationsAsync + public async Task IngestConversationsRequestObjectAsync() + { + // Snippet: IngestConversationsAsync(IngestConversationsRequest, CallSettings) + // Additional: IngestConversationsAsync(IngestConversationsRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IngestConversationsRequest request = new IngestConversationsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new IngestConversationsRequest.Types.GcsSource(), + TranscriptObjectConfig = new IngestConversationsRequest.Types.TranscriptObjectConfig(), + ConversationConfig = new IngestConversationsRequest.Types.ConversationConfig(), + RedactionConfig = new RedactionConfig(), + SpeechConfig = new SpeechConfig(), + SampleSize = 0, + }; + // Make the request + Operation response = await contactCenterInsightsClient.IngestConversationsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for IngestConversations + public void IngestConversations() + { + // Snippet: IngestConversations(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = contactCenterInsightsClient.IngestConversations(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceIngestConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for IngestConversationsAsync + public async Task IngestConversationsAsync() + { + // Snippet: IngestConversationsAsync(string, CallSettings) + // Additional: IngestConversationsAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = await contactCenterInsightsClient.IngestConversationsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for IngestConversations + public void IngestConversationsResourceNames() + { + // Snippet: IngestConversations(LocationName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = contactCenterInsightsClient.IngestConversations(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceIngestConversations(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for IngestConversationsAsync + public async Task IngestConversationsResourceNamesAsync() + { + // Snippet: IngestConversationsAsync(LocationName, CallSettings) + // Additional: IngestConversationsAsync(LocationName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await contactCenterInsightsClient.IngestConversationsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IngestConversationsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceIngestConversationsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IngestConversationsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportInsightsData + public void ExportInsightsDataRequestObject() + { + // Snippet: ExportInsightsData(ExportInsightsDataRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ExportInsightsDataRequest request = new ExportInsightsDataRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + BigQueryDestination = new ExportInsightsDataRequest.Types.BigQueryDestination(), + Filter = "", + KmsKey = "", + WriteDisposition = ExportInsightsDataRequest.Types.WriteDisposition.Unspecified, + }; + // Make the request + Operation response = contactCenterInsightsClient.ExportInsightsData(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportInsightsData(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportInsightsDataAsync + public async Task ExportInsightsDataRequestObjectAsync() + { + // Snippet: ExportInsightsDataAsync(ExportInsightsDataRequest, CallSettings) + // Additional: ExportInsightsDataAsync(ExportInsightsDataRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ExportInsightsDataRequest request = new ExportInsightsDataRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + BigQueryDestination = new ExportInsightsDataRequest.Types.BigQueryDestination(), + Filter = "", + KmsKey = "", + WriteDisposition = ExportInsightsDataRequest.Types.WriteDisposition.Unspecified, + }; + // Make the request + Operation response = await contactCenterInsightsClient.ExportInsightsDataAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportInsightsData + public void ExportInsightsData() + { + // Snippet: ExportInsightsData(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = contactCenterInsightsClient.ExportInsightsData(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportInsightsData(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportInsightsDataAsync + public async Task ExportInsightsDataAsync() + { + // Snippet: ExportInsightsDataAsync(string, CallSettings) + // Additional: ExportInsightsDataAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = await contactCenterInsightsClient.ExportInsightsDataAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportInsightsData + public void ExportInsightsDataResourceNames() + { + // Snippet: ExportInsightsData(LocationName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = contactCenterInsightsClient.ExportInsightsData(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportInsightsData(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportInsightsDataAsync + public async Task ExportInsightsDataResourceNamesAsync() + { + // Snippet: ExportInsightsDataAsync(LocationName, CallSettings) + // Additional: ExportInsightsDataAsync(LocationName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await contactCenterInsightsClient.ExportInsightsDataAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportInsightsDataResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportInsightsDataAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportInsightsDataResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateIssueModel + public void CreateIssueModelRequestObject() + { + // Snippet: CreateIssueModel(CreateIssueModelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateIssueModelRequest request = new CreateIssueModelRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + IssueModel = new IssueModel(), + }; + // Make the request + Operation response = contactCenterInsightsClient.CreateIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateIssueModelAsync + public async Task CreateIssueModelRequestObjectAsync() + { + // Snippet: CreateIssueModelAsync(CreateIssueModelRequest, CallSettings) + // Additional: CreateIssueModelAsync(CreateIssueModelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateIssueModelRequest request = new CreateIssueModelRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + IssueModel = new IssueModel(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.CreateIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateIssueModel + public void CreateIssueModel() + { + // Snippet: CreateIssueModel(string, IssueModel, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + IssueModel issueModel = new IssueModel(); + // Make the request + Operation response = contactCenterInsightsClient.CreateIssueModel(parent, issueModel); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateIssueModelAsync + public async Task CreateIssueModelAsync() + { + // Snippet: CreateIssueModelAsync(string, IssueModel, CallSettings) + // Additional: CreateIssueModelAsync(string, IssueModel, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + IssueModel issueModel = new IssueModel(); + // Make the request + Operation response = await contactCenterInsightsClient.CreateIssueModelAsync(parent, issueModel); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateIssueModel + public void CreateIssueModelResourceNames() + { + // Snippet: CreateIssueModel(LocationName, IssueModel, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + IssueModel issueModel = new IssueModel(); + // Make the request + Operation response = contactCenterInsightsClient.CreateIssueModel(parent, issueModel); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceCreateIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateIssueModelAsync + public async Task CreateIssueModelResourceNamesAsync() + { + // Snippet: CreateIssueModelAsync(LocationName, IssueModel, CallSettings) + // Additional: CreateIssueModelAsync(LocationName, IssueModel, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + IssueModel issueModel = new IssueModel(); + // Make the request + Operation response = await contactCenterInsightsClient.CreateIssueModelAsync(parent, issueModel); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + IssueModel result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceCreateIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + IssueModel retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UpdateIssueModel + public void UpdateIssueModelRequestObject() + { + // Snippet: UpdateIssueModel(UpdateIssueModelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateIssueModelRequest request = new UpdateIssueModelRequest + { + IssueModel = new IssueModel(), + UpdateMask = new FieldMask(), + }; + // Make the request + IssueModel response = contactCenterInsightsClient.UpdateIssueModel(request); + // End snippet + } + + /// Snippet for UpdateIssueModelAsync + public async Task UpdateIssueModelRequestObjectAsync() + { + // Snippet: UpdateIssueModelAsync(UpdateIssueModelRequest, CallSettings) + // Additional: UpdateIssueModelAsync(UpdateIssueModelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateIssueModelRequest request = new UpdateIssueModelRequest + { + IssueModel = new IssueModel(), + UpdateMask = new FieldMask(), + }; + // Make the request + IssueModel response = await contactCenterInsightsClient.UpdateIssueModelAsync(request); + // End snippet + } + + /// Snippet for UpdateIssueModel + public void UpdateIssueModel() + { + // Snippet: UpdateIssueModel(IssueModel, FieldMask, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModel issueModel = new IssueModel(); + FieldMask updateMask = new FieldMask(); + // Make the request + IssueModel response = contactCenterInsightsClient.UpdateIssueModel(issueModel, updateMask); + // End snippet + } + + /// Snippet for UpdateIssueModelAsync + public async Task UpdateIssueModelAsync() + { + // Snippet: UpdateIssueModelAsync(IssueModel, FieldMask, CallSettings) + // Additional: UpdateIssueModelAsync(IssueModel, FieldMask, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModel issueModel = new IssueModel(); + FieldMask updateMask = new FieldMask(); + // Make the request + IssueModel response = await contactCenterInsightsClient.UpdateIssueModelAsync(issueModel, updateMask); + // End snippet + } + + /// Snippet for GetIssueModel + public void GetIssueModelRequestObject() + { + // Snippet: GetIssueModel(GetIssueModelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetIssueModelRequest request = new GetIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + IssueModel response = contactCenterInsightsClient.GetIssueModel(request); + // End snippet + } + + /// Snippet for GetIssueModelAsync + public async Task GetIssueModelRequestObjectAsync() + { + // Snippet: GetIssueModelAsync(GetIssueModelRequest, CallSettings) + // Additional: GetIssueModelAsync(GetIssueModelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetIssueModelRequest request = new GetIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(request); + // End snippet + } + + /// Snippet for GetIssueModel + public void GetIssueModel() + { + // Snippet: GetIssueModel(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + IssueModel response = contactCenterInsightsClient.GetIssueModel(name); + // End snippet + } + + /// Snippet for GetIssueModelAsync + public async Task GetIssueModelAsync() + { + // Snippet: GetIssueModelAsync(string, CallSettings) + // Additional: GetIssueModelAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(name); + // End snippet + } + + /// Snippet for GetIssueModel + public void GetIssueModelResourceNames() + { + // Snippet: GetIssueModel(IssueModelName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + IssueModel response = contactCenterInsightsClient.GetIssueModel(name); + // End snippet + } + + /// Snippet for GetIssueModelAsync + public async Task GetIssueModelResourceNamesAsync() + { + // Snippet: GetIssueModelAsync(IssueModelName, CallSettings) + // Additional: GetIssueModelAsync(IssueModelName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + IssueModel response = await contactCenterInsightsClient.GetIssueModelAsync(name); + // End snippet + } + + /// Snippet for ListIssueModels + public void ListIssueModelsRequestObject() + { + // Snippet: ListIssueModels(ListIssueModelsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListIssueModelsRequest request = new ListIssueModelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + ListIssueModelsResponse response = contactCenterInsightsClient.ListIssueModels(request); + // End snippet + } + + /// Snippet for ListIssueModelsAsync + public async Task ListIssueModelsRequestObjectAsync() + { + // Snippet: ListIssueModelsAsync(ListIssueModelsRequest, CallSettings) + // Additional: ListIssueModelsAsync(ListIssueModelsRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListIssueModelsRequest request = new ListIssueModelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(request); + // End snippet + } + + /// Snippet for ListIssueModels + public void ListIssueModels() + { + // Snippet: ListIssueModels(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + ListIssueModelsResponse response = contactCenterInsightsClient.ListIssueModels(parent); + // End snippet + } + + /// Snippet for ListIssueModelsAsync + public async Task ListIssueModelsAsync() + { + // Snippet: ListIssueModelsAsync(string, CallSettings) + // Additional: ListIssueModelsAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(parent); + // End snippet + } + + /// Snippet for ListIssueModels + public void ListIssueModelsResourceNames() + { + // Snippet: ListIssueModels(LocationName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + ListIssueModelsResponse response = contactCenterInsightsClient.ListIssueModels(parent); + // End snippet + } + + /// Snippet for ListIssueModelsAsync + public async Task ListIssueModelsResourceNamesAsync() + { + // Snippet: ListIssueModelsAsync(LocationName, CallSettings) + // Additional: ListIssueModelsAsync(LocationName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + ListIssueModelsResponse response = await contactCenterInsightsClient.ListIssueModelsAsync(parent); + // End snippet + } + + /// Snippet for DeleteIssueModel + public void DeleteIssueModelRequestObject() + { + // Snippet: DeleteIssueModel(DeleteIssueModelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteIssueModelRequest request = new DeleteIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = contactCenterInsightsClient.DeleteIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeleteIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteIssueModelAsync + public async Task DeleteIssueModelRequestObjectAsync() + { + // Snippet: DeleteIssueModelAsync(DeleteIssueModelRequest, CallSettings) + // Additional: DeleteIssueModelAsync(DeleteIssueModelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteIssueModelRequest request = new DeleteIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = await contactCenterInsightsClient.DeleteIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteIssueModel + public void DeleteIssueModel() + { + // Snippet: DeleteIssueModel(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = contactCenterInsightsClient.DeleteIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeleteIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteIssueModelAsync + public async Task DeleteIssueModelAsync() + { + // Snippet: DeleteIssueModelAsync(string, CallSettings) + // Additional: DeleteIssueModelAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = await contactCenterInsightsClient.DeleteIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteIssueModel + public void DeleteIssueModelResourceNames() + { + // Snippet: DeleteIssueModel(IssueModelName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = contactCenterInsightsClient.DeleteIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeleteIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteIssueModelAsync + public async Task DeleteIssueModelResourceNamesAsync() + { + // Snippet: DeleteIssueModelAsync(IssueModelName, CallSettings) + // Additional: DeleteIssueModelAsync(IssueModelName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = await contactCenterInsightsClient.DeleteIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeleteIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeployIssueModel + public void DeployIssueModelRequestObject() + { + // Snippet: DeployIssueModel(DeployIssueModelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeployIssueModelRequest request = new DeployIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = contactCenterInsightsClient.DeployIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeployIssueModelAsync + public async Task DeployIssueModelRequestObjectAsync() + { + // Snippet: DeployIssueModelAsync(DeployIssueModelRequest, CallSettings) + // Additional: DeployIssueModelAsync(DeployIssueModelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeployIssueModelRequest request = new DeployIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = await contactCenterInsightsClient.DeployIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeployIssueModel + public void DeployIssueModel() + { + // Snippet: DeployIssueModel(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = contactCenterInsightsClient.DeployIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeployIssueModelAsync + public async Task DeployIssueModelAsync() + { + // Snippet: DeployIssueModelAsync(string, CallSettings) + // Additional: DeployIssueModelAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = await contactCenterInsightsClient.DeployIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeployIssueModel + public void DeployIssueModelResourceNames() + { + // Snippet: DeployIssueModel(IssueModelName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = contactCenterInsightsClient.DeployIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceDeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeployIssueModelAsync + public async Task DeployIssueModelResourceNamesAsync() + { + // Snippet: DeployIssueModelAsync(IssueModelName, CallSettings) + // Additional: DeployIssueModelAsync(IssueModelName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = await contactCenterInsightsClient.DeployIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + DeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceDeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + DeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UndeployIssueModel + public void UndeployIssueModelRequestObject() + { + // Snippet: UndeployIssueModel(UndeployIssueModelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UndeployIssueModelRequest request = new UndeployIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = contactCenterInsightsClient.UndeployIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceUndeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UndeployIssueModelAsync + public async Task UndeployIssueModelRequestObjectAsync() + { + // Snippet: UndeployIssueModelAsync(UndeployIssueModelRequest, CallSettings) + // Additional: UndeployIssueModelAsync(UndeployIssueModelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UndeployIssueModelRequest request = new UndeployIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + Operation response = await contactCenterInsightsClient.UndeployIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UndeployIssueModel + public void UndeployIssueModel() + { + // Snippet: UndeployIssueModel(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = contactCenterInsightsClient.UndeployIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceUndeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UndeployIssueModelAsync + public async Task UndeployIssueModelAsync() + { + // Snippet: UndeployIssueModelAsync(string, CallSettings) + // Additional: UndeployIssueModelAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = await contactCenterInsightsClient.UndeployIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UndeployIssueModel + public void UndeployIssueModelResourceNames() + { + // Snippet: UndeployIssueModel(IssueModelName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = contactCenterInsightsClient.UndeployIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceUndeployIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UndeployIssueModelAsync + public async Task UndeployIssueModelResourceNamesAsync() + { + // Snippet: UndeployIssueModelAsync(IssueModelName, CallSettings) + // Additional: UndeployIssueModelAsync(IssueModelName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = await contactCenterInsightsClient.UndeployIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + UndeployIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceUndeployIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + UndeployIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportIssueModel + public void ExportIssueModelRequestObject() + { + // Snippet: ExportIssueModel(ExportIssueModelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ExportIssueModelRequest request = new ExportIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + GcsDestination = new ExportIssueModelRequest.Types.GcsDestination(), + }; + // Make the request + Operation response = contactCenterInsightsClient.ExportIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportIssueModelAsync + public async Task ExportIssueModelRequestObjectAsync() + { + // Snippet: ExportIssueModelAsync(ExportIssueModelRequest, CallSettings) + // Additional: ExportIssueModelAsync(ExportIssueModelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ExportIssueModelRequest request = new ExportIssueModelRequest + { + IssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + GcsDestination = new ExportIssueModelRequest.Types.GcsDestination(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.ExportIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportIssueModel + public void ExportIssueModel() + { + // Snippet: ExportIssueModel(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = contactCenterInsightsClient.ExportIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportIssueModelAsync + public async Task ExportIssueModelAsync() + { + // Snippet: ExportIssueModelAsync(string, CallSettings) + // Additional: ExportIssueModelAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + Operation response = await contactCenterInsightsClient.ExportIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportIssueModel + public void ExportIssueModelResourceNames() + { + // Snippet: ExportIssueModel(IssueModelName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = contactCenterInsightsClient.ExportIssueModel(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceExportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ExportIssueModelAsync + public async Task ExportIssueModelResourceNamesAsync() + { + // Snippet: ExportIssueModelAsync(IssueModelName, CallSettings) + // Additional: ExportIssueModelAsync(IssueModelName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName name = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + Operation response = await contactCenterInsightsClient.ExportIssueModelAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ExportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceExportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ExportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ImportIssueModel + public void ImportIssueModelRequestObject() + { + // Snippet: ImportIssueModel(ImportIssueModelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ImportIssueModelRequest request = new ImportIssueModelRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new ImportIssueModelRequest.Types.GcsSource(), + CreateNewModel = false, + }; + // Make the request + Operation response = contactCenterInsightsClient.ImportIssueModel(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceImportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ImportIssueModelAsync + public async Task ImportIssueModelRequestObjectAsync() + { + // Snippet: ImportIssueModelAsync(ImportIssueModelRequest, CallSettings) + // Additional: ImportIssueModelAsync(ImportIssueModelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ImportIssueModelRequest request = new ImportIssueModelRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new ImportIssueModelRequest.Types.GcsSource(), + CreateNewModel = false, + }; + // Make the request + Operation response = await contactCenterInsightsClient.ImportIssueModelAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ImportIssueModel + public void ImportIssueModel() + { + // Snippet: ImportIssueModel(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = contactCenterInsightsClient.ImportIssueModel(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceImportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ImportIssueModelAsync + public async Task ImportIssueModelAsync() + { + // Snippet: ImportIssueModelAsync(string, CallSettings) + // Additional: ImportIssueModelAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = await contactCenterInsightsClient.ImportIssueModelAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ImportIssueModel + public void ImportIssueModelResourceNames() + { + // Snippet: ImportIssueModel(LocationName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = contactCenterInsightsClient.ImportIssueModel(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceImportIssueModel(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ImportIssueModelAsync + public async Task ImportIssueModelResourceNamesAsync() + { + // Snippet: ImportIssueModelAsync(LocationName, CallSettings) + // Additional: ImportIssueModelAsync(LocationName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await contactCenterInsightsClient.ImportIssueModelAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ImportIssueModelResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceImportIssueModelAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIssueModelResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for GetIssue + public void GetIssueRequestObject() + { + // Snippet: GetIssue(GetIssueRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetIssueRequest request = new GetIssueRequest + { + IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"), + }; + // Make the request + Issue response = contactCenterInsightsClient.GetIssue(request); + // End snippet + } + + /// Snippet for GetIssueAsync + public async Task GetIssueRequestObjectAsync() + { + // Snippet: GetIssueAsync(GetIssueRequest, CallSettings) + // Additional: GetIssueAsync(GetIssueRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetIssueRequest request = new GetIssueRequest + { + IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"), + }; + // Make the request + Issue response = await contactCenterInsightsClient.GetIssueAsync(request); + // End snippet + } + + /// Snippet for GetIssue + public void GetIssue() + { + // Snippet: GetIssue(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]"; + // Make the request + Issue response = contactCenterInsightsClient.GetIssue(name); + // End snippet + } + + /// Snippet for GetIssueAsync + public async Task GetIssueAsync() + { + // Snippet: GetIssueAsync(string, CallSettings) + // Additional: GetIssueAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]"; + // Make the request + Issue response = await contactCenterInsightsClient.GetIssueAsync(name); + // End snippet + } + + /// Snippet for GetIssue + public void GetIssueResourceNames() + { + // Snippet: GetIssue(IssueName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); + // Make the request + Issue response = contactCenterInsightsClient.GetIssue(name); + // End snippet + } + + /// Snippet for GetIssueAsync + public async Task GetIssueResourceNamesAsync() + { + // Snippet: GetIssueAsync(IssueName, CallSettings) + // Additional: GetIssueAsync(IssueName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); + // Make the request + Issue response = await contactCenterInsightsClient.GetIssueAsync(name); + // End snippet + } + + /// Snippet for ListIssues + public void ListIssuesRequestObject() + { + // Snippet: ListIssues(ListIssuesRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListIssuesRequest request = new ListIssuesRequest + { + ParentAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + ListIssuesResponse response = contactCenterInsightsClient.ListIssues(request); + // End snippet + } + + /// Snippet for ListIssuesAsync + public async Task ListIssuesRequestObjectAsync() + { + // Snippet: ListIssuesAsync(ListIssuesRequest, CallSettings) + // Additional: ListIssuesAsync(ListIssuesRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListIssuesRequest request = new ListIssuesRequest + { + ParentAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(request); + // End snippet + } + + /// Snippet for ListIssues + public void ListIssues() + { + // Snippet: ListIssues(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + ListIssuesResponse response = contactCenterInsightsClient.ListIssues(parent); + // End snippet + } + + /// Snippet for ListIssuesAsync + public async Task ListIssuesAsync() + { + // Snippet: ListIssuesAsync(string, CallSettings) + // Additional: ListIssuesAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(parent); + // End snippet + } + + /// Snippet for ListIssues + public void ListIssuesResourceNames() + { + // Snippet: ListIssues(IssueModelName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName parent = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + ListIssuesResponse response = contactCenterInsightsClient.ListIssues(parent); + // End snippet + } + + /// Snippet for ListIssuesAsync + public async Task ListIssuesResourceNamesAsync() + { + // Snippet: ListIssuesAsync(IssueModelName, CallSettings) + // Additional: ListIssuesAsync(IssueModelName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName parent = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + ListIssuesResponse response = await contactCenterInsightsClient.ListIssuesAsync(parent); + // End snippet + } + + /// Snippet for UpdateIssue + public void UpdateIssueRequestObject() + { + // Snippet: UpdateIssue(UpdateIssueRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateIssueRequest request = new UpdateIssueRequest + { + Issue = new Issue(), + UpdateMask = new FieldMask(), + }; + // Make the request + Issue response = contactCenterInsightsClient.UpdateIssue(request); + // End snippet + } + + /// Snippet for UpdateIssueAsync + public async Task UpdateIssueRequestObjectAsync() + { + // Snippet: UpdateIssueAsync(UpdateIssueRequest, CallSettings) + // Additional: UpdateIssueAsync(UpdateIssueRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateIssueRequest request = new UpdateIssueRequest + { + Issue = new Issue(), + UpdateMask = new FieldMask(), + }; + // Make the request + Issue response = await contactCenterInsightsClient.UpdateIssueAsync(request); + // End snippet + } + + /// Snippet for UpdateIssue + public void UpdateIssue() + { + // Snippet: UpdateIssue(Issue, FieldMask, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + Issue issue = new Issue(); + FieldMask updateMask = new FieldMask(); + // Make the request + Issue response = contactCenterInsightsClient.UpdateIssue(issue, updateMask); + // End snippet + } + + /// Snippet for UpdateIssueAsync + public async Task UpdateIssueAsync() + { + // Snippet: UpdateIssueAsync(Issue, FieldMask, CallSettings) + // Additional: UpdateIssueAsync(Issue, FieldMask, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + Issue issue = new Issue(); + FieldMask updateMask = new FieldMask(); + // Make the request + Issue response = await contactCenterInsightsClient.UpdateIssueAsync(issue, updateMask); + // End snippet + } + + /// Snippet for DeleteIssue + public void DeleteIssueRequestObject() + { + // Snippet: DeleteIssue(DeleteIssueRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteIssueRequest request = new DeleteIssueRequest + { + IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"), + }; + // Make the request + contactCenterInsightsClient.DeleteIssue(request); + // End snippet + } + + /// Snippet for DeleteIssueAsync + public async Task DeleteIssueRequestObjectAsync() + { + // Snippet: DeleteIssueAsync(DeleteIssueRequest, CallSettings) + // Additional: DeleteIssueAsync(DeleteIssueRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteIssueRequest request = new DeleteIssueRequest + { + IssueName = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteIssueAsync(request); + // End snippet + } + + /// Snippet for DeleteIssue + public void DeleteIssue() + { + // Snippet: DeleteIssue(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]"; + // Make the request + contactCenterInsightsClient.DeleteIssue(name); + // End snippet + } + + /// Snippet for DeleteIssueAsync + public async Task DeleteIssueAsync() + { + // Snippet: DeleteIssueAsync(string, CallSettings) + // Additional: DeleteIssueAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]/issues/[ISSUE]"; + // Make the request + await contactCenterInsightsClient.DeleteIssueAsync(name); + // End snippet + } + + /// Snippet for DeleteIssue + public void DeleteIssueResourceNames() + { + // Snippet: DeleteIssue(IssueName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); + // Make the request + contactCenterInsightsClient.DeleteIssue(name); + // End snippet + } + + /// Snippet for DeleteIssueAsync + public async Task DeleteIssueResourceNamesAsync() + { + // Snippet: DeleteIssueAsync(IssueName, CallSettings) + // Additional: DeleteIssueAsync(IssueName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueName name = IssueName.FromProjectLocationIssueModelIssue("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); + // Make the request + await contactCenterInsightsClient.DeleteIssueAsync(name); + // End snippet + } + + /// Snippet for CalculateIssueModelStats + public void CalculateIssueModelStatsRequestObject() + { + // Snippet: CalculateIssueModelStats(CalculateIssueModelStatsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CalculateIssueModelStatsRequest request = new CalculateIssueModelStatsRequest + { + IssueModelAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + CalculateIssueModelStatsResponse response = contactCenterInsightsClient.CalculateIssueModelStats(request); + // End snippet + } + + /// Snippet for CalculateIssueModelStatsAsync + public async Task CalculateIssueModelStatsRequestObjectAsync() + { + // Snippet: CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest, CallSettings) + // Additional: CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CalculateIssueModelStatsRequest request = new CalculateIssueModelStatsRequest + { + IssueModelAsIssueModelName = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"), + }; + // Make the request + CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(request); + // End snippet + } + + /// Snippet for CalculateIssueModelStats + public void CalculateIssueModelStats() + { + // Snippet: CalculateIssueModelStats(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string issueModel = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + CalculateIssueModelStatsResponse response = contactCenterInsightsClient.CalculateIssueModelStats(issueModel); + // End snippet + } + + /// Snippet for CalculateIssueModelStatsAsync + public async Task CalculateIssueModelStatsAsync() + { + // Snippet: CalculateIssueModelStatsAsync(string, CallSettings) + // Additional: CalculateIssueModelStatsAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string issueModel = "projects/[PROJECT]/locations/[LOCATION]/issueModels/[ISSUE_MODEL]"; + // Make the request + CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(issueModel); + // End snippet + } + + /// Snippet for CalculateIssueModelStats + public void CalculateIssueModelStatsResourceNames() + { + // Snippet: CalculateIssueModelStats(IssueModelName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + IssueModelName issueModel = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + CalculateIssueModelStatsResponse response = contactCenterInsightsClient.CalculateIssueModelStats(issueModel); + // End snippet + } + + /// Snippet for CalculateIssueModelStatsAsync + public async Task CalculateIssueModelStatsResourceNamesAsync() + { + // Snippet: CalculateIssueModelStatsAsync(IssueModelName, CallSettings) + // Additional: CalculateIssueModelStatsAsync(IssueModelName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + IssueModelName issueModel = IssueModelName.FromProjectLocationIssueModel("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + // Make the request + CalculateIssueModelStatsResponse response = await contactCenterInsightsClient.CalculateIssueModelStatsAsync(issueModel); + // End snippet + } + + /// Snippet for CreatePhraseMatcher + public void CreatePhraseMatcherRequestObject() + { + // Snippet: CreatePhraseMatcher(CreatePhraseMatcherRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreatePhraseMatcherRequest request = new CreatePhraseMatcherRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + PhraseMatcher = new PhraseMatcher(), + }; + // Make the request + PhraseMatcher response = contactCenterInsightsClient.CreatePhraseMatcher(request); + // End snippet + } + + /// Snippet for CreatePhraseMatcherAsync + public async Task CreatePhraseMatcherRequestObjectAsync() + { + // Snippet: CreatePhraseMatcherAsync(CreatePhraseMatcherRequest, CallSettings) + // Additional: CreatePhraseMatcherAsync(CreatePhraseMatcherRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreatePhraseMatcherRequest request = new CreatePhraseMatcherRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + PhraseMatcher = new PhraseMatcher(), + }; + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(request); + // End snippet + } + + /// Snippet for CreatePhraseMatcher + public void CreatePhraseMatcher() + { + // Snippet: CreatePhraseMatcher(string, PhraseMatcher, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + PhraseMatcher phraseMatcher = new PhraseMatcher(); + // Make the request + PhraseMatcher response = contactCenterInsightsClient.CreatePhraseMatcher(parent, phraseMatcher); + // End snippet + } + + /// Snippet for CreatePhraseMatcherAsync + public async Task CreatePhraseMatcherAsync() + { + // Snippet: CreatePhraseMatcherAsync(string, PhraseMatcher, CallSettings) + // Additional: CreatePhraseMatcherAsync(string, PhraseMatcher, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + PhraseMatcher phraseMatcher = new PhraseMatcher(); + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(parent, phraseMatcher); + // End snippet + } + + /// Snippet for CreatePhraseMatcher + public void CreatePhraseMatcherResourceNames() + { + // Snippet: CreatePhraseMatcher(LocationName, PhraseMatcher, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + PhraseMatcher phraseMatcher = new PhraseMatcher(); + // Make the request + PhraseMatcher response = contactCenterInsightsClient.CreatePhraseMatcher(parent, phraseMatcher); + // End snippet + } + + /// Snippet for CreatePhraseMatcherAsync + public async Task CreatePhraseMatcherResourceNamesAsync() + { + // Snippet: CreatePhraseMatcherAsync(LocationName, PhraseMatcher, CallSettings) + // Additional: CreatePhraseMatcherAsync(LocationName, PhraseMatcher, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + PhraseMatcher phraseMatcher = new PhraseMatcher(); + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.CreatePhraseMatcherAsync(parent, phraseMatcher); + // End snippet + } + + /// Snippet for GetPhraseMatcher + public void GetPhraseMatcherRequestObject() + { + // Snippet: GetPhraseMatcher(GetPhraseMatcherRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetPhraseMatcherRequest request = new GetPhraseMatcherRequest + { + PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"), + }; + // Make the request + PhraseMatcher response = contactCenterInsightsClient.GetPhraseMatcher(request); + // End snippet + } + + /// Snippet for GetPhraseMatcherAsync + public async Task GetPhraseMatcherRequestObjectAsync() + { + // Snippet: GetPhraseMatcherAsync(GetPhraseMatcherRequest, CallSettings) + // Additional: GetPhraseMatcherAsync(GetPhraseMatcherRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetPhraseMatcherRequest request = new GetPhraseMatcherRequest + { + PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"), + }; + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(request); + // End snippet + } + + /// Snippet for GetPhraseMatcher + public void GetPhraseMatcher() + { + // Snippet: GetPhraseMatcher(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]"; + // Make the request + PhraseMatcher response = contactCenterInsightsClient.GetPhraseMatcher(name); + // End snippet + } + + /// Snippet for GetPhraseMatcherAsync + public async Task GetPhraseMatcherAsync() + { + // Snippet: GetPhraseMatcherAsync(string, CallSettings) + // Additional: GetPhraseMatcherAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]"; + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(name); + // End snippet + } + + /// Snippet for GetPhraseMatcher + public void GetPhraseMatcherResourceNames() + { + // Snippet: GetPhraseMatcher(PhraseMatcherName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + // Make the request + PhraseMatcher response = contactCenterInsightsClient.GetPhraseMatcher(name); + // End snippet + } + + /// Snippet for GetPhraseMatcherAsync + public async Task GetPhraseMatcherResourceNamesAsync() + { + // Snippet: GetPhraseMatcherAsync(PhraseMatcherName, CallSettings) + // Additional: GetPhraseMatcherAsync(PhraseMatcherName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.GetPhraseMatcherAsync(name); + // End snippet + } + + /// Snippet for ListPhraseMatchers + public void ListPhraseMatchersRequestObject() + { + // Snippet: ListPhraseMatchers(ListPhraseMatchersRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListPhraseMatchersRequest request = new ListPhraseMatchersRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListPhraseMatchers(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (PhraseMatcher item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListPhraseMatchersResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListPhraseMatchersAsync + public async Task ListPhraseMatchersRequestObjectAsync() + { + // Snippet: ListPhraseMatchersAsync(ListPhraseMatchersRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListPhraseMatchersRequest request = new ListPhraseMatchersRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListPhraseMatchersAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((PhraseMatcher item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListPhraseMatchersResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListPhraseMatchers + public void ListPhraseMatchers() + { + // Snippet: ListPhraseMatchers(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListPhraseMatchers(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (PhraseMatcher item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListPhraseMatchersResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListPhraseMatchersAsync + public async Task ListPhraseMatchersAsync() + { + // Snippet: ListPhraseMatchersAsync(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListPhraseMatchersAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((PhraseMatcher item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListPhraseMatchersResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListPhraseMatchers + public void ListPhraseMatchersResourceNames() + { + // Snippet: ListPhraseMatchers(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListPhraseMatchers(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (PhraseMatcher item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListPhraseMatchersResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListPhraseMatchersAsync + public async Task ListPhraseMatchersResourceNamesAsync() + { + // Snippet: ListPhraseMatchersAsync(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListPhraseMatchersAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((PhraseMatcher item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListPhraseMatchersResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (PhraseMatcher item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (PhraseMatcher item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for DeletePhraseMatcher + public void DeletePhraseMatcherRequestObject() + { + // Snippet: DeletePhraseMatcher(DeletePhraseMatcherRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeletePhraseMatcherRequest request = new DeletePhraseMatcherRequest + { + PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"), + }; + // Make the request + contactCenterInsightsClient.DeletePhraseMatcher(request); + // End snippet + } + + /// Snippet for DeletePhraseMatcherAsync + public async Task DeletePhraseMatcherRequestObjectAsync() + { + // Snippet: DeletePhraseMatcherAsync(DeletePhraseMatcherRequest, CallSettings) + // Additional: DeletePhraseMatcherAsync(DeletePhraseMatcherRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeletePhraseMatcherRequest request = new DeletePhraseMatcherRequest + { + PhraseMatcherName = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"), + }; + // Make the request + await contactCenterInsightsClient.DeletePhraseMatcherAsync(request); + // End snippet + } + + /// Snippet for DeletePhraseMatcher + public void DeletePhraseMatcher() + { + // Snippet: DeletePhraseMatcher(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]"; + // Make the request + contactCenterInsightsClient.DeletePhraseMatcher(name); + // End snippet + } + + /// Snippet for DeletePhraseMatcherAsync + public async Task DeletePhraseMatcherAsync() + { + // Snippet: DeletePhraseMatcherAsync(string, CallSettings) + // Additional: DeletePhraseMatcherAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/phraseMatchers/[PHRASE_MATCHER]"; + // Make the request + await contactCenterInsightsClient.DeletePhraseMatcherAsync(name); + // End snippet + } + + /// Snippet for DeletePhraseMatcher + public void DeletePhraseMatcherResourceNames() + { + // Snippet: DeletePhraseMatcher(PhraseMatcherName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + // Make the request + contactCenterInsightsClient.DeletePhraseMatcher(name); + // End snippet + } + + /// Snippet for DeletePhraseMatcherAsync + public async Task DeletePhraseMatcherResourceNamesAsync() + { + // Snippet: DeletePhraseMatcherAsync(PhraseMatcherName, CallSettings) + // Additional: DeletePhraseMatcherAsync(PhraseMatcherName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + PhraseMatcherName name = PhraseMatcherName.FromProjectLocationPhraseMatcher("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + // Make the request + await contactCenterInsightsClient.DeletePhraseMatcherAsync(name); + // End snippet + } + + /// Snippet for UpdatePhraseMatcher + public void UpdatePhraseMatcherRequestObject() + { + // Snippet: UpdatePhraseMatcher(UpdatePhraseMatcherRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdatePhraseMatcherRequest request = new UpdatePhraseMatcherRequest + { + PhraseMatcher = new PhraseMatcher(), + UpdateMask = new FieldMask(), + }; + // Make the request + PhraseMatcher response = contactCenterInsightsClient.UpdatePhraseMatcher(request); + // End snippet + } + + /// Snippet for UpdatePhraseMatcherAsync + public async Task UpdatePhraseMatcherRequestObjectAsync() + { + // Snippet: UpdatePhraseMatcherAsync(UpdatePhraseMatcherRequest, CallSettings) + // Additional: UpdatePhraseMatcherAsync(UpdatePhraseMatcherRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdatePhraseMatcherRequest request = new UpdatePhraseMatcherRequest + { + PhraseMatcher = new PhraseMatcher(), + UpdateMask = new FieldMask(), + }; + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.UpdatePhraseMatcherAsync(request); + // End snippet + } + + /// Snippet for UpdatePhraseMatcher + public void UpdatePhraseMatcher() + { + // Snippet: UpdatePhraseMatcher(PhraseMatcher, FieldMask, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + PhraseMatcher phraseMatcher = new PhraseMatcher(); + FieldMask updateMask = new FieldMask(); + // Make the request + PhraseMatcher response = contactCenterInsightsClient.UpdatePhraseMatcher(phraseMatcher, updateMask); + // End snippet + } + + /// Snippet for UpdatePhraseMatcherAsync + public async Task UpdatePhraseMatcherAsync() + { + // Snippet: UpdatePhraseMatcherAsync(PhraseMatcher, FieldMask, CallSettings) + // Additional: UpdatePhraseMatcherAsync(PhraseMatcher, FieldMask, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + PhraseMatcher phraseMatcher = new PhraseMatcher(); + FieldMask updateMask = new FieldMask(); + // Make the request + PhraseMatcher response = await contactCenterInsightsClient.UpdatePhraseMatcherAsync(phraseMatcher, updateMask); + // End snippet + } + + /// Snippet for CalculateStats + public void CalculateStatsRequestObject() + { + // Snippet: CalculateStats(CalculateStatsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CalculateStatsRequest request = new CalculateStatsRequest + { + LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + CalculateStatsResponse response = contactCenterInsightsClient.CalculateStats(request); + // End snippet + } + + /// Snippet for CalculateStatsAsync + public async Task CalculateStatsRequestObjectAsync() + { + // Snippet: CalculateStatsAsync(CalculateStatsRequest, CallSettings) + // Additional: CalculateStatsAsync(CalculateStatsRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CalculateStatsRequest request = new CalculateStatsRequest + { + LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(request); + // End snippet + } + + /// Snippet for CalculateStats + public void CalculateStats() + { + // Snippet: CalculateStats(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string location = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + CalculateStatsResponse response = contactCenterInsightsClient.CalculateStats(location); + // End snippet + } + + /// Snippet for CalculateStatsAsync + public async Task CalculateStatsAsync() + { + // Snippet: CalculateStatsAsync(string, CallSettings) + // Additional: CalculateStatsAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string location = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(location); + // End snippet + } + + /// Snippet for CalculateStats + public void CalculateStatsResourceNames() + { + // Snippet: CalculateStats(LocationName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + CalculateStatsResponse response = contactCenterInsightsClient.CalculateStats(location); + // End snippet + } + + /// Snippet for CalculateStatsAsync + public async Task CalculateStatsResourceNamesAsync() + { + // Snippet: CalculateStatsAsync(LocationName, CallSettings) + // Additional: CalculateStatsAsync(LocationName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + CalculateStatsResponse response = await contactCenterInsightsClient.CalculateStatsAsync(location); + // End snippet + } + + /// Snippet for GetSettings + public void GetSettingsRequestObject() + { + // Snippet: GetSettings(GetSettingsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetSettingsRequest request = new GetSettingsRequest + { + SettingsName = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + Settings response = contactCenterInsightsClient.GetSettings(request); + // End snippet + } + + /// Snippet for GetSettingsAsync + public async Task GetSettingsRequestObjectAsync() + { + // Snippet: GetSettingsAsync(GetSettingsRequest, CallSettings) + // Additional: GetSettingsAsync(GetSettingsRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetSettingsRequest request = new GetSettingsRequest + { + SettingsName = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + Settings response = await contactCenterInsightsClient.GetSettingsAsync(request); + // End snippet + } + + /// Snippet for GetSettings + public void GetSettings() + { + // Snippet: GetSettings(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/settings"; + // Make the request + Settings response = contactCenterInsightsClient.GetSettings(name); + // End snippet + } + + /// Snippet for GetSettingsAsync + public async Task GetSettingsAsync() + { + // Snippet: GetSettingsAsync(string, CallSettings) + // Additional: GetSettingsAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/settings"; + // Make the request + Settings response = await contactCenterInsightsClient.GetSettingsAsync(name); + // End snippet + } + + /// Snippet for GetSettings + public void GetSettingsResourceNames() + { + // Snippet: GetSettings(SettingsName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + SettingsName name = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Settings response = contactCenterInsightsClient.GetSettings(name); + // End snippet + } + + /// Snippet for GetSettingsAsync + public async Task GetSettingsResourceNamesAsync() + { + // Snippet: GetSettingsAsync(SettingsName, CallSettings) + // Additional: GetSettingsAsync(SettingsName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + SettingsName name = SettingsName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Settings response = await contactCenterInsightsClient.GetSettingsAsync(name); + // End snippet + } + + /// Snippet for UpdateSettings + public void UpdateSettingsRequestObject() + { + // Snippet: UpdateSettings(UpdateSettingsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateSettingsRequest request = new UpdateSettingsRequest + { + Settings = new Settings(), + UpdateMask = new FieldMask(), + }; + // Make the request + Settings response = contactCenterInsightsClient.UpdateSettings(request); + // End snippet + } + + /// Snippet for UpdateSettingsAsync + public async Task UpdateSettingsRequestObjectAsync() + { + // Snippet: UpdateSettingsAsync(UpdateSettingsRequest, CallSettings) + // Additional: UpdateSettingsAsync(UpdateSettingsRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateSettingsRequest request = new UpdateSettingsRequest + { + Settings = new Settings(), + UpdateMask = new FieldMask(), + }; + // Make the request + Settings response = await contactCenterInsightsClient.UpdateSettingsAsync(request); + // End snippet + } + + /// Snippet for UpdateSettings + public void UpdateSettings() + { + // Snippet: UpdateSettings(Settings, FieldMask, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + Settings settings = new Settings(); + FieldMask updateMask = new FieldMask(); + // Make the request + Settings response = contactCenterInsightsClient.UpdateSettings(settings, updateMask); + // End snippet + } + + /// Snippet for UpdateSettingsAsync + public async Task UpdateSettingsAsync() + { + // Snippet: UpdateSettingsAsync(Settings, FieldMask, CallSettings) + // Additional: UpdateSettingsAsync(Settings, FieldMask, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + Settings settings = new Settings(); + FieldMask updateMask = new FieldMask(); + // Make the request + Settings response = await contactCenterInsightsClient.UpdateSettingsAsync(settings, updateMask); + // End snippet + } + + /// Snippet for CreateAnalysisRule + public void CreateAnalysisRuleRequestObject() + { + // Snippet: CreateAnalysisRule(CreateAnalysisRuleRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateAnalysisRuleRequest request = new CreateAnalysisRuleRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + AnalysisRule = new AnalysisRule(), + }; + // Make the request + AnalysisRule response = contactCenterInsightsClient.CreateAnalysisRule(request); + // End snippet + } + + /// Snippet for CreateAnalysisRuleAsync + public async Task CreateAnalysisRuleRequestObjectAsync() + { + // Snippet: CreateAnalysisRuleAsync(CreateAnalysisRuleRequest, CallSettings) + // Additional: CreateAnalysisRuleAsync(CreateAnalysisRuleRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateAnalysisRuleRequest request = new CreateAnalysisRuleRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + AnalysisRule = new AnalysisRule(), + }; + // Make the request + AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(request); + // End snippet + } + + /// Snippet for CreateAnalysisRule + public void CreateAnalysisRule() + { + // Snippet: CreateAnalysisRule(string, AnalysisRule, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + AnalysisRule analysisRule = new AnalysisRule(); + // Make the request + AnalysisRule response = contactCenterInsightsClient.CreateAnalysisRule(parent, analysisRule); + // End snippet + } + + /// Snippet for CreateAnalysisRuleAsync + public async Task CreateAnalysisRuleAsync() + { + // Snippet: CreateAnalysisRuleAsync(string, AnalysisRule, CallSettings) + // Additional: CreateAnalysisRuleAsync(string, AnalysisRule, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + AnalysisRule analysisRule = new AnalysisRule(); + // Make the request + AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(parent, analysisRule); + // End snippet + } + + /// Snippet for CreateAnalysisRule + public void CreateAnalysisRuleResourceNames() + { + // Snippet: CreateAnalysisRule(LocationName, AnalysisRule, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + AnalysisRule analysisRule = new AnalysisRule(); + // Make the request + AnalysisRule response = contactCenterInsightsClient.CreateAnalysisRule(parent, analysisRule); + // End snippet + } + + /// Snippet for CreateAnalysisRuleAsync + public async Task CreateAnalysisRuleResourceNamesAsync() + { + // Snippet: CreateAnalysisRuleAsync(LocationName, AnalysisRule, CallSettings) + // Additional: CreateAnalysisRuleAsync(LocationName, AnalysisRule, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + AnalysisRule analysisRule = new AnalysisRule(); + // Make the request + AnalysisRule response = await contactCenterInsightsClient.CreateAnalysisRuleAsync(parent, analysisRule); + // End snippet + } + + /// Snippet for GetAnalysisRule + public void GetAnalysisRuleRequestObject() + { + // Snippet: GetAnalysisRule(GetAnalysisRuleRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetAnalysisRuleRequest request = new GetAnalysisRuleRequest + { + AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"), + }; + // Make the request + AnalysisRule response = contactCenterInsightsClient.GetAnalysisRule(request); + // End snippet + } + + /// Snippet for GetAnalysisRuleAsync + public async Task GetAnalysisRuleRequestObjectAsync() + { + // Snippet: GetAnalysisRuleAsync(GetAnalysisRuleRequest, CallSettings) + // Additional: GetAnalysisRuleAsync(GetAnalysisRuleRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetAnalysisRuleRequest request = new GetAnalysisRuleRequest + { + AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"), + }; + // Make the request + AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(request); + // End snippet + } + + /// Snippet for GetAnalysisRule + public void GetAnalysisRule() + { + // Snippet: GetAnalysisRule(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]"; + // Make the request + AnalysisRule response = contactCenterInsightsClient.GetAnalysisRule(name); + // End snippet + } + + /// Snippet for GetAnalysisRuleAsync + public async Task GetAnalysisRuleAsync() + { + // Snippet: GetAnalysisRuleAsync(string, CallSettings) + // Additional: GetAnalysisRuleAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]"; + // Make the request + AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(name); + // End snippet + } + + /// Snippet for GetAnalysisRule + public void GetAnalysisRuleResourceNames() + { + // Snippet: GetAnalysisRule(AnalysisRuleName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"); + // Make the request + AnalysisRule response = contactCenterInsightsClient.GetAnalysisRule(name); + // End snippet + } + + /// Snippet for GetAnalysisRuleAsync + public async Task GetAnalysisRuleResourceNamesAsync() + { + // Snippet: GetAnalysisRuleAsync(AnalysisRuleName, CallSettings) + // Additional: GetAnalysisRuleAsync(AnalysisRuleName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"); + // Make the request + AnalysisRule response = await contactCenterInsightsClient.GetAnalysisRuleAsync(name); + // End snippet + } + + /// Snippet for ListAnalysisRules + public void ListAnalysisRulesRequestObject() + { + // Snippet: ListAnalysisRules(ListAnalysisRulesRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListAnalysisRulesRequest request = new ListAnalysisRulesRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalysisRules(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (AnalysisRule item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysisRulesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAnalysisRulesAsync + public async Task ListAnalysisRulesRequestObjectAsync() + { + // Snippet: ListAnalysisRulesAsync(ListAnalysisRulesRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListAnalysisRulesRequest request = new ListAnalysisRulesRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysisRulesAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((AnalysisRule item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysisRulesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAnalysisRules + public void ListAnalysisRules() + { + // Snippet: ListAnalysisRules(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalysisRules(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (AnalysisRule item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysisRulesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAnalysisRulesAsync + public async Task ListAnalysisRulesAsync() + { + // Snippet: ListAnalysisRulesAsync(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysisRulesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((AnalysisRule item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysisRulesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAnalysisRules + public void ListAnalysisRulesResourceNames() + { + // Snippet: ListAnalysisRules(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAnalysisRules(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (AnalysisRule item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAnalysisRulesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAnalysisRulesAsync + public async Task ListAnalysisRulesResourceNamesAsync() + { + // Snippet: ListAnalysisRulesAsync(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAnalysisRulesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((AnalysisRule item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAnalysisRulesResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (AnalysisRule item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (AnalysisRule item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for UpdateAnalysisRule + public void UpdateAnalysisRuleRequestObject() + { + // Snippet: UpdateAnalysisRule(UpdateAnalysisRuleRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateAnalysisRuleRequest request = new UpdateAnalysisRuleRequest + { + AnalysisRule = new AnalysisRule(), + UpdateMask = new FieldMask(), + }; + // Make the request + AnalysisRule response = contactCenterInsightsClient.UpdateAnalysisRule(request); + // End snippet + } + + /// Snippet for UpdateAnalysisRuleAsync + public async Task UpdateAnalysisRuleRequestObjectAsync() + { + // Snippet: UpdateAnalysisRuleAsync(UpdateAnalysisRuleRequest, CallSettings) + // Additional: UpdateAnalysisRuleAsync(UpdateAnalysisRuleRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateAnalysisRuleRequest request = new UpdateAnalysisRuleRequest + { + AnalysisRule = new AnalysisRule(), + UpdateMask = new FieldMask(), + }; + // Make the request + AnalysisRule response = await contactCenterInsightsClient.UpdateAnalysisRuleAsync(request); + // End snippet + } + + /// Snippet for UpdateAnalysisRule + public void UpdateAnalysisRule() + { + // Snippet: UpdateAnalysisRule(AnalysisRule, FieldMask, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + AnalysisRule analysisRule = new AnalysisRule(); + FieldMask updateMask = new FieldMask(); + // Make the request + AnalysisRule response = contactCenterInsightsClient.UpdateAnalysisRule(analysisRule, updateMask); + // End snippet + } + + /// Snippet for UpdateAnalysisRuleAsync + public async Task UpdateAnalysisRuleAsync() + { + // Snippet: UpdateAnalysisRuleAsync(AnalysisRule, FieldMask, CallSettings) + // Additional: UpdateAnalysisRuleAsync(AnalysisRule, FieldMask, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + AnalysisRule analysisRule = new AnalysisRule(); + FieldMask updateMask = new FieldMask(); + // Make the request + AnalysisRule response = await contactCenterInsightsClient.UpdateAnalysisRuleAsync(analysisRule, updateMask); + // End snippet + } + + /// Snippet for DeleteAnalysisRule + public void DeleteAnalysisRuleRequestObject() + { + // Snippet: DeleteAnalysisRule(DeleteAnalysisRuleRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteAnalysisRuleRequest request = new DeleteAnalysisRuleRequest + { + AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"), + }; + // Make the request + contactCenterInsightsClient.DeleteAnalysisRule(request); + // End snippet + } + + /// Snippet for DeleteAnalysisRuleAsync + public async Task DeleteAnalysisRuleRequestObjectAsync() + { + // Snippet: DeleteAnalysisRuleAsync(DeleteAnalysisRuleRequest, CallSettings) + // Additional: DeleteAnalysisRuleAsync(DeleteAnalysisRuleRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteAnalysisRuleRequest request = new DeleteAnalysisRuleRequest + { + AnalysisRuleName = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteAnalysisRuleAsync(request); + // End snippet + } + + /// Snippet for DeleteAnalysisRule + public void DeleteAnalysisRule() + { + // Snippet: DeleteAnalysisRule(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]"; + // Make the request + contactCenterInsightsClient.DeleteAnalysisRule(name); + // End snippet + } + + /// Snippet for DeleteAnalysisRuleAsync + public async Task DeleteAnalysisRuleAsync() + { + // Snippet: DeleteAnalysisRuleAsync(string, CallSettings) + // Additional: DeleteAnalysisRuleAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/analysisRules/[ANALYSIS_RULE]"; + // Make the request + await contactCenterInsightsClient.DeleteAnalysisRuleAsync(name); + // End snippet + } + + /// Snippet for DeleteAnalysisRule + public void DeleteAnalysisRuleResourceNames() + { + // Snippet: DeleteAnalysisRule(AnalysisRuleName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"); + // Make the request + contactCenterInsightsClient.DeleteAnalysisRule(name); + // End snippet + } + + /// Snippet for DeleteAnalysisRuleAsync + public async Task DeleteAnalysisRuleResourceNamesAsync() + { + // Snippet: DeleteAnalysisRuleAsync(AnalysisRuleName, CallSettings) + // Additional: DeleteAnalysisRuleAsync(AnalysisRuleName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + AnalysisRuleName name = AnalysisRuleName.FromProjectLocationAnalysisRule("[PROJECT]", "[LOCATION]", "[ANALYSIS_RULE]"); + // Make the request + await contactCenterInsightsClient.DeleteAnalysisRuleAsync(name); + // End snippet + } + + /// Snippet for GetEncryptionSpec + public void GetEncryptionSpecRequestObject() + { + // Snippet: GetEncryptionSpec(GetEncryptionSpecRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetEncryptionSpecRequest request = new GetEncryptionSpecRequest + { + EncryptionSpecName = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + EncryptionSpec response = contactCenterInsightsClient.GetEncryptionSpec(request); + // End snippet + } + + /// Snippet for GetEncryptionSpecAsync + public async Task GetEncryptionSpecRequestObjectAsync() + { + // Snippet: GetEncryptionSpecAsync(GetEncryptionSpecRequest, CallSettings) + // Additional: GetEncryptionSpecAsync(GetEncryptionSpecRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetEncryptionSpecRequest request = new GetEncryptionSpecRequest + { + EncryptionSpecName = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(request); + // End snippet + } + + /// Snippet for GetEncryptionSpec + public void GetEncryptionSpec() + { + // Snippet: GetEncryptionSpec(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/encryptionSpec"; + // Make the request + EncryptionSpec response = contactCenterInsightsClient.GetEncryptionSpec(name); + // End snippet + } + + /// Snippet for GetEncryptionSpecAsync + public async Task GetEncryptionSpecAsync() + { + // Snippet: GetEncryptionSpecAsync(string, CallSettings) + // Additional: GetEncryptionSpecAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/encryptionSpec"; + // Make the request + EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(name); + // End snippet + } + + /// Snippet for GetEncryptionSpec + public void GetEncryptionSpecResourceNames() + { + // Snippet: GetEncryptionSpec(EncryptionSpecName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + EncryptionSpecName name = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + EncryptionSpec response = contactCenterInsightsClient.GetEncryptionSpec(name); + // End snippet + } + + /// Snippet for GetEncryptionSpecAsync + public async Task GetEncryptionSpecResourceNamesAsync() + { + // Snippet: GetEncryptionSpecAsync(EncryptionSpecName, CallSettings) + // Additional: GetEncryptionSpecAsync(EncryptionSpecName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + EncryptionSpecName name = EncryptionSpecName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + EncryptionSpec response = await contactCenterInsightsClient.GetEncryptionSpecAsync(name); + // End snippet + } + + /// Snippet for InitializeEncryptionSpec + public void InitializeEncryptionSpecRequestObject() + { + // Snippet: InitializeEncryptionSpec(InitializeEncryptionSpecRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + InitializeEncryptionSpecRequest request = new InitializeEncryptionSpecRequest + { + EncryptionSpec = new EncryptionSpec(), + }; + // Make the request + Operation response = contactCenterInsightsClient.InitializeEncryptionSpec(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + InitializeEncryptionSpecResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceInitializeEncryptionSpec(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for InitializeEncryptionSpecAsync + public async Task InitializeEncryptionSpecRequestObjectAsync() + { + // Snippet: InitializeEncryptionSpecAsync(InitializeEncryptionSpecRequest, CallSettings) + // Additional: InitializeEncryptionSpecAsync(InitializeEncryptionSpecRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + InitializeEncryptionSpecRequest request = new InitializeEncryptionSpecRequest + { + EncryptionSpec = new EncryptionSpec(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.InitializeEncryptionSpecAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + InitializeEncryptionSpecResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceInitializeEncryptionSpecAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for InitializeEncryptionSpec + public void InitializeEncryptionSpec() + { + // Snippet: InitializeEncryptionSpec(EncryptionSpec, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + EncryptionSpec encryptionSpec = new EncryptionSpec(); + // Make the request + Operation response = contactCenterInsightsClient.InitializeEncryptionSpec(encryptionSpec); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + InitializeEncryptionSpecResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceInitializeEncryptionSpec(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for InitializeEncryptionSpecAsync + public async Task InitializeEncryptionSpecAsync() + { + // Snippet: InitializeEncryptionSpecAsync(EncryptionSpec, CallSettings) + // Additional: InitializeEncryptionSpecAsync(EncryptionSpec, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + EncryptionSpec encryptionSpec = new EncryptionSpec(); + // Make the request + Operation response = await contactCenterInsightsClient.InitializeEncryptionSpecAsync(encryptionSpec); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + InitializeEncryptionSpecResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceInitializeEncryptionSpecAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + InitializeEncryptionSpecResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateView + public void CreateViewRequestObject() + { + // Snippet: CreateView(CreateViewRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateViewRequest request = new CreateViewRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + View = new View(), + }; + // Make the request + View response = contactCenterInsightsClient.CreateView(request); + // End snippet + } + + /// Snippet for CreateViewAsync + public async Task CreateViewRequestObjectAsync() + { + // Snippet: CreateViewAsync(CreateViewRequest, CallSettings) + // Additional: CreateViewAsync(CreateViewRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateViewRequest request = new CreateViewRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + View = new View(), + }; + // Make the request + View response = await contactCenterInsightsClient.CreateViewAsync(request); + // End snippet + } + + /// Snippet for CreateView + public void CreateView() + { + // Snippet: CreateView(string, View, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + View view = new View(); + // Make the request + View response = contactCenterInsightsClient.CreateView(parent, view); + // End snippet + } + + /// Snippet for CreateViewAsync + public async Task CreateViewAsync() + { + // Snippet: CreateViewAsync(string, View, CallSettings) + // Additional: CreateViewAsync(string, View, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + View view = new View(); + // Make the request + View response = await contactCenterInsightsClient.CreateViewAsync(parent, view); + // End snippet + } + + /// Snippet for CreateView + public void CreateViewResourceNames() + { + // Snippet: CreateView(LocationName, View, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + View view = new View(); + // Make the request + View response = contactCenterInsightsClient.CreateView(parent, view); + // End snippet + } + + /// Snippet for CreateViewAsync + public async Task CreateViewResourceNamesAsync() + { + // Snippet: CreateViewAsync(LocationName, View, CallSettings) + // Additional: CreateViewAsync(LocationName, View, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + View view = new View(); + // Make the request + View response = await contactCenterInsightsClient.CreateViewAsync(parent, view); + // End snippet + } + + /// Snippet for GetView + public void GetViewRequestObject() + { + // Snippet: GetView(GetViewRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetViewRequest request = new GetViewRequest + { + ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"), + }; + // Make the request + View response = contactCenterInsightsClient.GetView(request); + // End snippet + } + + /// Snippet for GetViewAsync + public async Task GetViewRequestObjectAsync() + { + // Snippet: GetViewAsync(GetViewRequest, CallSettings) + // Additional: GetViewAsync(GetViewRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetViewRequest request = new GetViewRequest + { + ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"), + }; + // Make the request + View response = await contactCenterInsightsClient.GetViewAsync(request); + // End snippet + } + + /// Snippet for GetView + public void GetView() + { + // Snippet: GetView(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]"; + // Make the request + View response = contactCenterInsightsClient.GetView(name); + // End snippet + } + + /// Snippet for GetViewAsync + public async Task GetViewAsync() + { + // Snippet: GetViewAsync(string, CallSettings) + // Additional: GetViewAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]"; + // Make the request + View response = await contactCenterInsightsClient.GetViewAsync(name); + // End snippet + } + + /// Snippet for GetView + public void GetViewResourceNames() + { + // Snippet: GetView(ViewName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"); + // Make the request + View response = contactCenterInsightsClient.GetView(name); + // End snippet + } + + /// Snippet for GetViewAsync + public async Task GetViewResourceNamesAsync() + { + // Snippet: GetViewAsync(ViewName, CallSettings) + // Additional: GetViewAsync(ViewName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"); + // Make the request + View response = await contactCenterInsightsClient.GetViewAsync(name); + // End snippet + } + + /// Snippet for ListViews + public void ListViewsRequestObject() + { + // Snippet: ListViews(ListViewsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListViewsRequest request = new ListViewsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListViews(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (View item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListViewsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListViewsAsync + public async Task ListViewsRequestObjectAsync() + { + // Snippet: ListViewsAsync(ListViewsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListViewsRequest request = new ListViewsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListViewsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((View item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListViewsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListViews + public void ListViews() + { + // Snippet: ListViews(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListViews(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (View item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListViewsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListViewsAsync + public async Task ListViewsAsync() + { + // Snippet: ListViewsAsync(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListViewsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((View item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListViewsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListViews + public void ListViewsResourceNames() + { + // Snippet: ListViews(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListViews(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (View item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListViewsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListViewsAsync + public async Task ListViewsResourceNamesAsync() + { + // Snippet: ListViewsAsync(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListViewsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((View item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListViewsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (View item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (View item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for UpdateView + public void UpdateViewRequestObject() + { + // Snippet: UpdateView(UpdateViewRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateViewRequest request = new UpdateViewRequest + { + View = new View(), + UpdateMask = new FieldMask(), + }; + // Make the request + View response = contactCenterInsightsClient.UpdateView(request); + // End snippet + } + + /// Snippet for UpdateViewAsync + public async Task UpdateViewRequestObjectAsync() + { + // Snippet: UpdateViewAsync(UpdateViewRequest, CallSettings) + // Additional: UpdateViewAsync(UpdateViewRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateViewRequest request = new UpdateViewRequest + { + View = new View(), + UpdateMask = new FieldMask(), + }; + // Make the request + View response = await contactCenterInsightsClient.UpdateViewAsync(request); + // End snippet + } + + /// Snippet for UpdateView + public void UpdateView() + { + // Snippet: UpdateView(View, FieldMask, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + View view = new View(); + FieldMask updateMask = new FieldMask(); + // Make the request + View response = contactCenterInsightsClient.UpdateView(view, updateMask); + // End snippet + } + + /// Snippet for UpdateViewAsync + public async Task UpdateViewAsync() + { + // Snippet: UpdateViewAsync(View, FieldMask, CallSettings) + // Additional: UpdateViewAsync(View, FieldMask, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + View view = new View(); + FieldMask updateMask = new FieldMask(); + // Make the request + View response = await contactCenterInsightsClient.UpdateViewAsync(view, updateMask); + // End snippet + } + + /// Snippet for DeleteView + public void DeleteViewRequestObject() + { + // Snippet: DeleteView(DeleteViewRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteViewRequest request = new DeleteViewRequest + { + ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"), + }; + // Make the request + contactCenterInsightsClient.DeleteView(request); + // End snippet + } + + /// Snippet for DeleteViewAsync + public async Task DeleteViewRequestObjectAsync() + { + // Snippet: DeleteViewAsync(DeleteViewRequest, CallSettings) + // Additional: DeleteViewAsync(DeleteViewRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteViewRequest request = new DeleteViewRequest + { + ViewName = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteViewAsync(request); + // End snippet + } + + /// Snippet for DeleteView + public void DeleteView() + { + // Snippet: DeleteView(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]"; + // Make the request + contactCenterInsightsClient.DeleteView(name); + // End snippet + } + + /// Snippet for DeleteViewAsync + public async Task DeleteViewAsync() + { + // Snippet: DeleteViewAsync(string, CallSettings) + // Additional: DeleteViewAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/views/[VIEW]"; + // Make the request + await contactCenterInsightsClient.DeleteViewAsync(name); + // End snippet + } + + /// Snippet for DeleteView + public void DeleteViewResourceNames() + { + // Snippet: DeleteView(ViewName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"); + // Make the request + contactCenterInsightsClient.DeleteView(name); + // End snippet + } + + /// Snippet for DeleteViewAsync + public async Task DeleteViewResourceNamesAsync() + { + // Snippet: DeleteViewAsync(ViewName, CallSettings) + // Additional: DeleteViewAsync(ViewName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ViewName name = ViewName.FromProjectLocationView("[PROJECT]", "[LOCATION]", "[VIEW]"); + // Make the request + await contactCenterInsightsClient.DeleteViewAsync(name); + // End snippet + } + + /// Snippet for QueryMetrics + public void QueryMetricsRequestObject() + { + // Snippet: QueryMetrics(QueryMetricsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QueryMetricsRequest request = new QueryMetricsRequest + { + LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + TimeGranularity = QueryMetricsRequest.Types.TimeGranularity.Unspecified, + Dimensions = { new Dimension(), }, + MeasureMask = new FieldMask(), + }; + // Make the request + Operation response = contactCenterInsightsClient.QueryMetrics(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + QueryMetricsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceQueryMetrics(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + QueryMetricsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for QueryMetricsAsync + public async Task QueryMetricsRequestObjectAsync() + { + // Snippet: QueryMetricsAsync(QueryMetricsRequest, CallSettings) + // Additional: QueryMetricsAsync(QueryMetricsRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QueryMetricsRequest request = new QueryMetricsRequest + { + LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + TimeGranularity = QueryMetricsRequest.Types.TimeGranularity.Unspecified, + Dimensions = { new Dimension(), }, + MeasureMask = new FieldMask(), + }; + // Make the request + Operation response = await contactCenterInsightsClient.QueryMetricsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + QueryMetricsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceQueryMetricsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + QueryMetricsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for CreateQaQuestion + public void CreateQaQuestionRequestObject() + { + // Snippet: CreateQaQuestion(CreateQaQuestionRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateQaQuestionRequest request = new CreateQaQuestionRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + QaQuestion = new QaQuestion(), + QaQuestionId = "", + }; + // Make the request + QaQuestion response = contactCenterInsightsClient.CreateQaQuestion(request); + // End snippet + } + + /// Snippet for CreateQaQuestionAsync + public async Task CreateQaQuestionRequestObjectAsync() + { + // Snippet: CreateQaQuestionAsync(CreateQaQuestionRequest, CallSettings) + // Additional: CreateQaQuestionAsync(CreateQaQuestionRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateQaQuestionRequest request = new CreateQaQuestionRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + QaQuestion = new QaQuestion(), + QaQuestionId = "", + }; + // Make the request + QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(request); + // End snippet + } + + /// Snippet for CreateQaQuestion + public void CreateQaQuestion() + { + // Snippet: CreateQaQuestion(string, QaQuestion, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + QaQuestion qaQuestion = new QaQuestion(); + string qaQuestionId = ""; + // Make the request + QaQuestion response = contactCenterInsightsClient.CreateQaQuestion(parent, qaQuestion, qaQuestionId); + // End snippet + } + + /// Snippet for CreateQaQuestionAsync + public async Task CreateQaQuestionAsync() + { + // Snippet: CreateQaQuestionAsync(string, QaQuestion, string, CallSettings) + // Additional: CreateQaQuestionAsync(string, QaQuestion, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + QaQuestion qaQuestion = new QaQuestion(); + string qaQuestionId = ""; + // Make the request + QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(parent, qaQuestion, qaQuestionId); + // End snippet + } + + /// Snippet for CreateQaQuestion + public void CreateQaQuestionResourceNames() + { + // Snippet: CreateQaQuestion(QaScorecardRevisionName, QaQuestion, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + QaQuestion qaQuestion = new QaQuestion(); + string qaQuestionId = ""; + // Make the request + QaQuestion response = contactCenterInsightsClient.CreateQaQuestion(parent, qaQuestion, qaQuestionId); + // End snippet + } + + /// Snippet for CreateQaQuestionAsync + public async Task CreateQaQuestionResourceNamesAsync() + { + // Snippet: CreateQaQuestionAsync(QaScorecardRevisionName, QaQuestion, string, CallSettings) + // Additional: CreateQaQuestionAsync(QaScorecardRevisionName, QaQuestion, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + QaQuestion qaQuestion = new QaQuestion(); + string qaQuestionId = ""; + // Make the request + QaQuestion response = await contactCenterInsightsClient.CreateQaQuestionAsync(parent, qaQuestion, qaQuestionId); + // End snippet + } + + /// Snippet for GetQaQuestion + public void GetQaQuestionRequestObject() + { + // Snippet: GetQaQuestion(GetQaQuestionRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetQaQuestionRequest request = new GetQaQuestionRequest + { + QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"), + }; + // Make the request + QaQuestion response = contactCenterInsightsClient.GetQaQuestion(request); + // End snippet + } + + /// Snippet for GetQaQuestionAsync + public async Task GetQaQuestionRequestObjectAsync() + { + // Snippet: GetQaQuestionAsync(GetQaQuestionRequest, CallSettings) + // Additional: GetQaQuestionAsync(GetQaQuestionRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetQaQuestionRequest request = new GetQaQuestionRequest + { + QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"), + }; + // Make the request + QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(request); + // End snippet + } + + /// Snippet for GetQaQuestion + public void GetQaQuestion() + { + // Snippet: GetQaQuestion(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]"; + // Make the request + QaQuestion response = contactCenterInsightsClient.GetQaQuestion(name); + // End snippet + } + + /// Snippet for GetQaQuestionAsync + public async Task GetQaQuestionAsync() + { + // Snippet: GetQaQuestionAsync(string, CallSettings) + // Additional: GetQaQuestionAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]"; + // Make the request + QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(name); + // End snippet + } + + /// Snippet for GetQaQuestion + public void GetQaQuestionResourceNames() + { + // Snippet: GetQaQuestion(QaQuestionName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"); + // Make the request + QaQuestion response = contactCenterInsightsClient.GetQaQuestion(name); + // End snippet + } + + /// Snippet for GetQaQuestionAsync + public async Task GetQaQuestionResourceNamesAsync() + { + // Snippet: GetQaQuestionAsync(QaQuestionName, CallSettings) + // Additional: GetQaQuestionAsync(QaQuestionName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"); + // Make the request + QaQuestion response = await contactCenterInsightsClient.GetQaQuestionAsync(name); + // End snippet + } + + /// Snippet for UpdateQaQuestion + public void UpdateQaQuestionRequestObject() + { + // Snippet: UpdateQaQuestion(UpdateQaQuestionRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateQaQuestionRequest request = new UpdateQaQuestionRequest + { + QaQuestion = new QaQuestion(), + UpdateMask = new FieldMask(), + }; + // Make the request + QaQuestion response = contactCenterInsightsClient.UpdateQaQuestion(request); + // End snippet + } + + /// Snippet for UpdateQaQuestionAsync + public async Task UpdateQaQuestionRequestObjectAsync() + { + // Snippet: UpdateQaQuestionAsync(UpdateQaQuestionRequest, CallSettings) + // Additional: UpdateQaQuestionAsync(UpdateQaQuestionRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateQaQuestionRequest request = new UpdateQaQuestionRequest + { + QaQuestion = new QaQuestion(), + UpdateMask = new FieldMask(), + }; + // Make the request + QaQuestion response = await contactCenterInsightsClient.UpdateQaQuestionAsync(request); + // End snippet + } + + /// Snippet for UpdateQaQuestion + public void UpdateQaQuestion() + { + // Snippet: UpdateQaQuestion(QaQuestion, FieldMask, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaQuestion qaQuestion = new QaQuestion(); + FieldMask updateMask = new FieldMask(); + // Make the request + QaQuestion response = contactCenterInsightsClient.UpdateQaQuestion(qaQuestion, updateMask); + // End snippet + } + + /// Snippet for UpdateQaQuestionAsync + public async Task UpdateQaQuestionAsync() + { + // Snippet: UpdateQaQuestionAsync(QaQuestion, FieldMask, CallSettings) + // Additional: UpdateQaQuestionAsync(QaQuestion, FieldMask, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaQuestion qaQuestion = new QaQuestion(); + FieldMask updateMask = new FieldMask(); + // Make the request + QaQuestion response = await contactCenterInsightsClient.UpdateQaQuestionAsync(qaQuestion, updateMask); + // End snippet + } + + /// Snippet for DeleteQaQuestion + public void DeleteQaQuestionRequestObject() + { + // Snippet: DeleteQaQuestion(DeleteQaQuestionRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteQaQuestionRequest request = new DeleteQaQuestionRequest + { + QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"), + }; + // Make the request + contactCenterInsightsClient.DeleteQaQuestion(request); + // End snippet + } + + /// Snippet for DeleteQaQuestionAsync + public async Task DeleteQaQuestionRequestObjectAsync() + { + // Snippet: DeleteQaQuestionAsync(DeleteQaQuestionRequest, CallSettings) + // Additional: DeleteQaQuestionAsync(DeleteQaQuestionRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteQaQuestionRequest request = new DeleteQaQuestionRequest + { + QaQuestionName = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteQaQuestionAsync(request); + // End snippet + } + + /// Snippet for DeleteQaQuestion + public void DeleteQaQuestion() + { + // Snippet: DeleteQaQuestion(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]"; + // Make the request + contactCenterInsightsClient.DeleteQaQuestion(name); + // End snippet + } + + /// Snippet for DeleteQaQuestionAsync + public async Task DeleteQaQuestionAsync() + { + // Snippet: DeleteQaQuestionAsync(string, CallSettings) + // Additional: DeleteQaQuestionAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]/qaQuestions/[QA_QUESTION]"; + // Make the request + await contactCenterInsightsClient.DeleteQaQuestionAsync(name); + // End snippet + } + + /// Snippet for DeleteQaQuestion + public void DeleteQaQuestionResourceNames() + { + // Snippet: DeleteQaQuestion(QaQuestionName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"); + // Make the request + contactCenterInsightsClient.DeleteQaQuestion(name); + // End snippet + } + + /// Snippet for DeleteQaQuestionAsync + public async Task DeleteQaQuestionResourceNamesAsync() + { + // Snippet: DeleteQaQuestionAsync(QaQuestionName, CallSettings) + // Additional: DeleteQaQuestionAsync(QaQuestionName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaQuestionName name = QaQuestionName.FromProjectLocationQaScorecardRevisionQaQuestion("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]", "[QA_QUESTION]"); + // Make the request + await contactCenterInsightsClient.DeleteQaQuestionAsync(name); + // End snippet + } + + /// Snippet for ListQaQuestions + public void ListQaQuestionsRequestObject() + { + // Snippet: ListQaQuestions(ListQaQuestionsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListQaQuestionsRequest request = new ListQaQuestionsRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaQuestions(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaQuestion item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaQuestionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaQuestionsAsync + public async Task ListQaQuestionsRequestObjectAsync() + { + // Snippet: ListQaQuestionsAsync(ListQaQuestionsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListQaQuestionsRequest request = new ListQaQuestionsRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaQuestionsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaQuestion item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaQuestionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaQuestions + public void ListQaQuestions() + { + // Snippet: ListQaQuestions(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaQuestions(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaQuestion item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaQuestionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaQuestionsAsync + public async Task ListQaQuestionsAsync() + { + // Snippet: ListQaQuestionsAsync(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaQuestionsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaQuestion item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaQuestionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaQuestions + public void ListQaQuestionsResourceNames() + { + // Snippet: ListQaQuestions(QaScorecardRevisionName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaQuestions(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaQuestion item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaQuestionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaQuestionsAsync + public async Task ListQaQuestionsResourceNamesAsync() + { + // Snippet: ListQaQuestionsAsync(QaScorecardRevisionName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaQuestionsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaQuestion item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaQuestionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaQuestion item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaQuestion item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for CreateQaScorecard + public void CreateQaScorecardRequestObject() + { + // Snippet: CreateQaScorecard(CreateQaScorecardRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateQaScorecardRequest request = new CreateQaScorecardRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + QaScorecard = new QaScorecard(), + QaScorecardId = "", + }; + // Make the request + QaScorecard response = contactCenterInsightsClient.CreateQaScorecard(request); + // End snippet + } + + /// Snippet for CreateQaScorecardAsync + public async Task CreateQaScorecardRequestObjectAsync() + { + // Snippet: CreateQaScorecardAsync(CreateQaScorecardRequest, CallSettings) + // Additional: CreateQaScorecardAsync(CreateQaScorecardRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateQaScorecardRequest request = new CreateQaScorecardRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + QaScorecard = new QaScorecard(), + QaScorecardId = "", + }; + // Make the request + QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(request); + // End snippet + } + + /// Snippet for CreateQaScorecard + public void CreateQaScorecard() + { + // Snippet: CreateQaScorecard(string, QaScorecard, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + QaScorecard qaScorecard = new QaScorecard(); + string qaScorecardId = ""; + // Make the request + QaScorecard response = contactCenterInsightsClient.CreateQaScorecard(parent, qaScorecard, qaScorecardId); + // End snippet + } + + /// Snippet for CreateQaScorecardAsync + public async Task CreateQaScorecardAsync() + { + // Snippet: CreateQaScorecardAsync(string, QaScorecard, string, CallSettings) + // Additional: CreateQaScorecardAsync(string, QaScorecard, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + QaScorecard qaScorecard = new QaScorecard(); + string qaScorecardId = ""; + // Make the request + QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(parent, qaScorecard, qaScorecardId); + // End snippet + } + + /// Snippet for CreateQaScorecard + public void CreateQaScorecardResourceNames() + { + // Snippet: CreateQaScorecard(LocationName, QaScorecard, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + QaScorecard qaScorecard = new QaScorecard(); + string qaScorecardId = ""; + // Make the request + QaScorecard response = contactCenterInsightsClient.CreateQaScorecard(parent, qaScorecard, qaScorecardId); + // End snippet + } + + /// Snippet for CreateQaScorecardAsync + public async Task CreateQaScorecardResourceNamesAsync() + { + // Snippet: CreateQaScorecardAsync(LocationName, QaScorecard, string, CallSettings) + // Additional: CreateQaScorecardAsync(LocationName, QaScorecard, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + QaScorecard qaScorecard = new QaScorecard(); + string qaScorecardId = ""; + // Make the request + QaScorecard response = await contactCenterInsightsClient.CreateQaScorecardAsync(parent, qaScorecard, qaScorecardId); + // End snippet + } + + /// Snippet for GetQaScorecard + public void GetQaScorecardRequestObject() + { + // Snippet: GetQaScorecard(GetQaScorecardRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetQaScorecardRequest request = new GetQaScorecardRequest + { + QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + }; + // Make the request + QaScorecard response = contactCenterInsightsClient.GetQaScorecard(request); + // End snippet + } + + /// Snippet for GetQaScorecardAsync + public async Task GetQaScorecardRequestObjectAsync() + { + // Snippet: GetQaScorecardAsync(GetQaScorecardRequest, CallSettings) + // Additional: GetQaScorecardAsync(GetQaScorecardRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetQaScorecardRequest request = new GetQaScorecardRequest + { + QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + }; + // Make the request + QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(request); + // End snippet + } + + /// Snippet for GetQaScorecard + public void GetQaScorecard() + { + // Snippet: GetQaScorecard(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + QaScorecard response = contactCenterInsightsClient.GetQaScorecard(name); + // End snippet + } + + /// Snippet for GetQaScorecardAsync + public async Task GetQaScorecardAsync() + { + // Snippet: GetQaScorecardAsync(string, CallSettings) + // Additional: GetQaScorecardAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(name); + // End snippet + } + + /// Snippet for GetQaScorecard + public void GetQaScorecardResourceNames() + { + // Snippet: GetQaScorecard(QaScorecardName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + QaScorecard response = contactCenterInsightsClient.GetQaScorecard(name); + // End snippet + } + + /// Snippet for GetQaScorecardAsync + public async Task GetQaScorecardResourceNamesAsync() + { + // Snippet: GetQaScorecardAsync(QaScorecardName, CallSettings) + // Additional: GetQaScorecardAsync(QaScorecardName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + QaScorecard response = await contactCenterInsightsClient.GetQaScorecardAsync(name); + // End snippet + } + + /// Snippet for UpdateQaScorecard + public void UpdateQaScorecardRequestObject() + { + // Snippet: UpdateQaScorecard(UpdateQaScorecardRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateQaScorecardRequest request = new UpdateQaScorecardRequest + { + QaScorecard = new QaScorecard(), + UpdateMask = new FieldMask(), + }; + // Make the request + QaScorecard response = contactCenterInsightsClient.UpdateQaScorecard(request); + // End snippet + } + + /// Snippet for UpdateQaScorecardAsync + public async Task UpdateQaScorecardRequestObjectAsync() + { + // Snippet: UpdateQaScorecardAsync(UpdateQaScorecardRequest, CallSettings) + // Additional: UpdateQaScorecardAsync(UpdateQaScorecardRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateQaScorecardRequest request = new UpdateQaScorecardRequest + { + QaScorecard = new QaScorecard(), + UpdateMask = new FieldMask(), + }; + // Make the request + QaScorecard response = await contactCenterInsightsClient.UpdateQaScorecardAsync(request); + // End snippet + } + + /// Snippet for UpdateQaScorecard + public void UpdateQaScorecard() + { + // Snippet: UpdateQaScorecard(QaScorecard, FieldMask, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecard qaScorecard = new QaScorecard(); + FieldMask updateMask = new FieldMask(); + // Make the request + QaScorecard response = contactCenterInsightsClient.UpdateQaScorecard(qaScorecard, updateMask); + // End snippet + } + + /// Snippet for UpdateQaScorecardAsync + public async Task UpdateQaScorecardAsync() + { + // Snippet: UpdateQaScorecardAsync(QaScorecard, FieldMask, CallSettings) + // Additional: UpdateQaScorecardAsync(QaScorecard, FieldMask, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecard qaScorecard = new QaScorecard(); + FieldMask updateMask = new FieldMask(); + // Make the request + QaScorecard response = await contactCenterInsightsClient.UpdateQaScorecardAsync(qaScorecard, updateMask); + // End snippet + } + + /// Snippet for DeleteQaScorecard + public void DeleteQaScorecardRequestObject() + { + // Snippet: DeleteQaScorecard(DeleteQaScorecardRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteQaScorecardRequest request = new DeleteQaScorecardRequest + { + QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + Force = false, + }; + // Make the request + contactCenterInsightsClient.DeleteQaScorecard(request); + // End snippet + } + + /// Snippet for DeleteQaScorecardAsync + public async Task DeleteQaScorecardRequestObjectAsync() + { + // Snippet: DeleteQaScorecardAsync(DeleteQaScorecardRequest, CallSettings) + // Additional: DeleteQaScorecardAsync(DeleteQaScorecardRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteQaScorecardRequest request = new DeleteQaScorecardRequest + { + QaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + Force = false, + }; + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardAsync(request); + // End snippet + } + + /// Snippet for DeleteQaScorecard + public void DeleteQaScorecard() + { + // Snippet: DeleteQaScorecard(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + contactCenterInsightsClient.DeleteQaScorecard(name); + // End snippet + } + + /// Snippet for DeleteQaScorecardAsync + public async Task DeleteQaScorecardAsync() + { + // Snippet: DeleteQaScorecardAsync(string, CallSettings) + // Additional: DeleteQaScorecardAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardAsync(name); + // End snippet + } + + /// Snippet for DeleteQaScorecard + public void DeleteQaScorecardResourceNames() + { + // Snippet: DeleteQaScorecard(QaScorecardName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + contactCenterInsightsClient.DeleteQaScorecard(name); + // End snippet + } + + /// Snippet for DeleteQaScorecardAsync + public async Task DeleteQaScorecardResourceNamesAsync() + { + // Snippet: DeleteQaScorecardAsync(QaScorecardName, CallSettings) + // Additional: DeleteQaScorecardAsync(QaScorecardName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardName name = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardAsync(name); + // End snippet + } + + /// Snippet for ListQaScorecards + public void ListQaScorecardsRequestObject() + { + // Snippet: ListQaScorecards(ListQaScorecardsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListQaScorecardsRequest request = new ListQaScorecardsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecards(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecard item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaScorecardsAsync + public async Task ListQaScorecardsRequestObjectAsync() + { + // Snippet: ListQaScorecardsAsync(ListQaScorecardsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListQaScorecardsRequest request = new ListQaScorecardsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecard item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaScorecards + public void ListQaScorecards() + { + // Snippet: ListQaScorecards(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecards(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecard item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaScorecardsAsync + public async Task ListQaScorecardsAsync() + { + // Snippet: ListQaScorecardsAsync(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecard item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaScorecards + public void ListQaScorecardsResourceNames() + { + // Snippet: ListQaScorecards(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecards(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecard item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaScorecardsAsync + public async Task ListQaScorecardsResourceNamesAsync() + { + // Snippet: ListQaScorecardsAsync(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecard item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecard item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecard item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for CreateQaScorecardRevision + public void CreateQaScorecardRevisionRequestObject() + { + // Snippet: CreateQaScorecardRevision(CreateQaScorecardRevisionRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateQaScorecardRevisionRequest request = new CreateQaScorecardRevisionRequest + { + ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + QaScorecardRevision = new QaScorecardRevision(), + QaScorecardRevisionId = "", + }; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.CreateQaScorecardRevision(request); + // End snippet + } + + /// Snippet for CreateQaScorecardRevisionAsync + public async Task CreateQaScorecardRevisionRequestObjectAsync() + { + // Snippet: CreateQaScorecardRevisionAsync(CreateQaScorecardRevisionRequest, CallSettings) + // Additional: CreateQaScorecardRevisionAsync(CreateQaScorecardRevisionRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateQaScorecardRevisionRequest request = new CreateQaScorecardRevisionRequest + { + ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + QaScorecardRevision = new QaScorecardRevision(), + QaScorecardRevisionId = "", + }; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(request); + // End snippet + } + + /// Snippet for CreateQaScorecardRevision + public void CreateQaScorecardRevision() + { + // Snippet: CreateQaScorecardRevision(string, QaScorecardRevision, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + QaScorecardRevision qaScorecardRevision = new QaScorecardRevision(); + string qaScorecardRevisionId = ""; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.CreateQaScorecardRevision(parent, qaScorecardRevision, qaScorecardRevisionId); + // End snippet + } + + /// Snippet for CreateQaScorecardRevisionAsync + public async Task CreateQaScorecardRevisionAsync() + { + // Snippet: CreateQaScorecardRevisionAsync(string, QaScorecardRevision, string, CallSettings) + // Additional: CreateQaScorecardRevisionAsync(string, QaScorecardRevision, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + QaScorecardRevision qaScorecardRevision = new QaScorecardRevision(); + string qaScorecardRevisionId = ""; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(parent, qaScorecardRevision, qaScorecardRevisionId); + // End snippet + } + + /// Snippet for CreateQaScorecardRevision + public void CreateQaScorecardRevisionResourceNames() + { + // Snippet: CreateQaScorecardRevision(QaScorecardName, QaScorecardRevision, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + QaScorecardRevision qaScorecardRevision = new QaScorecardRevision(); + string qaScorecardRevisionId = ""; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.CreateQaScorecardRevision(parent, qaScorecardRevision, qaScorecardRevisionId); + // End snippet + } + + /// Snippet for CreateQaScorecardRevisionAsync + public async Task CreateQaScorecardRevisionResourceNamesAsync() + { + // Snippet: CreateQaScorecardRevisionAsync(QaScorecardName, QaScorecardRevision, string, CallSettings) + // Additional: CreateQaScorecardRevisionAsync(QaScorecardName, QaScorecardRevision, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + QaScorecardRevision qaScorecardRevision = new QaScorecardRevision(); + string qaScorecardRevisionId = ""; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.CreateQaScorecardRevisionAsync(parent, qaScorecardRevision, qaScorecardRevisionId); + // End snippet + } + + /// Snippet for GetQaScorecardRevision + public void GetQaScorecardRevisionRequestObject() + { + // Snippet: GetQaScorecardRevision(GetQaScorecardRevisionRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetQaScorecardRevisionRequest request = new GetQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.GetQaScorecardRevision(request); + // End snippet + } + + /// Snippet for GetQaScorecardRevisionAsync + public async Task GetQaScorecardRevisionRequestObjectAsync() + { + // Snippet: GetQaScorecardRevisionAsync(GetQaScorecardRevisionRequest, CallSettings) + // Additional: GetQaScorecardRevisionAsync(GetQaScorecardRevisionRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetQaScorecardRevisionRequest request = new GetQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(request); + // End snippet + } + + /// Snippet for GetQaScorecardRevision + public void GetQaScorecardRevision() + { + // Snippet: GetQaScorecardRevision(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.GetQaScorecardRevision(name); + // End snippet + } + + /// Snippet for GetQaScorecardRevisionAsync + public async Task GetQaScorecardRevisionAsync() + { + // Snippet: GetQaScorecardRevisionAsync(string, CallSettings) + // Additional: GetQaScorecardRevisionAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(name); + // End snippet + } + + /// Snippet for GetQaScorecardRevision + public void GetQaScorecardRevisionResourceNames() + { + // Snippet: GetQaScorecardRevision(QaScorecardRevisionName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.GetQaScorecardRevision(name); + // End snippet + } + + /// Snippet for GetQaScorecardRevisionAsync + public async Task GetQaScorecardRevisionResourceNamesAsync() + { + // Snippet: GetQaScorecardRevisionAsync(QaScorecardRevisionName, CallSettings) + // Additional: GetQaScorecardRevisionAsync(QaScorecardRevisionName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.GetQaScorecardRevisionAsync(name); + // End snippet + } + + /// Snippet for TuneQaScorecardRevision + public void TuneQaScorecardRevisionRequestObject() + { + // Snippet: TuneQaScorecardRevision(TuneQaScorecardRevisionRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + TuneQaScorecardRevisionRequest request = new TuneQaScorecardRevisionRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + Filter = "", + ValidateOnly = false, + }; + // Make the request + Operation response = contactCenterInsightsClient.TuneQaScorecardRevision(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceTuneQaScorecardRevision(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for TuneQaScorecardRevisionAsync + public async Task TuneQaScorecardRevisionRequestObjectAsync() + { + // Snippet: TuneQaScorecardRevisionAsync(TuneQaScorecardRevisionRequest, CallSettings) + // Additional: TuneQaScorecardRevisionAsync(TuneQaScorecardRevisionRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + TuneQaScorecardRevisionRequest request = new TuneQaScorecardRevisionRequest + { + ParentAsQaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + Filter = "", + ValidateOnly = false, + }; + // Make the request + Operation response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for TuneQaScorecardRevision + public void TuneQaScorecardRevision() + { + // Snippet: TuneQaScorecardRevision(string, string, bool, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + string filter = ""; + bool validateOnly = false; + // Make the request + Operation response = contactCenterInsightsClient.TuneQaScorecardRevision(parent, filter, validateOnly); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceTuneQaScorecardRevision(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for TuneQaScorecardRevisionAsync + public async Task TuneQaScorecardRevisionAsync() + { + // Snippet: TuneQaScorecardRevisionAsync(string, string, bool, CallSettings) + // Additional: TuneQaScorecardRevisionAsync(string, string, bool, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + string filter = ""; + bool validateOnly = false; + // Make the request + Operation response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(parent, filter, validateOnly); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for TuneQaScorecardRevision + public void TuneQaScorecardRevisionResourceNames() + { + // Snippet: TuneQaScorecardRevision(QaScorecardRevisionName, string, bool, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + string filter = ""; + bool validateOnly = false; + // Make the request + Operation response = contactCenterInsightsClient.TuneQaScorecardRevision(parent, filter, validateOnly); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceTuneQaScorecardRevision(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for TuneQaScorecardRevisionAsync + public async Task TuneQaScorecardRevisionResourceNamesAsync() + { + // Snippet: TuneQaScorecardRevisionAsync(QaScorecardRevisionName, string, bool, CallSettings) + // Additional: TuneQaScorecardRevisionAsync(QaScorecardRevisionName, string, bool, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardRevisionName parent = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + string filter = ""; + bool validateOnly = false; + // Make the request + Operation response = await contactCenterInsightsClient.TuneQaScorecardRevisionAsync(parent, filter, validateOnly); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + TuneQaScorecardRevisionResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceTuneQaScorecardRevisionAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + TuneQaScorecardRevisionResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeployQaScorecardRevision + public void DeployQaScorecardRevisionRequestObject() + { + // Snippet: DeployQaScorecardRevision(DeployQaScorecardRevisionRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeployQaScorecardRevisionRequest request = new DeployQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.DeployQaScorecardRevision(request); + // End snippet + } + + /// Snippet for DeployQaScorecardRevisionAsync + public async Task DeployQaScorecardRevisionRequestObjectAsync() + { + // Snippet: DeployQaScorecardRevisionAsync(DeployQaScorecardRevisionRequest, CallSettings) + // Additional: DeployQaScorecardRevisionAsync(DeployQaScorecardRevisionRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeployQaScorecardRevisionRequest request = new DeployQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.DeployQaScorecardRevisionAsync(request); + // End snippet + } + + /// Snippet for UndeployQaScorecardRevision + public void UndeployQaScorecardRevisionRequestObject() + { + // Snippet: UndeployQaScorecardRevision(UndeployQaScorecardRevisionRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UndeployQaScorecardRevisionRequest request = new UndeployQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = contactCenterInsightsClient.UndeployQaScorecardRevision(request); + // End snippet + } + + /// Snippet for UndeployQaScorecardRevisionAsync + public async Task UndeployQaScorecardRevisionRequestObjectAsync() + { + // Snippet: UndeployQaScorecardRevisionAsync(UndeployQaScorecardRevisionRequest, CallSettings) + // Additional: UndeployQaScorecardRevisionAsync(UndeployQaScorecardRevisionRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UndeployQaScorecardRevisionRequest request = new UndeployQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + }; + // Make the request + QaScorecardRevision response = await contactCenterInsightsClient.UndeployQaScorecardRevisionAsync(request); + // End snippet + } + + /// Snippet for DeleteQaScorecardRevision + public void DeleteQaScorecardRevisionRequestObject() + { + // Snippet: DeleteQaScorecardRevision(DeleteQaScorecardRevisionRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteQaScorecardRevisionRequest request = new DeleteQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + Force = false, + }; + // Make the request + contactCenterInsightsClient.DeleteQaScorecardRevision(request); + // End snippet + } + + /// Snippet for DeleteQaScorecardRevisionAsync + public async Task DeleteQaScorecardRevisionRequestObjectAsync() + { + // Snippet: DeleteQaScorecardRevisionAsync(DeleteQaScorecardRevisionRequest, CallSettings) + // Additional: DeleteQaScorecardRevisionAsync(DeleteQaScorecardRevisionRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteQaScorecardRevisionRequest request = new DeleteQaScorecardRevisionRequest + { + QaScorecardRevisionName = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"), + Force = false, + }; + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(request); + // End snippet + } + + /// Snippet for DeleteQaScorecardRevision + public void DeleteQaScorecardRevision() + { + // Snippet: DeleteQaScorecardRevision(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + contactCenterInsightsClient.DeleteQaScorecardRevision(name); + // End snippet + } + + /// Snippet for DeleteQaScorecardRevisionAsync + public async Task DeleteQaScorecardRevisionAsync() + { + // Snippet: DeleteQaScorecardRevisionAsync(string, CallSettings) + // Additional: DeleteQaScorecardRevisionAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]/revisions/[REVISION]"; + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(name); + // End snippet + } + + /// Snippet for DeleteQaScorecardRevision + public void DeleteQaScorecardRevisionResourceNames() + { + // Snippet: DeleteQaScorecardRevision(QaScorecardRevisionName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + contactCenterInsightsClient.DeleteQaScorecardRevision(name); + // End snippet + } + + /// Snippet for DeleteQaScorecardRevisionAsync + public async Task DeleteQaScorecardRevisionResourceNamesAsync() + { + // Snippet: DeleteQaScorecardRevisionAsync(QaScorecardRevisionName, CallSettings) + // Additional: DeleteQaScorecardRevisionAsync(QaScorecardRevisionName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardRevisionName name = QaScorecardRevisionName.FromProjectLocationQaScorecardRevision("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]", "[REVISION]"); + // Make the request + await contactCenterInsightsClient.DeleteQaScorecardRevisionAsync(name); + // End snippet + } + + /// Snippet for ListQaScorecardRevisions + public void ListQaScorecardRevisionsRequestObject() + { + // Snippet: ListQaScorecardRevisions(ListQaScorecardRevisionsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListQaScorecardRevisionsRequest request = new ListQaScorecardRevisionsRequest + { + ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisions(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecardRevision item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardRevisionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaScorecardRevisionsAsync + public async Task ListQaScorecardRevisionsRequestObjectAsync() + { + // Snippet: ListQaScorecardRevisionsAsync(ListQaScorecardRevisionsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListQaScorecardRevisionsRequest request = new ListQaScorecardRevisionsRequest + { + ParentAsQaScorecardName = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisionsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecardRevision item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardRevisionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaScorecardRevisions + public void ListQaScorecardRevisions() + { + // Snippet: ListQaScorecardRevisions(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisions(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecardRevision item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardRevisionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaScorecardRevisionsAsync + public async Task ListQaScorecardRevisionsAsync() + { + // Snippet: ListQaScorecardRevisionsAsync(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/qaScorecards/[QA_SCORECARD]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisionsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecardRevision item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardRevisionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaScorecardRevisions + public void ListQaScorecardRevisionsResourceNames() + { + // Snippet: ListQaScorecardRevisions(QaScorecardName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisions(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (QaScorecardRevision item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListQaScorecardRevisionsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListQaScorecardRevisionsAsync + public async Task ListQaScorecardRevisionsResourceNamesAsync() + { + // Snippet: ListQaScorecardRevisionsAsync(QaScorecardName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + QaScorecardName parent = QaScorecardName.FromProjectLocationQaScorecard("[PROJECT]", "[LOCATION]", "[QA_SCORECARD]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListQaScorecardRevisionsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((QaScorecardRevision item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListQaScorecardRevisionsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (QaScorecardRevision item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (QaScorecardRevision item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for CreateFeedbackLabel + public void CreateFeedbackLabelRequestObject() + { + // Snippet: CreateFeedbackLabel(CreateFeedbackLabelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + CreateFeedbackLabelRequest request = new CreateFeedbackLabelRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + FeedbackLabelId = "", + FeedbackLabel = new FeedbackLabel(), + }; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.CreateFeedbackLabel(request); + // End snippet + } + + /// Snippet for CreateFeedbackLabelAsync + public async Task CreateFeedbackLabelRequestObjectAsync() + { + // Snippet: CreateFeedbackLabelAsync(CreateFeedbackLabelRequest, CallSettings) + // Additional: CreateFeedbackLabelAsync(CreateFeedbackLabelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + CreateFeedbackLabelRequest request = new CreateFeedbackLabelRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + FeedbackLabelId = "", + FeedbackLabel = new FeedbackLabel(), + }; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(request); + // End snippet + } + + /// Snippet for CreateFeedbackLabel + public void CreateFeedbackLabel() + { + // Snippet: CreateFeedbackLabel(string, FeedbackLabel, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + FeedbackLabel feedbackLabel = new FeedbackLabel(); + string feedbackLabelId = ""; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.CreateFeedbackLabel(parent, feedbackLabel, feedbackLabelId); + // End snippet + } + + /// Snippet for CreateFeedbackLabelAsync + public async Task CreateFeedbackLabelAsync() + { + // Snippet: CreateFeedbackLabelAsync(string, FeedbackLabel, string, CallSettings) + // Additional: CreateFeedbackLabelAsync(string, FeedbackLabel, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + FeedbackLabel feedbackLabel = new FeedbackLabel(); + string feedbackLabelId = ""; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(parent, feedbackLabel, feedbackLabelId); + // End snippet + } + + /// Snippet for CreateFeedbackLabel + public void CreateFeedbackLabelResourceNames() + { + // Snippet: CreateFeedbackLabel(ConversationName, FeedbackLabel, string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + FeedbackLabel feedbackLabel = new FeedbackLabel(); + string feedbackLabelId = ""; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.CreateFeedbackLabel(parent, feedbackLabel, feedbackLabelId); + // End snippet + } + + /// Snippet for CreateFeedbackLabelAsync + public async Task CreateFeedbackLabelResourceNamesAsync() + { + // Snippet: CreateFeedbackLabelAsync(ConversationName, FeedbackLabel, string, CallSettings) + // Additional: CreateFeedbackLabelAsync(ConversationName, FeedbackLabel, string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + FeedbackLabel feedbackLabel = new FeedbackLabel(); + string feedbackLabelId = ""; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.CreateFeedbackLabelAsync(parent, feedbackLabel, feedbackLabelId); + // End snippet + } + + /// Snippet for ListFeedbackLabels + public void ListFeedbackLabelsRequestObject() + { + // Snippet: ListFeedbackLabels(ListFeedbackLabelsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListFeedbackLabelsRequest request = new ListFeedbackLabelsRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListFeedbackLabels(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListFeedbackLabelsAsync + public async Task ListFeedbackLabelsRequestObjectAsync() + { + // Snippet: ListFeedbackLabelsAsync(ListFeedbackLabelsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListFeedbackLabelsRequest request = new ListFeedbackLabelsRequest + { + ParentAsConversationName = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListFeedbackLabelsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListFeedbackLabels + public void ListFeedbackLabels() + { + // Snippet: ListFeedbackLabels(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListFeedbackLabels(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListFeedbackLabelsAsync + public async Task ListFeedbackLabelsAsync() + { + // Snippet: ListFeedbackLabelsAsync(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListFeedbackLabelsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListFeedbackLabels + public void ListFeedbackLabelsResourceNames() + { + // Snippet: ListFeedbackLabels(ConversationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListFeedbackLabels(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListFeedbackLabelsAsync + public async Task ListFeedbackLabelsResourceNamesAsync() + { + // Snippet: ListFeedbackLabelsAsync(ConversationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ConversationName parent = ConversationName.FromProjectLocationConversation("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListFeedbackLabelsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for GetFeedbackLabel + public void GetFeedbackLabelRequestObject() + { + // Snippet: GetFeedbackLabel(GetFeedbackLabelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + GetFeedbackLabelRequest request = new GetFeedbackLabelRequest + { + FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"), + }; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.GetFeedbackLabel(request); + // End snippet + } + + /// Snippet for GetFeedbackLabelAsync + public async Task GetFeedbackLabelRequestObjectAsync() + { + // Snippet: GetFeedbackLabelAsync(GetFeedbackLabelRequest, CallSettings) + // Additional: GetFeedbackLabelAsync(GetFeedbackLabelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + GetFeedbackLabelRequest request = new GetFeedbackLabelRequest + { + FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"), + }; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(request); + // End snippet + } + + /// Snippet for GetFeedbackLabel + public void GetFeedbackLabel() + { + // Snippet: GetFeedbackLabel(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/feedbackLabels/[FEEDBACK_LABEL]"; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.GetFeedbackLabel(name); + // End snippet + } + + /// Snippet for GetFeedbackLabelAsync + public async Task GetFeedbackLabelAsync() + { + // Snippet: GetFeedbackLabelAsync(string, CallSettings) + // Additional: GetFeedbackLabelAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/feedbackLabels/[FEEDBACK_LABEL]"; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(name); + // End snippet + } + + /// Snippet for GetFeedbackLabel + public void GetFeedbackLabelResourceNames() + { + // Snippet: GetFeedbackLabel(FeedbackLabelName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"); + // Make the request + FeedbackLabel response = contactCenterInsightsClient.GetFeedbackLabel(name); + // End snippet + } + + /// Snippet for GetFeedbackLabelAsync + public async Task GetFeedbackLabelResourceNamesAsync() + { + // Snippet: GetFeedbackLabelAsync(FeedbackLabelName, CallSettings) + // Additional: GetFeedbackLabelAsync(FeedbackLabelName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"); + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.GetFeedbackLabelAsync(name); + // End snippet + } + + /// Snippet for UpdateFeedbackLabel + public void UpdateFeedbackLabelRequestObject() + { + // Snippet: UpdateFeedbackLabel(UpdateFeedbackLabelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + UpdateFeedbackLabelRequest request = new UpdateFeedbackLabelRequest + { + FeedbackLabel = new FeedbackLabel(), + UpdateMask = new FieldMask(), + }; + // Make the request + FeedbackLabel response = contactCenterInsightsClient.UpdateFeedbackLabel(request); + // End snippet + } + + /// Snippet for UpdateFeedbackLabelAsync + public async Task UpdateFeedbackLabelRequestObjectAsync() + { + // Snippet: UpdateFeedbackLabelAsync(UpdateFeedbackLabelRequest, CallSettings) + // Additional: UpdateFeedbackLabelAsync(UpdateFeedbackLabelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + UpdateFeedbackLabelRequest request = new UpdateFeedbackLabelRequest + { + FeedbackLabel = new FeedbackLabel(), + UpdateMask = new FieldMask(), + }; + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.UpdateFeedbackLabelAsync(request); + // End snippet + } + + /// Snippet for UpdateFeedbackLabel + public void UpdateFeedbackLabel() + { + // Snippet: UpdateFeedbackLabel(FeedbackLabel, FieldMask, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + FeedbackLabel feedbackLabel = new FeedbackLabel(); + FieldMask updateMask = new FieldMask(); + // Make the request + FeedbackLabel response = contactCenterInsightsClient.UpdateFeedbackLabel(feedbackLabel, updateMask); + // End snippet + } + + /// Snippet for UpdateFeedbackLabelAsync + public async Task UpdateFeedbackLabelAsync() + { + // Snippet: UpdateFeedbackLabelAsync(FeedbackLabel, FieldMask, CallSettings) + // Additional: UpdateFeedbackLabelAsync(FeedbackLabel, FieldMask, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + FeedbackLabel feedbackLabel = new FeedbackLabel(); + FieldMask updateMask = new FieldMask(); + // Make the request + FeedbackLabel response = await contactCenterInsightsClient.UpdateFeedbackLabelAsync(feedbackLabel, updateMask); + // End snippet + } + + /// Snippet for DeleteFeedbackLabel + public void DeleteFeedbackLabelRequestObject() + { + // Snippet: DeleteFeedbackLabel(DeleteFeedbackLabelRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + DeleteFeedbackLabelRequest request = new DeleteFeedbackLabelRequest + { + FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"), + }; + // Make the request + contactCenterInsightsClient.DeleteFeedbackLabel(request); + // End snippet + } + + /// Snippet for DeleteFeedbackLabelAsync + public async Task DeleteFeedbackLabelRequestObjectAsync() + { + // Snippet: DeleteFeedbackLabelAsync(DeleteFeedbackLabelRequest, CallSettings) + // Additional: DeleteFeedbackLabelAsync(DeleteFeedbackLabelRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + DeleteFeedbackLabelRequest request = new DeleteFeedbackLabelRequest + { + FeedbackLabelName = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"), + }; + // Make the request + await contactCenterInsightsClient.DeleteFeedbackLabelAsync(request); + // End snippet + } + + /// Snippet for DeleteFeedbackLabel + public void DeleteFeedbackLabel() + { + // Snippet: DeleteFeedbackLabel(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/feedbackLabels/[FEEDBACK_LABEL]"; + // Make the request + contactCenterInsightsClient.DeleteFeedbackLabel(name); + // End snippet + } + + /// Snippet for DeleteFeedbackLabelAsync + public async Task DeleteFeedbackLabelAsync() + { + // Snippet: DeleteFeedbackLabelAsync(string, CallSettings) + // Additional: DeleteFeedbackLabelAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/conversations/[CONVERSATION]/feedbackLabels/[FEEDBACK_LABEL]"; + // Make the request + await contactCenterInsightsClient.DeleteFeedbackLabelAsync(name); + // End snippet + } + + /// Snippet for DeleteFeedbackLabel + public void DeleteFeedbackLabelResourceNames() + { + // Snippet: DeleteFeedbackLabel(FeedbackLabelName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"); + // Make the request + contactCenterInsightsClient.DeleteFeedbackLabel(name); + // End snippet + } + + /// Snippet for DeleteFeedbackLabelAsync + public async Task DeleteFeedbackLabelResourceNamesAsync() + { + // Snippet: DeleteFeedbackLabelAsync(FeedbackLabelName, CallSettings) + // Additional: DeleteFeedbackLabelAsync(FeedbackLabelName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + FeedbackLabelName name = FeedbackLabelName.FromProjectLocationConversationFeedbackLabel("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[FEEDBACK_LABEL]"); + // Make the request + await contactCenterInsightsClient.DeleteFeedbackLabelAsync(name); + // End snippet + } + + /// Snippet for ListAllFeedbackLabels + public void ListAllFeedbackLabelsRequestObject() + { + // Snippet: ListAllFeedbackLabels(ListAllFeedbackLabelsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + ListAllFeedbackLabelsRequest request = new ListAllFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabels(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAllFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAllFeedbackLabelsAsync + public async Task ListAllFeedbackLabelsRequestObjectAsync() + { + // Snippet: ListAllFeedbackLabelsAsync(ListAllFeedbackLabelsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + ListAllFeedbackLabelsRequest request = new ListAllFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabelsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAllFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAllFeedbackLabels + public void ListAllFeedbackLabels() + { + // Snippet: ListAllFeedbackLabels(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabels(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAllFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAllFeedbackLabelsAsync + public async Task ListAllFeedbackLabelsAsync() + { + // Snippet: ListAllFeedbackLabelsAsync(string, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabelsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAllFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAllFeedbackLabels + public void ListAllFeedbackLabelsResourceNames() + { + // Snippet: ListAllFeedbackLabels(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabels(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (FeedbackLabel item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAllFeedbackLabelsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAllFeedbackLabelsAsync + public async Task ListAllFeedbackLabelsResourceNamesAsync() + { + // Snippet: ListAllFeedbackLabelsAsync(LocationName, string, int?, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = contactCenterInsightsClient.ListAllFeedbackLabelsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await response.ForEachAsync((FeedbackLabel item) => + { + // Do something with each item + Console.WriteLine(item); + }); + + // Or iterate over pages (of server-defined size), performing one RPC per page + await response.AsRawResponses().ForEachAsync((ListAllFeedbackLabelsResponse page) => + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (FeedbackLabel item in page) + { + // Do something with each item + Console.WriteLine(item); + } + }); + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (FeedbackLabel item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for BulkUploadFeedbackLabels + public void BulkUploadFeedbackLabelsRequestObject() + { + // Snippet: BulkUploadFeedbackLabels(BulkUploadFeedbackLabelsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + BulkUploadFeedbackLabelsRequest request = new BulkUploadFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new BulkUploadFeedbackLabelsRequest.Types.GcsSource(), + ValidateOnly = false, + }; + // Make the request + Operation response = contactCenterInsightsClient.BulkUploadFeedbackLabels(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkUploadFeedbackLabelsAsync + public async Task BulkUploadFeedbackLabelsRequestObjectAsync() + { + // Snippet: BulkUploadFeedbackLabelsAsync(BulkUploadFeedbackLabelsRequest, CallSettings) + // Additional: BulkUploadFeedbackLabelsAsync(BulkUploadFeedbackLabelsRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + BulkUploadFeedbackLabelsRequest request = new BulkUploadFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + GcsSource = new BulkUploadFeedbackLabelsRequest.Types.GcsSource(), + ValidateOnly = false, + }; + // Make the request + Operation response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkUploadFeedbackLabels + public void BulkUploadFeedbackLabels() + { + // Snippet: BulkUploadFeedbackLabels(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = contactCenterInsightsClient.BulkUploadFeedbackLabels(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkUploadFeedbackLabelsAsync + public async Task BulkUploadFeedbackLabelsAsync() + { + // Snippet: BulkUploadFeedbackLabelsAsync(string, CallSettings) + // Additional: BulkUploadFeedbackLabelsAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkUploadFeedbackLabels + public void BulkUploadFeedbackLabelsResourceNames() + { + // Snippet: BulkUploadFeedbackLabels(LocationName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = contactCenterInsightsClient.BulkUploadFeedbackLabels(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkUploadFeedbackLabelsAsync + public async Task BulkUploadFeedbackLabelsResourceNamesAsync() + { + // Snippet: BulkUploadFeedbackLabelsAsync(LocationName, CallSettings) + // Additional: BulkUploadFeedbackLabelsAsync(LocationName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await contactCenterInsightsClient.BulkUploadFeedbackLabelsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkUploadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkUploadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkUploadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDownloadFeedbackLabels + public void BulkDownloadFeedbackLabelsRequestObject() + { + // Snippet: BulkDownloadFeedbackLabels(BulkDownloadFeedbackLabelsRequest, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + BulkDownloadFeedbackLabelsRequest request = new BulkDownloadFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + GcsDestination = new BulkDownloadFeedbackLabelsRequest.Types.GcsDestination(), + MaxDownloadCount = 0, + FeedbackLabelType = BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified, + ConversationFilter = "", + TemplateQaScorecardId = { "", }, + }; + // Make the request + Operation response = contactCenterInsightsClient.BulkDownloadFeedbackLabels(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDownloadFeedbackLabelsAsync + public async Task BulkDownloadFeedbackLabelsRequestObjectAsync() + { + // Snippet: BulkDownloadFeedbackLabelsAsync(BulkDownloadFeedbackLabelsRequest, CallSettings) + // Additional: BulkDownloadFeedbackLabelsAsync(BulkDownloadFeedbackLabelsRequest, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + BulkDownloadFeedbackLabelsRequest request = new BulkDownloadFeedbackLabelsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + GcsDestination = new BulkDownloadFeedbackLabelsRequest.Types.GcsDestination(), + MaxDownloadCount = 0, + FeedbackLabelType = BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified, + ConversationFilter = "", + TemplateQaScorecardId = { "", }, + }; + // Make the request + Operation response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDownloadFeedbackLabels + public void BulkDownloadFeedbackLabels() + { + // Snippet: BulkDownloadFeedbackLabels(string, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = contactCenterInsightsClient.BulkDownloadFeedbackLabels(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDownloadFeedbackLabelsAsync + public async Task BulkDownloadFeedbackLabelsAsync() + { + // Snippet: BulkDownloadFeedbackLabelsAsync(string, CallSettings) + // Additional: BulkDownloadFeedbackLabelsAsync(string, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + Operation response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDownloadFeedbackLabels + public void BulkDownloadFeedbackLabelsResourceNames() + { + // Snippet: BulkDownloadFeedbackLabels(LocationName, CallSettings) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = ContactCenterInsightsClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = contactCenterInsightsClient.BulkDownloadFeedbackLabels(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabels(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BulkDownloadFeedbackLabelsAsync + public async Task BulkDownloadFeedbackLabelsResourceNamesAsync() + { + // Snippet: BulkDownloadFeedbackLabelsAsync(LocationName, CallSettings) + // Additional: BulkDownloadFeedbackLabelsAsync(LocationName, CancellationToken) + // Create client + ContactCenterInsightsClient contactCenterInsightsClient = await ContactCenterInsightsClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await contactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync(parent); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BulkDownloadFeedbackLabelsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await contactCenterInsightsClient.PollOnceBulkDownloadFeedbackLabelsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BulkDownloadFeedbackLabelsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + } +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.Snippets/Google.Cloud.ContactCenterInsights.V1.Snippets.csproj b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.Snippets/Google.Cloud.ContactCenterInsights.V1.Snippets.csproj new file mode 100755 index 000000000000..46d42c959e41 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.Snippets/Google.Cloud.ContactCenterInsights.V1.Snippets.csproj @@ -0,0 +1,15 @@ + + + + + net6.0;net462 + latest + + + + + + + + + \ No newline at end of file diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsights.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsights.g.cs new file mode 100755 index 000000000000..117f07444b3e --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsights.g.cs @@ -0,0 +1,39461 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.ContactCenterInsights.V1 { + + /// Holder for reflection information generated from google/cloud/contactcenterinsights/v1/contact_center_insights.proto + public static partial class ContactCenterInsightsReflection { + + #region Descriptor + /// File descriptor for google/cloud/contactcenterinsights/v1/contact_center_insights.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ContactCenterInsightsReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CkNnb29nbGUvY2xvdWQvY29udGFjdGNlbnRlcmluc2lnaHRzL3YxL2NvbnRh", + "Y3RfY2VudGVyX2luc2lnaHRzLnByb3RvEiVnb29nbGUuY2xvdWQuY29udGFj", + "dGNlbnRlcmluc2lnaHRzLnYxGhxnb29nbGUvYXBpL2Fubm90YXRpb25zLnBy", + "b3RvGhdnb29nbGUvYXBpL2NsaWVudC5wcm90bxofZ29vZ2xlL2FwaS9maWVs", + "ZF9iZWhhdmlvci5wcm90bxoZZ29vZ2xlL2FwaS9yZXNvdXJjZS5wcm90bxo1", + "Z29vZ2xlL2Nsb3VkL2NvbnRhY3RjZW50ZXJpbnNpZ2h0cy92MS9yZXNvdXJj", + "ZXMucHJvdG8aI2dvb2dsZS9sb25ncnVubmluZy9vcGVyYXRpb25zLnByb3Rv", + "Gh5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8aG2dvb2dsZS9wcm90", + "b2J1Zi9lbXB0eS5wcm90bxogZ29vZ2xlL3Byb3RvYnVmL2ZpZWxkX21hc2su", + "cHJvdG8aH2dvb2dsZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8aF2dvb2ds", + "ZS9ycGMvc3RhdHVzLnByb3RvGhpnb29nbGUvdHlwZS9pbnRlcnZhbC5wcm90", + "byJkChVDYWxjdWxhdGVTdGF0c1JlcXVlc3QSOwoIbG9jYXRpb24YASABKAlC", + "KeBBAvpBIwohbG9jYXRpb25zLmdvb2dsZWFwaXMuY29tL0xvY2F0aW9uEg4K", + "BmZpbHRlchgCIAEoCSKPCgoWQ2FsY3VsYXRlU3RhdHNSZXNwb25zZRIzChBh", + "dmVyYWdlX2R1cmF0aW9uGAEgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0", + "aW9uEhoKEmF2ZXJhZ2VfdHVybl9jb3VudBgCIAEoBRIaChJjb252ZXJzYXRp", + "b25fY291bnQYAyABKAUSfQoZc21hcnRfaGlnaGxpZ2h0ZXJfbWF0Y2hlcxgE", + "IAMoCzJaLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEu", + "Q2FsY3VsYXRlU3RhdHNSZXNwb25zZS5TbWFydEhpZ2hsaWdodGVyTWF0Y2hl", + "c0VudHJ5En8KGmN1c3RvbV9oaWdobGlnaHRlcl9tYXRjaGVzGAUgAygLMlsu", + "Z29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5DYWxjdWxh", + "dGVTdGF0c1Jlc3BvbnNlLkN1c3RvbUhpZ2hsaWdodGVyTWF0Y2hlc0VudHJ5", + "EmoKDWlzc3VlX21hdGNoZXMYBiADKAsyTy5nb29nbGUuY2xvdWQuY29udGFj", + "dGNlbnRlcmluc2lnaHRzLnYxLkNhbGN1bGF0ZVN0YXRzUmVzcG9uc2UuSXNz", + "dWVNYXRjaGVzRW50cnlCAhgBEnEKE2lzc3VlX21hdGNoZXNfc3RhdHMYCCAD", + "KAsyVC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkNh", + "bGN1bGF0ZVN0YXRzUmVzcG9uc2UuSXNzdWVNYXRjaGVzU3RhdHNFbnRyeRJw", + "Ch5jb252ZXJzYXRpb25fY291bnRfdGltZV9zZXJpZXMYByABKAsySC5nb29n", + "bGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkNhbGN1bGF0ZVN0", + "YXRzUmVzcG9uc2UuVGltZVNlcmllcxr9AQoKVGltZVNlcmllcxI0ChFpbnRl", + "cnZhbF9kdXJhdGlvbhgBIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlv", + "bhJhCgZwb2ludHMYAiADKAsyUS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRl", + "cmluc2lnaHRzLnYxLkNhbGN1bGF0ZVN0YXRzUmVzcG9uc2UuVGltZVNlcmll", + "cy5JbnRlcnZhbBpWCghJbnRlcnZhbBIuCgpzdGFydF90aW1lGAEgASgLMhou", + "Z29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIaChJjb252ZXJzYXRpb25fY291", + "bnQYAiABKAUaPgocU21hcnRIaWdobGlnaHRlck1hdGNoZXNFbnRyeRILCgNr", + "ZXkYASABKAkSDQoFdmFsdWUYAiABKAU6AjgBGj8KHUN1c3RvbUhpZ2hsaWdo", + "dGVyTWF0Y2hlc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoBToC", + "OAEaMwoRSXNzdWVNYXRjaGVzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVl", + "GAIgASgFOgI4ARqAAQoWSXNzdWVNYXRjaGVzU3RhdHNFbnRyeRILCgNrZXkY", + "ASABKAkSVQoFdmFsdWUYAiABKAsyRi5nb29nbGUuY2xvdWQuY29udGFjdGNl", + "bnRlcmluc2lnaHRzLnYxLklzc3VlTW9kZWxMYWJlbFN0YXRzLklzc3VlU3Rh", + "dHM6AjgBIrYCCh9DcmVhdGVBbmFseXNpc09wZXJhdGlvbk1ldGFkYXRhEjQK", + "C2NyZWF0ZV90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFt", + "cEID4EEDEjEKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRp", + "bWVzdGFtcEID4EEDEk8KDGNvbnZlcnNhdGlvbhgDIAEoCUI54EED+kEzCjFj", + "b250YWN0Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBpcy5jb20vQ29udmVyc2F0", + "aW9uElkKEmFubm90YXRvcl9zZWxlY3RvchgEIAEoCzI4Lmdvb2dsZS5jbG91", + "ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQW5ub3RhdG9yU2VsZWN0b3JC", + "A+BBAyK/AQoZQ3JlYXRlQ29udmVyc2F0aW9uUmVxdWVzdBI5CgZwYXJlbnQY", + "ASABKAlCKeBBAvpBIwohbG9jYXRpb25zLmdvb2dsZWFwaXMuY29tL0xvY2F0", + "aW9uEk4KDGNvbnZlcnNhdGlvbhgCIAEoCzIzLmdvb2dsZS5jbG91ZC5jb250", + "YWN0Y2VudGVyaW5zaWdodHMudjEuQ29udmVyc2F0aW9uQgPgQQISFwoPY29u", + "dmVyc2F0aW9uX2lkGAMgASgJIuwCChlVcGxvYWRDb252ZXJzYXRpb25SZXF1", + "ZXN0EjkKBnBhcmVudBgBIAEoCUIp4EEC+kEjCiFsb2NhdGlvbnMuZ29vZ2xl", + "YXBpcy5jb20vTG9jYXRpb24STgoMY29udmVyc2F0aW9uGAIgASgLMjMuZ29v", + "Z2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5Db252ZXJzYXRp", + "b25CA+BBAhIcCg9jb252ZXJzYXRpb25faWQYAyABKAlCA+BBARJVChByZWRh", + "Y3Rpb25fY29uZmlnGAQgASgLMjYuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50", + "ZXJpbnNpZ2h0cy52MS5SZWRhY3Rpb25Db25maWdCA+BBARJPCg1zcGVlY2hf", + "Y29uZmlnGAsgASgLMjMuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNp", + "Z2h0cy52MS5TcGVlY2hDb25maWdCA+BBASLdAgoaVXBsb2FkQ29udmVyc2F0", + "aW9uTWV0YWRhdGESNAoLY3JlYXRlX3RpbWUYASABKAsyGi5nb29nbGUucHJv", + "dG9idWYuVGltZXN0YW1wQgPgQQMSMQoIZW5kX3RpbWUYAiABKAsyGi5nb29n", + "bGUucHJvdG9idWYuVGltZXN0YW1wQgPgQQMSVgoHcmVxdWVzdBgDIAEoCzJA", + "Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuVXBsb2Fk", + "Q29udmVyc2F0aW9uUmVxdWVzdEID4EEDEh8KEmFuYWx5c2lzX29wZXJhdGlv", + "bhgEIAEoCUID4EEDEl0KGGFwcGxpZWRfcmVkYWN0aW9uX2NvbmZpZxgFIAEo", + "CzI2Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuUmVk", + "YWN0aW9uQ29uZmlnQgPgQQMi6gEKGExpc3RDb252ZXJzYXRpb25zUmVxdWVz", + "dBI5CgZwYXJlbnQYASABKAlCKeBBAvpBIwohbG9jYXRpb25zLmdvb2dsZWFw", + "aXMuY29tL0xvY2F0aW9uEhEKCXBhZ2Vfc2l6ZRgCIAEoBRISCgpwYWdlX3Rv", + "a2VuGAMgASgJEg4KBmZpbHRlchgEIAEoCRIVCghvcmRlcl9ieRgHIAEoCUID", + "4EEBEkUKBHZpZXcYBSABKA4yNy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRl", + "cmluc2lnaHRzLnYxLkNvbnZlcnNhdGlvblZpZXcigAEKGUxpc3RDb252ZXJz", + "YXRpb25zUmVzcG9uc2USSgoNY29udmVyc2F0aW9ucxgBIAMoCzIzLmdvb2ds", + "ZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQ29udmVyc2F0aW9u", + "EhcKD25leHRfcGFnZV90b2tlbhgCIAEoCSKoAQoWR2V0Q29udmVyc2F0aW9u", + "UmVxdWVzdBJHCgRuYW1lGAEgASgJQjngQQL6QTMKMWNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9Db252ZXJzYXRpb24SRQoEdmlldxgC", + "IAEoDjI3Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEu", + "Q29udmVyc2F0aW9uVmlldyKcAQoZVXBkYXRlQ29udmVyc2F0aW9uUmVxdWVz", + "dBJOCgxjb252ZXJzYXRpb24YASABKAsyMy5nb29nbGUuY2xvdWQuY29udGFj", + "dGNlbnRlcmluc2lnaHRzLnYxLkNvbnZlcnNhdGlvbkID4EECEi8KC3VwZGF0", + "ZV9tYXNrGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFzayJzChlE", + "ZWxldGVDb252ZXJzYXRpb25SZXF1ZXN0EkcKBG5hbWUYASABKAlCOeBBAvpB", + "MwoxY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL0NvbnZl", + "cnNhdGlvbhINCgVmb3JjZRgCIAEoCCLLCQoaSW5nZXN0Q29udmVyc2F0aW9u", + "c1JlcXVlc3QSYQoKZ2NzX3NvdXJjZRgCIAEoCzJLLmdvb2dsZS5jbG91ZC5j", + "b250YWN0Y2VudGVyaW5zaWdodHMudjEuSW5nZXN0Q29udmVyc2F0aW9uc1Jl", + "cXVlc3QuR2NzU291cmNlSAASfAoYdHJhbnNjcmlwdF9vYmplY3RfY29uZmln", + "GAMgASgLMlguZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52", + "MS5Jbmdlc3RDb252ZXJzYXRpb25zUmVxdWVzdC5UcmFuc2NyaXB0T2JqZWN0", + "Q29uZmlnSAESOQoGcGFyZW50GAEgASgJQingQQL6QSMKIWxvY2F0aW9ucy5n", + "b29nbGVhcGlzLmNvbS9Mb2NhdGlvbhJxChNjb252ZXJzYXRpb25fY29uZmln", + "GAQgASgLMlQuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52", + "MS5Jbmdlc3RDb252ZXJzYXRpb25zUmVxdWVzdC5Db252ZXJzYXRpb25Db25m", + "aWcSVQoQcmVkYWN0aW9uX2NvbmZpZxgFIAEoCzI2Lmdvb2dsZS5jbG91ZC5j", + "b250YWN0Y2VudGVyaW5zaWdodHMudjEuUmVkYWN0aW9uQ29uZmlnQgPgQQES", + "TwoNc3BlZWNoX2NvbmZpZxgGIAEoCzIzLmdvb2dsZS5jbG91ZC5jb250YWN0", + "Y2VudGVyaW5zaWdodHMudjEuU3BlZWNoQ29uZmlnQgPgQQESHQoLc2FtcGxl", + "X3NpemUYByABKAVCA+BBAUgCiAEBGtgCCglHY3NTb3VyY2USFwoKYnVja2V0", + "X3VyaRgBIAEoCUID4EECEn0KEmJ1Y2tldF9vYmplY3RfdHlwZRgCIAEoDjJc", + "Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuSW5nZXN0", + "Q29udmVyc2F0aW9uc1JlcXVlc3QuR2NzU291cmNlLkJ1Y2tldE9iamVjdFR5", + "cGVCA+BBARIlChNtZXRhZGF0YV9idWNrZXRfdXJpGAMgASgJQgPgQQFIAIgB", + "ARIhChRjdXN0b21fbWV0YWRhdGFfa2V5cxgMIAMoCUID4EEBIlEKEEJ1Y2tl", + "dE9iamVjdFR5cGUSIgoeQlVDS0VUX09CSkVDVF9UWVBFX1VOU1BFQ0lGSUVE", + "EAASDgoKVFJBTlNDUklQVBABEgkKBUFVRElPEAJCFgoUX21ldGFkYXRhX2J1", + "Y2tldF91cmkaaQoWVHJhbnNjcmlwdE9iamVjdENvbmZpZxJPCgZtZWRpdW0Y", + "ASABKA4yOi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYx", + "LkNvbnZlcnNhdGlvbi5NZWRpdW1CA+BBAhpmChJDb252ZXJzYXRpb25Db25m", + "aWcSFQoIYWdlbnRfaWQYASABKAlCA+BBARIaCg1hZ2VudF9jaGFubmVsGAIg", + "ASgFQgPgQQESHQoQY3VzdG9tZXJfY2hhbm5lbBgDIAEoBUID4EEBQggKBnNv", + "dXJjZUIPCg1vYmplY3RfY29uZmlnQg4KDF9zYW1wbGVfc2l6ZSLIBAobSW5n", + "ZXN0Q29udmVyc2F0aW9uc01ldGFkYXRhEjQKC2NyZWF0ZV90aW1lGAEgASgL", + "MhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjEKCGVuZF90aW1l", + "GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDElcKB3Jl", + "cXVlc3QYAyABKAsyQS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2ln", + "aHRzLnYxLkluZ2VzdENvbnZlcnNhdGlvbnNSZXF1ZXN0QgPgQQMSLwoOcGFy", + "dGlhbF9lcnJvcnMYBCADKAsyEi5nb29nbGUucnBjLlN0YXR1c0ID4EEDEoQB", + "Chppbmdlc3RfY29udmVyc2F0aW9uc19zdGF0cxgFIAEoCzJbLmdvb2dsZS5j", + "bG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuSW5nZXN0Q29udmVyc2F0", + "aW9uc01ldGFkYXRhLkluZ2VzdENvbnZlcnNhdGlvbnNTdGF0c0ID4EEDGq4B", + "ChhJbmdlc3RDb252ZXJzYXRpb25zU3RhdHMSIwoWcHJvY2Vzc2VkX29iamVj", + "dF9jb3VudBgBIAEoBUID4EEDEiUKGGR1cGxpY2F0ZXNfc2tpcHBlZF9jb3Vu", + "dBgCIAEoBUID4EEDEiQKF3N1Y2Nlc3NmdWxfaW5nZXN0X2NvdW50GAMgASgF", + "QgPgQQMSIAoTZmFpbGVkX2luZ2VzdF9jb3VudBgEIAEoBUID4EEDIh0KG0lu", + "Z2VzdENvbnZlcnNhdGlvbnNSZXNwb25zZSKqAQoVQ3JlYXRlQW5hbHlzaXNS", + "ZXF1ZXN0EkkKBnBhcmVudBgBIAEoCUI54EEC+kEzCjFjb250YWN0Y2VudGVy", + "aW5zaWdodHMuZ29vZ2xlYXBpcy5jb20vQ29udmVyc2F0aW9uEkYKCGFuYWx5", + "c2lzGAIgASgLMi8uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy52MS5BbmFseXNpc0ID4EECIpcBChNMaXN0QW5hbHlzZXNSZXF1ZXN0EkkK", + "BnBhcmVudBgBIAEoCUI54EEC+kEzCjFjb250YWN0Y2VudGVyaW5zaWdodHMu", + "Z29vZ2xlYXBpcy5jb20vQ29udmVyc2F0aW9uEhEKCXBhZ2Vfc2l6ZRgCIAEo", + "BRISCgpwYWdlX3Rva2VuGAMgASgJEg4KBmZpbHRlchgEIAEoCSJyChRMaXN0", + "QW5hbHlzZXNSZXNwb25zZRJBCghhbmFseXNlcxgBIAMoCzIvLmdvb2dsZS5j", + "bG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQW5hbHlzaXMSFwoPbmV4", + "dF9wYWdlX3Rva2VuGAIgASgJIlkKEkdldEFuYWx5c2lzUmVxdWVzdBJDCgRu", + "YW1lGAEgASgJQjXgQQL6QS8KLWNvbnRhY3RjZW50ZXJpbnNpZ2h0cy5nb29n", + "bGVhcGlzLmNvbS9BbmFseXNpcyJcChVEZWxldGVBbmFseXNpc1JlcXVlc3QS", + "QwoEbmFtZRgBIAEoCUI14EEC+kEvCi1jb250YWN0Y2VudGVyaW5zaWdodHMu", + "Z29vZ2xlYXBpcy5jb20vQW5hbHlzaXMi6QEKH0J1bGtBbmFseXplQ29udmVy", + "c2F0aW9uc1JlcXVlc3QSOQoGcGFyZW50GAEgASgJQingQQL6QSMKIWxvY2F0", + "aW9ucy5nb29nbGVhcGlzLmNvbS9Mb2NhdGlvbhITCgZmaWx0ZXIYAiABKAlC", + "A+BBAhIgChNhbmFseXNpc19wZXJjZW50YWdlGAMgASgCQgPgQQISVAoSYW5u", + "b3RhdG9yX3NlbGVjdG9yGAggASgLMjguZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5Bbm5vdGF0b3JTZWxlY3RvciL0AgogQnVsa0Fu", + "YWx5emVDb252ZXJzYXRpb25zTWV0YWRhdGESLwoLY3JlYXRlX3RpbWUYASAB", + "KAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEiwKCGVuZF90aW1lGAIg", + "ASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBJXCgdyZXF1ZXN0GAMg", + "ASgLMkYuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5C", + "dWxrQW5hbHl6ZUNvbnZlcnNhdGlvbnNSZXF1ZXN0EiAKGGNvbXBsZXRlZF9h", + "bmFseXNlc19jb3VudBgEIAEoBRIdChVmYWlsZWRfYW5hbHlzZXNfY291bnQY", + "BSABKAUSJgoedG90YWxfcmVxdWVzdGVkX2FuYWx5c2VzX2NvdW50GAYgASgF", + "Ei8KDnBhcnRpYWxfZXJyb3JzGAcgAygLMhIuZ29vZ2xlLnJwYy5TdGF0dXNC", + "A+BBAyJkCiBCdWxrQW5hbHl6ZUNvbnZlcnNhdGlvbnNSZXNwb25zZRIhChlz", + "dWNjZXNzZnVsX2FuYWx5c2lzX2NvdW50GAEgASgFEh0KFWZhaWxlZF9hbmFs", + "eXNpc19jb3VudBgCIAEoBSKUAQoeQnVsa0RlbGV0ZUNvbnZlcnNhdGlvbnNS", + "ZXF1ZXN0EjkKBnBhcmVudBgBIAEoCUIp4EEC+kEjCiFsb2NhdGlvbnMuZ29v", + "Z2xlYXBpcy5jb20vTG9jYXRpb24SDgoGZmlsdGVyGAIgASgJEhgKEG1heF9k", + "ZWxldGVfY291bnQYAyABKAUSDQoFZm9yY2UYBCABKAgihAIKH0J1bGtEZWxl", + "dGVDb252ZXJzYXRpb25zTWV0YWRhdGESLwoLY3JlYXRlX3RpbWUYASABKAsy", + "Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEiwKCGVuZF90aW1lGAIgASgL", + "MhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBJWCgdyZXF1ZXN0GAMgASgL", + "MkUuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5CdWxr", + "RGVsZXRlQ29udmVyc2F0aW9uc1JlcXVlc3QSKgoOcGFydGlhbF9lcnJvcnMY", + "BCADKAsyEi5nb29nbGUucnBjLlN0YXR1cyIhCh9CdWxrRGVsZXRlQ29udmVy", + "c2F0aW9uc1Jlc3BvbnNlIpgEChlFeHBvcnRJbnNpZ2h0c0RhdGFSZXF1ZXN0", + "EnUKFWJpZ19xdWVyeV9kZXN0aW5hdGlvbhgCIAEoCzJULmdvb2dsZS5jbG91", + "ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuRXhwb3J0SW5zaWdodHNEYXRh", + "UmVxdWVzdC5CaWdRdWVyeURlc3RpbmF0aW9uSAASOQoGcGFyZW50GAEgASgJ", + "QingQQL6QSMKIWxvY2F0aW9ucy5nb29nbGVhcGlzLmNvbS9Mb2NhdGlvbhIO", + "CgZmaWx0ZXIYAyABKAkSDwoHa21zX2tleRgEIAEoCRJsChF3cml0ZV9kaXNw", + "b3NpdGlvbhgFIAEoDjJRLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5z", + "aWdodHMudjEuRXhwb3J0SW5zaWdodHNEYXRhUmVxdWVzdC5Xcml0ZURpc3Bv", + "c2l0aW9uGk4KE0JpZ1F1ZXJ5RGVzdGluYXRpb24SEgoKcHJvamVjdF9pZBgD", + "IAEoCRIUCgdkYXRhc2V0GAEgASgJQgPgQQISDQoFdGFibGUYAiABKAkiWwoQ", + "V3JpdGVEaXNwb3NpdGlvbhIhCh1XUklURV9ESVNQT1NJVElPTl9VTlNQRUNJ", + "RklFRBAAEhIKDldSSVRFX1RSVU5DQVRFEAESEAoMV1JJVEVfQVBQRU5EEAJC", + "DQoLZGVzdGluYXRpb24ihAIKGkV4cG9ydEluc2lnaHRzRGF0YU1ldGFkYXRh", + "EjQKC2NyZWF0ZV90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz", + "dGFtcEID4EEDEjEKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVm", + "LlRpbWVzdGFtcEID4EEDElEKB3JlcXVlc3QYAyABKAsyQC5nb29nbGUuY2xv", + "dWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkV4cG9ydEluc2lnaHRzRGF0", + "YVJlcXVlc3QSKgoOcGFydGlhbF9lcnJvcnMYBCADKAsyEi5nb29nbGUucnBj", + "LlN0YXR1cyIcChpFeHBvcnRJbnNpZ2h0c0RhdGFSZXNwb25zZSKhAQoXQ3Jl", + "YXRlSXNzdWVNb2RlbFJlcXVlc3QSOQoGcGFyZW50GAEgASgJQingQQL6QSMK", + "IWxvY2F0aW9ucy5nb29nbGVhcGlzLmNvbS9Mb2NhdGlvbhJLCgtpc3N1ZV9t", + "b2RlbBgCIAEoCzIxLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdo", + "dHMudjEuSXNzdWVNb2RlbEID4EECItQBChhDcmVhdGVJc3N1ZU1vZGVsTWV0", + "YWRhdGESNAoLY3JlYXRlX3RpbWUYASABKAsyGi5nb29nbGUucHJvdG9idWYu", + "VGltZXN0YW1wQgPgQQMSMQoIZW5kX3RpbWUYAiABKAsyGi5nb29nbGUucHJv", + "dG9idWYuVGltZXN0YW1wQgPgQQMSTwoHcmVxdWVzdBgDIAEoCzI+Lmdvb2ds", + "ZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQ3JlYXRlSXNzdWVN", + "b2RlbFJlcXVlc3QilwEKF1VwZGF0ZUlzc3VlTW9kZWxSZXF1ZXN0EksKC2lz", + "c3VlX21vZGVsGAEgASgLMjEuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy52MS5Jc3N1ZU1vZGVsQgPgQQISLwoLdXBkYXRlX21hc2sYAiAB", + "KAsyGi5nb29nbGUucHJvdG9idWYuRmllbGRNYXNrIlMKFkxpc3RJc3N1ZU1v", + "ZGVsc1JlcXVlc3QSOQoGcGFyZW50GAEgASgJQingQQL6QSMKIWxvY2F0aW9u", + "cy5nb29nbGVhcGlzLmNvbS9Mb2NhdGlvbiJiChdMaXN0SXNzdWVNb2RlbHNS", + "ZXNwb25zZRJHCgxpc3N1ZV9tb2RlbHMYASADKAsyMS5nb29nbGUuY2xvdWQu", + "Y29udGFjdGNlbnRlcmluc2lnaHRzLnYxLklzc3VlTW9kZWwiXQoUR2V0SXNz", + "dWVNb2RlbFJlcXVlc3QSRQoEbmFtZRgBIAEoCUI34EEC+kExCi9jb250YWN0", + "Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBpcy5jb20vSXNzdWVNb2RlbCJgChdE", + "ZWxldGVJc3N1ZU1vZGVsUmVxdWVzdBJFCgRuYW1lGAEgASgJQjfgQQL6QTEK", + "L2NvbnRhY3RjZW50ZXJpbnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9Jc3N1ZU1v", + "ZGVsItQBChhEZWxldGVJc3N1ZU1vZGVsTWV0YWRhdGESNAoLY3JlYXRlX3Rp", + "bWUYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPgQQMSMQoI", + "ZW5kX3RpbWUYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPg", + "QQMSTwoHcmVxdWVzdBgDIAEoCzI+Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2Vu", + "dGVyaW5zaWdodHMudjEuRGVsZXRlSXNzdWVNb2RlbFJlcXVlc3QiYAoXRGVw", + "bG95SXNzdWVNb2RlbFJlcXVlc3QSRQoEbmFtZRgBIAEoCUI34EEC+kExCi9j", + "b250YWN0Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBpcy5jb20vSXNzdWVNb2Rl", + "bCIaChhEZXBsb3lJc3N1ZU1vZGVsUmVzcG9uc2Ui1AEKGERlcGxveUlzc3Vl", + "TW9kZWxNZXRhZGF0YRI0CgtjcmVhdGVfdGltZRgBIAEoCzIaLmdvb2dsZS5w", + "cm90b2J1Zi5UaW1lc3RhbXBCA+BBAxIxCghlbmRfdGltZRgCIAEoCzIaLmdv", + "b2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCA+BBAxJPCgdyZXF1ZXN0GAMgASgL", + "Mj4uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5EZXBs", + "b3lJc3N1ZU1vZGVsUmVxdWVzdCJiChlVbmRlcGxveUlzc3VlTW9kZWxSZXF1", + "ZXN0EkUKBG5hbWUYASABKAlCN+BBAvpBMQovY29udGFjdGNlbnRlcmluc2ln", + "aHRzLmdvb2dsZWFwaXMuY29tL0lzc3VlTW9kZWwiHAoaVW5kZXBsb3lJc3N1", + "ZU1vZGVsUmVzcG9uc2Ui2AEKGlVuZGVwbG95SXNzdWVNb2RlbE1ldGFkYXRh", + "EjQKC2NyZWF0ZV90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz", + "dGFtcEID4EEDEjEKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVm", + "LlRpbWVzdGFtcEID4EEDElEKB3JlcXVlc3QYAyABKAsyQC5nb29nbGUuY2xv", + "dWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlVuZGVwbG95SXNzdWVNb2Rl", + "bFJlcXVlc3QihAIKF0V4cG9ydElzc3VlTW9kZWxSZXF1ZXN0EmgKD2djc19k", + "ZXN0aW5hdGlvbhgCIAEoCzJNLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVy", + "aW5zaWdodHMudjEuRXhwb3J0SXNzdWVNb2RlbFJlcXVlc3QuR2NzRGVzdGlu", + "YXRpb25IABJFCgRuYW1lGAEgASgJQjfgQQL6QTEKL2NvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9Jc3N1ZU1vZGVsGikKDkdjc0Rlc3Rp", + "bmF0aW9uEhcKCm9iamVjdF91cmkYASABKAlCA+BBAkINCgtEZXN0aW5hdGlv", + "biIaChhFeHBvcnRJc3N1ZU1vZGVsUmVzcG9uc2UiygEKGEV4cG9ydElzc3Vl", + "TW9kZWxNZXRhZGF0YRIvCgtjcmVhdGVfdGltZRgBIAEoCzIaLmdvb2dsZS5w", + "cm90b2J1Zi5UaW1lc3RhbXASLAoIZW5kX3RpbWUYAiABKAsyGi5nb29nbGUu", + "cHJvdG9idWYuVGltZXN0YW1wEk8KB3JlcXVlc3QYAyABKAsyPi5nb29nbGUu", + "Y2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkV4cG9ydElzc3VlTW9k", + "ZWxSZXF1ZXN0IoMCChdJbXBvcnRJc3N1ZU1vZGVsUmVxdWVzdBJeCgpnY3Nf", + "c291cmNlGAIgASgLMkguZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNp", + "Z2h0cy52MS5JbXBvcnRJc3N1ZU1vZGVsUmVxdWVzdC5HY3NTb3VyY2VIABI5", + "CgZwYXJlbnQYASABKAlCKeBBAvpBIwohbG9jYXRpb25zLmdvb2dsZWFwaXMu", + "Y29tL0xvY2F0aW9uEh0KEGNyZWF0ZV9uZXdfbW9kZWwYAyABKAhCA+BBARok", + "CglHY3NTb3VyY2USFwoKb2JqZWN0X3VyaRgBIAEoCUID4EECQggKBlNvdXJj", + "ZSIaChhJbXBvcnRJc3N1ZU1vZGVsUmVzcG9uc2UiygEKGEltcG9ydElzc3Vl", + "TW9kZWxNZXRhZGF0YRIvCgtjcmVhdGVfdGltZRgBIAEoCzIaLmdvb2dsZS5w", + "cm90b2J1Zi5UaW1lc3RhbXASLAoIZW5kX3RpbWUYAiABKAsyGi5nb29nbGUu", + "cHJvdG9idWYuVGltZXN0YW1wEk8KB3JlcXVlc3QYAyABKAsyPi5nb29nbGUu", + "Y2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkltcG9ydElzc3VlTW9k", + "ZWxSZXF1ZXN0IlMKD0dldElzc3VlUmVxdWVzdBJACgRuYW1lGAEgASgJQjLg", + "QQL6QSwKKmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9J", + "c3N1ZSJcChFMaXN0SXNzdWVzUmVxdWVzdBJHCgZwYXJlbnQYASABKAlCN+BB", + "AvpBMQovY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL0lz", + "c3VlTW9kZWwiUgoSTGlzdElzc3Vlc1Jlc3BvbnNlEjwKBmlzc3VlcxgBIAMo", + "CzIsLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuSXNz", + "dWUihwEKElVwZGF0ZUlzc3VlUmVxdWVzdBJACgVpc3N1ZRgBIAEoCzIsLmdv", + "b2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuSXNzdWVCA+BB", + "AhIvCgt1cGRhdGVfbWFzaxgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5GaWVs", + "ZE1hc2siVgoSRGVsZXRlSXNzdWVSZXF1ZXN0EkAKBG5hbWUYASABKAlCMuBB", + "AvpBLAoqY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL0lz", + "c3VlIm8KH0NhbGN1bGF0ZUlzc3VlTW9kZWxTdGF0c1JlcXVlc3QSTAoLaXNz", + "dWVfbW9kZWwYASABKAlCN+BBAvpBMQovY29udGFjdGNlbnRlcmluc2lnaHRz", + "Lmdvb2dsZWFwaXMuY29tL0lzc3VlTW9kZWwidgogQ2FsY3VsYXRlSXNzdWVN", + "b2RlbFN0YXRzUmVzcG9uc2USUgoNY3VycmVudF9zdGF0cxgEIAEoCzI7Lmdv", + "b2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuSXNzdWVNb2Rl", + "bExhYmVsU3RhdHMiqgEKGkNyZWF0ZVBocmFzZU1hdGNoZXJSZXF1ZXN0EjkK", + "BnBhcmVudBgBIAEoCUIp4EEC+kEjCiFsb2NhdGlvbnMuZ29vZ2xlYXBpcy5j", + "b20vTG9jYXRpb24SUQoOcGhyYXNlX21hdGNoZXIYAiABKAsyNC5nb29nbGUu", + "Y2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlBocmFzZU1hdGNoZXJC", + "A+BBAiKNAQoZTGlzdFBocmFzZU1hdGNoZXJzUmVxdWVzdBI5CgZwYXJlbnQY", + "ASABKAlCKeBBAvpBIwohbG9jYXRpb25zLmdvb2dsZWFwaXMuY29tL0xvY2F0", + "aW9uEhEKCXBhZ2Vfc2l6ZRgCIAEoBRISCgpwYWdlX3Rva2VuGAMgASgJEg4K", + "BmZpbHRlchgEIAEoCSKEAQoaTGlzdFBocmFzZU1hdGNoZXJzUmVzcG9uc2US", + "TQoPcGhyYXNlX21hdGNoZXJzGAEgAygLMjQuZ29vZ2xlLmNsb3VkLmNvbnRh", + "Y3RjZW50ZXJpbnNpZ2h0cy52MS5QaHJhc2VNYXRjaGVyEhcKD25leHRfcGFn", + "ZV90b2tlbhgCIAEoCSJjChdHZXRQaHJhc2VNYXRjaGVyUmVxdWVzdBJICgRu", + "YW1lGAEgASgJQjrgQQL6QTQKMmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy5nb29n", + "bGVhcGlzLmNvbS9QaHJhc2VNYXRjaGVyImYKGkRlbGV0ZVBocmFzZU1hdGNo", + "ZXJSZXF1ZXN0EkgKBG5hbWUYASABKAlCOuBBAvpBNAoyY29udGFjdGNlbnRl", + "cmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL1BocmFzZU1hdGNoZXIioAEKGlVw", + "ZGF0ZVBocmFzZU1hdGNoZXJSZXF1ZXN0ElEKDnBocmFzZV9tYXRjaGVyGAEg", + "ASgLMjQuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5Q", + "aHJhc2VNYXRjaGVyQgPgQQISLwoLdXBkYXRlX21hc2sYAiABKAsyGi5nb29n", + "bGUucHJvdG9idWYuRmllbGRNYXNrIlkKEkdldFNldHRpbmdzUmVxdWVzdBJD", + "CgRuYW1lGAEgASgJQjXgQQL6QS8KLWNvbnRhY3RjZW50ZXJpbnNpZ2h0cy5n", + "b29nbGVhcGlzLmNvbS9TZXR0aW5ncyKVAQoVVXBkYXRlU2V0dGluZ3NSZXF1", + "ZXN0EkYKCHNldHRpbmdzGAEgASgLMi8uZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5TZXR0aW5nc0ID4EECEjQKC3VwZGF0ZV9tYXNr", + "GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFza0ID4EECIqcBChlD", + "cmVhdGVBbmFseXNpc1J1bGVSZXF1ZXN0EjkKBnBhcmVudBgBIAEoCUIp4EEC", + "+kEjCiFsb2NhdGlvbnMuZ29vZ2xlYXBpcy5jb20vTG9jYXRpb24STwoNYW5h", + "bHlzaXNfcnVsZRgCIAEoCzIzLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVy", + "aW5zaWdodHMudjEuQW5hbHlzaXNSdWxlQgPgQQIiYQoWR2V0QW5hbHlzaXNS", + "dWxlUmVxdWVzdBJHCgRuYW1lGAEgASgJQjngQQL6QTMKMWNvbnRhY3RjZW50", + "ZXJpbnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9BbmFseXNpc1J1bGUiogEKGVVw", + "ZGF0ZUFuYWx5c2lzUnVsZVJlcXVlc3QSTwoNYW5hbHlzaXNfcnVsZRgBIAEo", + "CzIzLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQW5h", + "bHlzaXNSdWxlQgPgQQISNAoLdXBkYXRlX21hc2sYAiABKAsyGi5nb29nbGUu", + "cHJvdG9idWYuRmllbGRNYXNrQgPgQQEiZAoZRGVsZXRlQW5hbHlzaXNSdWxl", + "UmVxdWVzdBJHCgRuYW1lGAEgASgJQjngQQL6QTMKMWNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9BbmFseXNpc1J1bGUihgEKGExpc3RB", + "bmFseXNpc1J1bGVzUmVxdWVzdBI5CgZwYXJlbnQYASABKAlCKeBBAvpBIwoh", + "bG9jYXRpb25zLmdvb2dsZWFwaXMuY29tL0xvY2F0aW9uEhYKCXBhZ2Vfc2l6", + "ZRgCIAEoBUID4EEBEhcKCnBhZ2VfdG9rZW4YAyABKAlCA+BBASKBAQoZTGlz", + "dEFuYWx5c2lzUnVsZXNSZXNwb25zZRJLCg5hbmFseXNpc19ydWxlcxgBIAMo", + "CzIzLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQW5h", + "bHlzaXNSdWxlEhcKD25leHRfcGFnZV90b2tlbhgCIAEoCSJlChhHZXRFbmNy", + "eXB0aW9uU3BlY1JlcXVlc3QSSQoEbmFtZRgBIAEoCUI74EEC+kE1CjNjb250", + "YWN0Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBpcy5jb20vRW5jcnlwdGlvblNw", + "ZWMidgofSW5pdGlhbGl6ZUVuY3J5cHRpb25TcGVjUmVxdWVzdBJTCg9lbmNy", + "eXB0aW9uX3NwZWMYASABKAsyNS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRl", + "cmluc2lnaHRzLnYxLkVuY3J5cHRpb25TcGVjQgPgQQIiIgogSW5pdGlhbGl6", + "ZUVuY3J5cHRpb25TcGVjUmVzcG9uc2UilQIKIEluaXRpYWxpemVFbmNyeXB0", + "aW9uU3BlY01ldGFkYXRhEjQKC2NyZWF0ZV90aW1lGAEgASgLMhouZ29vZ2xl", + "LnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjEKCGVuZF90aW1lGAIgASgLMhou", + "Z29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDElwKB3JlcXVlc3QYAyAB", + "KAsyRi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLklu", + "aXRpYWxpemVFbmNyeXB0aW9uU3BlY1JlcXVlc3RCA+BBAxIqCg5wYXJ0aWFs", + "X2Vycm9ycxgEIAMoCzISLmdvb2dsZS5ycGMuU3RhdHVzIo4BChFDcmVhdGVW", + "aWV3UmVxdWVzdBI5CgZwYXJlbnQYASABKAlCKeBBAvpBIwohbG9jYXRpb25z", + "Lmdvb2dsZWFwaXMuY29tL0xvY2F0aW9uEj4KBHZpZXcYAiABKAsyKy5nb29n", + "bGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlZpZXdCA+BBAiJR", + "Cg5HZXRWaWV3UmVxdWVzdBI/CgRuYW1lGAEgASgJQjHgQQL6QSsKKWNvbnRh", + "Y3RjZW50ZXJpbnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9WaWV3InQKEExpc3RW", + "aWV3c1JlcXVlc3QSOQoGcGFyZW50GAEgASgJQingQQL6QSMKIWxvY2F0aW9u", + "cy5nb29nbGVhcGlzLmNvbS9Mb2NhdGlvbhIRCglwYWdlX3NpemUYAiABKAUS", + "EgoKcGFnZV90b2tlbhgDIAEoCSJoChFMaXN0Vmlld3NSZXNwb25zZRI6CgV2", + "aWV3cxgBIAMoCzIrLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdo", + "dHMudjEuVmlldxIXCg9uZXh0X3BhZ2VfdG9rZW4YAiABKAkihAEKEVVwZGF0", + "ZVZpZXdSZXF1ZXN0Ej4KBHZpZXcYASABKAsyKy5nb29nbGUuY2xvdWQuY29u", + "dGFjdGNlbnRlcmluc2lnaHRzLnYxLlZpZXdCA+BBAhIvCgt1cGRhdGVfbWFz", + "axgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE1hc2siVAoRRGVsZXRl", + "Vmlld1JlcXVlc3QSPwoEbmFtZRgBIAEoCUIx4EEC+kErCiljb250YWN0Y2Vu", + "dGVyaW5zaWdodHMuZ29vZ2xlYXBpcy5jb20vVmlldyLJCgoJRGltZW5zaW9u", + "EnAKGGlzc3VlX2RpbWVuc2lvbl9tZXRhZGF0YRgCIAEoCzJHLmdvb2dsZS5j", + "bG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuRGltZW5zaW9uLklzc3Vl", + "RGltZW5zaW9uTWV0YWRhdGFCA+BBA0gAEnAKGGFnZW50X2RpbWVuc2lvbl9t", + "ZXRhZGF0YRgDIAEoCzJHLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5z", + "aWdodHMudjEuRGltZW5zaW9uLkFnZW50RGltZW5zaW9uTWV0YWRhdGFCA+BB", + "A0gAEnsKHnFhX3F1ZXN0aW9uX2RpbWVuc2lvbl9tZXRhZGF0YRgEIAEoCzJM", + "Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuRGltZW5z", + "aW9uLlFhUXVlc3Rpb25EaW1lbnNpb25NZXRhZGF0YUID4EEDSAASiAEKJXFh", + "X3F1ZXN0aW9uX2Fuc3dlcl9kaW1lbnNpb25fbWV0YWRhdGEYBSABKAsyUi5n", + "b29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkRpbWVuc2lv", + "bi5RYVF1ZXN0aW9uQW5zd2VyRGltZW5zaW9uTWV0YWRhdGFCA+BBA0gAElQK", + "DWRpbWVuc2lvbl9rZXkYASABKA4yPS5nb29nbGUuY2xvdWQuY29udGFjdGNl", + "bnRlcmluc2lnaHRzLnYxLkRpbWVuc2lvbi5EaW1lbnNpb25LZXkaxQEKFklz", + "c3VlRGltZW5zaW9uTWV0YWRhdGESQQoIaXNzdWVfaWQYASABKAlCL/pBLAoq", + "Y29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL0lzc3VlEhoK", + "Emlzc3VlX2Rpc3BsYXlfbmFtZRgCIAEoCRJMCg5pc3N1ZV9tb2RlbF9pZBgD", + "IAEoCUI0+kExCi9jb250YWN0Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBpcy5j", + "b20vSXNzdWVNb2RlbBppChZBZ2VudERpbWVuc2lvbk1ldGFkYXRhEhUKCGFn", + "ZW50X2lkGAEgASgJQgPgQQESHwoSYWdlbnRfZGlzcGxheV9uYW1lGAIgASgJ", + "QgPgQQESFwoKYWdlbnRfdGVhbRgDIAEoCUID4EEBGnQKG1FhUXVlc3Rpb25E", + "aW1lbnNpb25NZXRhZGF0YRIcCg9xYV9zY29yZWNhcmRfaWQYASABKAlCA+BB", + "ARIbCg5xYV9xdWVzdGlvbl9pZBgCIAEoCUID4EEBEhoKDXF1ZXN0aW9uX2Jv", + "ZHkYAyABKAlCA+BBARqVAQohUWFRdWVzdGlvbkFuc3dlckRpbWVuc2lvbk1l", + "dGFkYXRhEhwKD3FhX3Njb3JlY2FyZF9pZBgBIAEoCUID4EEBEhsKDnFhX3F1", + "ZXN0aW9uX2lkGAIgASgJQgPgQQESGgoNcXVlc3Rpb25fYm9keRgDIAEoCUID", + "4EEBEhkKDGFuc3dlcl92YWx1ZRgEIAEoCUID4EEBIqIBCgxEaW1lbnNpb25L", + "ZXkSHQoZRElNRU5TSU9OX0tFWV9VTlNQRUNJRklFRBAAEgkKBUlTU1VFEAES", + "CQoFQUdFTlQQAhIOCgpBR0VOVF9URUFNEAMSEgoOUUFfUVVFU1RJT05fSUQQ", + "BBIcChhRQV9RVUVTVElPTl9BTlNXRVJfVkFMVUUQBRIbChdDT05WRVJTQVRJ", + "T05fUFJPRklMRV9JRBAGQhQKEmRpbWVuc2lvbl9tZXRhZGF0YSLMAwoTUXVl", + "cnlNZXRyaWNzUmVxdWVzdBI7Cghsb2NhdGlvbhgBIAEoCUIp4EEC+kEjCiFs", + "b2NhdGlvbnMuZ29vZ2xlYXBpcy5jb20vTG9jYXRpb24SEwoGZmlsdGVyGAIg", + "ASgJQgPgQQISZAoQdGltZV9ncmFudWxhcml0eRgDIAEoDjJKLmdvb2dsZS5j", + "bG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuUXVlcnlNZXRyaWNzUmVx", + "dWVzdC5UaW1lR3JhbnVsYXJpdHkSRAoKZGltZW5zaW9ucxgEIAMoCzIwLmdv", + "b2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuRGltZW5zaW9u", + "EjAKDG1lYXN1cmVfbWFzaxgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5GaWVs", + "ZE1hc2sihAEKD1RpbWVHcmFudWxhcml0eRIgChxUSU1FX0dSQU5VTEFSSVRZ", + "X1VOU1BFQ0lGSUVEEAASCAoETk9ORRABEgkKBURBSUxZEAISCgoGSE9VUkxZ", + "EAMSDgoKUEVSX01JTlVURRAEEhEKDVBFUl81X01JTlVURVMQBRILCgdNT05U", + "SExZEAYimg4KFFF1ZXJ5TWV0cmljc1Jlc3BvbnNlEjsKCGxvY2F0aW9uGAEg", + "ASgJQingQQL6QSMKIWxvY2F0aW9ucy5nb29nbGVhcGlzLmNvbS9Mb2NhdGlv", + "bhIvCgt1cGRhdGVfdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1l", + "c3RhbXASUQoGc2xpY2VzGAIgAygLMkEuZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5RdWVyeU1ldHJpY3NSZXNwb25zZS5TbGljZRJj", + "ChNtYWNyb19hdmVyYWdlX3NsaWNlGAQgASgLMkEuZ29vZ2xlLmNsb3VkLmNv", + "bnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5RdWVyeU1ldHJpY3NSZXNwb25zZS5T", + "bGljZUgAiAEBGsMLCgVTbGljZRJECgpkaW1lbnNpb25zGAEgAygLMjAuZ29v", + "Z2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5EaW1lbnNpb24S", + "WgoFdG90YWwYAiABKAsySy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmlu", + "c2lnaHRzLnYxLlF1ZXJ5TWV0cmljc1Jlc3BvbnNlLlNsaWNlLkRhdGFQb2lu", + "dBJhCgt0aW1lX3NlcmllcxgDIAEoCzJMLmdvb2dsZS5jbG91ZC5jb250YWN0", + "Y2VudGVyaW5zaWdodHMudjEuUXVlcnlNZXRyaWNzUmVzcG9uc2UuU2xpY2Uu", + "VGltZVNlcmllcxrECAoJRGF0YVBvaW50En8KFGNvbnZlcnNhdGlvbl9tZWFz", + "dXJlGAIgASgLMl8uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy52MS5RdWVyeU1ldHJpY3NSZXNwb25zZS5TbGljZS5EYXRhUG9pbnQuQ29u", + "dmVyc2F0aW9uTWVhc3VyZUgAEicKCGludGVydmFsGAEgASgLMhUuZ29vZ2xl", + "LnR5cGUuSW50ZXJ2YWwagQcKE0NvbnZlcnNhdGlvbk1lYXN1cmUSHwoSY29u", + "dmVyc2F0aW9uX2NvdW50GAEgASgFSACIAQESJwoaYXZlcmFnZV9zaWxlbmNl", + "X3BlcmNlbnRhZ2UYAiABKAJIAYgBARI4ChBhdmVyYWdlX2R1cmF0aW9uGAMg", + "ASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uSAKIAQESHwoSYXZlcmFn", + "ZV90dXJuX2NvdW50GAQgASgCSAOIAQESKgodYXZlcmFnZV9hZ2VudF9zZW50", + "aW1lbnRfc2NvcmUYBSABKAJIBIgBARIrCh5hdmVyYWdlX2NsaWVudF9zZW50", + "aW1lbnRfc2NvcmUYBiABKAJIBYgBARIxCiRhdmVyYWdlX2N1c3RvbWVyX3Nh", + "dGlzZmFjdGlvbl9yYXRpbmcYCCABKAFIBogBARIoChthdmVyYWdlX3FhX25v", + "cm1hbGl6ZWRfc2NvcmUYByABKAFIB4gBARKBAQoNcWFfdGFnX3Njb3JlcxgJ", + "IAMoCzJqLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEu", + "UXVlcnlNZXRyaWNzUmVzcG9uc2UuU2xpY2UuRGF0YVBvaW50LkNvbnZlcnNh", + "dGlvbk1lYXN1cmUuUWFUYWdTY29yZRIxCiRhdmVyYWdlX3FhX3F1ZXN0aW9u", + "X25vcm1hbGl6ZWRfc2NvcmUYCiABKAFICIgBARo/CgpRYVRhZ1Njb3JlEgsK", + "A3RhZxgBIAEoCRIkChxhdmVyYWdlX3RhZ19ub3JtYWxpemVkX3Njb3JlGAIg", + "ASgBQhUKE19jb252ZXJzYXRpb25fY291bnRCHQobX2F2ZXJhZ2Vfc2lsZW5j", + "ZV9wZXJjZW50YWdlQhMKEV9hdmVyYWdlX2R1cmF0aW9uQhUKE19hdmVyYWdl", + "X3R1cm5fY291bnRCIAoeX2F2ZXJhZ2VfYWdlbnRfc2VudGltZW50X3Njb3Jl", + "QiEKH19hdmVyYWdlX2NsaWVudF9zZW50aW1lbnRfc2NvcmVCJwolX2F2ZXJh", + "Z2VfY3VzdG9tZXJfc2F0aXNmYWN0aW9uX3JhdGluZ0IeChxfYXZlcmFnZV9x", + "YV9ub3JtYWxpemVkX3Njb3JlQicKJV9hdmVyYWdlX3FhX3F1ZXN0aW9uX25v", + "cm1hbGl6ZWRfc2NvcmVCCQoHbWVhc3VyZRpuCgpUaW1lU2VyaWVzEmAKC2Rh", + "dGFfcG9pbnRzGAQgAygLMksuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy52MS5RdWVyeU1ldHJpY3NSZXNwb25zZS5TbGljZS5EYXRhUG9p", + "bnRCFgoUX21hY3JvX2F2ZXJhZ2Vfc2xpY2UiFgoUUXVlcnlNZXRyaWNzTWV0", + "YWRhdGEi1QEKF0NyZWF0ZVFhUXVlc3Rpb25SZXF1ZXN0ElAKBnBhcmVudBgB", + "IAEoCUJA4EEC+kE6Cjhjb250YWN0Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBp", + "cy5jb20vUWFTY29yZWNhcmRSZXZpc2lvbhJLCgtxYV9xdWVzdGlvbhgCIAEo", + "CzIxLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuUWFR", + "dWVzdGlvbkID4EECEhsKDnFhX3F1ZXN0aW9uX2lkGAMgASgJQgPgQQEiXQoU", + "R2V0UWFRdWVzdGlvblJlcXVlc3QSRQoEbmFtZRgBIAEoCUI34EEC+kExCi9j", + "b250YWN0Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBpcy5jb20vUWFRdWVzdGlv", + "biKbAQoWTGlzdFFhUXVlc3Rpb25zUmVxdWVzdBJQCgZwYXJlbnQYASABKAlC", + "QOBBAvpBOgo4Y29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMuY29t", + "L1FhU2NvcmVjYXJkUmV2aXNpb24SFgoJcGFnZV9zaXplGAIgASgFQgPgQQES", + "FwoKcGFnZV90b2tlbhgDIAEoCUID4EEBInsKF0xpc3RRYVF1ZXN0aW9uc1Jl", + "c3BvbnNlEkcKDHFhX3F1ZXN0aW9ucxgBIAMoCzIxLmdvb2dsZS5jbG91ZC5j", + "b250YWN0Y2VudGVyaW5zaWdodHMudjEuUWFRdWVzdGlvbhIXCg9uZXh0X3Bh", + "Z2VfdG9rZW4YAiABKAkinAEKF1VwZGF0ZVFhUXVlc3Rpb25SZXF1ZXN0EksK", + "C3FhX3F1ZXN0aW9uGAEgASgLMjEuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50", + "ZXJpbnNpZ2h0cy52MS5RYVF1ZXN0aW9uQgPgQQISNAoLdXBkYXRlX21hc2sY", + "AiABKAsyGi5nb29nbGUucHJvdG9idWYuRmllbGRNYXNrQgPgQQIiYAoXRGVs", + "ZXRlUWFRdWVzdGlvblJlcXVlc3QSRQoEbmFtZRgBIAEoCUI34EEC+kExCi9j", + "b250YWN0Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBpcy5jb20vUWFRdWVzdGlv", + "biLCAQoYQ3JlYXRlUWFTY29yZWNhcmRSZXF1ZXN0EjkKBnBhcmVudBgBIAEo", + "CUIp4EEC+kEjCiFsb2NhdGlvbnMuZ29vZ2xlYXBpcy5jb20vTG9jYXRpb24S", + "TQoMcWFfc2NvcmVjYXJkGAIgASgLMjIuZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5RYVNjb3JlY2FyZEID4EECEhwKD3FhX3Njb3Jl", + "Y2FyZF9pZBgDIAEoCUID4EEBIl8KFUdldFFhU2NvcmVjYXJkUmVxdWVzdBJG", + "CgRuYW1lGAEgASgJQjjgQQL6QTIKMGNvbnRhY3RjZW50ZXJpbnNpZ2h0cy5n", + "b29nbGVhcGlzLmNvbS9RYVNjb3JlY2FyZCKfAQoYVXBkYXRlUWFTY29yZWNh", + "cmRSZXF1ZXN0Ek0KDHFhX3Njb3JlY2FyZBgBIAEoCzIyLmdvb2dsZS5jbG91", + "ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuUWFTY29yZWNhcmRCA+BBAhI0", + "Cgt1cGRhdGVfbWFzaxgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE1h", + "c2tCA+BBAiJ2ChhEZWxldGVRYVNjb3JlY2FyZFJlcXVlc3QSRgoEbmFtZRgB", + "IAEoCUI44EEC+kEyCjBjb250YWN0Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBp", + "cy5jb20vUWFTY29yZWNhcmQSEgoFZm9yY2UYAiABKAhCA+BBASLzAQogQ3Jl", + "YXRlUWFTY29yZWNhcmRSZXZpc2lvblJlcXVlc3QSSAoGcGFyZW50GAEgASgJ", + "QjjgQQL6QTIKMGNvbnRhY3RjZW50ZXJpbnNpZ2h0cy5nb29nbGVhcGlzLmNv", + "bS9RYVNjb3JlY2FyZBJeChVxYV9zY29yZWNhcmRfcmV2aXNpb24YAiABKAsy", + "Oi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlFhU2Nv", + "cmVjYXJkUmV2aXNpb25CA+BBAhIlChhxYV9zY29yZWNhcmRfcmV2aXNpb25f", + "aWQYAyABKAlCA+BBASJvCh1HZXRRYVNjb3JlY2FyZFJldmlzaW9uUmVxdWVz", + "dBJOCgRuYW1lGAEgASgJQkDgQQL6QToKOGNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy5nb29nbGVhcGlzLmNvbS9RYVNjb3JlY2FyZFJldmlzaW9uIqMBCh5UdW5l", + "UWFTY29yZWNhcmRSZXZpc2lvblJlcXVlc3QSUAoGcGFyZW50GAEgASgJQkDg", + "QQL6QToKOGNvbnRhY3RjZW50ZXJpbnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9R", + "YVNjb3JlY2FyZFJldmlzaW9uEhMKBmZpbHRlchgCIAEoCUID4EECEhoKDXZh", + "bGlkYXRlX29ubHkYAyABKAhCA+BBASIhCh9UdW5lUWFTY29yZWNhcmRSZXZp", + "c2lvblJlc3BvbnNlItMICh9UdW5lUWFTY29yZWNhcmRSZXZpc2lvbk1ldGFk", + "YXRhEjQKC2NyZWF0ZV90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRp", + "bWVzdGFtcEID4EEDEjEKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3Rv", + "YnVmLlRpbWVzdGFtcEID4EEDElsKB3JlcXVlc3QYAyABKAsyRS5nb29nbGUu", + "Y2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlR1bmVRYVNjb3JlY2Fy", + "ZFJldmlzaW9uUmVxdWVzdEID4EEDEp0BCiZxYV9xdWVzdGlvbl9kYXRhc2V0", + "X3ZhbGlkYXRpb25fcmVzdWx0cxgEIAMoCzJoLmdvb2dsZS5jbG91ZC5jb250", + "YWN0Y2VudGVyaW5zaWdodHMudjEuVHVuZVFhU2NvcmVjYXJkUmV2aXNpb25N", + "ZXRhZGF0YS5RYVF1ZXN0aW9uRGF0YXNldFZhbGlkYXRpb25SZXN1bHRCA+BB", + "AxKWAQoicWFfcXVlc3Rpb25fZGF0YXNldF90dW5pbmdfbWV0cmljcxgFIAMo", + "CzJlLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuVHVu", + "ZVFhU2NvcmVjYXJkUmV2aXNpb25NZXRhZGF0YS5RYVF1ZXN0aW9uRGF0YXNl", + "dFR1bmluZ01ldHJpY3NCA+BBAxIkChd0dW5pbmdfY29tcGxldGlvbl9yYXRp", + "bxgGIAEoAUID4EEDGvkBCiFRYVF1ZXN0aW9uRGF0YXNldFZhbGlkYXRpb25S", + "ZXN1bHQSSQoIcXVlc3Rpb24YASABKAlCN+BBA/pBMQovY29udGFjdGNlbnRl", + "cmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL1FhUXVlc3Rpb24SZAobZGF0YXNl", + "dF92YWxpZGF0aW9uX3dhcm5pbmdzGAIgAygOMj8uZ29vZ2xlLmNsb3VkLmNv", + "bnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5EYXRhc2V0VmFsaWRhdGlvbldhcm5p", + "bmcSIwobdmFsaWRfZmVlZGJhY2tfbGFiZWxzX2NvdW50GAMgASgFGo4CCh5R", + "YVF1ZXN0aW9uRGF0YXNldFR1bmluZ01ldHJpY3MSSQoIcXVlc3Rpb24YASAB", + "KAlCN+BBA/pBMQovY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMu", + "Y29tL1FhUXVlc3Rpb24SgwEKB21ldHJpY3MYAiABKAsybS5nb29nbGUuY2xv", + "dWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlR1bmVRYVNjb3JlY2FyZFJl", + "dmlzaW9uTWV0YWRhdGEuUWFRdWVzdGlvbkRhdGFzZXRUdW5pbmdNZXRyaWNz", + "Lk1ldHJpY3NCA+BBAxobCgdNZXRyaWNzEhAKCGFjY3VyYWN5GAEgASgBInIK", + "IERlcGxveVFhU2NvcmVjYXJkUmV2aXNpb25SZXF1ZXN0Ek4KBG5hbWUYASAB", + "KAlCQOBBAvpBOgo4Y29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMu", + "Y29tL1FhU2NvcmVjYXJkUmV2aXNpb24idAoiVW5kZXBsb3lRYVNjb3JlY2Fy", + "ZFJldmlzaW9uUmVxdWVzdBJOCgRuYW1lGAEgASgJQkDgQQL6QToKOGNvbnRh", + "Y3RjZW50ZXJpbnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9RYVNjb3JlY2FyZFJl", + "dmlzaW9uIoYBCiBEZWxldGVRYVNjb3JlY2FyZFJldmlzaW9uUmVxdWVzdBJO", + "CgRuYW1lGAEgASgJQkDgQQL6QToKOGNvbnRhY3RjZW50ZXJpbnNpZ2h0cy5n", + "b29nbGVhcGlzLmNvbS9RYVNjb3JlY2FyZFJldmlzaW9uEhIKBWZvcmNlGAIg", + "ASgIQgPgQQEihQEKF0xpc3RRYVNjb3JlY2FyZHNSZXF1ZXN0EjkKBnBhcmVu", + "dBgBIAEoCUIp4EEC+kEjCiFsb2NhdGlvbnMuZ29vZ2xlYXBpcy5jb20vTG9j", + "YXRpb24SFgoJcGFnZV9zaXplGAIgASgFQgPgQQESFwoKcGFnZV90b2tlbhgD", + "IAEoCUID4EEBIn4KGExpc3RRYVNjb3JlY2FyZHNSZXNwb25zZRJJCg1xYV9z", + "Y29yZWNhcmRzGAEgAygLMjIuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy52MS5RYVNjb3JlY2FyZBIXCg9uZXh0X3BhZ2VfdG9rZW4YAiAB", + "KAkisQEKH0xpc3RRYVNjb3JlY2FyZFJldmlzaW9uc1JlcXVlc3QSSAoGcGFy", + "ZW50GAEgASgJQjjgQQL6QTIKMGNvbnRhY3RjZW50ZXJpbnNpZ2h0cy5nb29n", + "bGVhcGlzLmNvbS9RYVNjb3JlY2FyZBIWCglwYWdlX3NpemUYAiABKAVCA+BB", + "ARIXCgpwYWdlX3Rva2VuGAMgASgJQgPgQQESEwoGZmlsdGVyGAQgASgJQgPg", + "QQEilwEKIExpc3RRYVNjb3JlY2FyZFJldmlzaW9uc1Jlc3BvbnNlEloKFnFh", + "X3Njb3JlY2FyZF9yZXZpc2lvbnMYASADKAsyOi5nb29nbGUuY2xvdWQuY29u", + "dGFjdGNlbnRlcmluc2lnaHRzLnYxLlFhU2NvcmVjYXJkUmV2aXNpb24SFwoP", + "bmV4dF9wYWdlX3Rva2VuGAIgASgJItoBChpDcmVhdGVGZWVkYmFja0xhYmVs", + "UmVxdWVzdBJJCgZwYXJlbnQYASABKAlCOeBBAvpBMwoxY29udGFjdGNlbnRl", + "cmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL0NvbnZlcnNhdGlvbhIeChFmZWVk", + "YmFja19sYWJlbF9pZBgCIAEoCUID4EEBElEKDmZlZWRiYWNrX2xhYmVsGAMg", + "ASgLMjQuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5G", + "ZWVkYmFja0xhYmVsQgPgQQIirAEKGUxpc3RGZWVkYmFja0xhYmVsc1JlcXVl", + "c3QSSQoGcGFyZW50GAEgASgJQjngQQL6QTMKMWNvbnRhY3RjZW50ZXJpbnNp", + "Z2h0cy5nb29nbGVhcGlzLmNvbS9Db252ZXJzYXRpb24SEwoGZmlsdGVyGAIg", + "ASgJQgPgQQESFgoJcGFnZV9zaXplGAMgASgFQgPgQQESFwoKcGFnZV90b2tl", + "bhgEIAEoCUID4EEBIoQBChpMaXN0RmVlZGJhY2tMYWJlbHNSZXNwb25zZRJN", + "Cg9mZWVkYmFja19sYWJlbHMYASADKAsyNC5nb29nbGUuY2xvdWQuY29udGFj", + "dGNlbnRlcmluc2lnaHRzLnYxLkZlZWRiYWNrTGFiZWwSFwoPbmV4dF9wYWdl", + "X3Rva2VuGAIgASgJImMKF0dldEZlZWRiYWNrTGFiZWxSZXF1ZXN0EkgKBG5h", + "bWUYASABKAlCOuBBAvpBNAoyY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2ds", + "ZWFwaXMuY29tL0ZlZWRiYWNrTGFiZWwipQEKGlVwZGF0ZUZlZWRiYWNrTGFi", + "ZWxSZXF1ZXN0ElEKDmZlZWRiYWNrX2xhYmVsGAEgASgLMjQuZ29vZ2xlLmNs", + "b3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5GZWVkYmFja0xhYmVsQgPg", + "QQISNAoLdXBkYXRlX21hc2sYAiABKAsyGi5nb29nbGUucHJvdG9idWYuRmll", + "bGRNYXNrQgPgQQIiZgoaRGVsZXRlRmVlZGJhY2tMYWJlbFJlcXVlc3QSSAoE", + "bmFtZRgBIAEoCUI64EEC+kE0CjJjb250YWN0Y2VudGVyaW5zaWdodHMuZ29v", + "Z2xlYXBpcy5jb20vRmVlZGJhY2tMYWJlbCKfAQocTGlzdEFsbEZlZWRiYWNr", + "TGFiZWxzUmVxdWVzdBI5CgZwYXJlbnQYASABKAlCKeBBAvpBIwohbG9jYXRp", + "b25zLmdvb2dsZWFwaXMuY29tL0xvY2F0aW9uEhYKCXBhZ2Vfc2l6ZRgCIAEo", + "BUID4EEBEhcKCnBhZ2VfdG9rZW4YAyABKAlCA+BBARITCgZmaWx0ZXIYBCAB", + "KAlCA+BBASKHAQodTGlzdEFsbEZlZWRiYWNrTGFiZWxzUmVzcG9uc2USTQoP", + "ZmVlZGJhY2tfbGFiZWxzGAEgAygLMjQuZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5GZWVkYmFja0xhYmVsEhcKD25leHRfcGFnZV90", + "b2tlbhgCIAEoCSK0AwofQnVsa1VwbG9hZEZlZWRiYWNrTGFiZWxzUmVxdWVz", + "dBJmCgpnY3Nfc291cmNlGAIgASgLMlAuZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5CdWxrVXBsb2FkRmVlZGJhY2tMYWJlbHNSZXF1", + "ZXN0Lkdjc1NvdXJjZUgAEjkKBnBhcmVudBgBIAEoCUIp4EEC+kEjCiFsb2Nh", + "dGlvbnMuZ29vZ2xlYXBpcy5jb20vTG9jYXRpb24SGgoNdmFsaWRhdGVfb25s", + "eRgDIAEoCEID4EEBGscBCglHY3NTb3VyY2USbAoGZm9ybWF0GAEgASgOMlcu", + "Z29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5CdWxrVXBs", + "b2FkRmVlZGJhY2tMYWJlbHNSZXF1ZXN0Lkdjc1NvdXJjZS5Gb3JtYXRCA+BB", + "AhIXCgpvYmplY3RfdXJpGAIgASgJQgPgQQIiMwoGRm9ybWF0EhYKEkZPUk1B", + "VF9VTlNQRUNJRklFRBAAEgcKA0NTVhABEggKBEpTT04QAkIICgZzb3VyY2Ui", + "IgogQnVsa1VwbG9hZEZlZWRiYWNrTGFiZWxzUmVzcG9uc2Ui9gMKIEJ1bGtV", + "cGxvYWRGZWVkYmFja0xhYmVsc01ldGFkYXRhEjQKC2NyZWF0ZV90aW1lGAEg", + "ASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjEKCGVuZF90", + "aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDElwK", + "B3JlcXVlc3QYAyABKAsyRi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmlu", + "c2lnaHRzLnYxLkJ1bGtVcGxvYWRGZWVkYmFja0xhYmVsc1JlcXVlc3RCA+BB", + "AxIqCg5wYXJ0aWFsX2Vycm9ycxgEIAMoCzISLmdvb2dsZS5ycGMuU3RhdHVz", + "Em4KDHVwbG9hZF9zdGF0cxgFIAEoCzJTLmdvb2dsZS5jbG91ZC5jb250YWN0", + "Y2VudGVyaW5zaWdodHMudjEuQnVsa1VwbG9hZEZlZWRiYWNrTGFiZWxzTWV0", + "YWRhdGEuVXBsb2FkU3RhdHNCA+BBAxpvCgtVcGxvYWRTdGF0cxIeChZwcm9j", + "ZXNzZWRfb2JqZWN0X2NvdW50GAEgASgFEh8KF2ZhaWxlZF92YWxpZGF0aW9u", + "X2NvdW50GAIgASgFEh8KF3N1Y2Nlc3NmdWxfdXBsb2FkX2NvdW50GAMgASgF", + "IvwGCiFCdWxrRG93bmxvYWRGZWVkYmFja0xhYmVsc1JlcXVlc3QScgoPZ2Nz", + "X2Rlc3RpbmF0aW9uGAMgASgLMlcuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50", + "ZXJpbnNpZ2h0cy52MS5CdWxrRG93bmxvYWRGZWVkYmFja0xhYmVsc1JlcXVl", + "c3QuR2NzRGVzdGluYXRpb25IABI5CgZwYXJlbnQYASABKAlCKeBBAvpBIwoh", + "bG9jYXRpb25zLmdvb2dsZWFwaXMuY29tL0xvY2F0aW9uEhMKBmZpbHRlchgC", + "IAEoCUID4EEBEh8KEm1heF9kb3dubG9hZF9jb3VudBgEIAEoBUID4EEBEnwK", + "E2ZlZWRiYWNrX2xhYmVsX3R5cGUYBSABKA4yWi5nb29nbGUuY2xvdWQuY29u", + "dGFjdGNlbnRlcmluc2lnaHRzLnYxLkJ1bGtEb3dubG9hZEZlZWRiYWNrTGFi", + "ZWxzUmVxdWVzdC5GZWVkYmFja0xhYmVsVHlwZUID4EEBEiAKE2NvbnZlcnNh", + "dGlvbl9maWx0ZXIYBiABKAlCA+BBARIlChh0ZW1wbGF0ZV9xYV9zY29yZWNh", + "cmRfaWQYByADKAlCA+BBARq9AgoOR2NzRGVzdGluYXRpb24ScwoGZm9ybWF0", + "GAEgASgOMl4uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52", + "MS5CdWxrRG93bmxvYWRGZWVkYmFja0xhYmVsc1JlcXVlc3QuR2NzRGVzdGlu", + "YXRpb24uRm9ybWF0QgPgQQISFwoKb2JqZWN0X3VyaRgCIAEoCUID4EECEhsK", + "DmFkZF93aGl0ZXNwYWNlGAMgASgIQgPgQQESJgoZYWx3YXlzX3ByaW50X2Vt", + "cHR5X2ZpZWxkcxgEIAEoCEID4EEBEiMKFnJlY29yZHNfcGVyX2ZpbGVfY291", + "bnQYBSABKANCA+BBASIzCgZGb3JtYXQSFgoSRk9STUFUX1VOU1BFQ0lGSUVE", + "EAASBwoDQ1NWEAESCAoESlNPThACIlwKEUZlZWRiYWNrTGFiZWxUeXBlEiMK", + "H0ZFRURCQUNLX0xBQkVMX1RZUEVfVU5TUEVDSUZJRUQQABIOCgpRVUFMSVRZ", + "X0FJEAESEgoOVE9QSUNfTU9ERUxJTkcQAkINCgtkZXN0aW5hdGlvbiIkCiJC", + "dWxrRG93bmxvYWRGZWVkYmFja0xhYmVsc1Jlc3BvbnNlIpoECiJCdWxrRG93", + "bmxvYWRGZWVkYmFja0xhYmVsc01ldGFkYXRhEjQKC2NyZWF0ZV90aW1lGAEg", + "ASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjEKCGVuZF90", + "aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEl4K", + "B3JlcXVlc3QYAyABKAsySC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmlu", + "c2lnaHRzLnYxLkJ1bGtEb3dubG9hZEZlZWRiYWNrTGFiZWxzUmVxdWVzdEID", + "4EEDEioKDnBhcnRpYWxfZXJyb3JzGAQgAygLMhIuZ29vZ2xlLnJwYy5TdGF0", + "dXMSdAoOZG93bmxvYWRfc3RhdHMYBSABKAsyVy5nb29nbGUuY2xvdWQuY29u", + "dGFjdGNlbnRlcmluc2lnaHRzLnYxLkJ1bGtEb3dubG9hZEZlZWRiYWNrTGFi", + "ZWxzTWV0YWRhdGEuRG93bmxvYWRTdGF0c0ID4EEDGogBCg1Eb3dubG9hZFN0", + "YXRzEh4KFnByb2Nlc3NlZF9vYmplY3RfY291bnQYASABKAUSIQoZc3VjY2Vz", + "c2Z1bF9kb3dubG9hZF9jb3VudBgCIAEoBRIbChN0b3RhbF9maWxlc193cml0", + "dGVuGAMgASgFEhcKCmZpbGVfbmFtZXMYBCADKAlCA+BBAypKChBDb252ZXJz", + "YXRpb25WaWV3EiEKHUNPTlZFUlNBVElPTl9WSUVXX1VOU1BFQ0lGSUVEEAAS", + "CAoERlVMTBACEgkKBUJBU0lDEAEyyIgBChVDb250YWN0Q2VudGVySW5zaWdo", + "dHMS+gEKEkNyZWF0ZUNvbnZlcnNhdGlvbhJALmdvb2dsZS5jbG91ZC5jb250", + "YWN0Y2VudGVyaW5zaWdodHMudjEuQ3JlYXRlQ29udmVyc2F0aW9uUmVxdWVz", + "dBozLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQ29u", + "dmVyc2F0aW9uIm3aQSNwYXJlbnQsY29udmVyc2F0aW9uLGNvbnZlcnNhdGlv", + "bl9pZILT5JMCQSIxL3YxL3twYXJlbnQ9cHJvamVjdHMvKi9sb2NhdGlvbnMv", + "Kn0vY29udmVyc2F0aW9uczoMY29udmVyc2F0aW9uEucBChJVcGxvYWRDb252", + "ZXJzYXRpb24SQC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRz", + "LnYxLlVwbG9hZENvbnZlcnNhdGlvblJlcXVlc3QaHS5nb29nbGUubG9uZ3J1", + "bm5pbmcuT3BlcmF0aW9uInDKQSoKDENvbnZlcnNhdGlvbhIaVXBsb2FkQ29u", + "dmVyc2F0aW9uTWV0YWRhdGGC0+STAj0iOC92MS97cGFyZW50PXByb2plY3Rz", + "LyovbG9jYXRpb25zLyp9L2NvbnZlcnNhdGlvbnM6dXBsb2FkOgEqEvwBChJV", + "cGRhdGVDb252ZXJzYXRpb24SQC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRl", + "cmluc2lnaHRzLnYxLlVwZGF0ZUNvbnZlcnNhdGlvblJlcXVlc3QaMy5nb29n", + "bGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkNvbnZlcnNhdGlv", + "biJv2kEYY29udmVyc2F0aW9uLHVwZGF0ZV9tYXNrgtPkkwJOMj4vdjEve2Nv", + "bnZlcnNhdGlvbi5uYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29udmVy", + "c2F0aW9ucy8qfToMY29udmVyc2F0aW9uEscBCg9HZXRDb252ZXJzYXRpb24S", + "PS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkdldENv", + "bnZlcnNhdGlvblJlcXVlc3QaMy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRl", + "cmluc2lnaHRzLnYxLkNvbnZlcnNhdGlvbiJA2kEEbmFtZYLT5JMCMxIxL3Yx", + "L3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29udmVyc2F0aW9ucy8q", + "fRLaAQoRTGlzdENvbnZlcnNhdGlvbnMSPy5nb29nbGUuY2xvdWQuY29udGFj", + "dGNlbnRlcmluc2lnaHRzLnYxLkxpc3RDb252ZXJzYXRpb25zUmVxdWVzdBpA", + "Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuTGlzdENv", + "bnZlcnNhdGlvbnNSZXNwb25zZSJC2kEGcGFyZW50gtPkkwIzEjEvdjEve3Bh", + "cmVudD1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qfS9jb252ZXJzYXRpb25zErAB", + "ChJEZWxldGVDb252ZXJzYXRpb24SQC5nb29nbGUuY2xvdWQuY29udGFjdGNl", + "bnRlcmluc2lnaHRzLnYxLkRlbGV0ZUNvbnZlcnNhdGlvblJlcXVlc3QaFi5n", + "b29nbGUucHJvdG9idWYuRW1wdHkiQNpBBG5hbWWC0+STAjMqMS92MS97bmFt", + "ZT1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL2NvbnZlcnNhdGlvbnMvKn0S/gEK", + "DkNyZWF0ZUFuYWx5c2lzEjwuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy52MS5DcmVhdGVBbmFseXNpc1JlcXVlc3QaHS5nb29nbGUubG9u", + "Z3J1bm5pbmcuT3BlcmF0aW9uIo4BykErCghBbmFseXNpcxIfQ3JlYXRlQW5h", + "bHlzaXNPcGVyYXRpb25NZXRhZGF0YdpBD3BhcmVudCxhbmFseXNpc4LT5JMC", + "SCI8L3YxL3twYXJlbnQ9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9jb252ZXJz", + "YXRpb25zLyp9L2FuYWx5c2VzOghhbmFseXNpcxLGAQoLR2V0QW5hbHlzaXMS", + "OS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkdldEFu", + "YWx5c2lzUmVxdWVzdBovLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5z", + "aWdodHMudjEuQW5hbHlzaXMiS9pBBG5hbWWC0+STAj4SPC92MS97bmFtZT1w", + "cm9qZWN0cy8qL2xvY2F0aW9ucy8qL2NvbnZlcnNhdGlvbnMvKi9hbmFseXNl", + "cy8qfRLWAQoMTGlzdEFuYWx5c2VzEjouZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5MaXN0QW5hbHlzZXNSZXF1ZXN0GjsuZ29vZ2xl", + "LmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5MaXN0QW5hbHlzZXNS", + "ZXNwb25zZSJN2kEGcGFyZW50gtPkkwI+EjwvdjEve3BhcmVudD1wcm9qZWN0", + "cy8qL2xvY2F0aW9ucy8qL2NvbnZlcnNhdGlvbnMvKn0vYW5hbHlzZXMSswEK", + "DkRlbGV0ZUFuYWx5c2lzEjwuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy52MS5EZWxldGVBbmFseXNpc1JlcXVlc3QaFi5nb29nbGUucHJv", + "dG9idWYuRW1wdHkiS9pBBG5hbWWC0+STAj4qPC92MS97bmFtZT1wcm9qZWN0", + "cy8qL2xvY2F0aW9ucy8qL2NvbnZlcnNhdGlvbnMvKi9hbmFseXNlcy8qfRK3", + "AgoYQnVsa0FuYWx5emVDb252ZXJzYXRpb25zEkYuZ29vZ2xlLmNsb3VkLmNv", + "bnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5CdWxrQW5hbHl6ZUNvbnZlcnNhdGlv", + "bnNSZXF1ZXN0Gh0uZ29vZ2xlLmxvbmdydW5uaW5nLk9wZXJhdGlvbiKzAcpB", + "RAogQnVsa0FuYWx5emVDb252ZXJzYXRpb25zUmVzcG9uc2USIEJ1bGtBbmFs", + "eXplQ29udmVyc2F0aW9uc01ldGFkYXRh2kEhcGFyZW50LGZpbHRlcixhbmFs", + "eXNpc19wZXJjZW50YWdlgtPkkwJCIj0vdjEve3BhcmVudD1wcm9qZWN0cy8q", + "L2xvY2F0aW9ucy8qfS9jb252ZXJzYXRpb25zOmJ1bGtBbmFseXplOgEqEp4C", + "ChdCdWxrRGVsZXRlQ29udmVyc2F0aW9ucxJFLmdvb2dsZS5jbG91ZC5jb250", + "YWN0Y2VudGVyaW5zaWdodHMudjEuQnVsa0RlbGV0ZUNvbnZlcnNhdGlvbnNS", + "ZXF1ZXN0Gh0uZ29vZ2xlLmxvbmdydW5uaW5nLk9wZXJhdGlvbiKcAcpBQgof", + "QnVsa0RlbGV0ZUNvbnZlcnNhdGlvbnNSZXNwb25zZRIfQnVsa0RlbGV0ZUNv", + "bnZlcnNhdGlvbnNNZXRhZGF0YdpBDXBhcmVudCxmaWx0ZXKC0+STAkEiPC92", + "MS97cGFyZW50PXByb2plY3RzLyovbG9jYXRpb25zLyp9L2NvbnZlcnNhdGlv", + "bnM6YnVsa0RlbGV0ZToBKhKDAgoTSW5nZXN0Q29udmVyc2F0aW9ucxJBLmdv", + "b2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuSW5nZXN0Q29u", + "dmVyc2F0aW9uc1JlcXVlc3QaHS5nb29nbGUubG9uZ3J1bm5pbmcuT3BlcmF0", + "aW9uIokBykE6ChtJbmdlc3RDb252ZXJzYXRpb25zUmVzcG9uc2USG0luZ2Vz", + "dENvbnZlcnNhdGlvbnNNZXRhZGF0YdpBBnBhcmVudILT5JMCPSI4L3YxL3tw", + "YXJlbnQ9cHJvamVjdHMvKi9sb2NhdGlvbnMvKn0vY29udmVyc2F0aW9uczpp", + "bmdlc3Q6ASoS/gEKEkV4cG9ydEluc2lnaHRzRGF0YRJALmdvb2dsZS5jbG91", + "ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuRXhwb3J0SW5zaWdodHNEYXRh", + "UmVxdWVzdBodLmdvb2dsZS5sb25ncnVubmluZy5PcGVyYXRpb24ihgHKQTgK", + "GkV4cG9ydEluc2lnaHRzRGF0YVJlc3BvbnNlEhpFeHBvcnRJbnNpZ2h0c0Rh", + "dGFNZXRhZGF0YdpBBnBhcmVudILT5JMCPCI3L3YxL3twYXJlbnQ9cHJvamVj", + "dHMvKi9sb2NhdGlvbnMvKn0vaW5zaWdodHNkYXRhOmV4cG9ydDoBKhL2AQoQ", + "Q3JlYXRlSXNzdWVNb2RlbBI+Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVy", + "aW5zaWdodHMudjEuQ3JlYXRlSXNzdWVNb2RlbFJlcXVlc3QaHS5nb29nbGUu", + "bG9uZ3J1bm5pbmcuT3BlcmF0aW9uIoIBykEmCgpJc3N1ZU1vZGVsEhhDcmVh", + "dGVJc3N1ZU1vZGVsTWV0YWRhdGHaQRJwYXJlbnQsaXNzdWVfbW9kZWyC0+ST", + "Aj4iLy92MS97cGFyZW50PXByb2plY3RzLyovbG9jYXRpb25zLyp9L2lzc3Vl", + "TW9kZWxzOgtpc3N1ZV9tb2RlbBLxAQoQVXBkYXRlSXNzdWVNb2RlbBI+Lmdv", + "b2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuVXBkYXRlSXNz", + "dWVNb2RlbFJlcXVlc3QaMS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmlu", + "c2lnaHRzLnYxLklzc3VlTW9kZWwiatpBF2lzc3VlX21vZGVsLHVwZGF0ZV9t", + "YXNrgtPkkwJKMjsvdjEve2lzc3VlX21vZGVsLm5hbWU9cHJvamVjdHMvKi9s", + "b2NhdGlvbnMvKi9pc3N1ZU1vZGVscy8qfToLaXNzdWVfbW9kZWwSvwEKDUdl", + "dElzc3VlTW9kZWwSOy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2ln", + "aHRzLnYxLkdldElzc3VlTW9kZWxSZXF1ZXN0GjEuZ29vZ2xlLmNsb3VkLmNv", + "bnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5Jc3N1ZU1vZGVsIj7aQQRuYW1lgtPk", + "kwIxEi8vdjEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9pc3N1ZU1v", + "ZGVscy8qfRLSAQoPTGlzdElzc3VlTW9kZWxzEj0uZ29vZ2xlLmNsb3VkLmNv", + "bnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5MaXN0SXNzdWVNb2RlbHNSZXF1ZXN0", + "Gj4uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5MaXN0", + "SXNzdWVNb2RlbHNSZXNwb25zZSJA2kEGcGFyZW50gtPkkwIxEi8vdjEve3Bh", + "cmVudD1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qfS9pc3N1ZU1vZGVscxLlAQoQ", + "RGVsZXRlSXNzdWVNb2RlbBI+Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVy", + "aW5zaWdodHMudjEuRGVsZXRlSXNzdWVNb2RlbFJlcXVlc3QaHS5nb29nbGUu", + "bG9uZ3J1bm5pbmcuT3BlcmF0aW9uInLKQTEKFWdvb2dsZS5wcm90b2J1Zi5F", + "bXB0eRIYRGVsZXRlSXNzdWVNb2RlbE1ldGFkYXRh2kEEbmFtZYLT5JMCMSov", + "L3YxL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovaXNzdWVNb2RlbHMv", + "Kn0S8gEKEERlcGxveUlzc3VlTW9kZWwSPi5nb29nbGUuY2xvdWQuY29udGFj", + "dGNlbnRlcmluc2lnaHRzLnYxLkRlcGxveUlzc3VlTW9kZWxSZXF1ZXN0Gh0u", + "Z29vZ2xlLmxvbmdydW5uaW5nLk9wZXJhdGlvbiJ/ykE0ChhEZXBsb3lJc3N1", + "ZU1vZGVsUmVzcG9uc2USGERlcGxveUlzc3VlTW9kZWxNZXRhZGF0YdpBBG5h", + "bWWC0+STAjsiNi92MS97bmFtZT1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL2lz", + "c3VlTW9kZWxzLyp9OmRlcGxveToBKhL9AQoSVW5kZXBsb3lJc3N1ZU1vZGVs", + "EkAuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5VbmRl", + "cGxveUlzc3VlTW9kZWxSZXF1ZXN0Gh0uZ29vZ2xlLmxvbmdydW5uaW5nLk9w", + "ZXJhdGlvbiKFAcpBOAoaVW5kZXBsb3lJc3N1ZU1vZGVsUmVzcG9uc2USGlVu", + "ZGVwbG95SXNzdWVNb2RlbE1ldGFkYXRh2kEEbmFtZYLT5JMCPSI4L3YxL3tu", + "YW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovaXNzdWVNb2RlbHMvKn06dW5k", + "ZXBsb3k6ASoS8gEKEEV4cG9ydElzc3VlTW9kZWwSPi5nb29nbGUuY2xvdWQu", + "Y29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkV4cG9ydElzc3VlTW9kZWxSZXF1", + "ZXN0Gh0uZ29vZ2xlLmxvbmdydW5uaW5nLk9wZXJhdGlvbiJ/ykE0ChhFeHBv", + "cnRJc3N1ZU1vZGVsUmVzcG9uc2USGEV4cG9ydElzc3VlTW9kZWxNZXRhZGF0", + "YdpBBG5hbWWC0+STAjsiNi92MS97bmFtZT1wcm9qZWN0cy8qL2xvY2F0aW9u", + "cy8qL2lzc3VlTW9kZWxzLyp9OmV4cG9ydDoBKhL1AQoQSW1wb3J0SXNzdWVN", + "b2RlbBI+Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEu", + "SW1wb3J0SXNzdWVNb2RlbFJlcXVlc3QaHS5nb29nbGUubG9uZ3J1bm5pbmcu", + "T3BlcmF0aW9uIoEBykE0ChhJbXBvcnRJc3N1ZU1vZGVsUmVzcG9uc2USGElt", + "cG9ydElzc3VlTW9kZWxNZXRhZGF0YdpBBnBhcmVudILT5JMCOyI2L3YxL3tw", + "YXJlbnQ9cHJvamVjdHMvKi9sb2NhdGlvbnMvKn0vaXNzdWVNb2RlbHM6aW1w", + "b3J0OgEqErkBCghHZXRJc3N1ZRI2Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2Vu", + "dGVyaW5zaWdodHMudjEuR2V0SXNzdWVSZXF1ZXN0GiwuZ29vZ2xlLmNsb3Vk", + "LmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5Jc3N1ZSJH2kEEbmFtZYLT5JMC", + "OhI4L3YxL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovaXNzdWVNb2Rl", + "bHMvKi9pc3N1ZXMvKn0SzAEKCkxpc3RJc3N1ZXMSOC5nb29nbGUuY2xvdWQu", + "Y29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkxpc3RJc3N1ZXNSZXF1ZXN0Gjku", + "Z29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5MaXN0SXNz", + "dWVzUmVzcG9uc2UiSdpBBnBhcmVudILT5JMCOhI4L3YxL3twYXJlbnQ9cHJv", + "amVjdHMvKi9sb2NhdGlvbnMvKi9pc3N1ZU1vZGVscy8qfS9pc3N1ZXMS2QEK", + "C1VwZGF0ZUlzc3VlEjkuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNp", + "Z2h0cy52MS5VcGRhdGVJc3N1ZVJlcXVlc3QaLC5nb29nbGUuY2xvdWQuY29u", + "dGFjdGNlbnRlcmluc2lnaHRzLnYxLklzc3VlImHaQRFpc3N1ZSx1cGRhdGVf", + "bWFza4LT5JMCRzI+L3YxL3tpc3N1ZS5uYW1lPXByb2plY3RzLyovbG9jYXRp", + "b25zLyovaXNzdWVNb2RlbHMvKi9pc3N1ZXMvKn06BWlzc3VlEqkBCgtEZWxl", + "dGVJc3N1ZRI5Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMu", + "djEuRGVsZXRlSXNzdWVSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5", + "IkfaQQRuYW1lgtPkkwI6KjgvdjEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlv", + "bnMvKi9pc3N1ZU1vZGVscy8qL2lzc3Vlcy8qfRKSAgoYQ2FsY3VsYXRlSXNz", + "dWVNb2RlbFN0YXRzEkYuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNp", + "Z2h0cy52MS5DYWxjdWxhdGVJc3N1ZU1vZGVsU3RhdHNSZXF1ZXN0GkcuZ29v", + "Z2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5DYWxjdWxhdGVJ", + "c3N1ZU1vZGVsU3RhdHNSZXNwb25zZSJl2kELaXNzdWVfbW9kZWyC0+STAlES", + "Ty92MS97aXNzdWVfbW9kZWw9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9pc3N1", + "ZU1vZGVscy8qfTpjYWxjdWxhdGVJc3N1ZU1vZGVsU3RhdHMS8gEKE0NyZWF0", + "ZVBocmFzZU1hdGNoZXISQS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmlu", + "c2lnaHRzLnYxLkNyZWF0ZVBocmFzZU1hdGNoZXJSZXF1ZXN0GjQuZ29vZ2xl", + "LmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5QaHJhc2VNYXRjaGVy", + "ImLaQRVwYXJlbnQscGhyYXNlX21hdGNoZXKC0+STAkQiMi92MS97cGFyZW50", + "PXByb2plY3RzLyovbG9jYXRpb25zLyp9L3BocmFzZU1hdGNoZXJzOg5waHJh", + "c2VfbWF0Y2hlchLLAQoQR2V0UGhyYXNlTWF0Y2hlchI+Lmdvb2dsZS5jbG91", + "ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuR2V0UGhyYXNlTWF0Y2hlclJl", + "cXVlc3QaNC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYx", + "LlBocmFzZU1hdGNoZXIiQdpBBG5hbWWC0+STAjQSMi92MS97bmFtZT1wcm9q", + "ZWN0cy8qL2xvY2F0aW9ucy8qL3BocmFzZU1hdGNoZXJzLyp9Et4BChJMaXN0", + "UGhyYXNlTWF0Y2hlcnMSQC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmlu", + "c2lnaHRzLnYxLkxpc3RQaHJhc2VNYXRjaGVyc1JlcXVlc3QaQS5nb29nbGUu", + "Y2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkxpc3RQaHJhc2VNYXRj", + "aGVyc1Jlc3BvbnNlIkPaQQZwYXJlbnSC0+STAjQSMi92MS97cGFyZW50PXBy", + "b2plY3RzLyovbG9jYXRpb25zLyp9L3BocmFzZU1hdGNoZXJzErMBChNEZWxl", + "dGVQaHJhc2VNYXRjaGVyEkEuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy52MS5EZWxldGVQaHJhc2VNYXRjaGVyUmVxdWVzdBoWLmdvb2ds", + "ZS5wcm90b2J1Zi5FbXB0eSJB2kEEbmFtZYLT5JMCNCoyL3YxL3tuYW1lPXBy", + "b2plY3RzLyovbG9jYXRpb25zLyovcGhyYXNlTWF0Y2hlcnMvKn0ShgIKE1Vw", + "ZGF0ZVBocmFzZU1hdGNoZXISQS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRl", + "cmluc2lnaHRzLnYxLlVwZGF0ZVBocmFzZU1hdGNoZXJSZXF1ZXN0GjQuZ29v", + "Z2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5QaHJhc2VNYXRj", + "aGVyInbaQRpwaHJhc2VfbWF0Y2hlcix1cGRhdGVfbWFza4LT5JMCUzJBL3Yx", + "L3twaHJhc2VfbWF0Y2hlci5uYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyov", + "cGhyYXNlTWF0Y2hlcnMvKn06DnBocmFzZV9tYXRjaGVyEsMCCg5DYWxjdWxh", + "dGVTdGF0cxI8Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMu", + "djEuQ2FsY3VsYXRlU3RhdHNSZXF1ZXN0Gj0uZ29vZ2xlLmNsb3VkLmNvbnRh", + "Y3RjZW50ZXJpbnNpZ2h0cy52MS5DYWxjdWxhdGVTdGF0c1Jlc3BvbnNlIrMB", + "2kEIbG9jYXRpb26C0+STAqEBEkIvdjEve2xvY2F0aW9uPXByb2plY3RzLyov", + "bG9jYXRpb25zLyp9L2NvbnZlcnNhdGlvbnM6Y2FsY3VsYXRlU3RhdHNaWxJZ", + "L3YxL3tsb2NhdGlvbj1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL2F1dGhvcml6", + "ZWRWaWV3U2V0LyovYXV0aG9yaXplZFZpZXcvKn06Y2FsY3VsYXRlU3RhdHMS", + "tAEKC0dldFNldHRpbmdzEjkuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy52MS5HZXRTZXR0aW5nc1JlcXVlc3QaLy5nb29nbGUuY2xvdWQu", + "Y29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlNldHRpbmdzIjnaQQRuYW1lgtPk", + "kwIsEiovdjEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9zZXR0aW5n", + "c30S3QEKDlVwZGF0ZVNldHRpbmdzEjwuZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5VcGRhdGVTZXR0aW5nc1JlcXVlc3QaLy5nb29n", + "bGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlNldHRpbmdzIlza", + "QRRzZXR0aW5ncyx1cGRhdGVfbWFza4LT5JMCPzIzL3YxL3tzZXR0aW5ncy5u", + "YW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovc2V0dGluZ3N9OghzZXR0aW5n", + "cxLsAQoSQ3JlYXRlQW5hbHlzaXNSdWxlEkAuZ29vZ2xlLmNsb3VkLmNvbnRh", + "Y3RjZW50ZXJpbnNpZ2h0cy52MS5DcmVhdGVBbmFseXNpc1J1bGVSZXF1ZXN0", + "GjMuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5BbmFs", + "eXNpc1J1bGUiX9pBFHBhcmVudCxhbmFseXNpc19ydWxlgtPkkwJCIjEvdjEv", + "e3BhcmVudD1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qfS9hbmFseXNpc1J1bGVz", + "Og1hbmFseXNpc19ydWxlEscBCg9HZXRBbmFseXNpc1J1bGUSPS5nb29nbGUu", + "Y2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkdldEFuYWx5c2lzUnVs", + "ZVJlcXVlc3QaMy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRz", + "LnYxLkFuYWx5c2lzUnVsZSJA2kEEbmFtZYLT5JMCMxIxL3YxL3tuYW1lPXBy", + "b2plY3RzLyovbG9jYXRpb25zLyovYW5hbHlzaXNSdWxlcy8qfRLaAQoRTGlz", + "dEFuYWx5c2lzUnVsZXMSPy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmlu", + "c2lnaHRzLnYxLkxpc3RBbmFseXNpc1J1bGVzUmVxdWVzdBpALmdvb2dsZS5j", + "bG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuTGlzdEFuYWx5c2lzUnVs", + "ZXNSZXNwb25zZSJC2kEGcGFyZW50gtPkkwIzEjEvdjEve3BhcmVudD1wcm9q", + "ZWN0cy8qL2xvY2F0aW9ucy8qfS9hbmFseXNpc1J1bGVzEv8BChJVcGRhdGVB", + "bmFseXNpc1J1bGUSQC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2ln", + "aHRzLnYxLlVwZGF0ZUFuYWx5c2lzUnVsZVJlcXVlc3QaMy5nb29nbGUuY2xv", + "dWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkFuYWx5c2lzUnVsZSJy2kEZ", + "YW5hbHlzaXNfcnVsZSx1cGRhdGVfbWFza4LT5JMCUDI/L3YxL3thbmFseXNp", + "c19ydWxlLm5hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9hbmFseXNpc1J1", + "bGVzLyp9Og1hbmFseXNpc19ydWxlErABChJEZWxldGVBbmFseXNpc1J1bGUS", + "QC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkRlbGV0", + "ZUFuYWx5c2lzUnVsZVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHki", + "QNpBBG5hbWWC0+STAjMqMS92MS97bmFtZT1wcm9qZWN0cy8qL2xvY2F0aW9u", + "cy8qL2FuYWx5c2lzUnVsZXMvKn0SzAEKEUdldEVuY3J5cHRpb25TcGVjEj8u", + "Z29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5HZXRFbmNy", + "eXB0aW9uU3BlY1JlcXVlc3QaNS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRl", + "cmluc2lnaHRzLnYxLkVuY3J5cHRpb25TcGVjIj/aQQRuYW1lgtPkkwIyEjAv", + "djEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9lbmNyeXB0aW9uU3Bl", + "Y30SswIKGEluaXRpYWxpemVFbmNyeXB0aW9uU3BlYxJGLmdvb2dsZS5jbG91", + "ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuSW5pdGlhbGl6ZUVuY3J5cHRp", + "b25TcGVjUmVxdWVzdBodLmdvb2dsZS5sb25ncnVubmluZy5PcGVyYXRpb24i", + "rwHKQUQKIEluaXRpYWxpemVFbmNyeXB0aW9uU3BlY1Jlc3BvbnNlEiBJbml0", + "aWFsaXplRW5jcnlwdGlvblNwZWNNZXRhZGF0YdpBD2VuY3J5cHRpb25fc3Bl", + "Y4LT5JMCUCJLL3YxL3tlbmNyeXB0aW9uX3NwZWMubmFtZT1wcm9qZWN0cy8q", + "L2xvY2F0aW9ucy8qL2VuY3J5cHRpb25TcGVjfTppbml0aWFsaXplOgEqEroB", + "CgpDcmVhdGVWaWV3EjguZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNp", + "Z2h0cy52MS5DcmVhdGVWaWV3UmVxdWVzdBorLmdvb2dsZS5jbG91ZC5jb250", + "YWN0Y2VudGVyaW5zaWdodHMudjEuVmlldyJF2kELcGFyZW50LHZpZXeC0+ST", + "AjEiKS92MS97cGFyZW50PXByb2plY3RzLyovbG9jYXRpb25zLyp9L3ZpZXdz", + "OgR2aWV3EqcBCgdHZXRWaWV3EjUuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50", + "ZXJpbnNpZ2h0cy52MS5HZXRWaWV3UmVxdWVzdBorLmdvb2dsZS5jbG91ZC5j", + "b250YWN0Y2VudGVyaW5zaWdodHMudjEuVmlldyI42kEEbmFtZYLT5JMCKxIp", + "L3YxL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovdmlld3MvKn0SugEK", + "CUxpc3RWaWV3cxI3Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdo", + "dHMudjEuTGlzdFZpZXdzUmVxdWVzdBo4Lmdvb2dsZS5jbG91ZC5jb250YWN0", + "Y2VudGVyaW5zaWdodHMudjEuTGlzdFZpZXdzUmVzcG9uc2UiOtpBBnBhcmVu", + "dILT5JMCKxIpL3YxL3twYXJlbnQ9cHJvamVjdHMvKi9sb2NhdGlvbnMvKn0v", + "dmlld3MSxAEKClVwZGF0ZVZpZXcSOC5nb29nbGUuY2xvdWQuY29udGFjdGNl", + "bnRlcmluc2lnaHRzLnYxLlVwZGF0ZVZpZXdSZXF1ZXN0GisuZ29vZ2xlLmNs", + "b3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5WaWV3Ik/aQRB2aWV3LHVw", + "ZGF0ZV9tYXNrgtPkkwI2Mi4vdjEve3ZpZXcubmFtZT1wcm9qZWN0cy8qL2xv", + "Y2F0aW9ucy8qL3ZpZXdzLyp9OgR2aWV3EpgBCgpEZWxldGVWaWV3EjguZ29v", + "Z2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5EZWxldGVWaWV3", + "UmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSI42kEEbmFtZYLT5JMC", + "KyopL3YxL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovdmlld3MvKn0S", + "twIKDFF1ZXJ5TWV0cmljcxI6Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVy", + "aW5zaWdodHMudjEuUXVlcnlNZXRyaWNzUmVxdWVzdBodLmdvb2dsZS5sb25n", + "cnVubmluZy5PcGVyYXRpb24iywHKQSwKFFF1ZXJ5TWV0cmljc1Jlc3BvbnNl", + "EhRRdWVyeU1ldHJpY3NNZXRhZGF0YYLT5JMClQEiMi92MS97bG9jYXRpb249", + "cHJvamVjdHMvKi9sb2NhdGlvbnMvKn06cXVlcnlNZXRyaWNzOgEqWlwiVy92", + "MS97bG9jYXRpb249cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9hdXRob3JpemVk", + "Vmlld1NldC8qL2F1dGhvcml6ZWRWaWV3Lyp9OnF1ZXJ5TWV0cmljczoBKhKM", + "AgoQQ3JlYXRlUWFRdWVzdGlvbhI+Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2Vu", + "dGVyaW5zaWdodHMudjEuQ3JlYXRlUWFRdWVzdGlvblJlcXVlc3QaMS5nb29n", + "bGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlFhUXVlc3Rpb24i", + "hAHaQSJwYXJlbnQscWFfcXVlc3Rpb24sIHFhX3F1ZXN0aW9uX2lkgtPkkwJZ", + "IkovdjEve3BhcmVudD1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL3FhU2NvcmVj", + "YXJkcy8qL3JldmlzaW9ucy8qfS9xYVF1ZXN0aW9uczoLcWFfcXVlc3Rpb24S", + "2gEKDUdldFFhUXVlc3Rpb24SOy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRl", + "cmluc2lnaHRzLnYxLkdldFFhUXVlc3Rpb25SZXF1ZXN0GjEuZ29vZ2xlLmNs", + "b3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5RYVF1ZXN0aW9uIlnaQQRu", + "YW1lgtPkkwJMEkovdjEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9x", + "YVNjb3JlY2FyZHMvKi9yZXZpc2lvbnMvKi9xYVF1ZXN0aW9ucy8qfRKNAgoQ", + "VXBkYXRlUWFRdWVzdGlvbhI+Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVy", + "aW5zaWdodHMudjEuVXBkYXRlUWFRdWVzdGlvblJlcXVlc3QaMS5nb29nbGUu", + "Y2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlFhUXVlc3Rpb24ihQHa", + "QRdxYV9xdWVzdGlvbix1cGRhdGVfbWFza4LT5JMCZTJWL3YxL3txYV9xdWVz", + "dGlvbi5uYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovcWFTY29yZWNhcmRz", + "LyovcmV2aXNpb25zLyovcWFRdWVzdGlvbnMvKn06C3FhX3F1ZXN0aW9uEsUB", + "ChBEZWxldGVRYVF1ZXN0aW9uEj4uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50", + "ZXJpbnNpZ2h0cy52MS5EZWxldGVRYVF1ZXN0aW9uUmVxdWVzdBoWLmdvb2ds", + "ZS5wcm90b2J1Zi5FbXB0eSJZ2kEEbmFtZYLT5JMCTCpKL3YxL3tuYW1lPXBy", + "b2plY3RzLyovbG9jYXRpb25zLyovcWFTY29yZWNhcmRzLyovcmV2aXNpb25z", + "LyovcWFRdWVzdGlvbnMvKn0S7QEKD0xpc3RRYVF1ZXN0aW9ucxI9Lmdvb2ds", + "ZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuTGlzdFFhUXVlc3Rp", + "b25zUmVxdWVzdBo+Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdo", + "dHMudjEuTGlzdFFhUXVlc3Rpb25zUmVzcG9uc2UiW9pBBnBhcmVudILT5JMC", + "TBJKL3YxL3twYXJlbnQ9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9xYVNjb3Jl", + "Y2FyZHMvKi9yZXZpc2lvbnMvKn0vcWFRdWVzdGlvbnMS9gEKEUNyZWF0ZVFh", + "U2NvcmVjYXJkEj8uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy52MS5DcmVhdGVRYVNjb3JlY2FyZFJlcXVlc3QaMi5nb29nbGUuY2xvdWQu", + "Y29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlFhU2NvcmVjYXJkImzaQSNwYXJl", + "bnQscWFfc2NvcmVjYXJkLHFhX3Njb3JlY2FyZF9pZILT5JMCQCIwL3YxL3tw", + "YXJlbnQ9cHJvamVjdHMvKi9sb2NhdGlvbnMvKn0vcWFTY29yZWNhcmRzOgxx", + "YV9zY29yZWNhcmQSwwEKDkdldFFhU2NvcmVjYXJkEjwuZ29vZ2xlLmNsb3Vk", + "LmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5HZXRRYVNjb3JlY2FyZFJlcXVl", + "c3QaMi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlFh", + "U2NvcmVjYXJkIj/aQQRuYW1lgtPkkwIyEjAvdjEve25hbWU9cHJvamVjdHMv", + "Ki9sb2NhdGlvbnMvKi9xYVNjb3JlY2FyZHMvKn0S+AEKEVVwZGF0ZVFhU2Nv", + "cmVjYXJkEj8uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52", + "MS5VcGRhdGVRYVNjb3JlY2FyZFJlcXVlc3QaMi5nb29nbGUuY2xvdWQuY29u", + "dGFjdGNlbnRlcmluc2lnaHRzLnYxLlFhU2NvcmVjYXJkIm7aQRhxYV9zY29y", + "ZWNhcmQsdXBkYXRlX21hc2uC0+STAk0yPS92MS97cWFfc2NvcmVjYXJkLm5h", + "bWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9xYVNjb3JlY2FyZHMvKn06DHFh", + "X3Njb3JlY2FyZBKtAQoRRGVsZXRlUWFTY29yZWNhcmQSPy5nb29nbGUuY2xv", + "dWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkRlbGV0ZVFhU2NvcmVjYXJk", + "UmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSI/2kEEbmFtZYLT5JMC", + "MiowL3YxL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovcWFTY29yZWNh", + "cmRzLyp9EtYBChBMaXN0UWFTY29yZWNhcmRzEj4uZ29vZ2xlLmNsb3VkLmNv", + "bnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5MaXN0UWFTY29yZWNhcmRzUmVxdWVz", + "dBo/Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuTGlz", + "dFFhU2NvcmVjYXJkc1Jlc3BvbnNlIkHaQQZwYXJlbnSC0+STAjISMC92MS97", + "cGFyZW50PXByb2plY3RzLyovbG9jYXRpb25zLyp9L3FhU2NvcmVjYXJkcxK2", + "AgoZQ3JlYXRlUWFTY29yZWNhcmRSZXZpc2lvbhJHLmdvb2dsZS5jbG91ZC5j", + "b250YWN0Y2VudGVyaW5zaWdodHMudjEuQ3JlYXRlUWFTY29yZWNhcmRSZXZp", + "c2lvblJlcXVlc3QaOi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2ln", + "aHRzLnYxLlFhU2NvcmVjYXJkUmV2aXNpb24ikwHaQTVwYXJlbnQscWFfc2Nv", + "cmVjYXJkX3JldmlzaW9uLHFhX3Njb3JlY2FyZF9yZXZpc2lvbl9pZILT5JMC", + "VSI8L3YxL3twYXJlbnQ9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9xYVNjb3Jl", + "Y2FyZHMvKn0vcmV2aXNpb25zOhVxYV9zY29yZWNhcmRfcmV2aXNpb24S5wEK", + "FkdldFFhU2NvcmVjYXJkUmV2aXNpb24SRC5nb29nbGUuY2xvdWQuY29udGFj", + "dGNlbnRlcmluc2lnaHRzLnYxLkdldFFhU2NvcmVjYXJkUmV2aXNpb25SZXF1", + "ZXN0GjouZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5R", + "YVNjb3JlY2FyZFJldmlzaW9uIkvaQQRuYW1lgtPkkwI+EjwvdjEve25hbWU9", + "cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9xYVNjb3JlY2FyZHMvKi9yZXZpc2lv", + "bnMvKn0SxgIKF1R1bmVRYVNjb3JlY2FyZFJldmlzaW9uEkUuZ29vZ2xlLmNs", + "b3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5UdW5lUWFTY29yZWNhcmRS", + "ZXZpc2lvblJlcXVlc3QaHS5nb29nbGUubG9uZ3J1bm5pbmcuT3BlcmF0aW9u", + "IsQBykFCCh9UdW5lUWFTY29yZWNhcmRSZXZpc2lvblJlc3BvbnNlEh9UdW5l", + "UWFTY29yZWNhcmRSZXZpc2lvbk1ldGFkYXRh2kEbcGFyZW50LGZpbHRlcix2", + "YWxpZGF0ZV9vbmx5gtPkkwJbIlYvdjEve3BhcmVudD1wcm9qZWN0cy8qL2xv", + "Y2F0aW9ucy8qL3FhU2NvcmVjYXJkcy8qL3JldmlzaW9ucy8qfTp0dW5lUWFT", + "Y29yZWNhcmRSZXZpc2lvbjoBKhLwAQoZRGVwbG95UWFTY29yZWNhcmRSZXZp", + "c2lvbhJHLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEu", + "RGVwbG95UWFTY29yZWNhcmRSZXZpc2lvblJlcXVlc3QaOi5nb29nbGUuY2xv", + "dWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlFhU2NvcmVjYXJkUmV2aXNp", + "b24iToLT5JMCSCJDL3YxL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyov", + "cWFTY29yZWNhcmRzLyovcmV2aXNpb25zLyp9OmRlcGxveToBKhL2AQobVW5k", + "ZXBsb3lRYVNjb3JlY2FyZFJldmlzaW9uEkkuZ29vZ2xlLmNsb3VkLmNvbnRh", + "Y3RjZW50ZXJpbnNpZ2h0cy52MS5VbmRlcGxveVFhU2NvcmVjYXJkUmV2aXNp", + "b25SZXF1ZXN0GjouZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy52MS5RYVNjb3JlY2FyZFJldmlzaW9uIlCC0+STAkoiRS92MS97bmFtZT1w", + "cm9qZWN0cy8qL2xvY2F0aW9ucy8qL3FhU2NvcmVjYXJkcy8qL3JldmlzaW9u", + "cy8qfTp1bmRlcGxveToBKhLJAQoZRGVsZXRlUWFTY29yZWNhcmRSZXZpc2lv", + "bhJHLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuRGVs", + "ZXRlUWFTY29yZWNhcmRSZXZpc2lvblJlcXVlc3QaFi5nb29nbGUucHJvdG9i", + "dWYuRW1wdHkiS9pBBG5hbWWC0+STAj4qPC92MS97bmFtZT1wcm9qZWN0cy8q", + "L2xvY2F0aW9ucy8qL3FhU2NvcmVjYXJkcy8qL3JldmlzaW9ucy8qfRL6AQoY", + "TGlzdFFhU2NvcmVjYXJkUmV2aXNpb25zEkYuZ29vZ2xlLmNsb3VkLmNvbnRh", + "Y3RjZW50ZXJpbnNpZ2h0cy52MS5MaXN0UWFTY29yZWNhcmRSZXZpc2lvbnNS", + "ZXF1ZXN0GkcuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52", + "MS5MaXN0UWFTY29yZWNhcmRSZXZpc2lvbnNSZXNwb25zZSJN2kEGcGFyZW50", + "gtPkkwI+EjwvdjEve3BhcmVudD1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL3Fh", + "U2NvcmVjYXJkcy8qfS9yZXZpc2lvbnMSlQIKE0NyZWF0ZUZlZWRiYWNrTGFi", + "ZWwSQS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkNy", + "ZWF0ZUZlZWRiYWNrTGFiZWxSZXF1ZXN0GjQuZ29vZ2xlLmNsb3VkLmNvbnRh", + "Y3RjZW50ZXJpbnNpZ2h0cy52MS5GZWVkYmFja0xhYmVsIoQB2kEncGFyZW50", + "LGZlZWRiYWNrX2xhYmVsLGZlZWRiYWNrX2xhYmVsX2lkgtPkkwJUIkIvdjEv", + "e3BhcmVudD1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL2NvbnZlcnNhdGlvbnMv", + "Kn0vZmVlZGJhY2tMYWJlbHM6DmZlZWRiYWNrX2xhYmVsEu4BChJMaXN0RmVl", + "ZGJhY2tMYWJlbHMSQC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2ln", + "aHRzLnYxLkxpc3RGZWVkYmFja0xhYmVsc1JlcXVlc3QaQS5nb29nbGUuY2xv", + "dWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkxpc3RGZWVkYmFja0xhYmVs", + "c1Jlc3BvbnNlIlPaQQZwYXJlbnSC0+STAkQSQi92MS97cGFyZW50PXByb2pl", + "Y3RzLyovbG9jYXRpb25zLyovY29udmVyc2F0aW9ucy8qfS9mZWVkYmFja0xh", + "YmVscxLbAQoQR2V0RmVlZGJhY2tMYWJlbBI+Lmdvb2dsZS5jbG91ZC5jb250", + "YWN0Y2VudGVyaW5zaWdodHMudjEuR2V0RmVlZGJhY2tMYWJlbFJlcXVlc3Qa", + "NC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkZlZWRi", + "YWNrTGFiZWwiUdpBBG5hbWWC0+STAkQSQi92MS97bmFtZT1wcm9qZWN0cy8q", + "L2xvY2F0aW9ucy8qL2NvbnZlcnNhdGlvbnMvKi9mZWVkYmFja0xhYmVscy8q", + "fRKXAgoTVXBkYXRlRmVlZGJhY2tMYWJlbBJBLmdvb2dsZS5jbG91ZC5jb250", + "YWN0Y2VudGVyaW5zaWdodHMudjEuVXBkYXRlRmVlZGJhY2tMYWJlbFJlcXVl", + "c3QaNC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkZl", + "ZWRiYWNrTGFiZWwihgHaQRpmZWVkYmFja19sYWJlbCx1cGRhdGVfbWFza4LT", + "5JMCYzJRL3YxL3tmZWVkYmFja19sYWJlbC5uYW1lPXByb2plY3RzLyovbG9j", + "YXRpb25zLyovY29udmVyc2F0aW9ucy8qL2ZlZWRiYWNrTGFiZWxzLyp9Og5m", + "ZWVkYmFja19sYWJlbBLDAQoTRGVsZXRlRmVlZGJhY2tMYWJlbBJBLmdvb2ds", + "ZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuRGVsZXRlRmVlZGJh", + "Y2tMYWJlbFJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiUdpBBG5h", + "bWWC0+STAkQqQi92MS97bmFtZT1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL2Nv", + "bnZlcnNhdGlvbnMvKi9mZWVkYmFja0xhYmVscy8qfRLuAQoVTGlzdEFsbEZl", + "ZWRiYWNrTGFiZWxzEkMuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNp", + "Z2h0cy52MS5MaXN0QWxsRmVlZGJhY2tMYWJlbHNSZXF1ZXN0GkQuZ29vZ2xl", + "LmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5MaXN0QWxsRmVlZGJh", + "Y2tMYWJlbHNSZXNwb25zZSJK2kEGcGFyZW50gtPkkwI7EjkvdjEve3BhcmVu", + "dD1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qfTpsaXN0QWxsRmVlZGJhY2tMYWJl", + "bHMSmwIKGEJ1bGtVcGxvYWRGZWVkYmFja0xhYmVscxJGLmdvb2dsZS5jbG91", + "ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQnVsa1VwbG9hZEZlZWRiYWNr", + "TGFiZWxzUmVxdWVzdBodLmdvb2dsZS5sb25ncnVubmluZy5PcGVyYXRpb24i", + "lwHKQUQKIEJ1bGtVcGxvYWRGZWVkYmFja0xhYmVsc1Jlc3BvbnNlEiBCdWxr", + "VXBsb2FkRmVlZGJhY2tMYWJlbHNNZXRhZGF0YdpBBnBhcmVudILT5JMCQSI8", + "L3YxL3twYXJlbnQ9cHJvamVjdHMvKi9sb2NhdGlvbnMvKn06YnVsa1VwbG9h", + "ZEZlZWRiYWNrTGFiZWxzOgEqEqUCChpCdWxrRG93bmxvYWRGZWVkYmFja0xh", + "YmVscxJILmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEu", + "QnVsa0Rvd25sb2FkRmVlZGJhY2tMYWJlbHNSZXF1ZXN0Gh0uZ29vZ2xlLmxv", + "bmdydW5uaW5nLk9wZXJhdGlvbiKdAcpBSAoiQnVsa0Rvd25sb2FkRmVlZGJh", + "Y2tMYWJlbHNSZXNwb25zZRIiQnVsa0Rvd25sb2FkRmVlZGJhY2tMYWJlbHNN", + "ZXRhZGF0YdpBBnBhcmVudILT5JMCQyI+L3YxL3twYXJlbnQ9cHJvamVjdHMv", + "Ki9sb2NhdGlvbnMvKn06YnVsa0Rvd25sb2FkRmVlZGJhY2tMYWJlbHM6ASoa", + "WMpBJGNvbnRhY3RjZW50ZXJpbnNpZ2h0cy5nb29nbGVhcGlzLmNvbdJBLmh0", + "dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvY2xvdWQtcGxhdGZvcm1C", + "pQIKKWNvbS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYx", + "QhpDb250YWN0Q2VudGVySW5zaWdodHNQcm90b1ABWl9jbG91ZC5nb29nbGUu", + "Y29tL2dvL2NvbnRhY3RjZW50ZXJpbnNpZ2h0cy9hcGl2MS9jb250YWN0Y2Vu", + "dGVyaW5zaWdodHNwYjtjb250YWN0Y2VudGVyaW5zaWdodHNwYqoCJUdvb2ds", + "ZS5DbG91ZC5Db250YWN0Q2VudGVySW5zaWdodHMuVjHKAiVHb29nbGVcQ2xv", + "dWRcQ29udGFjdENlbnRlckluc2lnaHRzXFYx6gIoR29vZ2xlOjpDbG91ZDo6", + "Q29udGFjdENlbnRlckluc2lnaHRzOjpWMWIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Rpc.StatusReflection.Descriptor, global::Google.Type.IntervalReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.ContactCenterInsights.V1.ConversationView), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsRequest), global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsRequest.Parser, new[]{ "Location", "Filter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse), global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Parser, new[]{ "AverageDuration", "AverageTurnCount", "ConversationCount", "SmartHighlighterMatches", "CustomHighlighterMatches", "IssueMatches", "IssueMatchesStats", "ConversationCountTimeSeries" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Types.TimeSeries), global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Types.TimeSeries.Parser, new[]{ "IntervalDuration", "Points" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Types.TimeSeries.Types.Interval), global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Types.TimeSeries.Types.Interval.Parser, new[]{ "StartTime", "ConversationCount" }, null, null, null, null)}), + null, null, null, null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisOperationMetadata), global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisOperationMetadata.Parser, new[]{ "CreateTime", "EndTime", "Conversation", "AnnotatorSelector" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreateConversationRequest), global::Google.Cloud.ContactCenterInsights.V1.CreateConversationRequest.Parser, new[]{ "Parent", "Conversation", "ConversationId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest), global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest.Parser, new[]{ "Parent", "Conversation", "ConversationId", "RedactionConfig", "SpeechConfig" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UploadConversationMetadata), global::Google.Cloud.ContactCenterInsights.V1.UploadConversationMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request", "AnalysisOperation", "AppliedRedactionConfig" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListConversationsRequest), global::Google.Cloud.ContactCenterInsights.V1.ListConversationsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken", "Filter", "OrderBy", "View" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListConversationsResponse), global::Google.Cloud.ContactCenterInsights.V1.ListConversationsResponse.Parser, new[]{ "Conversations", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetConversationRequest), global::Google.Cloud.ContactCenterInsights.V1.GetConversationRequest.Parser, new[]{ "Name", "View" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UpdateConversationRequest), global::Google.Cloud.ContactCenterInsights.V1.UpdateConversationRequest.Parser, new[]{ "Conversation", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeleteConversationRequest), global::Google.Cloud.ContactCenterInsights.V1.DeleteConversationRequest.Parser, new[]{ "Name", "Force" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest), global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Parser, new[]{ "GcsSource", "TranscriptObjectConfig", "Parent", "ConversationConfig", "RedactionConfig", "SpeechConfig", "SampleSize" }, new[]{ "Source", "ObjectConfig", "SampleSize" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource), global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Parser, new[]{ "BucketUri", "BucketObjectType", "MetadataBucketUri", "CustomMetadataKeys" }, new[]{ "MetadataBucketUri" }, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Types.BucketObjectType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.TranscriptObjectConfig), global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.TranscriptObjectConfig.Parser, new[]{ "Medium" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.ConversationConfig), global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.ConversationConfig.Parser, new[]{ "AgentId", "AgentChannel", "CustomerChannel" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsMetadata), global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request", "PartialErrors", "IngestConversationsStats" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsMetadata.Types.IngestConversationsStats), global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsMetadata.Types.IngestConversationsStats.Parser, new[]{ "ProcessedObjectCount", "DuplicatesSkippedCount", "SuccessfulIngestCount", "FailedIngestCount" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsResponse), global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRequest), global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRequest.Parser, new[]{ "Parent", "Analysis" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesRequest), global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesRequest.Parser, new[]{ "Parent", "PageSize", "PageToken", "Filter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesResponse), global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesResponse.Parser, new[]{ "Analyses", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRequest), global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRequest), global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest), global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest.Parser, new[]{ "Parent", "Filter", "AnalysisPercentage", "AnnotatorSelector" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsMetadata), global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request", "CompletedAnalysesCount", "FailedAnalysesCount", "TotalRequestedAnalysesCount", "PartialErrors" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsResponse), global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsResponse.Parser, new[]{ "SuccessfulAnalysisCount", "FailedAnalysisCount" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest), global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest.Parser, new[]{ "Parent", "Filter", "MaxDeleteCount", "Force" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsMetadata), global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request", "PartialErrors" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsResponse), global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest), global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Parser, new[]{ "BigQueryDestination", "Parent", "Filter", "KmsKey", "WriteDisposition" }, new[]{ "Destination" }, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.WriteDisposition) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.BigQueryDestination), global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.BigQueryDestination.Parser, new[]{ "ProjectId", "Dataset", "Table" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataMetadata), global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request", "PartialErrors" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataResponse), global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest), global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest.Parser, new[]{ "Parent", "IssueModel" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelMetadata), global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueModelRequest), global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueModelRequest.Parser, new[]{ "IssueModel", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsRequest), global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsRequest.Parser, new[]{ "Parent" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsResponse), global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsResponse.Parser, new[]{ "IssueModels" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetIssueModelRequest), global::Google.Cloud.ContactCenterInsights.V1.GetIssueModelRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest), global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelMetadata), global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest), global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelResponse), global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelMetadata), global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest), global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelResponse), global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelMetadata), global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest), global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Parser, new[]{ "GcsDestination", "Name" }, new[]{ "Destination" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Types.GcsDestination), global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Types.GcsDestination.Parser, new[]{ "ObjectUri" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelResponse), global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelMetadata), global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest), global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Parser, new[]{ "GcsSource", "Parent", "CreateNewModel" }, new[]{ "Source" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Types.GcsSource), global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Types.GcsSource.Parser, new[]{ "ObjectUri" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelResponse), global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelMetadata), global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetIssueRequest), global::Google.Cloud.ContactCenterInsights.V1.GetIssueRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListIssuesRequest), global::Google.Cloud.ContactCenterInsights.V1.ListIssuesRequest.Parser, new[]{ "Parent" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListIssuesResponse), global::Google.Cloud.ContactCenterInsights.V1.ListIssuesResponse.Parser, new[]{ "Issues" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueRequest), global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueRequest.Parser, new[]{ "Issue", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueRequest), global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsRequest), global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsRequest.Parser, new[]{ "IssueModel" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsResponse), global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsResponse.Parser, new[]{ "CurrentStats" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreatePhraseMatcherRequest), global::Google.Cloud.ContactCenterInsights.V1.CreatePhraseMatcherRequest.Parser, new[]{ "Parent", "PhraseMatcher" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersRequest), global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersRequest.Parser, new[]{ "Parent", "PageSize", "PageToken", "Filter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersResponse), global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersResponse.Parser, new[]{ "PhraseMatchers", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetPhraseMatcherRequest), global::Google.Cloud.ContactCenterInsights.V1.GetPhraseMatcherRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeletePhraseMatcherRequest), global::Google.Cloud.ContactCenterInsights.V1.DeletePhraseMatcherRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UpdatePhraseMatcherRequest), global::Google.Cloud.ContactCenterInsights.V1.UpdatePhraseMatcherRequest.Parser, new[]{ "PhraseMatcher", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetSettingsRequest), global::Google.Cloud.ContactCenterInsights.V1.GetSettingsRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UpdateSettingsRequest), global::Google.Cloud.ContactCenterInsights.V1.UpdateSettingsRequest.Parser, new[]{ "Settings", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRuleRequest), global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRuleRequest.Parser, new[]{ "Parent", "AnalysisRule" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRuleRequest), global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRuleRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UpdateAnalysisRuleRequest), global::Google.Cloud.ContactCenterInsights.V1.UpdateAnalysisRuleRequest.Parser, new[]{ "AnalysisRule", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRuleRequest), global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRuleRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesRequest), global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesRequest.Parser, new[]{ "Parent", "PageSize", "PageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesResponse), global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesResponse.Parser, new[]{ "AnalysisRules", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetEncryptionSpecRequest), global::Google.Cloud.ContactCenterInsights.V1.GetEncryptionSpecRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest), global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest.Parser, new[]{ "EncryptionSpec" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecResponse), global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecMetadata), global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request", "PartialErrors" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreateViewRequest), global::Google.Cloud.ContactCenterInsights.V1.CreateViewRequest.Parser, new[]{ "Parent", "View" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetViewRequest), global::Google.Cloud.ContactCenterInsights.V1.GetViewRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListViewsRequest), global::Google.Cloud.ContactCenterInsights.V1.ListViewsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListViewsResponse), global::Google.Cloud.ContactCenterInsights.V1.ListViewsResponse.Parser, new[]{ "Views", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UpdateViewRequest), global::Google.Cloud.ContactCenterInsights.V1.UpdateViewRequest.Parser, new[]{ "View", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeleteViewRequest), global::Google.Cloud.ContactCenterInsights.V1.DeleteViewRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Dimension), global::Google.Cloud.ContactCenterInsights.V1.Dimension.Parser, new[]{ "IssueDimensionMetadata", "AgentDimensionMetadata", "QaQuestionDimensionMetadata", "QaQuestionAnswerDimensionMetadata", "DimensionKey" }, new[]{ "DimensionMetadata" }, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.DimensionKey) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.IssueDimensionMetadata), global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.IssueDimensionMetadata.Parser, new[]{ "IssueId", "IssueDisplayName", "IssueModelId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.AgentDimensionMetadata), global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.AgentDimensionMetadata.Parser, new[]{ "AgentId", "AgentDisplayName", "AgentTeam" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionDimensionMetadata), global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionDimensionMetadata.Parser, new[]{ "QaScorecardId", "QaQuestionId", "QuestionBody" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionAnswerDimensionMetadata), global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionAnswerDimensionMetadata.Parser, new[]{ "QaScorecardId", "QaQuestionId", "QuestionBody", "AnswerValue" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest), global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Parser, new[]{ "Location", "Filter", "TimeGranularity", "Dimensions", "MeasureMask" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Types.TimeGranularity) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse), global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Parser, new[]{ "Location", "UpdateTime", "Slices", "MacroAverageSlice" }, new[]{ "MacroAverageSlice" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice), global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Parser, new[]{ "Dimensions", "Total", "TimeSeries" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint), global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Parser, new[]{ "ConversationMeasure", "Interval" }, new[]{ "Measure" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure), global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure.Parser, new[]{ "ConversationCount", "AverageSilencePercentage", "AverageDuration", "AverageTurnCount", "AverageAgentSentimentScore", "AverageClientSentimentScore", "AverageCustomerSatisfactionRating", "AverageQaNormalizedScore", "QaTagScores", "AverageQaQuestionNormalizedScore" }, new[]{ "ConversationCount", "AverageSilencePercentage", "AverageDuration", "AverageTurnCount", "AverageAgentSentimentScore", "AverageClientSentimentScore", "AverageCustomerSatisfactionRating", "AverageQaNormalizedScore", "AverageQaQuestionNormalizedScore" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure.Types.QaTagScore), global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure.Types.QaTagScore.Parser, new[]{ "Tag", "AverageTagNormalizedScore" }, null, null, null, null)})}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.TimeSeries), global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.TimeSeries.Parser, new[]{ "DataPoints" }, null, null, null, null)})}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsMetadata), global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsMetadata.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreateQaQuestionRequest), global::Google.Cloud.ContactCenterInsights.V1.CreateQaQuestionRequest.Parser, new[]{ "Parent", "QaQuestion", "QaQuestionId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetQaQuestionRequest), global::Google.Cloud.ContactCenterInsights.V1.GetQaQuestionRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsRequest), global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsResponse), global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsResponse.Parser, new[]{ "QaQuestions", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaQuestionRequest), global::Google.Cloud.ContactCenterInsights.V1.UpdateQaQuestionRequest.Parser, new[]{ "QaQuestion", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaQuestionRequest), global::Google.Cloud.ContactCenterInsights.V1.DeleteQaQuestionRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRequest), global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRequest.Parser, new[]{ "Parent", "QaScorecard", "QaScorecardId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRequest), global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaScorecardRequest), global::Google.Cloud.ContactCenterInsights.V1.UpdateQaScorecardRequest.Parser, new[]{ "QaScorecard", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRequest), global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRequest.Parser, new[]{ "Name", "Force" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRevisionRequest), global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRevisionRequest.Parser, new[]{ "Parent", "QaScorecardRevision", "QaScorecardRevisionId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRevisionRequest), global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRevisionRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest), global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest.Parser, new[]{ "Parent", "Filter", "ValidateOnly" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionResponse), global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata), global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request", "QaQuestionDatasetValidationResults", "QaQuestionDatasetTuningMetrics", "TuningCompletionRatio" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetValidationResult), global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetValidationResult.Parser, new[]{ "Question", "DatasetValidationWarnings", "ValidFeedbackLabelsCount" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetTuningMetrics), global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetTuningMetrics.Parser, new[]{ "Question", "Metrics" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetTuningMetrics.Types.Metrics), global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetTuningMetrics.Types.Metrics.Parser, new[]{ "Accuracy" }, null, null, null, null)})}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeployQaScorecardRevisionRequest), global::Google.Cloud.ContactCenterInsights.V1.DeployQaScorecardRevisionRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UndeployQaScorecardRevisionRequest), global::Google.Cloud.ContactCenterInsights.V1.UndeployQaScorecardRevisionRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRevisionRequest), global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRevisionRequest.Parser, new[]{ "Name", "Force" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsRequest), global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsResponse), global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsResponse.Parser, new[]{ "QaScorecards", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsRequest), global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken", "Filter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsResponse), global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsResponse.Parser, new[]{ "QaScorecardRevisions", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CreateFeedbackLabelRequest), global::Google.Cloud.ContactCenterInsights.V1.CreateFeedbackLabelRequest.Parser, new[]{ "Parent", "FeedbackLabelId", "FeedbackLabel" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsRequest), global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsRequest.Parser, new[]{ "Parent", "Filter", "PageSize", "PageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsResponse), global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsResponse.Parser, new[]{ "FeedbackLabels", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GetFeedbackLabelRequest), global::Google.Cloud.ContactCenterInsights.V1.GetFeedbackLabelRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.UpdateFeedbackLabelRequest), global::Google.Cloud.ContactCenterInsights.V1.UpdateFeedbackLabelRequest.Parser, new[]{ "FeedbackLabel", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DeleteFeedbackLabelRequest), global::Google.Cloud.ContactCenterInsights.V1.DeleteFeedbackLabelRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsRequest), global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken", "Filter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsResponse), global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsResponse.Parser, new[]{ "FeedbackLabels", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest), global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Parser, new[]{ "GcsSource", "Parent", "ValidateOnly" }, new[]{ "Source" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource), global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Parser, new[]{ "Format", "ObjectUri" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Types.Format) }, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsResponse), global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsMetadata), global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request", "PartialErrors", "UploadStats" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsMetadata.Types.UploadStats), global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsMetadata.Types.UploadStats.Parser, new[]{ "ProcessedObjectCount", "FailedValidationCount", "SuccessfulUploadCount" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest), global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Parser, new[]{ "GcsDestination", "Parent", "Filter", "MaxDownloadCount", "FeedbackLabelType", "ConversationFilter", "TemplateQaScorecardId" }, new[]{ "Destination" }, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination), global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Parser, new[]{ "Format", "ObjectUri", "AddWhitespace", "AlwaysPrintEmptyFields", "RecordsPerFileCount" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Types.Format) }, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsResponse), global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsMetadata), global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsMetadata.Parser, new[]{ "CreateTime", "EndTime", "Request", "PartialErrors", "DownloadStats" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsMetadata.Types.DownloadStats), global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsMetadata.Types.DownloadStats.Parser, new[]{ "ProcessedObjectCount", "SuccessfulDownloadCount", "TotalFilesWritten", "FileNames" }, null, null, null, null)}) + })); + } + #endregion + + } + #region Enums + /// + /// Represents the options for viewing a conversation. + /// + public enum ConversationView { + /// + /// The conversation view is not specified. + /// + /// * Defaults to `FULL` in `GetConversationRequest`. + /// * Defaults to `BASIC` in `ListConversationsRequest`. + /// + [pbr::OriginalName("CONVERSATION_VIEW_UNSPECIFIED")] Unspecified = 0, + /// + /// Populates all fields in the conversation. + /// + [pbr::OriginalName("FULL")] Full = 2, + /// + /// Populates all fields in the conversation except the transcript. + /// + [pbr::OriginalName("BASIC")] Basic = 1, + } + + #endregion + + #region Messages + /// + /// The request for calculating conversation statistics. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CalculateStatsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CalculateStatsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateStatsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateStatsRequest(CalculateStatsRequest other) : this() { + location_ = other.location_; + filter_ = other.filter_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateStatsRequest Clone() { + return new CalculateStatsRequest(this); + } + + /// Field number for the "location" field. + public const int LocationFieldNumber = 1; + private string location_ = ""; + /// + /// Required. The location of the conversations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Location { + get { return location_; } + set { + location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 2; + private string filter_ = ""; + /// + /// A filter to reduce results to a specific subset. This field is useful for + /// getting statistics about conversations with specific properties. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CalculateStatsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CalculateStatsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Location != other.Location) return false; + if (Filter != other.Filter) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Location.Length != 0) hash ^= Location.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Location.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Location); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Location.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Location); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Location.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Location); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CalculateStatsRequest other) { + if (other == null) { + return; + } + if (other.Location.Length != 0) { + Location = other.Location; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Location = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Location = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response for calculating conversation statistics. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CalculateStatsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CalculateStatsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateStatsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateStatsResponse(CalculateStatsResponse other) : this() { + averageDuration_ = other.averageDuration_ != null ? other.averageDuration_.Clone() : null; + averageTurnCount_ = other.averageTurnCount_; + conversationCount_ = other.conversationCount_; + smartHighlighterMatches_ = other.smartHighlighterMatches_.Clone(); + customHighlighterMatches_ = other.customHighlighterMatches_.Clone(); + issueMatches_ = other.issueMatches_.Clone(); + issueMatchesStats_ = other.issueMatchesStats_.Clone(); + conversationCountTimeSeries_ = other.conversationCountTimeSeries_ != null ? other.conversationCountTimeSeries_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateStatsResponse Clone() { + return new CalculateStatsResponse(this); + } + + /// Field number for the "average_duration" field. + public const int AverageDurationFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Duration averageDuration_; + /// + /// The average duration of all conversations. The average is calculated using + /// only conversations that have a time duration. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Duration AverageDuration { + get { return averageDuration_; } + set { + averageDuration_ = value; + } + } + + /// Field number for the "average_turn_count" field. + public const int AverageTurnCountFieldNumber = 2; + private int averageTurnCount_; + /// + /// The average number of turns per conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AverageTurnCount { + get { return averageTurnCount_; } + set { + averageTurnCount_ = value; + } + } + + /// Field number for the "conversation_count" field. + public const int ConversationCountFieldNumber = 3; + private int conversationCount_; + /// + /// The total number of conversations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ConversationCount { + get { return conversationCount_; } + set { + conversationCount_ = value; + } + } + + /// Field number for the "smart_highlighter_matches" field. + public const int SmartHighlighterMatchesFieldNumber = 4; + private static readonly pbc::MapField.Codec _map_smartHighlighterMatches_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForInt32(16, 0), 34); + private readonly pbc::MapField smartHighlighterMatches_ = new pbc::MapField(); + /// + /// A map associating each smart highlighter display name with its respective + /// number of matches in the set of conversations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField SmartHighlighterMatches { + get { return smartHighlighterMatches_; } + } + + /// Field number for the "custom_highlighter_matches" field. + public const int CustomHighlighterMatchesFieldNumber = 5; + private static readonly pbc::MapField.Codec _map_customHighlighterMatches_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForInt32(16, 0), 42); + private readonly pbc::MapField customHighlighterMatches_ = new pbc::MapField(); + /// + /// A map associating each custom highlighter resource name with its respective + /// number of matches in the set of conversations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField CustomHighlighterMatches { + get { return customHighlighterMatches_; } + } + + /// Field number for the "issue_matches" field. + public const int IssueMatchesFieldNumber = 6; + private static readonly pbc::MapField.Codec _map_issueMatches_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForInt32(16, 0), 50); + private readonly pbc::MapField issueMatches_ = new pbc::MapField(); + /// + /// 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>` + /// Deprecated, use `issue_matches_stats` field instead. + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField IssueMatches { + get { return issueMatches_; } + } + + /// Field number for the "issue_matches_stats" field. + public const int IssueMatchesStatsFieldNumber = 8; + private static readonly pbc::MapField.Codec _map_issueMatchesStats_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats.Types.IssueStats.Parser), 66); + private readonly pbc::MapField issueMatchesStats_ = new pbc::MapField(); + /// + /// 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>` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField IssueMatchesStats { + get { return issueMatchesStats_; } + } + + /// Field number for the "conversation_count_time_series" field. + public const int ConversationCountTimeSeriesFieldNumber = 7; + private global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Types.TimeSeries conversationCountTimeSeries_; + /// + /// A time series representing the count of conversations created over time + /// that match that requested filter criteria. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Types.TimeSeries ConversationCountTimeSeries { + get { return conversationCountTimeSeries_; } + set { + conversationCountTimeSeries_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CalculateStatsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CalculateStatsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AverageDuration, other.AverageDuration)) return false; + if (AverageTurnCount != other.AverageTurnCount) return false; + if (ConversationCount != other.ConversationCount) return false; + if (!SmartHighlighterMatches.Equals(other.SmartHighlighterMatches)) return false; + if (!CustomHighlighterMatches.Equals(other.CustomHighlighterMatches)) return false; + if (!IssueMatches.Equals(other.IssueMatches)) return false; + if (!IssueMatchesStats.Equals(other.IssueMatchesStats)) return false; + if (!object.Equals(ConversationCountTimeSeries, other.ConversationCountTimeSeries)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (averageDuration_ != null) hash ^= AverageDuration.GetHashCode(); + if (AverageTurnCount != 0) hash ^= AverageTurnCount.GetHashCode(); + if (ConversationCount != 0) hash ^= ConversationCount.GetHashCode(); + hash ^= SmartHighlighterMatches.GetHashCode(); + hash ^= CustomHighlighterMatches.GetHashCode(); + hash ^= IssueMatches.GetHashCode(); + hash ^= IssueMatchesStats.GetHashCode(); + if (conversationCountTimeSeries_ != null) hash ^= ConversationCountTimeSeries.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (averageDuration_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AverageDuration); + } + if (AverageTurnCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(AverageTurnCount); + } + if (ConversationCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(ConversationCount); + } + smartHighlighterMatches_.WriteTo(output, _map_smartHighlighterMatches_codec); + customHighlighterMatches_.WriteTo(output, _map_customHighlighterMatches_codec); + issueMatches_.WriteTo(output, _map_issueMatches_codec); + if (conversationCountTimeSeries_ != null) { + output.WriteRawTag(58); + output.WriteMessage(ConversationCountTimeSeries); + } + issueMatchesStats_.WriteTo(output, _map_issueMatchesStats_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (averageDuration_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AverageDuration); + } + if (AverageTurnCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(AverageTurnCount); + } + if (ConversationCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(ConversationCount); + } + smartHighlighterMatches_.WriteTo(ref output, _map_smartHighlighterMatches_codec); + customHighlighterMatches_.WriteTo(ref output, _map_customHighlighterMatches_codec); + issueMatches_.WriteTo(ref output, _map_issueMatches_codec); + if (conversationCountTimeSeries_ != null) { + output.WriteRawTag(58); + output.WriteMessage(ConversationCountTimeSeries); + } + issueMatchesStats_.WriteTo(ref output, _map_issueMatchesStats_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (averageDuration_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AverageDuration); + } + if (AverageTurnCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AverageTurnCount); + } + if (ConversationCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ConversationCount); + } + size += smartHighlighterMatches_.CalculateSize(_map_smartHighlighterMatches_codec); + size += customHighlighterMatches_.CalculateSize(_map_customHighlighterMatches_codec); + size += issueMatches_.CalculateSize(_map_issueMatches_codec); + size += issueMatchesStats_.CalculateSize(_map_issueMatchesStats_codec); + if (conversationCountTimeSeries_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConversationCountTimeSeries); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CalculateStatsResponse other) { + if (other == null) { + return; + } + if (other.averageDuration_ != null) { + if (averageDuration_ == null) { + AverageDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + AverageDuration.MergeFrom(other.AverageDuration); + } + if (other.AverageTurnCount != 0) { + AverageTurnCount = other.AverageTurnCount; + } + if (other.ConversationCount != 0) { + ConversationCount = other.ConversationCount; + } + smartHighlighterMatches_.MergeFrom(other.smartHighlighterMatches_); + customHighlighterMatches_.MergeFrom(other.customHighlighterMatches_); + issueMatches_.MergeFrom(other.issueMatches_); + issueMatchesStats_.MergeFrom(other.issueMatchesStats_); + if (other.conversationCountTimeSeries_ != null) { + if (conversationCountTimeSeries_ == null) { + ConversationCountTimeSeries = new global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Types.TimeSeries(); + } + ConversationCountTimeSeries.MergeFrom(other.ConversationCountTimeSeries); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (averageDuration_ == null) { + AverageDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(AverageDuration); + break; + } + case 16: { + AverageTurnCount = input.ReadInt32(); + break; + } + case 24: { + ConversationCount = input.ReadInt32(); + break; + } + case 34: { + smartHighlighterMatches_.AddEntriesFrom(input, _map_smartHighlighterMatches_codec); + break; + } + case 42: { + customHighlighterMatches_.AddEntriesFrom(input, _map_customHighlighterMatches_codec); + break; + } + case 50: { + issueMatches_.AddEntriesFrom(input, _map_issueMatches_codec); + break; + } + case 58: { + if (conversationCountTimeSeries_ == null) { + ConversationCountTimeSeries = new global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Types.TimeSeries(); + } + input.ReadMessage(ConversationCountTimeSeries); + break; + } + case 66: { + issueMatchesStats_.AddEntriesFrom(input, _map_issueMatchesStats_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (averageDuration_ == null) { + AverageDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(AverageDuration); + break; + } + case 16: { + AverageTurnCount = input.ReadInt32(); + break; + } + case 24: { + ConversationCount = input.ReadInt32(); + break; + } + case 34: { + smartHighlighterMatches_.AddEntriesFrom(ref input, _map_smartHighlighterMatches_codec); + break; + } + case 42: { + customHighlighterMatches_.AddEntriesFrom(ref input, _map_customHighlighterMatches_codec); + break; + } + case 50: { + issueMatches_.AddEntriesFrom(ref input, _map_issueMatches_codec); + break; + } + case 58: { + if (conversationCountTimeSeries_ == null) { + ConversationCountTimeSeries = new global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Types.TimeSeries(); + } + input.ReadMessage(ConversationCountTimeSeries); + break; + } + case 66: { + issueMatchesStats_.AddEntriesFrom(ref input, _map_issueMatchesStats_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the CalculateStatsResponse message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// A time series representing conversations over time. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TimeSeries : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TimeSeries()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TimeSeries() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TimeSeries(TimeSeries other) : this() { + intervalDuration_ = other.intervalDuration_ != null ? other.intervalDuration_.Clone() : null; + points_ = other.points_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TimeSeries Clone() { + return new TimeSeries(this); + } + + /// Field number for the "interval_duration" field. + public const int IntervalDurationFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Duration intervalDuration_; + /// + /// The duration of each interval. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Duration IntervalDuration { + get { return intervalDuration_; } + set { + intervalDuration_ = value; + } + } + + /// Field number for the "points" field. + public const int PointsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_points_codec + = pb::FieldCodec.ForMessage(18, global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Types.TimeSeries.Types.Interval.Parser); + private readonly pbc::RepeatedField points_ = new pbc::RepeatedField(); + /// + /// An ordered list of intervals from earliest to latest, where each interval + /// represents the number of conversations that transpired during the time + /// window. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Points { + get { return points_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TimeSeries); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TimeSeries other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(IntervalDuration, other.IntervalDuration)) return false; + if(!points_.Equals(other.points_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (intervalDuration_ != null) hash ^= IntervalDuration.GetHashCode(); + hash ^= points_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (intervalDuration_ != null) { + output.WriteRawTag(10); + output.WriteMessage(IntervalDuration); + } + points_.WriteTo(output, _repeated_points_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (intervalDuration_ != null) { + output.WriteRawTag(10); + output.WriteMessage(IntervalDuration); + } + points_.WriteTo(ref output, _repeated_points_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (intervalDuration_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntervalDuration); + } + size += points_.CalculateSize(_repeated_points_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TimeSeries other) { + if (other == null) { + return; + } + if (other.intervalDuration_ != null) { + if (intervalDuration_ == null) { + IntervalDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + IntervalDuration.MergeFrom(other.IntervalDuration); + } + points_.Add(other.points_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (intervalDuration_ == null) { + IntervalDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(IntervalDuration); + break; + } + case 18: { + points_.AddEntriesFrom(input, _repeated_points_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (intervalDuration_ == null) { + IntervalDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(IntervalDuration); + break; + } + case 18: { + points_.AddEntriesFrom(ref input, _repeated_points_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the TimeSeries message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// A single interval in a time series. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Interval : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Interval()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Types.TimeSeries.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Interval() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Interval(Interval other) : this() { + startTime_ = other.startTime_ != null ? other.startTime_.Clone() : null; + conversationCount_ = other.conversationCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Interval Clone() { + return new Interval(this); + } + + /// Field number for the "start_time" field. + public const int StartTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp startTime_; + /// + /// The start time of this interval. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp StartTime { + get { return startTime_; } + set { + startTime_ = value; + } + } + + /// Field number for the "conversation_count" field. + public const int ConversationCountFieldNumber = 2; + private int conversationCount_; + /// + /// The number of conversations created in this interval. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ConversationCount { + get { return conversationCount_; } + set { + conversationCount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Interval); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Interval other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(StartTime, other.StartTime)) return false; + if (ConversationCount != other.ConversationCount) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (startTime_ != null) hash ^= StartTime.GetHashCode(); + if (ConversationCount != 0) hash ^= ConversationCount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (startTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(StartTime); + } + if (ConversationCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(ConversationCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (startTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(StartTime); + } + if (ConversationCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(ConversationCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (startTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StartTime); + } + if (ConversationCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ConversationCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Interval other) { + if (other == null) { + return; + } + if (other.startTime_ != null) { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + StartTime.MergeFrom(other.StartTime); + } + if (other.ConversationCount != 0) { + ConversationCount = other.ConversationCount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(StartTime); + break; + } + case 16: { + ConversationCount = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(StartTime); + break; + } + case 16: { + ConversationCount = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// Metadata for a create analysis operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateAnalysisOperationMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateAnalysisOperationMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAnalysisOperationMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAnalysisOperationMetadata(CreateAnalysisOperationMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + conversation_ = other.conversation_; + annotatorSelector_ = other.annotatorSelector_ != null ? other.annotatorSelector_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAnalysisOperationMetadata Clone() { + return new CreateAnalysisOperationMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "conversation" field. + public const int ConversationFieldNumber = 3; + private string conversation_ = ""; + /// + /// Output only. The Conversation that this Analysis Operation belongs to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Conversation { + get { return conversation_; } + set { + conversation_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "annotator_selector" field. + public const int AnnotatorSelectorFieldNumber = 4; + private global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector annotatorSelector_; + /// + /// Output only. The annotator selector used for the analysis (if any). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector AnnotatorSelector { + get { return annotatorSelector_; } + set { + annotatorSelector_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateAnalysisOperationMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateAnalysisOperationMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (Conversation != other.Conversation) return false; + if (!object.Equals(AnnotatorSelector, other.AnnotatorSelector)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (Conversation.Length != 0) hash ^= Conversation.GetHashCode(); + if (annotatorSelector_ != null) hash ^= AnnotatorSelector.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (Conversation.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Conversation); + } + if (annotatorSelector_ != null) { + output.WriteRawTag(34); + output.WriteMessage(AnnotatorSelector); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (Conversation.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Conversation); + } + if (annotatorSelector_ != null) { + output.WriteRawTag(34); + output.WriteMessage(AnnotatorSelector); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (Conversation.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Conversation); + } + if (annotatorSelector_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnnotatorSelector); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateAnalysisOperationMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.Conversation.Length != 0) { + Conversation = other.Conversation; + } + if (other.annotatorSelector_ != null) { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + AnnotatorSelector.MergeFrom(other.AnnotatorSelector); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + Conversation = input.ReadString(); + break; + } + case 34: { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + input.ReadMessage(AnnotatorSelector); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + Conversation = input.ReadString(); + break; + } + case 34: { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + input.ReadMessage(AnnotatorSelector); + break; + } + } + } + } + #endif + + } + + /// + /// Request to create a conversation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateConversationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateConversationRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateConversationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateConversationRequest(CreateConversationRequest other) : this() { + parent_ = other.parent_; + conversation_ = other.conversation_ != null ? other.conversation_.Clone() : null; + conversationId_ = other.conversationId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateConversationRequest Clone() { + return new CreateConversationRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "conversation" field. + public const int ConversationFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.Conversation conversation_; + /// + /// Required. The conversation resource to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Conversation Conversation { + get { return conversation_; } + set { + conversation_ = value; + } + } + + /// Field number for the "conversation_id" field. + public const int ConversationIdFieldNumber = 3; + private string 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 + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConversationId { + get { return conversationId_; } + set { + conversationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateConversationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateConversationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(Conversation, other.Conversation)) return false; + if (ConversationId != other.ConversationId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (conversation_ != null) hash ^= Conversation.GetHashCode(); + if (ConversationId.Length != 0) hash ^= ConversationId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (conversation_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Conversation); + } + if (ConversationId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConversationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (conversation_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Conversation); + } + if (ConversationId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConversationId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (conversation_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Conversation); + } + if (ConversationId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConversationId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateConversationRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.conversation_ != null) { + if (conversation_ == null) { + Conversation = new global::Google.Cloud.ContactCenterInsights.V1.Conversation(); + } + Conversation.MergeFrom(other.Conversation); + } + if (other.ConversationId.Length != 0) { + ConversationId = other.ConversationId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (conversation_ == null) { + Conversation = new global::Google.Cloud.ContactCenterInsights.V1.Conversation(); + } + input.ReadMessage(Conversation); + break; + } + case 26: { + ConversationId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (conversation_ == null) { + Conversation = new global::Google.Cloud.ContactCenterInsights.V1.Conversation(); + } + input.ReadMessage(Conversation); + break; + } + case 26: { + ConversationId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request to upload a conversation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UploadConversationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UploadConversationRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UploadConversationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UploadConversationRequest(UploadConversationRequest other) : this() { + parent_ = other.parent_; + conversation_ = other.conversation_ != null ? other.conversation_.Clone() : null; + conversationId_ = other.conversationId_; + redactionConfig_ = other.redactionConfig_ != null ? other.redactionConfig_.Clone() : null; + speechConfig_ = other.speechConfig_ != null ? other.speechConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UploadConversationRequest Clone() { + return new UploadConversationRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "conversation" field. + public const int ConversationFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.Conversation conversation_; + /// + /// Required. The conversation resource to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Conversation Conversation { + get { return conversation_; } + set { + conversation_ = value; + } + } + + /// Field number for the "conversation_id" field. + public const int ConversationIdFieldNumber = 3; + private string conversationId_ = ""; + /// + /// Optional. 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 server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConversationId { + get { return conversationId_; } + set { + conversationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "redaction_config" field. + public const int RedactionConfigFieldNumber = 4; + private global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig redactionConfig_; + /// + /// Optional. DLP settings for transcript redaction. Will default to the config + /// specified in Settings. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig RedactionConfig { + get { return redactionConfig_; } + set { + redactionConfig_ = value; + } + } + + /// Field number for the "speech_config" field. + public const int SpeechConfigFieldNumber = 11; + private global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig speechConfig_; + /// + /// Optional. Speech-to-Text configuration. Will default to the config + /// specified in Settings. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig SpeechConfig { + get { return speechConfig_; } + set { + speechConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UploadConversationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UploadConversationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(Conversation, other.Conversation)) return false; + if (ConversationId != other.ConversationId) return false; + if (!object.Equals(RedactionConfig, other.RedactionConfig)) return false; + if (!object.Equals(SpeechConfig, other.SpeechConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (conversation_ != null) hash ^= Conversation.GetHashCode(); + if (ConversationId.Length != 0) hash ^= ConversationId.GetHashCode(); + if (redactionConfig_ != null) hash ^= RedactionConfig.GetHashCode(); + if (speechConfig_ != null) hash ^= SpeechConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (conversation_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Conversation); + } + if (ConversationId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConversationId); + } + if (redactionConfig_ != null) { + output.WriteRawTag(34); + output.WriteMessage(RedactionConfig); + } + if (speechConfig_ != null) { + output.WriteRawTag(90); + output.WriteMessage(SpeechConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (conversation_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Conversation); + } + if (ConversationId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConversationId); + } + if (redactionConfig_ != null) { + output.WriteRawTag(34); + output.WriteMessage(RedactionConfig); + } + if (speechConfig_ != null) { + output.WriteRawTag(90); + output.WriteMessage(SpeechConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (conversation_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Conversation); + } + if (ConversationId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConversationId); + } + if (redactionConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RedactionConfig); + } + if (speechConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpeechConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UploadConversationRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.conversation_ != null) { + if (conversation_ == null) { + Conversation = new global::Google.Cloud.ContactCenterInsights.V1.Conversation(); + } + Conversation.MergeFrom(other.Conversation); + } + if (other.ConversationId.Length != 0) { + ConversationId = other.ConversationId; + } + if (other.redactionConfig_ != null) { + if (redactionConfig_ == null) { + RedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + RedactionConfig.MergeFrom(other.RedactionConfig); + } + if (other.speechConfig_ != null) { + if (speechConfig_ == null) { + SpeechConfig = new global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig(); + } + SpeechConfig.MergeFrom(other.SpeechConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (conversation_ == null) { + Conversation = new global::Google.Cloud.ContactCenterInsights.V1.Conversation(); + } + input.ReadMessage(Conversation); + break; + } + case 26: { + ConversationId = input.ReadString(); + break; + } + case 34: { + if (redactionConfig_ == null) { + RedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + input.ReadMessage(RedactionConfig); + break; + } + case 90: { + if (speechConfig_ == null) { + SpeechConfig = new global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig(); + } + input.ReadMessage(SpeechConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (conversation_ == null) { + Conversation = new global::Google.Cloud.ContactCenterInsights.V1.Conversation(); + } + input.ReadMessage(Conversation); + break; + } + case 26: { + ConversationId = input.ReadString(); + break; + } + case 34: { + if (redactionConfig_ == null) { + RedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + input.ReadMessage(RedactionConfig); + break; + } + case 90: { + if (speechConfig_ == null) { + SpeechConfig = new global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig(); + } + input.ReadMessage(SpeechConfig); + break; + } + } + } + } + #endif + + } + + /// + /// The metadata for an `UploadConversation` operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UploadConversationMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UploadConversationMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UploadConversationMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UploadConversationMetadata(UploadConversationMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + analysisOperation_ = other.analysisOperation_; + appliedRedactionConfig_ = other.appliedRedactionConfig_ != null ? other.appliedRedactionConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UploadConversationMetadata Clone() { + return new UploadConversationMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest request_; + /// + /// Output only. The original request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + /// Field number for the "analysis_operation" field. + public const int AnalysisOperationFieldNumber = 4; + private string analysisOperation_ = ""; + /// + /// Output only. The operation name for a successfully created analysis + /// operation, if any. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AnalysisOperation { + get { return analysisOperation_; } + set { + analysisOperation_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "applied_redaction_config" field. + public const int AppliedRedactionConfigFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig appliedRedactionConfig_; + /// + /// Output only. The redaction config applied to the uploaded conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig AppliedRedactionConfig { + get { return appliedRedactionConfig_; } + set { + appliedRedactionConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UploadConversationMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UploadConversationMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + if (AnalysisOperation != other.AnalysisOperation) return false; + if (!object.Equals(AppliedRedactionConfig, other.AppliedRedactionConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + if (AnalysisOperation.Length != 0) hash ^= AnalysisOperation.GetHashCode(); + if (appliedRedactionConfig_ != null) hash ^= AppliedRedactionConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (AnalysisOperation.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AnalysisOperation); + } + if (appliedRedactionConfig_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AppliedRedactionConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (AnalysisOperation.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AnalysisOperation); + } + if (appliedRedactionConfig_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AppliedRedactionConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + if (AnalysisOperation.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AnalysisOperation); + } + if (appliedRedactionConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AppliedRedactionConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UploadConversationMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest(); + } + Request.MergeFrom(other.Request); + } + if (other.AnalysisOperation.Length != 0) { + AnalysisOperation = other.AnalysisOperation; + } + if (other.appliedRedactionConfig_ != null) { + if (appliedRedactionConfig_ == null) { + AppliedRedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + AppliedRedactionConfig.MergeFrom(other.AppliedRedactionConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + AnalysisOperation = input.ReadString(); + break; + } + case 42: { + if (appliedRedactionConfig_ == null) { + AppliedRedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + input.ReadMessage(AppliedRedactionConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + AnalysisOperation = input.ReadString(); + break; + } + case 42: { + if (appliedRedactionConfig_ == null) { + AppliedRedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + input.ReadMessage(AppliedRedactionConfig); + break; + } + } + } + } + #endif + + } + + /// + /// Request to list conversations. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListConversationsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListConversationsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListConversationsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListConversationsRequest(ListConversationsRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + filter_ = other.filter_; + orderBy_ = other.orderBy_; + view_ = other.view_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListConversationsRequest Clone() { + return new ListConversationsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// The maximum number of conversations to return in the response. A valid page + /// size ranges from 0 to 100,000 inclusive. If the page size is zero or + /// unspecified, a default page size of 100 will be chosen. Note that a call + /// might return fewer results than the requested page size. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// The value returned by the last `ListConversationsResponse`. This value + /// indicates that this is a continuation of a prior `ListConversations` call + /// and that the system should return the next page of data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 4; + private string filter_ = ""; + /// + /// A filter to reduce results to a specific subset. Useful for querying + /// conversations with specific properties. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "order_by" field. + public const int OrderByFieldNumber = 7; + private string orderBy_ = ""; + /// + /// Optional. The attribute by which to order conversations in the response. + /// If empty, conversations will be ordered by descending creation time. + /// Supported values are one of the following: + /// + /// * create_time + /// * customer_satisfaction_rating + /// * duration + /// * latest_analysis + /// * start_time + /// * turn_count + /// + /// The default sort order is ascending. To specify order, append `asc` or + /// `desc` (`create_time desc`). + /// For more details, see [Google AIPs + /// Ordering](https://google.aip.dev/132#ordering). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OrderBy { + get { return orderBy_; } + set { + orderBy_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "view" field. + public const int ViewFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.ConversationView view_ = global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified; + /// + /// The level of details of the conversation. Default is `BASIC`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ConversationView View { + get { return view_; } + set { + view_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListConversationsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListConversationsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + if (Filter != other.Filter) return false; + if (OrderBy != other.OrderBy) return false; + if (View != other.View) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (OrderBy.Length != 0) hash ^= OrderBy.GetHashCode(); + if (View != global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified) hash ^= View.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (View != global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) View); + } + if (OrderBy.Length != 0) { + output.WriteRawTag(58); + output.WriteString(OrderBy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (View != global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) View); + } + if (OrderBy.Length != 0) { + output.WriteRawTag(58); + output.WriteString(OrderBy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (OrderBy.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OrderBy); + } + if (View != global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) View); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListConversationsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + if (other.OrderBy.Length != 0) { + OrderBy = other.OrderBy; + } + if (other.View != global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified) { + View = other.View; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + case 40: { + View = (global::Google.Cloud.ContactCenterInsights.V1.ConversationView) input.ReadEnum(); + break; + } + case 58: { + OrderBy = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + case 40: { + View = (global::Google.Cloud.ContactCenterInsights.V1.ConversationView) input.ReadEnum(); + break; + } + case 58: { + OrderBy = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response of listing conversations. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListConversationsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListConversationsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListConversationsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListConversationsResponse(ListConversationsResponse other) : this() { + conversations_ = other.conversations_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListConversationsResponse Clone() { + return new ListConversationsResponse(this); + } + + /// Field number for the "conversations" field. + public const int ConversationsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_conversations_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.Conversation.Parser); + private readonly pbc::RepeatedField conversations_ = new pbc::RepeatedField(); + /// + /// The conversations that match the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Conversations { + get { return conversations_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string 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 + /// set, it means no other pages are available. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListConversationsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListConversationsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!conversations_.Equals(other.conversations_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= conversations_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + conversations_.WriteTo(output, _repeated_conversations_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + conversations_.WriteTo(ref output, _repeated_conversations_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += conversations_.CalculateSize(_repeated_conversations_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListConversationsResponse other) { + if (other == null) { + return; + } + conversations_.Add(other.conversations_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + conversations_.AddEntriesFrom(input, _repeated_conversations_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + conversations_.AddEntriesFrom(ref input, _repeated_conversations_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to get a conversation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetConversationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetConversationRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetConversationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetConversationRequest(GetConversationRequest other) : this() { + name_ = other.name_; + view_ = other.view_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetConversationRequest Clone() { + return new GetConversationRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the conversation to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "view" field. + public const int ViewFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.ConversationView view_ = global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified; + /// + /// The level of details of the conversation. Default is `FULL`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ConversationView View { + get { return view_; } + set { + view_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetConversationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetConversationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (View != other.View) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (View != global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified) hash ^= View.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (View != global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) View); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (View != global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) View); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (View != global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) View); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetConversationRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.View != global::Google.Cloud.ContactCenterInsights.V1.ConversationView.Unspecified) { + View = other.View; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + View = (global::Google.Cloud.ContactCenterInsights.V1.ConversationView) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + View = (global::Google.Cloud.ContactCenterInsights.V1.ConversationView) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to update a conversation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateConversationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateConversationRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateConversationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateConversationRequest(UpdateConversationRequest other) : this() { + conversation_ = other.conversation_ != null ? other.conversation_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateConversationRequest Clone() { + return new UpdateConversationRequest(this); + } + + /// Field number for the "conversation" field. + public const int ConversationFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.Conversation conversation_; + /// + /// Required. The new values for the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Conversation Conversation { + get { return conversation_; } + set { + conversation_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// The list of fields to be updated. All possible fields can be updated by + /// passing `*`, or a subset of the following updateable fields can be + /// provided: + /// + /// * `agent_id` + /// * `language_code` + /// * `labels` + /// * `metadata` + /// * `quality_metadata` + /// * `call_metadata` + /// * `start_time` + /// * `expire_time` or `ttl` + /// * `data_source.gcs_source.audio_uri` or + /// `data_source.dialogflow_source.audio_uri` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateConversationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateConversationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Conversation, other.Conversation)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (conversation_ != null) hash ^= Conversation.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (conversation_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Conversation); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (conversation_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Conversation); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (conversation_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Conversation); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateConversationRequest other) { + if (other == null) { + return; + } + if (other.conversation_ != null) { + if (conversation_ == null) { + Conversation = new global::Google.Cloud.ContactCenterInsights.V1.Conversation(); + } + Conversation.MergeFrom(other.Conversation); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (conversation_ == null) { + Conversation = new global::Google.Cloud.ContactCenterInsights.V1.Conversation(); + } + input.ReadMessage(Conversation); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (conversation_ == null) { + Conversation = new global::Google.Cloud.ContactCenterInsights.V1.Conversation(); + } + input.ReadMessage(Conversation); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// The request to delete a conversation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteConversationRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteConversationRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteConversationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteConversationRequest(DeleteConversationRequest other) : this() { + name_ = other.name_; + force_ = other.force_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteConversationRequest Clone() { + return new DeleteConversationRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the conversation to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "force" field. + public const int ForceFieldNumber = 2; + private bool 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 + /// analyses. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Force { + get { return force_; } + set { + force_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteConversationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteConversationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (Force != other.Force) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Force != false) hash ^= Force.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Force != false) { + output.WriteRawTag(16); + output.WriteBool(Force); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Force != false) { + output.WriteRawTag(16); + output.WriteBool(Force); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Force != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteConversationRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Force != false) { + Force = other.Force; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + Force = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + Force = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to ingest conversations. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IngestConversationsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IngestConversationsRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsRequest(IngestConversationsRequest other) : this() { + _hasBits0 = other._hasBits0; + parent_ = other.parent_; + conversationConfig_ = other.conversationConfig_ != null ? other.conversationConfig_.Clone() : null; + redactionConfig_ = other.redactionConfig_ != null ? other.redactionConfig_.Clone() : null; + speechConfig_ = other.speechConfig_ != null ? other.speechConfig_.Clone() : null; + sampleSize_ = other.sampleSize_; + switch (other.SourceCase) { + case SourceOneofCase.GcsSource: + GcsSource = other.GcsSource.Clone(); + break; + } + + switch (other.ObjectConfigCase) { + case ObjectConfigOneofCase.TranscriptObjectConfig: + TranscriptObjectConfig = other.TranscriptObjectConfig.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsRequest Clone() { + return new IngestConversationsRequest(this); + } + + /// Field number for the "gcs_source" field. + public const int GcsSourceFieldNumber = 2; + /// + /// A cloud storage bucket source. Note that any previously ingested objects + /// from the source will be skipped to avoid duplication. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource GcsSource { + get { return sourceCase_ == SourceOneofCase.GcsSource ? (global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource) source_ : null; } + set { + source_ = value; + sourceCase_ = value == null ? SourceOneofCase.None : SourceOneofCase.GcsSource; + } + } + + /// Field number for the "transcript_object_config" field. + public const int TranscriptObjectConfigFieldNumber = 3; + /// + /// Configuration for when `source` contains conversation transcripts. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.TranscriptObjectConfig TranscriptObjectConfig { + get { return objectConfigCase_ == ObjectConfigOneofCase.TranscriptObjectConfig ? (global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.TranscriptObjectConfig) objectConfig_ : null; } + set { + objectConfig_ = value; + objectConfigCase_ = value == null ? ObjectConfigOneofCase.None : ObjectConfigOneofCase.TranscriptObjectConfig; + } + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource for new conversations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "conversation_config" field. + public const int ConversationConfigFieldNumber = 4; + private global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.ConversationConfig conversationConfig_; + /// + /// Configuration that applies to all conversations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.ConversationConfig ConversationConfig { + get { return conversationConfig_; } + set { + conversationConfig_ = value; + } + } + + /// Field number for the "redaction_config" field. + public const int RedactionConfigFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig redactionConfig_; + /// + /// Optional. DLP settings for transcript redaction. Optional, will default to + /// the config specified in Settings. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig RedactionConfig { + get { return redactionConfig_; } + set { + redactionConfig_ = value; + } + } + + /// Field number for the "speech_config" field. + public const int SpeechConfigFieldNumber = 6; + private global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig speechConfig_; + /// + /// Optional. Default Speech-to-Text configuration. Optional, will default to + /// the config specified in Settings. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig SpeechConfig { + get { return speechConfig_; } + set { + speechConfig_ = value; + } + } + + /// Field number for the "sample_size" field. + public const int SampleSizeFieldNumber = 7; + private readonly static int SampleSizeDefaultValue = 0; + + private int sampleSize_; + /// + /// Optional. If set, this fields indicates the number of objects to ingest + /// from the Cloud Storage bucket. If empty, the entire bucket will be + /// ingested. Unless they are first deleted, conversations produced through + /// sampling won't be ingested by subsequent ingest requests. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SampleSize { + get { if ((_hasBits0 & 1) != 0) { return sampleSize_; } else { return SampleSizeDefaultValue; } } + set { + _hasBits0 |= 1; + sampleSize_ = value; + } + } + /// Gets whether the "sample_size" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSampleSize { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "sample_size" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSampleSize() { + _hasBits0 &= ~1; + } + + private object source_; + /// Enum of possible cases for the "source" oneof. + public enum SourceOneofCase { + None = 0, + GcsSource = 2, + } + private SourceOneofCase sourceCase_ = SourceOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SourceOneofCase SourceCase { + get { return sourceCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSource() { + sourceCase_ = SourceOneofCase.None; + source_ = null; + } + + private object objectConfig_; + /// Enum of possible cases for the "object_config" oneof. + public enum ObjectConfigOneofCase { + None = 0, + TranscriptObjectConfig = 3, + } + private ObjectConfigOneofCase objectConfigCase_ = ObjectConfigOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ObjectConfigOneofCase ObjectConfigCase { + get { return objectConfigCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearObjectConfig() { + objectConfigCase_ = ObjectConfigOneofCase.None; + objectConfig_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IngestConversationsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IngestConversationsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GcsSource, other.GcsSource)) return false; + if (!object.Equals(TranscriptObjectConfig, other.TranscriptObjectConfig)) return false; + if (Parent != other.Parent) return false; + if (!object.Equals(ConversationConfig, other.ConversationConfig)) return false; + if (!object.Equals(RedactionConfig, other.RedactionConfig)) return false; + if (!object.Equals(SpeechConfig, other.SpeechConfig)) return false; + if (SampleSize != other.SampleSize) return false; + if (SourceCase != other.SourceCase) return false; + if (ObjectConfigCase != other.ObjectConfigCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (sourceCase_ == SourceOneofCase.GcsSource) hash ^= GcsSource.GetHashCode(); + if (objectConfigCase_ == ObjectConfigOneofCase.TranscriptObjectConfig) hash ^= TranscriptObjectConfig.GetHashCode(); + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (conversationConfig_ != null) hash ^= ConversationConfig.GetHashCode(); + if (redactionConfig_ != null) hash ^= RedactionConfig.GetHashCode(); + if (speechConfig_ != null) hash ^= SpeechConfig.GetHashCode(); + if (HasSampleSize) hash ^= SampleSize.GetHashCode(); + hash ^= (int) sourceCase_; + hash ^= (int) objectConfigCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (sourceCase_ == SourceOneofCase.GcsSource) { + output.WriteRawTag(18); + output.WriteMessage(GcsSource); + } + if (objectConfigCase_ == ObjectConfigOneofCase.TranscriptObjectConfig) { + output.WriteRawTag(26); + output.WriteMessage(TranscriptObjectConfig); + } + if (conversationConfig_ != null) { + output.WriteRawTag(34); + output.WriteMessage(ConversationConfig); + } + if (redactionConfig_ != null) { + output.WriteRawTag(42); + output.WriteMessage(RedactionConfig); + } + if (speechConfig_ != null) { + output.WriteRawTag(50); + output.WriteMessage(SpeechConfig); + } + if (HasSampleSize) { + output.WriteRawTag(56); + output.WriteInt32(SampleSize); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (sourceCase_ == SourceOneofCase.GcsSource) { + output.WriteRawTag(18); + output.WriteMessage(GcsSource); + } + if (objectConfigCase_ == ObjectConfigOneofCase.TranscriptObjectConfig) { + output.WriteRawTag(26); + output.WriteMessage(TranscriptObjectConfig); + } + if (conversationConfig_ != null) { + output.WriteRawTag(34); + output.WriteMessage(ConversationConfig); + } + if (redactionConfig_ != null) { + output.WriteRawTag(42); + output.WriteMessage(RedactionConfig); + } + if (speechConfig_ != null) { + output.WriteRawTag(50); + output.WriteMessage(SpeechConfig); + } + if (HasSampleSize) { + output.WriteRawTag(56); + output.WriteInt32(SampleSize); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (sourceCase_ == SourceOneofCase.GcsSource) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GcsSource); + } + if (objectConfigCase_ == ObjectConfigOneofCase.TranscriptObjectConfig) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TranscriptObjectConfig); + } + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (conversationConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConversationConfig); + } + if (redactionConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RedactionConfig); + } + if (speechConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpeechConfig); + } + if (HasSampleSize) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SampleSize); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IngestConversationsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.conversationConfig_ != null) { + if (conversationConfig_ == null) { + ConversationConfig = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.ConversationConfig(); + } + ConversationConfig.MergeFrom(other.ConversationConfig); + } + if (other.redactionConfig_ != null) { + if (redactionConfig_ == null) { + RedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + RedactionConfig.MergeFrom(other.RedactionConfig); + } + if (other.speechConfig_ != null) { + if (speechConfig_ == null) { + SpeechConfig = new global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig(); + } + SpeechConfig.MergeFrom(other.SpeechConfig); + } + if (other.HasSampleSize) { + SampleSize = other.SampleSize; + } + switch (other.SourceCase) { + case SourceOneofCase.GcsSource: + if (GcsSource == null) { + GcsSource = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource(); + } + GcsSource.MergeFrom(other.GcsSource); + break; + } + + switch (other.ObjectConfigCase) { + case ObjectConfigOneofCase.TranscriptObjectConfig: + if (TranscriptObjectConfig == null) { + TranscriptObjectConfig = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.TranscriptObjectConfig(); + } + TranscriptObjectConfig.MergeFrom(other.TranscriptObjectConfig); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource(); + if (sourceCase_ == SourceOneofCase.GcsSource) { + subBuilder.MergeFrom(GcsSource); + } + input.ReadMessage(subBuilder); + GcsSource = subBuilder; + break; + } + case 26: { + global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.TranscriptObjectConfig subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.TranscriptObjectConfig(); + if (objectConfigCase_ == ObjectConfigOneofCase.TranscriptObjectConfig) { + subBuilder.MergeFrom(TranscriptObjectConfig); + } + input.ReadMessage(subBuilder); + TranscriptObjectConfig = subBuilder; + break; + } + case 34: { + if (conversationConfig_ == null) { + ConversationConfig = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.ConversationConfig(); + } + input.ReadMessage(ConversationConfig); + break; + } + case 42: { + if (redactionConfig_ == null) { + RedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + input.ReadMessage(RedactionConfig); + break; + } + case 50: { + if (speechConfig_ == null) { + SpeechConfig = new global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig(); + } + input.ReadMessage(SpeechConfig); + break; + } + case 56: { + SampleSize = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource(); + if (sourceCase_ == SourceOneofCase.GcsSource) { + subBuilder.MergeFrom(GcsSource); + } + input.ReadMessage(subBuilder); + GcsSource = subBuilder; + break; + } + case 26: { + global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.TranscriptObjectConfig subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.TranscriptObjectConfig(); + if (objectConfigCase_ == ObjectConfigOneofCase.TranscriptObjectConfig) { + subBuilder.MergeFrom(TranscriptObjectConfig); + } + input.ReadMessage(subBuilder); + TranscriptObjectConfig = subBuilder; + break; + } + case 34: { + if (conversationConfig_ == null) { + ConversationConfig = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.ConversationConfig(); + } + input.ReadMessage(ConversationConfig); + break; + } + case 42: { + if (redactionConfig_ == null) { + RedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + input.ReadMessage(RedactionConfig); + break; + } + case 50: { + if (speechConfig_ == null) { + SpeechConfig = new global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig(); + } + input.ReadMessage(SpeechConfig); + break; + } + case 56: { + SampleSize = input.ReadInt32(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the IngestConversationsRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Configuration for Cloud Storage bucket sources. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GcsSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GcsSource()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource(GcsSource other) : this() { + bucketUri_ = other.bucketUri_; + bucketObjectType_ = other.bucketObjectType_; + metadataBucketUri_ = other.metadataBucketUri_; + customMetadataKeys_ = other.customMetadataKeys_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource Clone() { + return new GcsSource(this); + } + + /// Field number for the "bucket_uri" field. + public const int BucketUriFieldNumber = 1; + private string bucketUri_ = ""; + /// + /// Required. The Cloud Storage bucket containing source objects. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BucketUri { + get { return bucketUri_; } + set { + bucketUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "bucket_object_type" field. + public const int BucketObjectTypeFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Types.BucketObjectType bucketObjectType_ = global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Types.BucketObjectType.Unspecified; + /// + /// Optional. Specifies the type of the objects in `bucket_uri`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Types.BucketObjectType BucketObjectType { + get { return bucketObjectType_; } + set { + bucketObjectType_ = value; + } + } + + /// Field number for the "metadata_bucket_uri" field. + public const int MetadataBucketUriFieldNumber = 3; + private readonly static string MetadataBucketUriDefaultValue = ""; + + private string metadataBucketUri_; + /// + /// Optional. The Cloud Storage path to the conversation metadata. Note that: + /// [1] Metadata files are expected to be in JSON format. + /// [2] Metadata and source files (transcripts or audio) must be in + /// separate buckets. + /// [3] A source file and its corresponding metadata file must share the same + /// name to + /// be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and + /// `gs://bucket/metadata/conversation1.json`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MetadataBucketUri { + get { return metadataBucketUri_ ?? MetadataBucketUriDefaultValue; } + set { + metadataBucketUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "metadata_bucket_uri" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMetadataBucketUri { + get { return metadataBucketUri_ != null; } + } + /// Clears the value of the "metadata_bucket_uri" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMetadataBucketUri() { + metadataBucketUri_ = null; + } + + /// Field number for the "custom_metadata_keys" field. + public const int CustomMetadataKeysFieldNumber = 12; + private static readonly pb::FieldCodec _repeated_customMetadataKeys_codec + = pb::FieldCodec.ForString(98); + private readonly pbc::RepeatedField customMetadataKeys_ = new pbc::RepeatedField(); + /// + /// Optional. Custom keys to extract as conversation labels from metadata + /// files in `metadata_bucket_uri`. Keys not included in this field will be + /// ignored. Note that there is a limit of 100 labels per conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CustomMetadataKeys { + get { return customMetadataKeys_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GcsSource); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GcsSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BucketUri != other.BucketUri) return false; + if (BucketObjectType != other.BucketObjectType) return false; + if (MetadataBucketUri != other.MetadataBucketUri) return false; + if(!customMetadataKeys_.Equals(other.customMetadataKeys_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (BucketUri.Length != 0) hash ^= BucketUri.GetHashCode(); + if (BucketObjectType != global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Types.BucketObjectType.Unspecified) hash ^= BucketObjectType.GetHashCode(); + if (HasMetadataBucketUri) hash ^= MetadataBucketUri.GetHashCode(); + hash ^= customMetadataKeys_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (BucketUri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(BucketUri); + } + if (BucketObjectType != global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Types.BucketObjectType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) BucketObjectType); + } + if (HasMetadataBucketUri) { + output.WriteRawTag(26); + output.WriteString(MetadataBucketUri); + } + customMetadataKeys_.WriteTo(output, _repeated_customMetadataKeys_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (BucketUri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(BucketUri); + } + if (BucketObjectType != global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Types.BucketObjectType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) BucketObjectType); + } + if (HasMetadataBucketUri) { + output.WriteRawTag(26); + output.WriteString(MetadataBucketUri); + } + customMetadataKeys_.WriteTo(ref output, _repeated_customMetadataKeys_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (BucketUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BucketUri); + } + if (BucketObjectType != global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Types.BucketObjectType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BucketObjectType); + } + if (HasMetadataBucketUri) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MetadataBucketUri); + } + size += customMetadataKeys_.CalculateSize(_repeated_customMetadataKeys_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GcsSource other) { + if (other == null) { + return; + } + if (other.BucketUri.Length != 0) { + BucketUri = other.BucketUri; + } + if (other.BucketObjectType != global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Types.BucketObjectType.Unspecified) { + BucketObjectType = other.BucketObjectType; + } + if (other.HasMetadataBucketUri) { + MetadataBucketUri = other.MetadataBucketUri; + } + customMetadataKeys_.Add(other.customMetadataKeys_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + BucketUri = input.ReadString(); + break; + } + case 16: { + BucketObjectType = (global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Types.BucketObjectType) input.ReadEnum(); + break; + } + case 26: { + MetadataBucketUri = input.ReadString(); + break; + } + case 98: { + customMetadataKeys_.AddEntriesFrom(input, _repeated_customMetadataKeys_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + BucketUri = input.ReadString(); + break; + } + case 16: { + BucketObjectType = (global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Types.GcsSource.Types.BucketObjectType) input.ReadEnum(); + break; + } + case 26: { + MetadataBucketUri = input.ReadString(); + break; + } + case 98: { + customMetadataKeys_.AddEntriesFrom(ref input, _repeated_customMetadataKeys_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the GcsSource message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum BucketObjectType { + /// + /// The object type is unspecified and will default to `TRANSCRIPT`. + /// + [pbr::OriginalName("BUCKET_OBJECT_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// The object is a transcript. + /// + [pbr::OriginalName("TRANSCRIPT")] Transcript = 1, + /// + /// The object is an audio file. + /// + [pbr::OriginalName("AUDIO")] Audio = 2, + } + + } + #endregion + + } + + /// + /// Configuration for processing transcript objects. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TranscriptObjectConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TranscriptObjectConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TranscriptObjectConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TranscriptObjectConfig(TranscriptObjectConfig other) : this() { + medium_ = other.medium_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TranscriptObjectConfig Clone() { + return new TranscriptObjectConfig(this); + } + + /// Field number for the "medium" field. + public const int MediumFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium medium_ = global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified; + /// + /// Required. The medium transcript objects represent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium Medium { + get { return medium_; } + set { + medium_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TranscriptObjectConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TranscriptObjectConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Medium != other.Medium) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) hash ^= Medium.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Medium); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Medium); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Medium); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TranscriptObjectConfig other) { + if (other == null) { + return; + } + if (other.Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + Medium = other.Medium; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Medium = (global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Medium = (global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + /// + /// Configuration that applies to all conversations. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConversationConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConversationConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationConfig(ConversationConfig other) : this() { + agentId_ = other.agentId_; + agentChannel_ = other.agentChannel_; + customerChannel_ = other.customerChannel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationConfig Clone() { + return new ConversationConfig(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private string agentId_ = ""; + /// + /// Optional. An opaque, user-specified string representing a human agent who + /// handled all conversations in the import. Note that this will be + /// overridden if per-conversation metadata is provided through the + /// `metadata_bucket_uri`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AgentId { + get { return agentId_; } + set { + agentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "agent_channel" field. + public const int AgentChannelFieldNumber = 2; + private int agentChannel_; + /// + /// Optional. Indicates which of the channels, 1 or 2, contains the agent. + /// Note that this must be set for conversations to be properly displayed and + /// analyzed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AgentChannel { + get { return agentChannel_; } + set { + agentChannel_ = value; + } + } + + /// Field number for the "customer_channel" field. + public const int CustomerChannelFieldNumber = 3; + private int customerChannel_; + /// + /// Optional. Indicates which of the channels, 1 or 2, contains the agent. + /// Note that this must be set for conversations to be properly displayed and + /// analyzed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CustomerChannel { + get { return customerChannel_; } + set { + customerChannel_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConversationConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConversationConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AgentId != other.AgentId) return false; + if (AgentChannel != other.AgentChannel) return false; + if (CustomerChannel != other.CustomerChannel) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (AgentId.Length != 0) hash ^= AgentId.GetHashCode(); + if (AgentChannel != 0) hash ^= AgentChannel.GetHashCode(); + if (CustomerChannel != 0) hash ^= CustomerChannel.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (AgentId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AgentId); + } + if (AgentChannel != 0) { + output.WriteRawTag(16); + output.WriteInt32(AgentChannel); + } + if (CustomerChannel != 0) { + output.WriteRawTag(24); + output.WriteInt32(CustomerChannel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AgentId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AgentId); + } + if (AgentChannel != 0) { + output.WriteRawTag(16); + output.WriteInt32(AgentChannel); + } + if (CustomerChannel != 0) { + output.WriteRawTag(24); + output.WriteInt32(CustomerChannel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (AgentId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AgentId); + } + if (AgentChannel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AgentChannel); + } + if (CustomerChannel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CustomerChannel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConversationConfig other) { + if (other == null) { + return; + } + if (other.AgentId.Length != 0) { + AgentId = other.AgentId; + } + if (other.AgentChannel != 0) { + AgentChannel = other.AgentChannel; + } + if (other.CustomerChannel != 0) { + CustomerChannel = other.CustomerChannel; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + AgentId = input.ReadString(); + break; + } + case 16: { + AgentChannel = input.ReadInt32(); + break; + } + case 24: { + CustomerChannel = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + AgentId = input.ReadString(); + break; + } + case 16: { + AgentChannel = input.ReadInt32(); + break; + } + case 24: { + CustomerChannel = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// The metadata for an IngestConversations operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IngestConversationsMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IngestConversationsMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[12]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsMetadata(IngestConversationsMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + partialErrors_ = other.partialErrors_.Clone(); + ingestConversationsStats_ = other.ingestConversationsStats_ != null ? other.ingestConversationsStats_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsMetadata Clone() { + return new IngestConversationsMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest request_; + /// + /// Output only. The original request for ingest. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + /// Field number for the "partial_errors" field. + public const int PartialErrorsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_partialErrors_codec + = pb::FieldCodec.ForMessage(34, global::Google.Rpc.Status.Parser); + private readonly pbc::RepeatedField partialErrors_ = new pbc::RepeatedField(); + /// + /// Output only. Partial errors during ingest operation that might cause the + /// operation output to be incomplete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PartialErrors { + get { return partialErrors_; } + } + + /// Field number for the "ingest_conversations_stats" field. + public const int IngestConversationsStatsFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsMetadata.Types.IngestConversationsStats ingestConversationsStats_; + /// + /// Output only. Statistics for IngestConversations operation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsMetadata.Types.IngestConversationsStats IngestConversationsStats { + get { return ingestConversationsStats_; } + set { + ingestConversationsStats_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IngestConversationsMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IngestConversationsMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + if(!partialErrors_.Equals(other.partialErrors_)) return false; + if (!object.Equals(IngestConversationsStats, other.IngestConversationsStats)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + hash ^= partialErrors_.GetHashCode(); + if (ingestConversationsStats_ != null) hash ^= IngestConversationsStats.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(output, _repeated_partialErrors_codec); + if (ingestConversationsStats_ != null) { + output.WriteRawTag(42); + output.WriteMessage(IngestConversationsStats); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(ref output, _repeated_partialErrors_codec); + if (ingestConversationsStats_ != null) { + output.WriteRawTag(42); + output.WriteMessage(IngestConversationsStats); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + size += partialErrors_.CalculateSize(_repeated_partialErrors_codec); + if (ingestConversationsStats_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IngestConversationsStats); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IngestConversationsMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest(); + } + Request.MergeFrom(other.Request); + } + partialErrors_.Add(other.partialErrors_); + if (other.ingestConversationsStats_ != null) { + if (ingestConversationsStats_ == null) { + IngestConversationsStats = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsMetadata.Types.IngestConversationsStats(); + } + IngestConversationsStats.MergeFrom(other.IngestConversationsStats); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(input, _repeated_partialErrors_codec); + break; + } + case 42: { + if (ingestConversationsStats_ == null) { + IngestConversationsStats = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsMetadata.Types.IngestConversationsStats(); + } + input.ReadMessage(IngestConversationsStats); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(ref input, _repeated_partialErrors_codec); + break; + } + case 42: { + if (ingestConversationsStats_ == null) { + IngestConversationsStats = new global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsMetadata.Types.IngestConversationsStats(); + } + input.ReadMessage(IngestConversationsStats); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the IngestConversationsMetadata message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Statistics for IngestConversations operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IngestConversationsStats : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IngestConversationsStats()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsMetadata.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsStats() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsStats(IngestConversationsStats other) : this() { + processedObjectCount_ = other.processedObjectCount_; + duplicatesSkippedCount_ = other.duplicatesSkippedCount_; + successfulIngestCount_ = other.successfulIngestCount_; + failedIngestCount_ = other.failedIngestCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsStats Clone() { + return new IngestConversationsStats(this); + } + + /// Field number for the "processed_object_count" field. + public const int ProcessedObjectCountFieldNumber = 1; + private int processedObjectCount_; + /// + /// Output only. The number of objects processed during the ingest operation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ProcessedObjectCount { + get { return processedObjectCount_; } + set { + processedObjectCount_ = value; + } + } + + /// Field number for the "duplicates_skipped_count" field. + public const int DuplicatesSkippedCountFieldNumber = 2; + private int duplicatesSkippedCount_; + /// + /// Output only. The number of objects skipped because another conversation + /// with the same transcript uri had already been ingested. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DuplicatesSkippedCount { + get { return duplicatesSkippedCount_; } + set { + duplicatesSkippedCount_ = value; + } + } + + /// Field number for the "successful_ingest_count" field. + public const int SuccessfulIngestCountFieldNumber = 3; + private int successfulIngestCount_; + /// + /// Output only. The number of new conversations added during this ingest + /// operation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SuccessfulIngestCount { + get { return successfulIngestCount_; } + set { + successfulIngestCount_ = value; + } + } + + /// Field number for the "failed_ingest_count" field. + public const int FailedIngestCountFieldNumber = 4; + private int failedIngestCount_; + /// + /// Output only. The number of objects which were unable to be ingested due + /// to errors. The errors are populated in the partial_errors field. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FailedIngestCount { + get { return failedIngestCount_; } + set { + failedIngestCount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IngestConversationsStats); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IngestConversationsStats other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ProcessedObjectCount != other.ProcessedObjectCount) return false; + if (DuplicatesSkippedCount != other.DuplicatesSkippedCount) return false; + if (SuccessfulIngestCount != other.SuccessfulIngestCount) return false; + if (FailedIngestCount != other.FailedIngestCount) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ProcessedObjectCount != 0) hash ^= ProcessedObjectCount.GetHashCode(); + if (DuplicatesSkippedCount != 0) hash ^= DuplicatesSkippedCount.GetHashCode(); + if (SuccessfulIngestCount != 0) hash ^= SuccessfulIngestCount.GetHashCode(); + if (FailedIngestCount != 0) hash ^= FailedIngestCount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ProcessedObjectCount != 0) { + output.WriteRawTag(8); + output.WriteInt32(ProcessedObjectCount); + } + if (DuplicatesSkippedCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(DuplicatesSkippedCount); + } + if (SuccessfulIngestCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(SuccessfulIngestCount); + } + if (FailedIngestCount != 0) { + output.WriteRawTag(32); + output.WriteInt32(FailedIngestCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ProcessedObjectCount != 0) { + output.WriteRawTag(8); + output.WriteInt32(ProcessedObjectCount); + } + if (DuplicatesSkippedCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(DuplicatesSkippedCount); + } + if (SuccessfulIngestCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(SuccessfulIngestCount); + } + if (FailedIngestCount != 0) { + output.WriteRawTag(32); + output.WriteInt32(FailedIngestCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ProcessedObjectCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProcessedObjectCount); + } + if (DuplicatesSkippedCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DuplicatesSkippedCount); + } + if (SuccessfulIngestCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SuccessfulIngestCount); + } + if (FailedIngestCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FailedIngestCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IngestConversationsStats other) { + if (other == null) { + return; + } + if (other.ProcessedObjectCount != 0) { + ProcessedObjectCount = other.ProcessedObjectCount; + } + if (other.DuplicatesSkippedCount != 0) { + DuplicatesSkippedCount = other.DuplicatesSkippedCount; + } + if (other.SuccessfulIngestCount != 0) { + SuccessfulIngestCount = other.SuccessfulIngestCount; + } + if (other.FailedIngestCount != 0) { + FailedIngestCount = other.FailedIngestCount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ProcessedObjectCount = input.ReadInt32(); + break; + } + case 16: { + DuplicatesSkippedCount = input.ReadInt32(); + break; + } + case 24: { + SuccessfulIngestCount = input.ReadInt32(); + break; + } + case 32: { + FailedIngestCount = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ProcessedObjectCount = input.ReadInt32(); + break; + } + case 16: { + DuplicatesSkippedCount = input.ReadInt32(); + break; + } + case 24: { + SuccessfulIngestCount = input.ReadInt32(); + break; + } + case 32: { + FailedIngestCount = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// The response to an IngestConversations operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IngestConversationsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IngestConversationsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[13]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsResponse(IngestConversationsResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IngestConversationsResponse Clone() { + return new IngestConversationsResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IngestConversationsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IngestConversationsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IngestConversationsResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// The request to create an analysis. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateAnalysisRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateAnalysisRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[14]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAnalysisRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAnalysisRequest(CreateAnalysisRequest other) : this() { + parent_ = other.parent_; + analysis_ = other.analysis_ != null ? other.analysis_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAnalysisRequest Clone() { + return new CreateAnalysisRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the analysis. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "analysis" field. + public const int AnalysisFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.Analysis analysis_; + /// + /// Required. The analysis to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Analysis Analysis { + get { return analysis_; } + set { + analysis_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateAnalysisRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateAnalysisRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(Analysis, other.Analysis)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (analysis_ != null) hash ^= Analysis.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (analysis_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Analysis); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (analysis_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Analysis); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (analysis_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Analysis); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateAnalysisRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.analysis_ != null) { + if (analysis_ == null) { + Analysis = new global::Google.Cloud.ContactCenterInsights.V1.Analysis(); + } + Analysis.MergeFrom(other.Analysis); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (analysis_ == null) { + Analysis = new global::Google.Cloud.ContactCenterInsights.V1.Analysis(); + } + input.ReadMessage(Analysis); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (analysis_ == null) { + Analysis = new global::Google.Cloud.ContactCenterInsights.V1.Analysis(); + } + input.ReadMessage(Analysis); + break; + } + } + } + } + #endif + + } + + /// + /// The request to list analyses. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListAnalysesRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListAnalysesRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[15]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysesRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysesRequest(ListAnalysesRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + filter_ = other.filter_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysesRequest Clone() { + return new ListAnalysesRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the analyses. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 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 + /// fewer objects than requested. A non-empty `next_page_token` in the response + /// indicates that more data is available. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// The value returned by the last `ListAnalysesResponse`; indicates + /// that this is a continuation of a prior `ListAnalyses` call and + /// the system should return the next page of data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 4; + private string filter_ = ""; + /// + /// A filter to reduce results to a specific subset. Useful for querying + /// conversations with specific properties. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListAnalysesRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListAnalysesRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + if (Filter != other.Filter) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListAnalysesRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response to list analyses. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListAnalysesResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListAnalysesResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[16]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysesResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysesResponse(ListAnalysesResponse other) : this() { + analyses_ = other.analyses_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysesResponse Clone() { + return new ListAnalysesResponse(this); + } + + /// Field number for the "analyses" field. + public const int AnalysesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_analyses_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.Analysis.Parser); + private readonly pbc::RepeatedField analyses_ = new pbc::RepeatedField(); + /// + /// The analyses that match the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Analyses { + get { return analyses_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListAnalysesResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListAnalysesResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!analyses_.Equals(other.analyses_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= analyses_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + analyses_.WriteTo(output, _repeated_analyses_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + analyses_.WriteTo(ref output, _repeated_analyses_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += analyses_.CalculateSize(_repeated_analyses_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListAnalysesResponse other) { + if (other == null) { + return; + } + analyses_.Add(other.analyses_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + analyses_.AddEntriesFrom(input, _repeated_analyses_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + analyses_.AddEntriesFrom(ref input, _repeated_analyses_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to get an analysis. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAnalysisRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAnalysisRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[17]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAnalysisRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAnalysisRequest(GetAnalysisRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAnalysisRequest Clone() { + return new GetAnalysisRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the analysis to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAnalysisRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAnalysisRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAnalysisRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to delete an analysis. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteAnalysisRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteAnalysisRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[18]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteAnalysisRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteAnalysisRequest(DeleteAnalysisRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteAnalysisRequest Clone() { + return new DeleteAnalysisRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the analysis to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteAnalysisRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteAnalysisRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteAnalysisRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to analyze conversations in bulk. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkAnalyzeConversationsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkAnalyzeConversationsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[19]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkAnalyzeConversationsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkAnalyzeConversationsRequest(BulkAnalyzeConversationsRequest other) : this() { + parent_ = other.parent_; + filter_ = other.filter_; + analysisPercentage_ = other.analysisPercentage_; + annotatorSelector_ = other.annotatorSelector_ != null ? other.annotatorSelector_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkAnalyzeConversationsRequest Clone() { + return new BulkAnalyzeConversationsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource to create analyses in. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 2; + private string filter_ = ""; + /// + /// Required. Filter used to select the subset of conversations to analyze. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "analysis_percentage" field. + public const int AnalysisPercentageFieldNumber = 3; + private float analysisPercentage_; + /// + /// Required. Percentage of selected conversation to analyze, between + /// [0, 100]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float AnalysisPercentage { + get { return analysisPercentage_; } + set { + analysisPercentage_ = value; + } + } + + /// Field number for the "annotator_selector" field. + public const int AnnotatorSelectorFieldNumber = 8; + private global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector annotatorSelector_; + /// + /// To select the annotators to run and the phrase matchers to use + /// (if any). If not specified, all annotators will be run. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector AnnotatorSelector { + get { return annotatorSelector_; } + set { + annotatorSelector_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkAnalyzeConversationsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkAnalyzeConversationsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (Filter != other.Filter) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AnalysisPercentage, other.AnalysisPercentage)) return false; + if (!object.Equals(AnnotatorSelector, other.AnnotatorSelector)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (AnalysisPercentage != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AnalysisPercentage); + if (annotatorSelector_ != null) hash ^= AnnotatorSelector.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (AnalysisPercentage != 0F) { + output.WriteRawTag(29); + output.WriteFloat(AnalysisPercentage); + } + if (annotatorSelector_ != null) { + output.WriteRawTag(66); + output.WriteMessage(AnnotatorSelector); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (AnalysisPercentage != 0F) { + output.WriteRawTag(29); + output.WriteFloat(AnalysisPercentage); + } + if (annotatorSelector_ != null) { + output.WriteRawTag(66); + output.WriteMessage(AnnotatorSelector); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (AnalysisPercentage != 0F) { + size += 1 + 4; + } + if (annotatorSelector_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnnotatorSelector); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkAnalyzeConversationsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + if (other.AnalysisPercentage != 0F) { + AnalysisPercentage = other.AnalysisPercentage; + } + if (other.annotatorSelector_ != null) { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + AnnotatorSelector.MergeFrom(other.AnnotatorSelector); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 29: { + AnalysisPercentage = input.ReadFloat(); + break; + } + case 66: { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + input.ReadMessage(AnnotatorSelector); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 29: { + AnalysisPercentage = input.ReadFloat(); + break; + } + case 66: { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + input.ReadMessage(AnnotatorSelector); + break; + } + } + } + } + #endif + + } + + /// + /// The metadata for a bulk analyze conversations operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkAnalyzeConversationsMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkAnalyzeConversationsMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[20]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkAnalyzeConversationsMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkAnalyzeConversationsMetadata(BulkAnalyzeConversationsMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + completedAnalysesCount_ = other.completedAnalysesCount_; + failedAnalysesCount_ = other.failedAnalysesCount_; + totalRequestedAnalysesCount_ = other.totalRequestedAnalysesCount_; + partialErrors_ = other.partialErrors_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkAnalyzeConversationsMetadata Clone() { + return new BulkAnalyzeConversationsMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest request_; + /// + /// The original request for bulk analyze. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + /// Field number for the "completed_analyses_count" field. + public const int CompletedAnalysesCountFieldNumber = 4; + private int completedAnalysesCount_; + /// + /// The number of requested analyses that have completed successfully so far. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CompletedAnalysesCount { + get { return completedAnalysesCount_; } + set { + completedAnalysesCount_ = value; + } + } + + /// Field number for the "failed_analyses_count" field. + public const int FailedAnalysesCountFieldNumber = 5; + private int failedAnalysesCount_; + /// + /// The number of requested analyses that have failed so far. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FailedAnalysesCount { + get { return failedAnalysesCount_; } + set { + failedAnalysesCount_ = value; + } + } + + /// Field number for the "total_requested_analyses_count" field. + public const int TotalRequestedAnalysesCountFieldNumber = 6; + private int totalRequestedAnalysesCount_; + /// + /// Total number of analyses requested. Computed by the number of conversations + /// returned by `filter` multiplied by `analysis_percentage` in the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TotalRequestedAnalysesCount { + get { return totalRequestedAnalysesCount_; } + set { + totalRequestedAnalysesCount_ = value; + } + } + + /// Field number for the "partial_errors" field. + public const int PartialErrorsFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_partialErrors_codec + = pb::FieldCodec.ForMessage(58, global::Google.Rpc.Status.Parser); + private readonly pbc::RepeatedField partialErrors_ = new pbc::RepeatedField(); + /// + /// Output only. Partial errors during bulk analyze operation that might cause + /// the operation output to be incomplete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PartialErrors { + get { return partialErrors_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkAnalyzeConversationsMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkAnalyzeConversationsMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + if (CompletedAnalysesCount != other.CompletedAnalysesCount) return false; + if (FailedAnalysesCount != other.FailedAnalysesCount) return false; + if (TotalRequestedAnalysesCount != other.TotalRequestedAnalysesCount) return false; + if(!partialErrors_.Equals(other.partialErrors_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + if (CompletedAnalysesCount != 0) hash ^= CompletedAnalysesCount.GetHashCode(); + if (FailedAnalysesCount != 0) hash ^= FailedAnalysesCount.GetHashCode(); + if (TotalRequestedAnalysesCount != 0) hash ^= TotalRequestedAnalysesCount.GetHashCode(); + hash ^= partialErrors_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (CompletedAnalysesCount != 0) { + output.WriteRawTag(32); + output.WriteInt32(CompletedAnalysesCount); + } + if (FailedAnalysesCount != 0) { + output.WriteRawTag(40); + output.WriteInt32(FailedAnalysesCount); + } + if (TotalRequestedAnalysesCount != 0) { + output.WriteRawTag(48); + output.WriteInt32(TotalRequestedAnalysesCount); + } + partialErrors_.WriteTo(output, _repeated_partialErrors_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (CompletedAnalysesCount != 0) { + output.WriteRawTag(32); + output.WriteInt32(CompletedAnalysesCount); + } + if (FailedAnalysesCount != 0) { + output.WriteRawTag(40); + output.WriteInt32(FailedAnalysesCount); + } + if (TotalRequestedAnalysesCount != 0) { + output.WriteRawTag(48); + output.WriteInt32(TotalRequestedAnalysesCount); + } + partialErrors_.WriteTo(ref output, _repeated_partialErrors_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + if (CompletedAnalysesCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompletedAnalysesCount); + } + if (FailedAnalysesCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FailedAnalysesCount); + } + if (TotalRequestedAnalysesCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalRequestedAnalysesCount); + } + size += partialErrors_.CalculateSize(_repeated_partialErrors_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkAnalyzeConversationsMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest(); + } + Request.MergeFrom(other.Request); + } + if (other.CompletedAnalysesCount != 0) { + CompletedAnalysesCount = other.CompletedAnalysesCount; + } + if (other.FailedAnalysesCount != 0) { + FailedAnalysesCount = other.FailedAnalysesCount; + } + if (other.TotalRequestedAnalysesCount != 0) { + TotalRequestedAnalysesCount = other.TotalRequestedAnalysesCount; + } + partialErrors_.Add(other.partialErrors_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest(); + } + input.ReadMessage(Request); + break; + } + case 32: { + CompletedAnalysesCount = input.ReadInt32(); + break; + } + case 40: { + FailedAnalysesCount = input.ReadInt32(); + break; + } + case 48: { + TotalRequestedAnalysesCount = input.ReadInt32(); + break; + } + case 58: { + partialErrors_.AddEntriesFrom(input, _repeated_partialErrors_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest(); + } + input.ReadMessage(Request); + break; + } + case 32: { + CompletedAnalysesCount = input.ReadInt32(); + break; + } + case 40: { + FailedAnalysesCount = input.ReadInt32(); + break; + } + case 48: { + TotalRequestedAnalysesCount = input.ReadInt32(); + break; + } + case 58: { + partialErrors_.AddEntriesFrom(ref input, _repeated_partialErrors_codec); + break; + } + } + } + } + #endif + + } + + /// + /// The response for a bulk analyze conversations operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkAnalyzeConversationsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkAnalyzeConversationsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[21]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkAnalyzeConversationsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkAnalyzeConversationsResponse(BulkAnalyzeConversationsResponse other) : this() { + successfulAnalysisCount_ = other.successfulAnalysisCount_; + failedAnalysisCount_ = other.failedAnalysisCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkAnalyzeConversationsResponse Clone() { + return new BulkAnalyzeConversationsResponse(this); + } + + /// Field number for the "successful_analysis_count" field. + public const int SuccessfulAnalysisCountFieldNumber = 1; + private int successfulAnalysisCount_; + /// + /// Count of successful analyses. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SuccessfulAnalysisCount { + get { return successfulAnalysisCount_; } + set { + successfulAnalysisCount_ = value; + } + } + + /// Field number for the "failed_analysis_count" field. + public const int FailedAnalysisCountFieldNumber = 2; + private int failedAnalysisCount_; + /// + /// Count of failed analyses. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FailedAnalysisCount { + get { return failedAnalysisCount_; } + set { + failedAnalysisCount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkAnalyzeConversationsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkAnalyzeConversationsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SuccessfulAnalysisCount != other.SuccessfulAnalysisCount) return false; + if (FailedAnalysisCount != other.FailedAnalysisCount) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (SuccessfulAnalysisCount != 0) hash ^= SuccessfulAnalysisCount.GetHashCode(); + if (FailedAnalysisCount != 0) hash ^= FailedAnalysisCount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (SuccessfulAnalysisCount != 0) { + output.WriteRawTag(8); + output.WriteInt32(SuccessfulAnalysisCount); + } + if (FailedAnalysisCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(FailedAnalysisCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SuccessfulAnalysisCount != 0) { + output.WriteRawTag(8); + output.WriteInt32(SuccessfulAnalysisCount); + } + if (FailedAnalysisCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(FailedAnalysisCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (SuccessfulAnalysisCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SuccessfulAnalysisCount); + } + if (FailedAnalysisCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FailedAnalysisCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkAnalyzeConversationsResponse other) { + if (other == null) { + return; + } + if (other.SuccessfulAnalysisCount != 0) { + SuccessfulAnalysisCount = other.SuccessfulAnalysisCount; + } + if (other.FailedAnalysisCount != 0) { + FailedAnalysisCount = other.FailedAnalysisCount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + SuccessfulAnalysisCount = input.ReadInt32(); + break; + } + case 16: { + FailedAnalysisCount = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + SuccessfulAnalysisCount = input.ReadInt32(); + break; + } + case 16: { + FailedAnalysisCount = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to delete conversations in bulk. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkDeleteConversationsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkDeleteConversationsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[22]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDeleteConversationsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDeleteConversationsRequest(BulkDeleteConversationsRequest other) : this() { + parent_ = other.parent_; + filter_ = other.filter_; + maxDeleteCount_ = other.maxDeleteCount_; + force_ = other.force_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDeleteConversationsRequest Clone() { + return new BulkDeleteConversationsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource to delete conversations from. + /// Format: + /// projects/{project}/locations/{location} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 2; + private string filter_ = ""; + /// + /// Filter used to select the subset of conversations to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "max_delete_count" field. + public const int MaxDeleteCountFieldNumber = 3; + private int maxDeleteCount_; + /// + /// Maximum number of conversations to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxDeleteCount { + get { return maxDeleteCount_; } + set { + maxDeleteCount_ = value; + } + } + + /// Field number for the "force" field. + public const int ForceFieldNumber = 4; + private bool 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 + /// analyses. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Force { + get { return force_; } + set { + force_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkDeleteConversationsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkDeleteConversationsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (Filter != other.Filter) return false; + if (MaxDeleteCount != other.MaxDeleteCount) return false; + if (Force != other.Force) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (MaxDeleteCount != 0) hash ^= MaxDeleteCount.GetHashCode(); + if (Force != false) hash ^= Force.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (MaxDeleteCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(MaxDeleteCount); + } + if (Force != false) { + output.WriteRawTag(32); + output.WriteBool(Force); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (MaxDeleteCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(MaxDeleteCount); + } + if (Force != false) { + output.WriteRawTag(32); + output.WriteBool(Force); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (MaxDeleteCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxDeleteCount); + } + if (Force != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkDeleteConversationsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + if (other.MaxDeleteCount != 0) { + MaxDeleteCount = other.MaxDeleteCount; + } + if (other.Force != false) { + Force = other.Force; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 24: { + MaxDeleteCount = input.ReadInt32(); + break; + } + case 32: { + Force = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 24: { + MaxDeleteCount = input.ReadInt32(); + break; + } + case 32: { + Force = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// The metadata for a bulk delete conversations operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkDeleteConversationsMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkDeleteConversationsMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[23]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDeleteConversationsMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDeleteConversationsMetadata(BulkDeleteConversationsMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + partialErrors_ = other.partialErrors_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDeleteConversationsMetadata Clone() { + return new BulkDeleteConversationsMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest request_; + /// + /// The original request for bulk delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + /// Field number for the "partial_errors" field. + public const int PartialErrorsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_partialErrors_codec + = pb::FieldCodec.ForMessage(34, global::Google.Rpc.Status.Parser); + private readonly pbc::RepeatedField partialErrors_ = new pbc::RepeatedField(); + /// + /// Partial errors during bulk delete conversations operation that might cause + /// the operation output to be incomplete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PartialErrors { + get { return partialErrors_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkDeleteConversationsMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkDeleteConversationsMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + if(!partialErrors_.Equals(other.partialErrors_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + hash ^= partialErrors_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(output, _repeated_partialErrors_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(ref output, _repeated_partialErrors_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + size += partialErrors_.CalculateSize(_repeated_partialErrors_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkDeleteConversationsMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest(); + } + Request.MergeFrom(other.Request); + } + partialErrors_.Add(other.partialErrors_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(input, _repeated_partialErrors_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(ref input, _repeated_partialErrors_codec); + break; + } + } + } + } + #endif + + } + + /// + /// The response for a bulk delete conversations operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkDeleteConversationsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkDeleteConversationsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[24]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDeleteConversationsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDeleteConversationsResponse(BulkDeleteConversationsResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDeleteConversationsResponse Clone() { + return new BulkDeleteConversationsResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkDeleteConversationsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkDeleteConversationsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkDeleteConversationsResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// The request to export insights. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExportInsightsDataRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExportInsightsDataRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[25]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportInsightsDataRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportInsightsDataRequest(ExportInsightsDataRequest other) : this() { + parent_ = other.parent_; + filter_ = other.filter_; + kmsKey_ = other.kmsKey_; + writeDisposition_ = other.writeDisposition_; + switch (other.DestinationCase) { + case DestinationOneofCase.BigQueryDestination: + BigQueryDestination = other.BigQueryDestination.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportInsightsDataRequest Clone() { + return new ExportInsightsDataRequest(this); + } + + /// Field number for the "big_query_destination" field. + public const int BigQueryDestinationFieldNumber = 2; + /// + /// Specified if sink is a BigQuery table. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.BigQueryDestination BigQueryDestination { + get { return destinationCase_ == DestinationOneofCase.BigQueryDestination ? (global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.BigQueryDestination) destination_ : null; } + set { + destination_ = value; + destinationCase_ = value == null ? DestinationOneofCase.None : DestinationOneofCase.BigQueryDestination; + } + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource to export data from. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 3; + private string filter_ = ""; + /// + /// A filter to reduce results to a specific subset. Useful for exporting + /// conversations with specific properties. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "kms_key" field. + public const int KmsKeyFieldNumber = 4; + private string kmsKey_ = ""; + /// + /// A fully qualified KMS key name for BigQuery tables protected by CMEK. + /// Format: + /// projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string KmsKey { + get { return kmsKey_; } + set { + kmsKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "write_disposition" field. + public const int WriteDispositionFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.WriteDisposition writeDisposition_ = global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.WriteDisposition.Unspecified; + /// + /// Options for what to do if the destination table already exists. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.WriteDisposition WriteDisposition { + get { return writeDisposition_; } + set { + writeDisposition_ = value; + } + } + + private object destination_; + /// Enum of possible cases for the "destination" oneof. + public enum DestinationOneofCase { + None = 0, + BigQueryDestination = 2, + } + private DestinationOneofCase destinationCase_ = DestinationOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestinationOneofCase DestinationCase { + get { return destinationCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDestination() { + destinationCase_ = DestinationOneofCase.None; + destination_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExportInsightsDataRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExportInsightsDataRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(BigQueryDestination, other.BigQueryDestination)) return false; + if (Parent != other.Parent) return false; + if (Filter != other.Filter) return false; + if (KmsKey != other.KmsKey) return false; + if (WriteDisposition != other.WriteDisposition) return false; + if (DestinationCase != other.DestinationCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (destinationCase_ == DestinationOneofCase.BigQueryDestination) hash ^= BigQueryDestination.GetHashCode(); + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (KmsKey.Length != 0) hash ^= KmsKey.GetHashCode(); + if (WriteDisposition != global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.WriteDisposition.Unspecified) hash ^= WriteDisposition.GetHashCode(); + hash ^= (int) destinationCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (destinationCase_ == DestinationOneofCase.BigQueryDestination) { + output.WriteRawTag(18); + output.WriteMessage(BigQueryDestination); + } + if (Filter.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Filter); + } + if (KmsKey.Length != 0) { + output.WriteRawTag(34); + output.WriteString(KmsKey); + } + if (WriteDisposition != global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.WriteDisposition.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) WriteDisposition); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (destinationCase_ == DestinationOneofCase.BigQueryDestination) { + output.WriteRawTag(18); + output.WriteMessage(BigQueryDestination); + } + if (Filter.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Filter); + } + if (KmsKey.Length != 0) { + output.WriteRawTag(34); + output.WriteString(KmsKey); + } + if (WriteDisposition != global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.WriteDisposition.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) WriteDisposition); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (destinationCase_ == DestinationOneofCase.BigQueryDestination) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BigQueryDestination); + } + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (KmsKey.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KmsKey); + } + if (WriteDisposition != global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.WriteDisposition.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) WriteDisposition); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExportInsightsDataRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + if (other.KmsKey.Length != 0) { + KmsKey = other.KmsKey; + } + if (other.WriteDisposition != global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.WriteDisposition.Unspecified) { + WriteDisposition = other.WriteDisposition; + } + switch (other.DestinationCase) { + case DestinationOneofCase.BigQueryDestination: + if (BigQueryDestination == null) { + BigQueryDestination = new global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.BigQueryDestination(); + } + BigQueryDestination.MergeFrom(other.BigQueryDestination); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.BigQueryDestination subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.BigQueryDestination(); + if (destinationCase_ == DestinationOneofCase.BigQueryDestination) { + subBuilder.MergeFrom(BigQueryDestination); + } + input.ReadMessage(subBuilder); + BigQueryDestination = subBuilder; + break; + } + case 26: { + Filter = input.ReadString(); + break; + } + case 34: { + KmsKey = input.ReadString(); + break; + } + case 40: { + WriteDisposition = (global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.WriteDisposition) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.BigQueryDestination subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.BigQueryDestination(); + if (destinationCase_ == DestinationOneofCase.BigQueryDestination) { + subBuilder.MergeFrom(BigQueryDestination); + } + input.ReadMessage(subBuilder); + BigQueryDestination = subBuilder; + break; + } + case 26: { + Filter = input.ReadString(); + break; + } + case 34: { + KmsKey = input.ReadString(); + break; + } + case 40: { + WriteDisposition = (global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Types.WriteDisposition) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ExportInsightsDataRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Specifies the action that occurs if the destination table already exists. + /// + public enum WriteDisposition { + /// + /// Write disposition is not specified. Defaults to WRITE_TRUNCATE. + /// + [pbr::OriginalName("WRITE_DISPOSITION_UNSPECIFIED")] Unspecified = 0, + /// + /// If the table already exists, BigQuery will overwrite the table data and + /// use the schema from the load. + /// + [pbr::OriginalName("WRITE_TRUNCATE")] WriteTruncate = 1, + /// + /// If the table already exists, BigQuery will append data to the table. + /// + [pbr::OriginalName("WRITE_APPEND")] WriteAppend = 2, + } + + /// + /// A BigQuery Table Reference. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BigQueryDestination : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BigQueryDestination()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BigQueryDestination() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BigQueryDestination(BigQueryDestination other) : this() { + projectId_ = other.projectId_; + dataset_ = other.dataset_; + table_ = other.table_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BigQueryDestination Clone() { + return new BigQueryDestination(this); + } + + /// Field number for the "project_id" field. + public const int ProjectIdFieldNumber = 3; + private string projectId_ = ""; + /// + /// A project ID or number. If specified, then export will attempt to + /// write data to this project instead of the resource project. Otherwise, + /// the resource project will be used. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ProjectId { + get { return projectId_; } + set { + projectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "dataset" field. + public const int DatasetFieldNumber = 1; + private string dataset_ = ""; + /// + /// Required. The name of the BigQuery dataset that the snapshot result + /// should be exported to. If this dataset does not exist, the export call + /// returns an INVALID_ARGUMENT error. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Dataset { + get { return dataset_; } + set { + dataset_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "table" field. + public const int TableFieldNumber = 2; + private string 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 + /// error. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Table { + get { return table_; } + set { + table_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BigQueryDestination); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BigQueryDestination other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ProjectId != other.ProjectId) return false; + if (Dataset != other.Dataset) return false; + if (Table != other.Table) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ProjectId.Length != 0) hash ^= ProjectId.GetHashCode(); + if (Dataset.Length != 0) hash ^= Dataset.GetHashCode(); + if (Table.Length != 0) hash ^= Table.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Dataset.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Dataset); + } + if (Table.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Table); + } + if (ProjectId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ProjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Dataset.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Dataset); + } + if (Table.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Table); + } + if (ProjectId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ProjectId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ProjectId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ProjectId); + } + if (Dataset.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Dataset); + } + if (Table.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Table); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BigQueryDestination other) { + if (other == null) { + return; + } + if (other.ProjectId.Length != 0) { + ProjectId = other.ProjectId; + } + if (other.Dataset.Length != 0) { + Dataset = other.Dataset; + } + if (other.Table.Length != 0) { + Table = other.Table; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Dataset = input.ReadString(); + break; + } + case 18: { + Table = input.ReadString(); + break; + } + case 26: { + ProjectId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Dataset = input.ReadString(); + break; + } + case 18: { + Table = input.ReadString(); + break; + } + case 26: { + ProjectId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Metadata for an export insights operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExportInsightsDataMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExportInsightsDataMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[26]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportInsightsDataMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportInsightsDataMetadata(ExportInsightsDataMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + partialErrors_ = other.partialErrors_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportInsightsDataMetadata Clone() { + return new ExportInsightsDataMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest request_; + /// + /// The original request for export. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + /// Field number for the "partial_errors" field. + public const int PartialErrorsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_partialErrors_codec + = pb::FieldCodec.ForMessage(34, global::Google.Rpc.Status.Parser); + private readonly pbc::RepeatedField partialErrors_ = new pbc::RepeatedField(); + /// + /// Partial errors during export operation that might cause the operation + /// output to be incomplete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PartialErrors { + get { return partialErrors_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExportInsightsDataMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExportInsightsDataMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + if(!partialErrors_.Equals(other.partialErrors_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + hash ^= partialErrors_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(output, _repeated_partialErrors_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(ref output, _repeated_partialErrors_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + size += partialErrors_.CalculateSize(_repeated_partialErrors_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExportInsightsDataMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest(); + } + Request.MergeFrom(other.Request); + } + partialErrors_.Add(other.partialErrors_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(input, _repeated_partialErrors_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(ref input, _repeated_partialErrors_codec); + break; + } + } + } + } + #endif + + } + + /// + /// Response for an export insights operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExportInsightsDataResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExportInsightsDataResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[27]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportInsightsDataResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportInsightsDataResponse(ExportInsightsDataResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportInsightsDataResponse Clone() { + return new ExportInsightsDataResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExportInsightsDataResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExportInsightsDataResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExportInsightsDataResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// The request to create an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateIssueModelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateIssueModelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[28]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateIssueModelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateIssueModelRequest(CreateIssueModelRequest other) : this() { + parent_ = other.parent_; + issueModel_ = other.issueModel_ != null ? other.issueModel_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateIssueModelRequest Clone() { + return new CreateIssueModelRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the issue model. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "issue_model" field. + public const int IssueModelFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.IssueModel issueModel_; + /// + /// Required. The issue model to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IssueModel IssueModel { + get { return issueModel_; } + set { + issueModel_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateIssueModelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateIssueModelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(IssueModel, other.IssueModel)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (issueModel_ != null) hash ^= IssueModel.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (issueModel_ != null) { + output.WriteRawTag(18); + output.WriteMessage(IssueModel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (issueModel_ != null) { + output.WriteRawTag(18); + output.WriteMessage(IssueModel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (issueModel_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IssueModel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateIssueModelRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.issueModel_ != null) { + if (issueModel_ == null) { + IssueModel = new global::Google.Cloud.ContactCenterInsights.V1.IssueModel(); + } + IssueModel.MergeFrom(other.IssueModel); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (issueModel_ == null) { + IssueModel = new global::Google.Cloud.ContactCenterInsights.V1.IssueModel(); + } + input.ReadMessage(IssueModel); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (issueModel_ == null) { + IssueModel = new global::Google.Cloud.ContactCenterInsights.V1.IssueModel(); + } + input.ReadMessage(IssueModel); + break; + } + } + } + } + #endif + + } + + /// + /// Metadata for creating an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateIssueModelMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateIssueModelMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[29]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateIssueModelMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateIssueModelMetadata(CreateIssueModelMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateIssueModelMetadata Clone() { + return new CreateIssueModelMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest request_; + /// + /// The original request for creation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateIssueModelMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateIssueModelMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateIssueModelMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest(); + } + Request.MergeFrom(other.Request); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + } + #endif + + } + + /// + /// The request to update an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateIssueModelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateIssueModelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[30]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateIssueModelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateIssueModelRequest(UpdateIssueModelRequest other) : this() { + issueModel_ = other.issueModel_ != null ? other.issueModel_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateIssueModelRequest Clone() { + return new UpdateIssueModelRequest(this); + } + + /// Field number for the "issue_model" field. + public const int IssueModelFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.IssueModel issueModel_; + /// + /// Required. The new values for the issue model. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IssueModel IssueModel { + get { return issueModel_; } + set { + issueModel_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// The list of fields to be updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateIssueModelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateIssueModelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(IssueModel, other.IssueModel)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (issueModel_ != null) hash ^= IssueModel.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (issueModel_ != null) { + output.WriteRawTag(10); + output.WriteMessage(IssueModel); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (issueModel_ != null) { + output.WriteRawTag(10); + output.WriteMessage(IssueModel); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (issueModel_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IssueModel); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateIssueModelRequest other) { + if (other == null) { + return; + } + if (other.issueModel_ != null) { + if (issueModel_ == null) { + IssueModel = new global::Google.Cloud.ContactCenterInsights.V1.IssueModel(); + } + IssueModel.MergeFrom(other.IssueModel); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (issueModel_ == null) { + IssueModel = new global::Google.Cloud.ContactCenterInsights.V1.IssueModel(); + } + input.ReadMessage(IssueModel); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (issueModel_ == null) { + IssueModel = new global::Google.Cloud.ContactCenterInsights.V1.IssueModel(); + } + input.ReadMessage(IssueModel); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// Request to list issue models. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListIssueModelsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListIssueModelsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[31]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssueModelsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssueModelsRequest(ListIssueModelsRequest other) : this() { + parent_ = other.parent_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssueModelsRequest Clone() { + return new ListIssueModelsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the issue model. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListIssueModelsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListIssueModelsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListIssueModelsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response of listing issue models. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListIssueModelsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListIssueModelsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[32]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssueModelsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssueModelsResponse(ListIssueModelsResponse other) : this() { + issueModels_ = other.issueModels_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssueModelsResponse Clone() { + return new ListIssueModelsResponse(this); + } + + /// Field number for the "issue_models" field. + public const int IssueModelsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_issueModels_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Parser); + private readonly pbc::RepeatedField issueModels_ = new pbc::RepeatedField(); + /// + /// The issue models that match the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField IssueModels { + get { return issueModels_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListIssueModelsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListIssueModelsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!issueModels_.Equals(other.issueModels_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= issueModels_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + issueModels_.WriteTo(output, _repeated_issueModels_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + issueModels_.WriteTo(ref output, _repeated_issueModels_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += issueModels_.CalculateSize(_repeated_issueModels_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListIssueModelsResponse other) { + if (other == null) { + return; + } + issueModels_.Add(other.issueModels_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + issueModels_.AddEntriesFrom(input, _repeated_issueModels_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + issueModels_.AddEntriesFrom(ref input, _repeated_issueModels_codec); + break; + } + } + } + } + #endif + + } + + /// + /// The request to get an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetIssueModelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetIssueModelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[33]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetIssueModelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetIssueModelRequest(GetIssueModelRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetIssueModelRequest Clone() { + return new GetIssueModelRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the issue model to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetIssueModelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetIssueModelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetIssueModelRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to delete an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteIssueModelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteIssueModelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[34]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIssueModelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIssueModelRequest(DeleteIssueModelRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIssueModelRequest Clone() { + return new DeleteIssueModelRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the issue model to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteIssueModelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteIssueModelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteIssueModelRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Metadata for deleting an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteIssueModelMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteIssueModelMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[35]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIssueModelMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIssueModelMetadata(DeleteIssueModelMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIssueModelMetadata Clone() { + return new DeleteIssueModelMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest request_; + /// + /// The original request for deletion. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteIssueModelMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteIssueModelMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteIssueModelMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest(); + } + Request.MergeFrom(other.Request); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + } + #endif + + } + + /// + /// The request to deploy an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeployIssueModelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeployIssueModelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[36]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployIssueModelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployIssueModelRequest(DeployIssueModelRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployIssueModelRequest Clone() { + return new DeployIssueModelRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The issue model to deploy. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeployIssueModelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeployIssueModelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeployIssueModelRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response to deploy an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeployIssueModelResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeployIssueModelResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[37]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployIssueModelResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployIssueModelResponse(DeployIssueModelResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployIssueModelResponse Clone() { + return new DeployIssueModelResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeployIssueModelResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeployIssueModelResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeployIssueModelResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// Metadata for deploying an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeployIssueModelMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeployIssueModelMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[38]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployIssueModelMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployIssueModelMetadata(DeployIssueModelMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployIssueModelMetadata Clone() { + return new DeployIssueModelMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest request_; + /// + /// The original request for deployment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeployIssueModelMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeployIssueModelMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeployIssueModelMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest(); + } + Request.MergeFrom(other.Request); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + } + #endif + + } + + /// + /// The request to undeploy an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UndeployIssueModelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UndeployIssueModelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[39]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployIssueModelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployIssueModelRequest(UndeployIssueModelRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployIssueModelRequest Clone() { + return new UndeployIssueModelRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The issue model to undeploy. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UndeployIssueModelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UndeployIssueModelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UndeployIssueModelRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response to undeploy an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UndeployIssueModelResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UndeployIssueModelResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[40]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployIssueModelResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployIssueModelResponse(UndeployIssueModelResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployIssueModelResponse Clone() { + return new UndeployIssueModelResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UndeployIssueModelResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UndeployIssueModelResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UndeployIssueModelResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// Metadata for undeploying an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UndeployIssueModelMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UndeployIssueModelMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[41]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployIssueModelMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployIssueModelMetadata(UndeployIssueModelMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployIssueModelMetadata Clone() { + return new UndeployIssueModelMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest request_; + /// + /// The original request for undeployment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UndeployIssueModelMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UndeployIssueModelMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UndeployIssueModelMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest(); + } + Request.MergeFrom(other.Request); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + } + #endif + + } + + /// + /// Request to export an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExportIssueModelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExportIssueModelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[42]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportIssueModelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportIssueModelRequest(ExportIssueModelRequest other) : this() { + name_ = other.name_; + switch (other.DestinationCase) { + case DestinationOneofCase.GcsDestination: + GcsDestination = other.GcsDestination.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportIssueModelRequest Clone() { + return new ExportIssueModelRequest(this); + } + + /// Field number for the "gcs_destination" field. + public const int GcsDestinationFieldNumber = 2; + /// + /// Google Cloud Storage URI to export the issue model to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Types.GcsDestination GcsDestination { + get { return destinationCase_ == DestinationOneofCase.GcsDestination ? (global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Types.GcsDestination) destination_ : null; } + set { + destination_ = value; + destinationCase_ = value == null ? DestinationOneofCase.None : DestinationOneofCase.GcsDestination; + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The issue model to export. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + private object destination_; + /// Enum of possible cases for the "Destination" oneof. + public enum DestinationOneofCase { + None = 0, + GcsDestination = 2, + } + private DestinationOneofCase destinationCase_ = DestinationOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestinationOneofCase DestinationCase { + get { return destinationCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDestination() { + destinationCase_ = DestinationOneofCase.None; + destination_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExportIssueModelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExportIssueModelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GcsDestination, other.GcsDestination)) return false; + if (Name != other.Name) return false; + if (DestinationCase != other.DestinationCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (destinationCase_ == DestinationOneofCase.GcsDestination) hash ^= GcsDestination.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + hash ^= (int) destinationCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (destinationCase_ == DestinationOneofCase.GcsDestination) { + output.WriteRawTag(18); + output.WriteMessage(GcsDestination); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (destinationCase_ == DestinationOneofCase.GcsDestination) { + output.WriteRawTag(18); + output.WriteMessage(GcsDestination); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (destinationCase_ == DestinationOneofCase.GcsDestination) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GcsDestination); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExportIssueModelRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + switch (other.DestinationCase) { + case DestinationOneofCase.GcsDestination: + if (GcsDestination == null) { + GcsDestination = new global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Types.GcsDestination(); + } + GcsDestination.MergeFrom(other.GcsDestination); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Types.GcsDestination subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Types.GcsDestination(); + if (destinationCase_ == DestinationOneofCase.GcsDestination) { + subBuilder.MergeFrom(GcsDestination); + } + input.ReadMessage(subBuilder); + GcsDestination = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Types.GcsDestination subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Types.GcsDestination(); + if (destinationCase_ == DestinationOneofCase.GcsDestination) { + subBuilder.MergeFrom(GcsDestination); + } + input.ReadMessage(subBuilder); + GcsDestination = subBuilder; + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ExportIssueModelRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Google Cloud Storage Object URI to save the issue model to. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GcsDestination : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GcsDestination()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsDestination() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsDestination(GcsDestination other) : this() { + objectUri_ = other.objectUri_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsDestination Clone() { + return new GcsDestination(this); + } + + /// Field number for the "object_uri" field. + public const int ObjectUriFieldNumber = 1; + private string objectUri_ = ""; + /// + /// Required. Format: `gs://<bucket-name>/<object-name>` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ObjectUri { + get { return objectUri_; } + set { + objectUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GcsDestination); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GcsDestination other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ObjectUri != other.ObjectUri) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ObjectUri.Length != 0) hash ^= ObjectUri.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ObjectUri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ObjectUri); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ObjectUri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ObjectUri); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ObjectUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ObjectUri); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GcsDestination other) { + if (other == null) { + return; + } + if (other.ObjectUri.Length != 0) { + ObjectUri = other.ObjectUri; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ObjectUri = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ObjectUri = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Response from export issue model + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExportIssueModelResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExportIssueModelResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[43]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportIssueModelResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportIssueModelResponse(ExportIssueModelResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportIssueModelResponse Clone() { + return new ExportIssueModelResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExportIssueModelResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExportIssueModelResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExportIssueModelResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// Metadata used for export issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExportIssueModelMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExportIssueModelMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[44]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportIssueModelMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportIssueModelMetadata(ExportIssueModelMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExportIssueModelMetadata Clone() { + return new ExportIssueModelMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest request_; + /// + /// The original export request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExportIssueModelMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExportIssueModelMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExportIssueModelMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest(); + } + Request.MergeFrom(other.Request); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + } + #endif + + } + + /// + /// Request to import an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ImportIssueModelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImportIssueModelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[45]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIssueModelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIssueModelRequest(ImportIssueModelRequest other) : this() { + parent_ = other.parent_; + createNewModel_ = other.createNewModel_; + switch (other.SourceCase) { + case SourceOneofCase.GcsSource: + GcsSource = other.GcsSource.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIssueModelRequest Clone() { + return new ImportIssueModelRequest(this); + } + + /// Field number for the "gcs_source" field. + public const int GcsSourceFieldNumber = 2; + /// + /// Google Cloud Storage source message. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Types.GcsSource GcsSource { + get { return sourceCase_ == SourceOneofCase.GcsSource ? (global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Types.GcsSource) source_ : null; } + set { + source_ = value; + sourceCase_ = value == null ? SourceOneofCase.None : SourceOneofCase.GcsSource; + } + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the issue model. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_new_model" field. + public const int CreateNewModelFieldNumber = 3; + private bool createNewModel_; + /// + /// Optional. If set to true, will create an issue model from the imported file + /// with randomly generated IDs for the issue model and corresponding issues. + /// Otherwise, replaces an existing model with the same ID as the file. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CreateNewModel { + get { return createNewModel_; } + set { + createNewModel_ = value; + } + } + + private object source_; + /// Enum of possible cases for the "Source" oneof. + public enum SourceOneofCase { + None = 0, + GcsSource = 2, + } + private SourceOneofCase sourceCase_ = SourceOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SourceOneofCase SourceCase { + get { return sourceCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSource() { + sourceCase_ = SourceOneofCase.None; + source_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ImportIssueModelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ImportIssueModelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GcsSource, other.GcsSource)) return false; + if (Parent != other.Parent) return false; + if (CreateNewModel != other.CreateNewModel) return false; + if (SourceCase != other.SourceCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (sourceCase_ == SourceOneofCase.GcsSource) hash ^= GcsSource.GetHashCode(); + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (CreateNewModel != false) hash ^= CreateNewModel.GetHashCode(); + hash ^= (int) sourceCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (sourceCase_ == SourceOneofCase.GcsSource) { + output.WriteRawTag(18); + output.WriteMessage(GcsSource); + } + if (CreateNewModel != false) { + output.WriteRawTag(24); + output.WriteBool(CreateNewModel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (sourceCase_ == SourceOneofCase.GcsSource) { + output.WriteRawTag(18); + output.WriteMessage(GcsSource); + } + if (CreateNewModel != false) { + output.WriteRawTag(24); + output.WriteBool(CreateNewModel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (sourceCase_ == SourceOneofCase.GcsSource) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GcsSource); + } + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (CreateNewModel != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ImportIssueModelRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.CreateNewModel != false) { + CreateNewModel = other.CreateNewModel; + } + switch (other.SourceCase) { + case SourceOneofCase.GcsSource: + if (GcsSource == null) { + GcsSource = new global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Types.GcsSource(); + } + GcsSource.MergeFrom(other.GcsSource); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Types.GcsSource subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Types.GcsSource(); + if (sourceCase_ == SourceOneofCase.GcsSource) { + subBuilder.MergeFrom(GcsSource); + } + input.ReadMessage(subBuilder); + GcsSource = subBuilder; + break; + } + case 24: { + CreateNewModel = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Types.GcsSource subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Types.GcsSource(); + if (sourceCase_ == SourceOneofCase.GcsSource) { + subBuilder.MergeFrom(GcsSource); + } + input.ReadMessage(subBuilder); + GcsSource = subBuilder; + break; + } + case 24: { + CreateNewModel = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ImportIssueModelRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Google Cloud Storage Object URI to get the issue model file from. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GcsSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GcsSource()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource(GcsSource other) : this() { + objectUri_ = other.objectUri_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource Clone() { + return new GcsSource(this); + } + + /// Field number for the "object_uri" field. + public const int ObjectUriFieldNumber = 1; + private string objectUri_ = ""; + /// + /// Required. Format: `gs://<bucket-name>/<object-name>` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ObjectUri { + get { return objectUri_; } + set { + objectUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GcsSource); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GcsSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ObjectUri != other.ObjectUri) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ObjectUri.Length != 0) hash ^= ObjectUri.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ObjectUri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ObjectUri); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ObjectUri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ObjectUri); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ObjectUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ObjectUri); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GcsSource other) { + if (other == null) { + return; + } + if (other.ObjectUri.Length != 0) { + ObjectUri = other.ObjectUri; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ObjectUri = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ObjectUri = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Response from import issue model + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ImportIssueModelResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImportIssueModelResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[46]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIssueModelResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIssueModelResponse(ImportIssueModelResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIssueModelResponse Clone() { + return new ImportIssueModelResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ImportIssueModelResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ImportIssueModelResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ImportIssueModelResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// Metadata used for import issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ImportIssueModelMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImportIssueModelMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[47]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIssueModelMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIssueModelMetadata(ImportIssueModelMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIssueModelMetadata Clone() { + return new ImportIssueModelMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest request_; + /// + /// The original import request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ImportIssueModelMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ImportIssueModelMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ImportIssueModelMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest(); + } + Request.MergeFrom(other.Request); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest(); + } + input.ReadMessage(Request); + break; + } + } + } + } + #endif + + } + + /// + /// The request to get an issue. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetIssueRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetIssueRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[48]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetIssueRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetIssueRequest(GetIssueRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetIssueRequest Clone() { + return new GetIssueRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the issue to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetIssueRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetIssueRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetIssueRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request to list issues. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListIssuesRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListIssuesRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[49]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssuesRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssuesRequest(ListIssuesRequest other) : this() { + parent_ = other.parent_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssuesRequest Clone() { + return new ListIssuesRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the issue. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListIssuesRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListIssuesRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListIssuesRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response of listing issues. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListIssuesResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListIssuesResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[50]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssuesResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssuesResponse(ListIssuesResponse other) : this() { + issues_ = other.issues_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIssuesResponse Clone() { + return new ListIssuesResponse(this); + } + + /// Field number for the "issues" field. + public const int IssuesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_issues_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.Issue.Parser); + private readonly pbc::RepeatedField issues_ = new pbc::RepeatedField(); + /// + /// The issues that match the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Issues { + get { return issues_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListIssuesResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListIssuesResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!issues_.Equals(other.issues_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= issues_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + issues_.WriteTo(output, _repeated_issues_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + issues_.WriteTo(ref output, _repeated_issues_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += issues_.CalculateSize(_repeated_issues_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListIssuesResponse other) { + if (other == null) { + return; + } + issues_.Add(other.issues_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + issues_.AddEntriesFrom(input, _repeated_issues_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + issues_.AddEntriesFrom(ref input, _repeated_issues_codec); + break; + } + } + } + } + #endif + + } + + /// + /// The request to update an issue. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateIssueRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateIssueRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[51]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateIssueRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateIssueRequest(UpdateIssueRequest other) : this() { + issue_ = other.issue_ != null ? other.issue_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateIssueRequest Clone() { + return new UpdateIssueRequest(this); + } + + /// Field number for the "issue" field. + public const int IssueFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.Issue issue_; + /// + /// Required. The new values for the issue. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Issue Issue { + get { return issue_; } + set { + issue_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// The list of fields to be updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateIssueRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateIssueRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Issue, other.Issue)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (issue_ != null) hash ^= Issue.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (issue_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Issue); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (issue_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Issue); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (issue_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Issue); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateIssueRequest other) { + if (other == null) { + return; + } + if (other.issue_ != null) { + if (issue_ == null) { + Issue = new global::Google.Cloud.ContactCenterInsights.V1.Issue(); + } + Issue.MergeFrom(other.Issue); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (issue_ == null) { + Issue = new global::Google.Cloud.ContactCenterInsights.V1.Issue(); + } + input.ReadMessage(Issue); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (issue_ == null) { + Issue = new global::Google.Cloud.ContactCenterInsights.V1.Issue(); + } + input.ReadMessage(Issue); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// The request to delete an issue. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteIssueRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteIssueRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[52]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIssueRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIssueRequest(DeleteIssueRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIssueRequest Clone() { + return new DeleteIssueRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the issue to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteIssueRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteIssueRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteIssueRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request to get statistics of an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CalculateIssueModelStatsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CalculateIssueModelStatsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[53]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateIssueModelStatsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateIssueModelStatsRequest(CalculateIssueModelStatsRequest other) : this() { + issueModel_ = other.issueModel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateIssueModelStatsRequest Clone() { + return new CalculateIssueModelStatsRequest(this); + } + + /// Field number for the "issue_model" field. + public const int IssueModelFieldNumber = 1; + private string issueModel_ = ""; + /// + /// Required. The resource name of the issue model to query against. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IssueModel { + get { return issueModel_; } + set { + issueModel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CalculateIssueModelStatsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CalculateIssueModelStatsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IssueModel != other.IssueModel) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (IssueModel.Length != 0) hash ^= IssueModel.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IssueModel.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IssueModel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IssueModel.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IssueModel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (IssueModel.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IssueModel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CalculateIssueModelStatsRequest other) { + if (other == null) { + return; + } + if (other.IssueModel.Length != 0) { + IssueModel = other.IssueModel; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + IssueModel = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + IssueModel = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Response of querying an issue model's statistics. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CalculateIssueModelStatsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CalculateIssueModelStatsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[54]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateIssueModelStatsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateIssueModelStatsResponse(CalculateIssueModelStatsResponse other) : this() { + currentStats_ = other.currentStats_ != null ? other.currentStats_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CalculateIssueModelStatsResponse Clone() { + return new CalculateIssueModelStatsResponse(this); + } + + /// Field number for the "current_stats" field. + public const int CurrentStatsFieldNumber = 4; + private global::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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats CurrentStats { + get { return currentStats_; } + set { + currentStats_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CalculateIssueModelStatsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CalculateIssueModelStatsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentStats, other.CurrentStats)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (currentStats_ != null) hash ^= CurrentStats.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (currentStats_ != null) { + output.WriteRawTag(34); + output.WriteMessage(CurrentStats); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (currentStats_ != null) { + output.WriteRawTag(34); + output.WriteMessage(CurrentStats); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (currentStats_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentStats); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CalculateIssueModelStatsResponse other) { + if (other == null) { + return; + } + if (other.currentStats_ != null) { + if (currentStats_ == null) { + CurrentStats = new global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats(); + } + CurrentStats.MergeFrom(other.CurrentStats); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 34: { + if (currentStats_ == null) { + CurrentStats = new global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats(); + } + input.ReadMessage(CurrentStats); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 34: { + if (currentStats_ == null) { + CurrentStats = new global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats(); + } + input.ReadMessage(CurrentStats); + break; + } + } + } + } + #endif + + } + + /// + /// Request to create a phrase matcher. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreatePhraseMatcherRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreatePhraseMatcherRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[55]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreatePhraseMatcherRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreatePhraseMatcherRequest(CreatePhraseMatcherRequest other) : this() { + parent_ = other.parent_; + phraseMatcher_ = other.phraseMatcher_ != null ? other.phraseMatcher_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreatePhraseMatcherRequest Clone() { + return new CreatePhraseMatcherRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the phrase matcher. Required. The location + /// to create a phrase matcher for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "phrase_matcher" field. + public const int PhraseMatcherFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher phraseMatcher_; + /// + /// Required. The phrase matcher resource to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher PhraseMatcher { + get { return phraseMatcher_; } + set { + phraseMatcher_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreatePhraseMatcherRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreatePhraseMatcherRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(PhraseMatcher, other.PhraseMatcher)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (phraseMatcher_ != null) hash ^= PhraseMatcher.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (phraseMatcher_ != null) { + output.WriteRawTag(18); + output.WriteMessage(PhraseMatcher); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (phraseMatcher_ != null) { + output.WriteRawTag(18); + output.WriteMessage(PhraseMatcher); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (phraseMatcher_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PhraseMatcher); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreatePhraseMatcherRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.phraseMatcher_ != null) { + if (phraseMatcher_ == null) { + PhraseMatcher = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher(); + } + PhraseMatcher.MergeFrom(other.PhraseMatcher); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (phraseMatcher_ == null) { + PhraseMatcher = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher(); + } + input.ReadMessage(PhraseMatcher); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (phraseMatcher_ == null) { + PhraseMatcher = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher(); + } + input.ReadMessage(PhraseMatcher); + break; + } + } + } + } + #endif + + } + + /// + /// Request to list phrase matchers. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListPhraseMatchersRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListPhraseMatchersRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[56]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListPhraseMatchersRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListPhraseMatchersRequest(ListPhraseMatchersRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + filter_ = other.filter_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListPhraseMatchersRequest Clone() { + return new ListPhraseMatchersRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the phrase matcher. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 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 + /// fewer objects than requested. A non-empty `next_page_token` in the response + /// indicates that more data is available. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// The value returned by the last `ListPhraseMatchersResponse`. This value + /// indicates that this is a continuation of a prior `ListPhraseMatchers` call + /// and that the system should return the next page of data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 4; + private string filter_ = ""; + /// + /// A filter to reduce results to a specific subset. Useful for querying + /// phrase matchers with specific properties. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListPhraseMatchersRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListPhraseMatchersRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + if (Filter != other.Filter) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListPhraseMatchersRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response of listing phrase matchers. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListPhraseMatchersResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListPhraseMatchersResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[57]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListPhraseMatchersResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListPhraseMatchersResponse(ListPhraseMatchersResponse other) : this() { + phraseMatchers_ = other.phraseMatchers_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListPhraseMatchersResponse Clone() { + return new ListPhraseMatchersResponse(this); + } + + /// Field number for the "phrase_matchers" field. + public const int PhraseMatchersFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_phraseMatchers_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Parser); + private readonly pbc::RepeatedField phraseMatchers_ = new pbc::RepeatedField(); + /// + /// The phrase matchers that match the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PhraseMatchers { + get { return phraseMatchers_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListPhraseMatchersResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListPhraseMatchersResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!phraseMatchers_.Equals(other.phraseMatchers_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= phraseMatchers_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + phraseMatchers_.WriteTo(output, _repeated_phraseMatchers_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + phraseMatchers_.WriteTo(ref output, _repeated_phraseMatchers_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += phraseMatchers_.CalculateSize(_repeated_phraseMatchers_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListPhraseMatchersResponse other) { + if (other == null) { + return; + } + phraseMatchers_.Add(other.phraseMatchers_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + phraseMatchers_.AddEntriesFrom(input, _repeated_phraseMatchers_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + phraseMatchers_.AddEntriesFrom(ref input, _repeated_phraseMatchers_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to get a a phrase matcher. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetPhraseMatcherRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetPhraseMatcherRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[58]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetPhraseMatcherRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetPhraseMatcherRequest(GetPhraseMatcherRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetPhraseMatcherRequest Clone() { + return new GetPhraseMatcherRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the phrase matcher to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetPhraseMatcherRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetPhraseMatcherRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetPhraseMatcherRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to delete a phrase matcher. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeletePhraseMatcherRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeletePhraseMatcherRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[59]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeletePhraseMatcherRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeletePhraseMatcherRequest(DeletePhraseMatcherRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeletePhraseMatcherRequest Clone() { + return new DeletePhraseMatcherRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the phrase matcher to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeletePhraseMatcherRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeletePhraseMatcherRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeletePhraseMatcherRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to update a phrase matcher. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdatePhraseMatcherRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdatePhraseMatcherRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[60]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdatePhraseMatcherRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdatePhraseMatcherRequest(UpdatePhraseMatcherRequest other) : this() { + phraseMatcher_ = other.phraseMatcher_ != null ? other.phraseMatcher_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdatePhraseMatcherRequest Clone() { + return new UpdatePhraseMatcherRequest(this); + } + + /// Field number for the "phrase_matcher" field. + public const int PhraseMatcherFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher phraseMatcher_; + /// + /// Required. The new values for the phrase matcher. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher PhraseMatcher { + get { return phraseMatcher_; } + set { + phraseMatcher_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// The list of fields to be updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdatePhraseMatcherRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdatePhraseMatcherRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(PhraseMatcher, other.PhraseMatcher)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (phraseMatcher_ != null) hash ^= PhraseMatcher.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (phraseMatcher_ != null) { + output.WriteRawTag(10); + output.WriteMessage(PhraseMatcher); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (phraseMatcher_ != null) { + output.WriteRawTag(10); + output.WriteMessage(PhraseMatcher); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (phraseMatcher_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PhraseMatcher); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdatePhraseMatcherRequest other) { + if (other == null) { + return; + } + if (other.phraseMatcher_ != null) { + if (phraseMatcher_ == null) { + PhraseMatcher = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher(); + } + PhraseMatcher.MergeFrom(other.PhraseMatcher); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (phraseMatcher_ == null) { + PhraseMatcher = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher(); + } + input.ReadMessage(PhraseMatcher); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (phraseMatcher_ == null) { + PhraseMatcher = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher(); + } + input.ReadMessage(PhraseMatcher); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// The request to get project-level settings. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetSettingsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSettingsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[61]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSettingsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSettingsRequest(GetSettingsRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetSettingsRequest Clone() { + return new GetSettingsRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the settings resource to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetSettingsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetSettingsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetSettingsRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to update project-level settings. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateSettingsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateSettingsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[62]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateSettingsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateSettingsRequest(UpdateSettingsRequest other) : this() { + settings_ = other.settings_ != null ? other.settings_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateSettingsRequest Clone() { + return new UpdateSettingsRequest(this); + } + + /// Field number for the "settings" field. + public const int SettingsFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.Settings settings_; + /// + /// Required. The new settings values. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Settings Settings { + get { return settings_; } + set { + settings_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// Required. The list of fields to be updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateSettingsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateSettingsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Settings, other.Settings)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (settings_ != null) hash ^= Settings.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (settings_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Settings); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (settings_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Settings); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (settings_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settings); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateSettingsRequest other) { + if (other == null) { + return; + } + if (other.settings_ != null) { + if (settings_ == null) { + Settings = new global::Google.Cloud.ContactCenterInsights.V1.Settings(); + } + Settings.MergeFrom(other.Settings); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (settings_ == null) { + Settings = new global::Google.Cloud.ContactCenterInsights.V1.Settings(); + } + input.ReadMessage(Settings); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (settings_ == null) { + Settings = new global::Google.Cloud.ContactCenterInsights.V1.Settings(); + } + input.ReadMessage(Settings); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// The request to create a analysis rule. + /// analysis_rule_id will be generated by the server. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateAnalysisRuleRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateAnalysisRuleRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[63]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAnalysisRuleRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAnalysisRuleRequest(CreateAnalysisRuleRequest other) : this() { + parent_ = other.parent_; + analysisRule_ = other.analysisRule_ != null ? other.analysisRule_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAnalysisRuleRequest Clone() { + return new CreateAnalysisRuleRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the analysis rule. Required. The location + /// to create a analysis rule for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "analysis_rule" field. + public const int AnalysisRuleFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule analysisRule_; + /// + /// Required. The analysis rule resource to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule AnalysisRule { + get { return analysisRule_; } + set { + analysisRule_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateAnalysisRuleRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateAnalysisRuleRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(AnalysisRule, other.AnalysisRule)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (analysisRule_ != null) hash ^= AnalysisRule.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (analysisRule_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AnalysisRule); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (analysisRule_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AnalysisRule); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (analysisRule_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnalysisRule); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateAnalysisRuleRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.analysisRule_ != null) { + if (analysisRule_ == null) { + AnalysisRule = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule(); + } + AnalysisRule.MergeFrom(other.AnalysisRule); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (analysisRule_ == null) { + AnalysisRule = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule(); + } + input.ReadMessage(AnalysisRule); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (analysisRule_ == null) { + AnalysisRule = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule(); + } + input.ReadMessage(AnalysisRule); + break; + } + } + } + } + #endif + + } + + /// + /// The request for getting a analysis rule. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAnalysisRuleRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAnalysisRuleRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[64]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAnalysisRuleRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAnalysisRuleRequest(GetAnalysisRuleRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAnalysisRuleRequest Clone() { + return new GetAnalysisRuleRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the AnalysisRule to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAnalysisRuleRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAnalysisRuleRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAnalysisRuleRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to update a analysis rule. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateAnalysisRuleRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateAnalysisRuleRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[65]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateAnalysisRuleRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateAnalysisRuleRequest(UpdateAnalysisRuleRequest other) : this() { + analysisRule_ = other.analysisRule_ != null ? other.analysisRule_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateAnalysisRuleRequest Clone() { + return new UpdateAnalysisRuleRequest(this); + } + + /// Field number for the "analysis_rule" field. + public const int AnalysisRuleFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule analysisRule_; + /// + /// Required. The new analysis rule. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule AnalysisRule { + get { return analysisRule_; } + set { + analysisRule_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// Optional. The list of fields to be updated. + /// If the update_mask is not provided, the update will be applied to all + /// fields. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateAnalysisRuleRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateAnalysisRuleRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AnalysisRule, other.AnalysisRule)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (analysisRule_ != null) hash ^= AnalysisRule.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (analysisRule_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AnalysisRule); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (analysisRule_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AnalysisRule); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (analysisRule_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnalysisRule); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateAnalysisRuleRequest other) { + if (other == null) { + return; + } + if (other.analysisRule_ != null) { + if (analysisRule_ == null) { + AnalysisRule = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule(); + } + AnalysisRule.MergeFrom(other.AnalysisRule); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (analysisRule_ == null) { + AnalysisRule = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule(); + } + input.ReadMessage(AnalysisRule); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (analysisRule_ == null) { + AnalysisRule = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule(); + } + input.ReadMessage(AnalysisRule); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// The request to delete a analysis rule. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteAnalysisRuleRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteAnalysisRuleRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[66]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteAnalysisRuleRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteAnalysisRuleRequest(DeleteAnalysisRuleRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteAnalysisRuleRequest Clone() { + return new DeleteAnalysisRuleRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the analysis rule to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteAnalysisRuleRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteAnalysisRuleRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteAnalysisRuleRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to list analysis rules. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListAnalysisRulesRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListAnalysisRulesRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[67]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysisRulesRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysisRulesRequest(ListAnalysisRulesRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysisRulesRequest Clone() { + return new ListAnalysisRulesRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the analysis rules. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// Optional. The maximum number of analysis rule to return in the response. If + /// this value is zero, the service will select a default size. A call may + /// return fewer objects than requested. A non-empty `next_page_token` in the + /// response indicates that more data is available. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// Optional. The value returned by the last `ListAnalysisRulesResponse`; + /// indicates that this is a continuation of a prior `ListAnalysisRules` call + /// and the system should return the next page of data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListAnalysisRulesRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListAnalysisRulesRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListAnalysisRulesRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response of listing views. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListAnalysisRulesResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListAnalysisRulesResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[68]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysisRulesResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysisRulesResponse(ListAnalysisRulesResponse other) : this() { + analysisRules_ = other.analysisRules_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAnalysisRulesResponse Clone() { + return new ListAnalysisRulesResponse(this); + } + + /// Field number for the "analysis_rules" field. + public const int AnalysisRulesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_analysisRules_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule.Parser); + private readonly pbc::RepeatedField analysisRules_ = new pbc::RepeatedField(); + /// + /// The analysis_rule that match the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AnalysisRules { + get { return analysisRules_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListAnalysisRulesResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListAnalysisRulesResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!analysisRules_.Equals(other.analysisRules_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= analysisRules_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + analysisRules_.WriteTo(output, _repeated_analysisRules_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + analysisRules_.WriteTo(ref output, _repeated_analysisRules_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += analysisRules_.CalculateSize(_repeated_analysisRules_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListAnalysisRulesResponse other) { + if (other == null) { + return; + } + analysisRules_.Add(other.analysisRules_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + analysisRules_.AddEntriesFrom(input, _repeated_analysisRules_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + analysisRules_.AddEntriesFrom(ref input, _repeated_analysisRules_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to get location-level encryption specification. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetEncryptionSpecRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetEncryptionSpecRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[69]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetEncryptionSpecRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetEncryptionSpecRequest(GetEncryptionSpecRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetEncryptionSpecRequest Clone() { + return new GetEncryptionSpecRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the encryption spec resource to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetEncryptionSpecRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetEncryptionSpecRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetEncryptionSpecRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to initialize a location-level encryption specification. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InitializeEncryptionSpecRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InitializeEncryptionSpecRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[70]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InitializeEncryptionSpecRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InitializeEncryptionSpecRequest(InitializeEncryptionSpecRequest other) : this() { + encryptionSpec_ = other.encryptionSpec_ != null ? other.encryptionSpec_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InitializeEncryptionSpecRequest Clone() { + return new InitializeEncryptionSpecRequest(this); + } + + /// Field number for the "encryption_spec" field. + public const int EncryptionSpecFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.EncryptionSpec encryptionSpec_; + /// + /// Required. The encryption spec used for CMEK encryption. It is required that + /// the kms key is in the same region as the endpoint. The same key will be + /// used for all provisioned resources, if encryption is available. If the + /// `kms_key_name` field is left empty, no encryption will be enforced. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.EncryptionSpec EncryptionSpec { + get { return encryptionSpec_; } + set { + encryptionSpec_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InitializeEncryptionSpecRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InitializeEncryptionSpecRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(EncryptionSpec, other.EncryptionSpec)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (encryptionSpec_ != null) hash ^= EncryptionSpec.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (encryptionSpec_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EncryptionSpec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (encryptionSpec_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EncryptionSpec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (encryptionSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncryptionSpec); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InitializeEncryptionSpecRequest other) { + if (other == null) { + return; + } + if (other.encryptionSpec_ != null) { + if (encryptionSpec_ == null) { + EncryptionSpec = new global::Google.Cloud.ContactCenterInsights.V1.EncryptionSpec(); + } + EncryptionSpec.MergeFrom(other.EncryptionSpec); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (encryptionSpec_ == null) { + EncryptionSpec = new global::Google.Cloud.ContactCenterInsights.V1.EncryptionSpec(); + } + input.ReadMessage(EncryptionSpec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (encryptionSpec_ == null) { + EncryptionSpec = new global::Google.Cloud.ContactCenterInsights.V1.EncryptionSpec(); + } + input.ReadMessage(EncryptionSpec); + break; + } + } + } + } + #endif + + } + + /// + /// The response to initialize a location-level encryption specification. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InitializeEncryptionSpecResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InitializeEncryptionSpecResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[71]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InitializeEncryptionSpecResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InitializeEncryptionSpecResponse(InitializeEncryptionSpecResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InitializeEncryptionSpecResponse Clone() { + return new InitializeEncryptionSpecResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InitializeEncryptionSpecResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InitializeEncryptionSpecResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InitializeEncryptionSpecResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// Metadata for initializing a location-level encryption specification. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InitializeEncryptionSpecMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InitializeEncryptionSpecMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[72]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InitializeEncryptionSpecMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InitializeEncryptionSpecMetadata(InitializeEncryptionSpecMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + partialErrors_ = other.partialErrors_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InitializeEncryptionSpecMetadata Clone() { + return new InitializeEncryptionSpecMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest request_; + /// + /// Output only. The original request for initialization. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + /// Field number for the "partial_errors" field. + public const int PartialErrorsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_partialErrors_codec + = pb::FieldCodec.ForMessage(34, global::Google.Rpc.Status.Parser); + private readonly pbc::RepeatedField partialErrors_ = new pbc::RepeatedField(); + /// + /// Partial errors during initializing operation that might cause the operation + /// output to be incomplete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PartialErrors { + get { return partialErrors_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InitializeEncryptionSpecMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InitializeEncryptionSpecMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + if(!partialErrors_.Equals(other.partialErrors_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + hash ^= partialErrors_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(output, _repeated_partialErrors_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(ref output, _repeated_partialErrors_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + size += partialErrors_.CalculateSize(_repeated_partialErrors_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InitializeEncryptionSpecMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest(); + } + Request.MergeFrom(other.Request); + } + partialErrors_.Add(other.partialErrors_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(input, _repeated_partialErrors_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(ref input, _repeated_partialErrors_codec); + break; + } + } + } + } + #endif + + } + + /// + /// The request to create a view. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateViewRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateViewRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[73]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateViewRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateViewRequest(CreateViewRequest other) : this() { + parent_ = other.parent_; + view_ = other.view_ != null ? other.view_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateViewRequest Clone() { + return new CreateViewRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the view. Required. The location to create + /// a view for. + /// Format: `projects/<Project ID>/locations/<Location ID>` or + /// `projects/<Project Number>/locations/<Location ID>` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "view" field. + public const int ViewFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.View view_; + /// + /// Required. The view resource to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.View View { + get { return view_; } + set { + view_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateViewRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateViewRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(View, other.View)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (view_ != null) hash ^= View.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (view_ != null) { + output.WriteRawTag(18); + output.WriteMessage(View); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (view_ != null) { + output.WriteRawTag(18); + output.WriteMessage(View); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (view_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(View); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateViewRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.view_ != null) { + if (view_ == null) { + View = new global::Google.Cloud.ContactCenterInsights.V1.View(); + } + View.MergeFrom(other.View); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (view_ == null) { + View = new global::Google.Cloud.ContactCenterInsights.V1.View(); + } + input.ReadMessage(View); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (view_ == null) { + View = new global::Google.Cloud.ContactCenterInsights.V1.View(); + } + input.ReadMessage(View); + break; + } + } + } + } + #endif + + } + + /// + /// The request to get a view. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetViewRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetViewRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[74]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetViewRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetViewRequest(GetViewRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetViewRequest Clone() { + return new GetViewRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the view to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetViewRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetViewRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetViewRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to list views. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListViewsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListViewsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[75]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListViewsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListViewsRequest(ListViewsRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListViewsRequest Clone() { + return new ListViewsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the views. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 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 + /// fewer objects than requested. A non-empty `next_page_token` in the response + /// indicates that more data is available. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// The value returned by the last `ListViewsResponse`; indicates + /// that this is a continuation of a prior `ListViews` call and + /// the system should return the next page of data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListViewsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListViewsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListViewsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response of listing views. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListViewsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListViewsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[76]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListViewsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListViewsResponse(ListViewsResponse other) : this() { + views_ = other.views_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListViewsResponse Clone() { + return new ListViewsResponse(this); + } + + /// Field number for the "views" field. + public const int ViewsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_views_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.View.Parser); + private readonly pbc::RepeatedField views_ = new pbc::RepeatedField(); + /// + /// The views that match the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Views { + get { return views_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListViewsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListViewsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!views_.Equals(other.views_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= views_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + views_.WriteTo(output, _repeated_views_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + views_.WriteTo(ref output, _repeated_views_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += views_.CalculateSize(_repeated_views_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListViewsResponse other) { + if (other == null) { + return; + } + views_.Add(other.views_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + views_.AddEntriesFrom(input, _repeated_views_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + views_.AddEntriesFrom(ref input, _repeated_views_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to update a view. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateViewRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateViewRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[77]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateViewRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateViewRequest(UpdateViewRequest other) : this() { + view_ = other.view_ != null ? other.view_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateViewRequest Clone() { + return new UpdateViewRequest(this); + } + + /// Field number for the "view" field. + public const int ViewFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.View view_; + /// + /// Required. The new view. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.View View { + get { return view_; } + set { + view_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// The list of fields to be updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateViewRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateViewRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(View, other.View)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (view_ != null) hash ^= View.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (view_ != null) { + output.WriteRawTag(10); + output.WriteMessage(View); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (view_ != null) { + output.WriteRawTag(10); + output.WriteMessage(View); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (view_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(View); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateViewRequest other) { + if (other == null) { + return; + } + if (other.view_ != null) { + if (view_ == null) { + View = new global::Google.Cloud.ContactCenterInsights.V1.View(); + } + View.MergeFrom(other.View); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (view_ == null) { + View = new global::Google.Cloud.ContactCenterInsights.V1.View(); + } + input.ReadMessage(View); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (view_ == null) { + View = new global::Google.Cloud.ContactCenterInsights.V1.View(); + } + input.ReadMessage(View); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// The request to delete a view. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteViewRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteViewRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[78]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteViewRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteViewRequest(DeleteViewRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteViewRequest Clone() { + return new DeleteViewRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the view to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteViewRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteViewRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteViewRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// A dimension determines the grouping key for the query. In SQL terms, these + /// would be part of both the "SELECT" and "GROUP BY" clauses. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Dimension : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Dimension()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[79]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Dimension() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Dimension(Dimension other) : this() { + dimensionKey_ = other.dimensionKey_; + switch (other.DimensionMetadataCase) { + case DimensionMetadataOneofCase.IssueDimensionMetadata: + IssueDimensionMetadata = other.IssueDimensionMetadata.Clone(); + break; + case DimensionMetadataOneofCase.AgentDimensionMetadata: + AgentDimensionMetadata = other.AgentDimensionMetadata.Clone(); + break; + case DimensionMetadataOneofCase.QaQuestionDimensionMetadata: + QaQuestionDimensionMetadata = other.QaQuestionDimensionMetadata.Clone(); + break; + case DimensionMetadataOneofCase.QaQuestionAnswerDimensionMetadata: + QaQuestionAnswerDimensionMetadata = other.QaQuestionAnswerDimensionMetadata.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Dimension Clone() { + return new Dimension(this); + } + + /// Field number for the "issue_dimension_metadata" field. + public const int IssueDimensionMetadataFieldNumber = 2; + /// + /// Output only. Metadata about the issue dimension. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.IssueDimensionMetadata IssueDimensionMetadata { + get { return dimensionMetadataCase_ == DimensionMetadataOneofCase.IssueDimensionMetadata ? (global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.IssueDimensionMetadata) dimensionMetadata_ : null; } + set { + dimensionMetadata_ = value; + dimensionMetadataCase_ = value == null ? DimensionMetadataOneofCase.None : DimensionMetadataOneofCase.IssueDimensionMetadata; + } + } + + /// Field number for the "agent_dimension_metadata" field. + public const int AgentDimensionMetadataFieldNumber = 3; + /// + /// Output only. Metadata about the agent dimension. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.AgentDimensionMetadata AgentDimensionMetadata { + get { return dimensionMetadataCase_ == DimensionMetadataOneofCase.AgentDimensionMetadata ? (global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.AgentDimensionMetadata) dimensionMetadata_ : null; } + set { + dimensionMetadata_ = value; + dimensionMetadataCase_ = value == null ? DimensionMetadataOneofCase.None : DimensionMetadataOneofCase.AgentDimensionMetadata; + } + } + + /// Field number for the "qa_question_dimension_metadata" field. + public const int QaQuestionDimensionMetadataFieldNumber = 4; + /// + /// Output only. Metadata about the QA question dimension. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionDimensionMetadata QaQuestionDimensionMetadata { + get { return dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionDimensionMetadata ? (global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionDimensionMetadata) dimensionMetadata_ : null; } + set { + dimensionMetadata_ = value; + dimensionMetadataCase_ = value == null ? DimensionMetadataOneofCase.None : DimensionMetadataOneofCase.QaQuestionDimensionMetadata; + } + } + + /// Field number for the "qa_question_answer_dimension_metadata" field. + public const int QaQuestionAnswerDimensionMetadataFieldNumber = 5; + /// + /// Output only. Metadata about the QA question-answer dimension. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionAnswerDimensionMetadata QaQuestionAnswerDimensionMetadata { + get { return dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionAnswerDimensionMetadata ? (global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionAnswerDimensionMetadata) dimensionMetadata_ : null; } + set { + dimensionMetadata_ = value; + dimensionMetadataCase_ = value == null ? DimensionMetadataOneofCase.None : DimensionMetadataOneofCase.QaQuestionAnswerDimensionMetadata; + } + } + + /// Field number for the "dimension_key" field. + public const int DimensionKeyFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.DimensionKey dimensionKey_ = global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.DimensionKey.Unspecified; + /// + /// The key of the dimension. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.DimensionKey DimensionKey { + get { return dimensionKey_; } + set { + dimensionKey_ = value; + } + } + + private object dimensionMetadata_; + /// Enum of possible cases for the "dimension_metadata" oneof. + public enum DimensionMetadataOneofCase { + None = 0, + IssueDimensionMetadata = 2, + AgentDimensionMetadata = 3, + QaQuestionDimensionMetadata = 4, + QaQuestionAnswerDimensionMetadata = 5, + } + private DimensionMetadataOneofCase dimensionMetadataCase_ = DimensionMetadataOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DimensionMetadataOneofCase DimensionMetadataCase { + get { return dimensionMetadataCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDimensionMetadata() { + dimensionMetadataCase_ = DimensionMetadataOneofCase.None; + dimensionMetadata_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Dimension); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Dimension other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(IssueDimensionMetadata, other.IssueDimensionMetadata)) return false; + if (!object.Equals(AgentDimensionMetadata, other.AgentDimensionMetadata)) return false; + if (!object.Equals(QaQuestionDimensionMetadata, other.QaQuestionDimensionMetadata)) return false; + if (!object.Equals(QaQuestionAnswerDimensionMetadata, other.QaQuestionAnswerDimensionMetadata)) return false; + if (DimensionKey != other.DimensionKey) return false; + if (DimensionMetadataCase != other.DimensionMetadataCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.IssueDimensionMetadata) hash ^= IssueDimensionMetadata.GetHashCode(); + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.AgentDimensionMetadata) hash ^= AgentDimensionMetadata.GetHashCode(); + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionDimensionMetadata) hash ^= QaQuestionDimensionMetadata.GetHashCode(); + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionAnswerDimensionMetadata) hash ^= QaQuestionAnswerDimensionMetadata.GetHashCode(); + if (DimensionKey != global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.DimensionKey.Unspecified) hash ^= DimensionKey.GetHashCode(); + hash ^= (int) dimensionMetadataCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (DimensionKey != global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.DimensionKey.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) DimensionKey); + } + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.IssueDimensionMetadata) { + output.WriteRawTag(18); + output.WriteMessage(IssueDimensionMetadata); + } + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.AgentDimensionMetadata) { + output.WriteRawTag(26); + output.WriteMessage(AgentDimensionMetadata); + } + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionDimensionMetadata) { + output.WriteRawTag(34); + output.WriteMessage(QaQuestionDimensionMetadata); + } + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionAnswerDimensionMetadata) { + output.WriteRawTag(42); + output.WriteMessage(QaQuestionAnswerDimensionMetadata); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DimensionKey != global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.DimensionKey.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) DimensionKey); + } + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.IssueDimensionMetadata) { + output.WriteRawTag(18); + output.WriteMessage(IssueDimensionMetadata); + } + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.AgentDimensionMetadata) { + output.WriteRawTag(26); + output.WriteMessage(AgentDimensionMetadata); + } + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionDimensionMetadata) { + output.WriteRawTag(34); + output.WriteMessage(QaQuestionDimensionMetadata); + } + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionAnswerDimensionMetadata) { + output.WriteRawTag(42); + output.WriteMessage(QaQuestionAnswerDimensionMetadata); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.IssueDimensionMetadata) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IssueDimensionMetadata); + } + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.AgentDimensionMetadata) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentDimensionMetadata); + } + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionDimensionMetadata) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(QaQuestionDimensionMetadata); + } + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionAnswerDimensionMetadata) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(QaQuestionAnswerDimensionMetadata); + } + if (DimensionKey != global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.DimensionKey.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DimensionKey); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Dimension other) { + if (other == null) { + return; + } + if (other.DimensionKey != global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.DimensionKey.Unspecified) { + DimensionKey = other.DimensionKey; + } + switch (other.DimensionMetadataCase) { + case DimensionMetadataOneofCase.IssueDimensionMetadata: + if (IssueDimensionMetadata == null) { + IssueDimensionMetadata = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.IssueDimensionMetadata(); + } + IssueDimensionMetadata.MergeFrom(other.IssueDimensionMetadata); + break; + case DimensionMetadataOneofCase.AgentDimensionMetadata: + if (AgentDimensionMetadata == null) { + AgentDimensionMetadata = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.AgentDimensionMetadata(); + } + AgentDimensionMetadata.MergeFrom(other.AgentDimensionMetadata); + break; + case DimensionMetadataOneofCase.QaQuestionDimensionMetadata: + if (QaQuestionDimensionMetadata == null) { + QaQuestionDimensionMetadata = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionDimensionMetadata(); + } + QaQuestionDimensionMetadata.MergeFrom(other.QaQuestionDimensionMetadata); + break; + case DimensionMetadataOneofCase.QaQuestionAnswerDimensionMetadata: + if (QaQuestionAnswerDimensionMetadata == null) { + QaQuestionAnswerDimensionMetadata = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionAnswerDimensionMetadata(); + } + QaQuestionAnswerDimensionMetadata.MergeFrom(other.QaQuestionAnswerDimensionMetadata); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + DimensionKey = (global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.DimensionKey) input.ReadEnum(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.IssueDimensionMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.IssueDimensionMetadata(); + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.IssueDimensionMetadata) { + subBuilder.MergeFrom(IssueDimensionMetadata); + } + input.ReadMessage(subBuilder); + IssueDimensionMetadata = subBuilder; + break; + } + case 26: { + global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.AgentDimensionMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.AgentDimensionMetadata(); + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.AgentDimensionMetadata) { + subBuilder.MergeFrom(AgentDimensionMetadata); + } + input.ReadMessage(subBuilder); + AgentDimensionMetadata = subBuilder; + break; + } + case 34: { + global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionDimensionMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionDimensionMetadata(); + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionDimensionMetadata) { + subBuilder.MergeFrom(QaQuestionDimensionMetadata); + } + input.ReadMessage(subBuilder); + QaQuestionDimensionMetadata = subBuilder; + break; + } + case 42: { + global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionAnswerDimensionMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionAnswerDimensionMetadata(); + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionAnswerDimensionMetadata) { + subBuilder.MergeFrom(QaQuestionAnswerDimensionMetadata); + } + input.ReadMessage(subBuilder); + QaQuestionAnswerDimensionMetadata = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + DimensionKey = (global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.DimensionKey) input.ReadEnum(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.IssueDimensionMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.IssueDimensionMetadata(); + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.IssueDimensionMetadata) { + subBuilder.MergeFrom(IssueDimensionMetadata); + } + input.ReadMessage(subBuilder); + IssueDimensionMetadata = subBuilder; + break; + } + case 26: { + global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.AgentDimensionMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.AgentDimensionMetadata(); + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.AgentDimensionMetadata) { + subBuilder.MergeFrom(AgentDimensionMetadata); + } + input.ReadMessage(subBuilder); + AgentDimensionMetadata = subBuilder; + break; + } + case 34: { + global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionDimensionMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionDimensionMetadata(); + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionDimensionMetadata) { + subBuilder.MergeFrom(QaQuestionDimensionMetadata); + } + input.ReadMessage(subBuilder); + QaQuestionDimensionMetadata = subBuilder; + break; + } + case 42: { + global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionAnswerDimensionMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.Dimension.Types.QaQuestionAnswerDimensionMetadata(); + if (dimensionMetadataCase_ == DimensionMetadataOneofCase.QaQuestionAnswerDimensionMetadata) { + subBuilder.MergeFrom(QaQuestionAnswerDimensionMetadata); + } + input.ReadMessage(subBuilder); + QaQuestionAnswerDimensionMetadata = subBuilder; + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Dimension message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The key of the dimension. + /// + public enum DimensionKey { + /// + /// The key of the dimension is unspecified. + /// + [pbr::OriginalName("DIMENSION_KEY_UNSPECIFIED")] Unspecified = 0, + /// + /// The dimension is keyed by issues. + /// + [pbr::OriginalName("ISSUE")] Issue = 1, + /// + /// The dimension is keyed by agents. + /// + [pbr::OriginalName("AGENT")] Agent = 2, + /// + /// The dimension is keyed by agent teams. + /// + [pbr::OriginalName("AGENT_TEAM")] AgentTeam = 3, + /// + /// The dimension is keyed by QaQuestionIds. + /// Note that: We only group by the QuestionId and not the revision-id of the + /// scorecard this question is a part of. This allows for showing stats for + /// the same question across different scorecard revisions. + /// + [pbr::OriginalName("QA_QUESTION_ID")] QaQuestionId = 4, + /// + /// The dimension is keyed by QaQuestionIds-Answer value pairs. + /// Note that: We only group by the QuestionId and not the revision-id of the + /// scorecard this question is a part of. This allows for showing + /// distribution of answers per question across different scorecard + /// revisions. + /// + [pbr::OriginalName("QA_QUESTION_ANSWER_VALUE")] QaQuestionAnswerValue = 5, + /// + /// The dimension is keyed by the conversation profile ID. + /// + [pbr::OriginalName("CONVERSATION_PROFILE_ID")] ConversationProfileId = 6, + } + + /// + /// Metadata about the issue dimension. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IssueDimensionMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IssueDimensionMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Dimension.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueDimensionMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueDimensionMetadata(IssueDimensionMetadata other) : this() { + issueId_ = other.issueId_; + issueDisplayName_ = other.issueDisplayName_; + issueModelId_ = other.issueModelId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueDimensionMetadata Clone() { + return new IssueDimensionMetadata(this); + } + + /// Field number for the "issue_id" field. + public const int IssueIdFieldNumber = 1; + private string issueId_ = ""; + /// + /// The issue ID. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IssueId { + get { return issueId_; } + set { + issueId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "issue_display_name" field. + public const int IssueDisplayNameFieldNumber = 2; + private string issueDisplayName_ = ""; + /// + /// The issue display name. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IssueDisplayName { + get { return issueDisplayName_; } + set { + issueDisplayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "issue_model_id" field. + public const int IssueModelIdFieldNumber = 3; + private string issueModelId_ = ""; + /// + /// The parent issue model ID. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IssueModelId { + get { return issueModelId_; } + set { + issueModelId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IssueDimensionMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IssueDimensionMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IssueId != other.IssueId) return false; + if (IssueDisplayName != other.IssueDisplayName) return false; + if (IssueModelId != other.IssueModelId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (IssueId.Length != 0) hash ^= IssueId.GetHashCode(); + if (IssueDisplayName.Length != 0) hash ^= IssueDisplayName.GetHashCode(); + if (IssueModelId.Length != 0) hash ^= IssueModelId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IssueId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IssueId); + } + if (IssueDisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(IssueDisplayName); + } + if (IssueModelId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(IssueModelId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IssueId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IssueId); + } + if (IssueDisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(IssueDisplayName); + } + if (IssueModelId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(IssueModelId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (IssueId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IssueId); + } + if (IssueDisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IssueDisplayName); + } + if (IssueModelId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IssueModelId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IssueDimensionMetadata other) { + if (other == null) { + return; + } + if (other.IssueId.Length != 0) { + IssueId = other.IssueId; + } + if (other.IssueDisplayName.Length != 0) { + IssueDisplayName = other.IssueDisplayName; + } + if (other.IssueModelId.Length != 0) { + IssueModelId = other.IssueModelId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + IssueId = input.ReadString(); + break; + } + case 18: { + IssueDisplayName = input.ReadString(); + break; + } + case 26: { + IssueModelId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + IssueId = input.ReadString(); + break; + } + case 18: { + IssueDisplayName = input.ReadString(); + break; + } + case 26: { + IssueModelId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Metadata about the agent dimension. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentDimensionMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentDimensionMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Dimension.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentDimensionMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentDimensionMetadata(AgentDimensionMetadata other) : this() { + agentId_ = other.agentId_; + agentDisplayName_ = other.agentDisplayName_; + agentTeam_ = other.agentTeam_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentDimensionMetadata Clone() { + return new AgentDimensionMetadata(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private string agentId_ = ""; + /// + /// Optional. A user-specified string representing the agent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AgentId { + get { return agentId_; } + set { + agentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "agent_display_name" field. + public const int AgentDisplayNameFieldNumber = 2; + private string agentDisplayName_ = ""; + /// + /// Optional. The agent's name + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AgentDisplayName { + get { return agentDisplayName_; } + set { + agentDisplayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "agent_team" field. + public const int AgentTeamFieldNumber = 3; + private string agentTeam_ = ""; + /// + /// Optional. A user-specified string representing the agent's team. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AgentTeam { + get { return agentTeam_; } + set { + agentTeam_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AgentDimensionMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentDimensionMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AgentId != other.AgentId) return false; + if (AgentDisplayName != other.AgentDisplayName) return false; + if (AgentTeam != other.AgentTeam) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (AgentId.Length != 0) hash ^= AgentId.GetHashCode(); + if (AgentDisplayName.Length != 0) hash ^= AgentDisplayName.GetHashCode(); + if (AgentTeam.Length != 0) hash ^= AgentTeam.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (AgentId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AgentId); + } + if (AgentDisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(AgentDisplayName); + } + if (AgentTeam.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AgentTeam); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AgentId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AgentId); + } + if (AgentDisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(AgentDisplayName); + } + if (AgentTeam.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AgentTeam); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (AgentId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AgentId); + } + if (AgentDisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AgentDisplayName); + } + if (AgentTeam.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AgentTeam); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentDimensionMetadata other) { + if (other == null) { + return; + } + if (other.AgentId.Length != 0) { + AgentId = other.AgentId; + } + if (other.AgentDisplayName.Length != 0) { + AgentDisplayName = other.AgentDisplayName; + } + if (other.AgentTeam.Length != 0) { + AgentTeam = other.AgentTeam; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + AgentId = input.ReadString(); + break; + } + case 18: { + AgentDisplayName = input.ReadString(); + break; + } + case 26: { + AgentTeam = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + AgentId = input.ReadString(); + break; + } + case 18: { + AgentDisplayName = input.ReadString(); + break; + } + case 26: { + AgentTeam = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Metadata about the QA question dimension. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaQuestionDimensionMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaQuestionDimensionMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Dimension.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionDimensionMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionDimensionMetadata(QaQuestionDimensionMetadata other) : this() { + qaScorecardId_ = other.qaScorecardId_; + qaQuestionId_ = other.qaQuestionId_; + questionBody_ = other.questionBody_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionDimensionMetadata Clone() { + return new QaQuestionDimensionMetadata(this); + } + + /// Field number for the "qa_scorecard_id" field. + public const int QaScorecardIdFieldNumber = 1; + private string qaScorecardId_ = ""; + /// + /// Optional. The QA scorecard ID. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QaScorecardId { + get { return qaScorecardId_; } + set { + qaScorecardId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "qa_question_id" field. + public const int QaQuestionIdFieldNumber = 2; + private string qaQuestionId_ = ""; + /// + /// Optional. The QA question ID. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QaQuestionId { + get { return qaQuestionId_; } + set { + qaQuestionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "question_body" field. + public const int QuestionBodyFieldNumber = 3; + private string questionBody_ = ""; + /// + /// Optional. The full body of the question. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QuestionBody { + get { return questionBody_; } + set { + questionBody_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaQuestionDimensionMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaQuestionDimensionMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (QaScorecardId != other.QaScorecardId) return false; + if (QaQuestionId != other.QaQuestionId) return false; + if (QuestionBody != other.QuestionBody) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (QaScorecardId.Length != 0) hash ^= QaScorecardId.GetHashCode(); + if (QaQuestionId.Length != 0) hash ^= QaQuestionId.GetHashCode(); + if (QuestionBody.Length != 0) hash ^= QuestionBody.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (QaScorecardId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(QaScorecardId); + } + if (QaQuestionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(QaQuestionId); + } + if (QuestionBody.Length != 0) { + output.WriteRawTag(26); + output.WriteString(QuestionBody); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (QaScorecardId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(QaScorecardId); + } + if (QaQuestionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(QaQuestionId); + } + if (QuestionBody.Length != 0) { + output.WriteRawTag(26); + output.WriteString(QuestionBody); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (QaScorecardId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QaScorecardId); + } + if (QaQuestionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QaQuestionId); + } + if (QuestionBody.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QuestionBody); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaQuestionDimensionMetadata other) { + if (other == null) { + return; + } + if (other.QaScorecardId.Length != 0) { + QaScorecardId = other.QaScorecardId; + } + if (other.QaQuestionId.Length != 0) { + QaQuestionId = other.QaQuestionId; + } + if (other.QuestionBody.Length != 0) { + QuestionBody = other.QuestionBody; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + QaScorecardId = input.ReadString(); + break; + } + case 18: { + QaQuestionId = input.ReadString(); + break; + } + case 26: { + QuestionBody = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + QaScorecardId = input.ReadString(); + break; + } + case 18: { + QaQuestionId = input.ReadString(); + break; + } + case 26: { + QuestionBody = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Metadata about the QA question-answer dimension. + /// This is useful for showing the answer distribution for questions for a + /// given scorecard. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaQuestionAnswerDimensionMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaQuestionAnswerDimensionMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Dimension.Descriptor.NestedTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionAnswerDimensionMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionAnswerDimensionMetadata(QaQuestionAnswerDimensionMetadata other) : this() { + qaScorecardId_ = other.qaScorecardId_; + qaQuestionId_ = other.qaQuestionId_; + questionBody_ = other.questionBody_; + answerValue_ = other.answerValue_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionAnswerDimensionMetadata Clone() { + return new QaQuestionAnswerDimensionMetadata(this); + } + + /// Field number for the "qa_scorecard_id" field. + public const int QaScorecardIdFieldNumber = 1; + private string qaScorecardId_ = ""; + /// + /// Optional. The QA scorecard ID. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QaScorecardId { + get { return qaScorecardId_; } + set { + qaScorecardId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "qa_question_id" field. + public const int QaQuestionIdFieldNumber = 2; + private string qaQuestionId_ = ""; + /// + /// Optional. The QA question ID. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QaQuestionId { + get { return qaQuestionId_; } + set { + qaQuestionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "question_body" field. + public const int QuestionBodyFieldNumber = 3; + private string questionBody_ = ""; + /// + /// Optional. The full body of the question. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QuestionBody { + get { return questionBody_; } + set { + questionBody_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "answer_value" field. + public const int AnswerValueFieldNumber = 4; + private string answerValue_ = ""; + /// + /// Optional. The full body of the question. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AnswerValue { + get { return answerValue_; } + set { + answerValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaQuestionAnswerDimensionMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaQuestionAnswerDimensionMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (QaScorecardId != other.QaScorecardId) return false; + if (QaQuestionId != other.QaQuestionId) return false; + if (QuestionBody != other.QuestionBody) return false; + if (AnswerValue != other.AnswerValue) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (QaScorecardId.Length != 0) hash ^= QaScorecardId.GetHashCode(); + if (QaQuestionId.Length != 0) hash ^= QaQuestionId.GetHashCode(); + if (QuestionBody.Length != 0) hash ^= QuestionBody.GetHashCode(); + if (AnswerValue.Length != 0) hash ^= AnswerValue.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (QaScorecardId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(QaScorecardId); + } + if (QaQuestionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(QaQuestionId); + } + if (QuestionBody.Length != 0) { + output.WriteRawTag(26); + output.WriteString(QuestionBody); + } + if (AnswerValue.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AnswerValue); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (QaScorecardId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(QaScorecardId); + } + if (QaQuestionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(QaQuestionId); + } + if (QuestionBody.Length != 0) { + output.WriteRawTag(26); + output.WriteString(QuestionBody); + } + if (AnswerValue.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AnswerValue); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (QaScorecardId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QaScorecardId); + } + if (QaQuestionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QaQuestionId); + } + if (QuestionBody.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QuestionBody); + } + if (AnswerValue.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AnswerValue); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaQuestionAnswerDimensionMetadata other) { + if (other == null) { + return; + } + if (other.QaScorecardId.Length != 0) { + QaScorecardId = other.QaScorecardId; + } + if (other.QaQuestionId.Length != 0) { + QaQuestionId = other.QaQuestionId; + } + if (other.QuestionBody.Length != 0) { + QuestionBody = other.QuestionBody; + } + if (other.AnswerValue.Length != 0) { + AnswerValue = other.AnswerValue; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + QaScorecardId = input.ReadString(); + break; + } + case 18: { + QaQuestionId = input.ReadString(); + break; + } + case 26: { + QuestionBody = input.ReadString(); + break; + } + case 34: { + AnswerValue = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + QaScorecardId = input.ReadString(); + break; + } + case 18: { + QaQuestionId = input.ReadString(); + break; + } + case 26: { + QuestionBody = input.ReadString(); + break; + } + case 34: { + AnswerValue = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// The request for querying metrics. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QueryMetricsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QueryMetricsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[80]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryMetricsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryMetricsRequest(QueryMetricsRequest other) : this() { + location_ = other.location_; + filter_ = other.filter_; + timeGranularity_ = other.timeGranularity_; + dimensions_ = other.dimensions_.Clone(); + measureMask_ = other.measureMask_ != null ? other.measureMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryMetricsRequest Clone() { + return new QueryMetricsRequest(this); + } + + /// Field number for the "location" field. + public const int LocationFieldNumber = 1; + private string location_ = ""; + /// + /// Required. The location of the data. + /// "projects/{project}/locations/{location}" + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Location { + get { return location_; } + set { + location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 2; + private string filter_ = ""; + /// + /// Required. Filter to select a subset of conversations to compute the + /// metrics. Must specify a window of the conversation create time to compute + /// the metrics. The returned metrics will be from the range [DATE(starting + /// create time), DATE(ending create time)). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "time_granularity" field. + public const int TimeGranularityFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Types.TimeGranularity timeGranularity_ = global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Types.TimeGranularity.Unspecified; + /// + /// The time granularity of each data point in the time series. + /// Defaults to NONE if this field is unspecified. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Types.TimeGranularity TimeGranularity { + get { return timeGranularity_; } + set { + timeGranularity_ = value; + } + } + + /// Field number for the "dimensions" field. + public const int DimensionsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_dimensions_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.ContactCenterInsights.V1.Dimension.Parser); + private readonly pbc::RepeatedField dimensions_ = new pbc::RepeatedField(); + /// + /// The dimensions that determine the grouping key for the query. Defaults to + /// no dimension if this field is unspecified. If a dimension is specified, + /// its key must also be specified. Each dimension's key must be unique. + /// + /// If a time granularity is also specified, metric values in the dimension + /// will be bucketed by this granularity. + /// + /// Up to one dimension is supported for now. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Dimensions { + get { return dimensions_; } + } + + /// Field number for the "measure_mask" field. + public const int MeasureMaskFieldNumber = 5; + private global::Google.Protobuf.WellKnownTypes.FieldMask measureMask_; + /// + /// Measures to return. Defaults to all measures if this field is unspecified. + /// A valid mask should traverse from the `measure` field from the response. + /// For example, a path from a measure mask to get the conversation count is + /// "conversation_measure.count". + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask MeasureMask { + get { return measureMask_; } + set { + measureMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QueryMetricsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QueryMetricsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Location != other.Location) return false; + if (Filter != other.Filter) return false; + if (TimeGranularity != other.TimeGranularity) return false; + if(!dimensions_.Equals(other.dimensions_)) return false; + if (!object.Equals(MeasureMask, other.MeasureMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Location.Length != 0) hash ^= Location.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (TimeGranularity != global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Types.TimeGranularity.Unspecified) hash ^= TimeGranularity.GetHashCode(); + hash ^= dimensions_.GetHashCode(); + if (measureMask_ != null) hash ^= MeasureMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Location.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Location); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (TimeGranularity != global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Types.TimeGranularity.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) TimeGranularity); + } + dimensions_.WriteTo(output, _repeated_dimensions_codec); + if (measureMask_ != null) { + output.WriteRawTag(42); + output.WriteMessage(MeasureMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Location.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Location); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (TimeGranularity != global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Types.TimeGranularity.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) TimeGranularity); + } + dimensions_.WriteTo(ref output, _repeated_dimensions_codec); + if (measureMask_ != null) { + output.WriteRawTag(42); + output.WriteMessage(MeasureMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Location.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Location); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (TimeGranularity != global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Types.TimeGranularity.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TimeGranularity); + } + size += dimensions_.CalculateSize(_repeated_dimensions_codec); + if (measureMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MeasureMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QueryMetricsRequest other) { + if (other == null) { + return; + } + if (other.Location.Length != 0) { + Location = other.Location; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + if (other.TimeGranularity != global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Types.TimeGranularity.Unspecified) { + TimeGranularity = other.TimeGranularity; + } + dimensions_.Add(other.dimensions_); + if (other.measureMask_ != null) { + if (measureMask_ == null) { + MeasureMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + MeasureMask.MergeFrom(other.MeasureMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Location = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 24: { + TimeGranularity = (global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Types.TimeGranularity) input.ReadEnum(); + break; + } + case 34: { + dimensions_.AddEntriesFrom(input, _repeated_dimensions_codec); + break; + } + case 42: { + if (measureMask_ == null) { + MeasureMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(MeasureMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Location = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 24: { + TimeGranularity = (global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Types.TimeGranularity) input.ReadEnum(); + break; + } + case 34: { + dimensions_.AddEntriesFrom(ref input, _repeated_dimensions_codec); + break; + } + case 42: { + if (measureMask_ == null) { + MeasureMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(MeasureMask); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the QueryMetricsRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// A time granularity divides the time line into discrete time periods. + /// This is useful for defining buckets over which filtering and aggregation + /// should be performed. + /// + public enum TimeGranularity { + /// + /// The time granularity is unspecified and will default to NONE. + /// + [pbr::OriginalName("TIME_GRANULARITY_UNSPECIFIED")] Unspecified = 0, + /// + /// No time granularity. The response won't contain a time series. + /// This is the default value if no time granularity is specified. + /// + [pbr::OriginalName("NONE")] None = 1, + /// + /// Data points in the time series will aggregate at a daily granularity. + /// 1 day means [midnight to midnight). + /// + [pbr::OriginalName("DAILY")] Daily = 2, + /// + /// Data points in the time series will aggregate at a daily granularity. + /// 1 HOUR means [01:00 to 02:00). + /// + [pbr::OriginalName("HOURLY")] Hourly = 3, + /// + /// Data points in the time series will aggregate at a daily granularity. + /// PER_MINUTE means [01:00 to 01:01). + /// + [pbr::OriginalName("PER_MINUTE")] PerMinute = 4, + /// + /// Data points in the time series will aggregate at a 1 minute granularity. + /// PER_5_MINUTES means [01:00 to 01:05). + /// + [pbr::OriginalName("PER_5_MINUTES")] Per5Minutes = 5, + /// + /// Data points in the time series will aggregate at a monthly granularity. + /// 1 MONTH means [01st of the month to 1st of the next month). + /// + [pbr::OriginalName("MONTHLY")] Monthly = 6, + } + + } + #endregion + + } + + /// + /// The response for querying metrics. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QueryMetricsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QueryMetricsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[81]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryMetricsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryMetricsResponse(QueryMetricsResponse other) : this() { + location_ = other.location_; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + slices_ = other.slices_.Clone(); + macroAverageSlice_ = other.macroAverageSlice_ != null ? other.macroAverageSlice_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryMetricsResponse Clone() { + return new QueryMetricsResponse(this); + } + + /// Field number for the "location" field. + public const int LocationFieldNumber = 1; + private string location_ = ""; + /// + /// Required. The location of the data. + /// "projects/{project}/locations/{location}" + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Location { + get { return location_; } + set { + location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// The metrics last update time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + /// Field number for the "slices" field. + public const int SlicesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_slices_codec + = pb::FieldCodec.ForMessage(18, global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Parser); + private readonly pbc::RepeatedField slices_ = new pbc::RepeatedField(); + /// + /// A slice contains a total and (if the request specified a time granularity) + /// a time series of metric values. Each slice contains a unique combination of + /// the cardinality of dimensions from the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Slices { + get { return slices_; } + } + + /// Field number for the "macro_average_slice" field. + public const int MacroAverageSliceFieldNumber = 4; + private global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice macroAverageSlice_; + /// + /// The macro average slice contains aggregated averages across the selected + /// dimension. i.e. if group_by agent is specified this field will contain the + /// average across all agents. + /// This field is only populated if the request specifies a Dimension. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice MacroAverageSlice { + get { return macroAverageSlice_; } + set { + macroAverageSlice_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QueryMetricsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QueryMetricsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Location != other.Location) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + if(!slices_.Equals(other.slices_)) return false; + if (!object.Equals(MacroAverageSlice, other.MacroAverageSlice)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Location.Length != 0) hash ^= Location.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + hash ^= slices_.GetHashCode(); + if (macroAverageSlice_ != null) hash ^= MacroAverageSlice.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Location.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Location); + } + slices_.WriteTo(output, _repeated_slices_codec); + if (updateTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(UpdateTime); + } + if (macroAverageSlice_ != null) { + output.WriteRawTag(34); + output.WriteMessage(MacroAverageSlice); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Location.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Location); + } + slices_.WriteTo(ref output, _repeated_slices_codec); + if (updateTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(UpdateTime); + } + if (macroAverageSlice_ != null) { + output.WriteRawTag(34); + output.WriteMessage(MacroAverageSlice); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Location.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Location); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + size += slices_.CalculateSize(_repeated_slices_codec); + if (macroAverageSlice_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MacroAverageSlice); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QueryMetricsResponse other) { + if (other == null) { + return; + } + if (other.Location.Length != 0) { + Location = other.Location; + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + slices_.Add(other.slices_); + if (other.macroAverageSlice_ != null) { + if (macroAverageSlice_ == null) { + MacroAverageSlice = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice(); + } + MacroAverageSlice.MergeFrom(other.MacroAverageSlice); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Location = input.ReadString(); + break; + } + case 18: { + slices_.AddEntriesFrom(input, _repeated_slices_codec); + break; + } + case 26: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 34: { + if (macroAverageSlice_ == null) { + MacroAverageSlice = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice(); + } + input.ReadMessage(MacroAverageSlice); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Location = input.ReadString(); + break; + } + case 18: { + slices_.AddEntriesFrom(ref input, _repeated_slices_codec); + break; + } + case 26: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 34: { + if (macroAverageSlice_ == null) { + MacroAverageSlice = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice(); + } + input.ReadMessage(MacroAverageSlice); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the QueryMetricsResponse message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// A slice contains a total and (if the request specified a time granularity) + /// a time series of metric values. Each slice contains a unique combination of + /// the cardinality of dimensions from the request. + /// + /// For example, if the request specifies a single ISSUE dimension and it has a + /// cardinality of 2 (i.e. the data used to compute the metrics has 2 issues in + /// total), the response will have 2 slices: + /// + /// * Slice 1 -> dimensions=[Issue 1] + /// * Slice 2 -> dimensions=[Issue 2] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Slice : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Slice()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Slice() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Slice(Slice other) : this() { + dimensions_ = other.dimensions_.Clone(); + total_ = other.total_ != null ? other.total_.Clone() : null; + timeSeries_ = other.timeSeries_ != null ? other.timeSeries_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Slice Clone() { + return new Slice(this); + } + + /// Field number for the "dimensions" field. + public const int DimensionsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_dimensions_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.Dimension.Parser); + private readonly pbc::RepeatedField dimensions_ = new pbc::RepeatedField(); + /// + /// A unique combination of dimensions that this slice represents. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Dimensions { + get { return dimensions_; } + } + + /// Field number for the "total" field. + public const int TotalFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint total_; + /// + /// The total metric value. The interval of this data point is + /// [starting create time, ending create time) from the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint Total { + get { return total_; } + set { + total_ = value; + } + } + + /// Field number for the "time_series" field. + public const int TimeSeriesFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.TimeSeries timeSeries_; + /// + /// A time series of metric values. This is only populated if the request + /// specifies a time granularity other than NONE. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.TimeSeries TimeSeries { + get { return timeSeries_; } + set { + timeSeries_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Slice); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Slice other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!dimensions_.Equals(other.dimensions_)) return false; + if (!object.Equals(Total, other.Total)) return false; + if (!object.Equals(TimeSeries, other.TimeSeries)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= dimensions_.GetHashCode(); + if (total_ != null) hash ^= Total.GetHashCode(); + if (timeSeries_ != null) hash ^= TimeSeries.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + dimensions_.WriteTo(output, _repeated_dimensions_codec); + if (total_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Total); + } + if (timeSeries_ != null) { + output.WriteRawTag(26); + output.WriteMessage(TimeSeries); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + dimensions_.WriteTo(ref output, _repeated_dimensions_codec); + if (total_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Total); + } + if (timeSeries_ != null) { + output.WriteRawTag(26); + output.WriteMessage(TimeSeries); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += dimensions_.CalculateSize(_repeated_dimensions_codec); + if (total_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Total); + } + if (timeSeries_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TimeSeries); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Slice other) { + if (other == null) { + return; + } + dimensions_.Add(other.dimensions_); + if (other.total_ != null) { + if (total_ == null) { + Total = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint(); + } + Total.MergeFrom(other.Total); + } + if (other.timeSeries_ != null) { + if (timeSeries_ == null) { + TimeSeries = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.TimeSeries(); + } + TimeSeries.MergeFrom(other.TimeSeries); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + dimensions_.AddEntriesFrom(input, _repeated_dimensions_codec); + break; + } + case 18: { + if (total_ == null) { + Total = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint(); + } + input.ReadMessage(Total); + break; + } + case 26: { + if (timeSeries_ == null) { + TimeSeries = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.TimeSeries(); + } + input.ReadMessage(TimeSeries); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + dimensions_.AddEntriesFrom(ref input, _repeated_dimensions_codec); + break; + } + case 18: { + if (total_ == null) { + Total = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint(); + } + input.ReadMessage(Total); + break; + } + case 26: { + if (timeSeries_ == null) { + TimeSeries = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.TimeSeries(); + } + input.ReadMessage(TimeSeries); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Slice message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// A data point contains the metric values mapped to an interval. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DataPoint : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DataPoint()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataPoint() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataPoint(DataPoint other) : this() { + interval_ = other.interval_ != null ? other.interval_.Clone() : null; + switch (other.MeasureCase) { + case MeasureOneofCase.ConversationMeasure: + ConversationMeasure = other.ConversationMeasure.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataPoint Clone() { + return new DataPoint(this); + } + + /// Field number for the "conversation_measure" field. + public const int ConversationMeasureFieldNumber = 2; + /// + /// The measure related to conversations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure ConversationMeasure { + get { return measureCase_ == MeasureOneofCase.ConversationMeasure ? (global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure) measure_ : null; } + set { + measure_ = value; + measureCase_ = value == null ? MeasureOneofCase.None : MeasureOneofCase.ConversationMeasure; + } + } + + /// Field number for the "interval" field. + public const int IntervalFieldNumber = 1; + private global::Google.Type.Interval interval_; + /// + /// The interval that this data point represents. + /// + /// * If this is the total data point, the interval is + /// [starting create time, ending create time) from the request. + /// * If this a data point from the time series, the interval is + /// [time, time + time granularity from the request). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Type.Interval Interval { + get { return interval_; } + set { + interval_ = value; + } + } + + private object measure_; + /// Enum of possible cases for the "measure" oneof. + public enum MeasureOneofCase { + None = 0, + ConversationMeasure = 2, + } + private MeasureOneofCase measureCase_ = MeasureOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MeasureOneofCase MeasureCase { + get { return measureCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMeasure() { + measureCase_ = MeasureOneofCase.None; + measure_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DataPoint); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DataPoint other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ConversationMeasure, other.ConversationMeasure)) return false; + if (!object.Equals(Interval, other.Interval)) return false; + if (MeasureCase != other.MeasureCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (measureCase_ == MeasureOneofCase.ConversationMeasure) hash ^= ConversationMeasure.GetHashCode(); + if (interval_ != null) hash ^= Interval.GetHashCode(); + hash ^= (int) measureCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (interval_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Interval); + } + if (measureCase_ == MeasureOneofCase.ConversationMeasure) { + output.WriteRawTag(18); + output.WriteMessage(ConversationMeasure); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (interval_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Interval); + } + if (measureCase_ == MeasureOneofCase.ConversationMeasure) { + output.WriteRawTag(18); + output.WriteMessage(ConversationMeasure); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (measureCase_ == MeasureOneofCase.ConversationMeasure) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConversationMeasure); + } + if (interval_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Interval); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DataPoint other) { + if (other == null) { + return; + } + if (other.interval_ != null) { + if (interval_ == null) { + Interval = new global::Google.Type.Interval(); + } + Interval.MergeFrom(other.Interval); + } + switch (other.MeasureCase) { + case MeasureOneofCase.ConversationMeasure: + if (ConversationMeasure == null) { + ConversationMeasure = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure(); + } + ConversationMeasure.MergeFrom(other.ConversationMeasure); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (interval_ == null) { + Interval = new global::Google.Type.Interval(); + } + input.ReadMessage(Interval); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure(); + if (measureCase_ == MeasureOneofCase.ConversationMeasure) { + subBuilder.MergeFrom(ConversationMeasure); + } + input.ReadMessage(subBuilder); + ConversationMeasure = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (interval_ == null) { + Interval = new global::Google.Type.Interval(); + } + input.ReadMessage(Interval); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure(); + if (measureCase_ == MeasureOneofCase.ConversationMeasure) { + subBuilder.MergeFrom(ConversationMeasure); + } + input.ReadMessage(subBuilder); + ConversationMeasure = subBuilder; + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the DataPoint message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The measure related to conversations. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConversationMeasure : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConversationMeasure()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationMeasure() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationMeasure(ConversationMeasure other) : this() { + _hasBits0 = other._hasBits0; + conversationCount_ = other.conversationCount_; + averageSilencePercentage_ = other.averageSilencePercentage_; + averageDuration_ = other.averageDuration_ != null ? other.averageDuration_.Clone() : null; + averageTurnCount_ = other.averageTurnCount_; + averageAgentSentimentScore_ = other.averageAgentSentimentScore_; + averageClientSentimentScore_ = other.averageClientSentimentScore_; + averageCustomerSatisfactionRating_ = other.averageCustomerSatisfactionRating_; + averageQaNormalizedScore_ = other.averageQaNormalizedScore_; + qaTagScores_ = other.qaTagScores_.Clone(); + averageQaQuestionNormalizedScore_ = other.averageQaQuestionNormalizedScore_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationMeasure Clone() { + return new ConversationMeasure(this); + } + + /// Field number for the "conversation_count" field. + public const int ConversationCountFieldNumber = 1; + private readonly static int ConversationCountDefaultValue = 0; + + private int conversationCount_; + /// + /// The conversation count. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ConversationCount { + get { if ((_hasBits0 & 1) != 0) { return conversationCount_; } else { return ConversationCountDefaultValue; } } + set { + _hasBits0 |= 1; + conversationCount_ = value; + } + } + /// Gets whether the "conversation_count" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasConversationCount { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "conversation_count" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearConversationCount() { + _hasBits0 &= ~1; + } + + /// Field number for the "average_silence_percentage" field. + public const int AverageSilencePercentageFieldNumber = 2; + private readonly static float AverageSilencePercentageDefaultValue = 0F; + + private float averageSilencePercentage_; + /// + /// The average silence percentage. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float AverageSilencePercentage { + get { if ((_hasBits0 & 2) != 0) { return averageSilencePercentage_; } else { return AverageSilencePercentageDefaultValue; } } + set { + _hasBits0 |= 2; + averageSilencePercentage_ = value; + } + } + /// Gets whether the "average_silence_percentage" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAverageSilencePercentage { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "average_silence_percentage" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAverageSilencePercentage() { + _hasBits0 &= ~2; + } + + /// Field number for the "average_duration" field. + public const int AverageDurationFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Duration averageDuration_; + /// + /// The average duration. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Duration AverageDuration { + get { return averageDuration_; } + set { + averageDuration_ = value; + } + } + + /// Field number for the "average_turn_count" field. + public const int AverageTurnCountFieldNumber = 4; + private readonly static float AverageTurnCountDefaultValue = 0F; + + private float averageTurnCount_; + /// + /// The average turn count. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float AverageTurnCount { + get { if ((_hasBits0 & 4) != 0) { return averageTurnCount_; } else { return AverageTurnCountDefaultValue; } } + set { + _hasBits0 |= 4; + averageTurnCount_ = value; + } + } + /// Gets whether the "average_turn_count" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAverageTurnCount { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "average_turn_count" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAverageTurnCount() { + _hasBits0 &= ~4; + } + + /// Field number for the "average_agent_sentiment_score" field. + public const int AverageAgentSentimentScoreFieldNumber = 5; + private readonly static float AverageAgentSentimentScoreDefaultValue = 0F; + + private float averageAgentSentimentScore_; + /// + /// The average agent's sentiment score. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float AverageAgentSentimentScore { + get { if ((_hasBits0 & 8) != 0) { return averageAgentSentimentScore_; } else { return AverageAgentSentimentScoreDefaultValue; } } + set { + _hasBits0 |= 8; + averageAgentSentimentScore_ = value; + } + } + /// Gets whether the "average_agent_sentiment_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAverageAgentSentimentScore { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "average_agent_sentiment_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAverageAgentSentimentScore() { + _hasBits0 &= ~8; + } + + /// Field number for the "average_client_sentiment_score" field. + public const int AverageClientSentimentScoreFieldNumber = 6; + private readonly static float AverageClientSentimentScoreDefaultValue = 0F; + + private float averageClientSentimentScore_; + /// + /// The average client's sentiment score. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float AverageClientSentimentScore { + get { if ((_hasBits0 & 16) != 0) { return averageClientSentimentScore_; } else { return AverageClientSentimentScoreDefaultValue; } } + set { + _hasBits0 |= 16; + averageClientSentimentScore_ = value; + } + } + /// Gets whether the "average_client_sentiment_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAverageClientSentimentScore { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "average_client_sentiment_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAverageClientSentimentScore() { + _hasBits0 &= ~16; + } + + /// Field number for the "average_customer_satisfaction_rating" field. + public const int AverageCustomerSatisfactionRatingFieldNumber = 8; + private readonly static double AverageCustomerSatisfactionRatingDefaultValue = 0D; + + private double averageCustomerSatisfactionRating_; + /// + /// The average customer satisfaction rating. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double AverageCustomerSatisfactionRating { + get { if ((_hasBits0 & 64) != 0) { return averageCustomerSatisfactionRating_; } else { return AverageCustomerSatisfactionRatingDefaultValue; } } + set { + _hasBits0 |= 64; + averageCustomerSatisfactionRating_ = value; + } + } + /// Gets whether the "average_customer_satisfaction_rating" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAverageCustomerSatisfactionRating { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "average_customer_satisfaction_rating" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAverageCustomerSatisfactionRating() { + _hasBits0 &= ~64; + } + + /// Field number for the "average_qa_normalized_score" field. + public const int AverageQaNormalizedScoreFieldNumber = 7; + private readonly static double AverageQaNormalizedScoreDefaultValue = 0D; + + private double averageQaNormalizedScore_; + /// + /// Average QA normalized score. + /// Will exclude 0's in average calculation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double AverageQaNormalizedScore { + get { if ((_hasBits0 & 32) != 0) { return averageQaNormalizedScore_; } else { return AverageQaNormalizedScoreDefaultValue; } } + set { + _hasBits0 |= 32; + averageQaNormalizedScore_ = value; + } + } + /// Gets whether the "average_qa_normalized_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAverageQaNormalizedScore { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "average_qa_normalized_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAverageQaNormalizedScore() { + _hasBits0 &= ~32; + } + + /// Field number for the "qa_tag_scores" field. + public const int QaTagScoresFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_qaTagScores_codec + = pb::FieldCodec.ForMessage(74, global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure.Types.QaTagScore.Parser); + private readonly pbc::RepeatedField qaTagScores_ = new pbc::RepeatedField(); + /// + /// Average QA normalized score for all the tags. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QaTagScores { + get { return qaTagScores_; } + } + + /// Field number for the "average_qa_question_normalized_score" field. + public const int AverageQaQuestionNormalizedScoreFieldNumber = 10; + private readonly static double AverageQaQuestionNormalizedScoreDefaultValue = 0D; + + private double averageQaQuestionNormalizedScore_; + /// + /// Average QA normalized score averaged for questions averaged across + /// all revisions of the parent scorecard. + /// Will be only populated if the request specifies a dimension of + /// QA_QUESTION_ID. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double AverageQaQuestionNormalizedScore { + get { if ((_hasBits0 & 128) != 0) { return averageQaQuestionNormalizedScore_; } else { return AverageQaQuestionNormalizedScoreDefaultValue; } } + set { + _hasBits0 |= 128; + averageQaQuestionNormalizedScore_ = value; + } + } + /// Gets whether the "average_qa_question_normalized_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAverageQaQuestionNormalizedScore { + get { return (_hasBits0 & 128) != 0; } + } + /// Clears the value of the "average_qa_question_normalized_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAverageQaQuestionNormalizedScore() { + _hasBits0 &= ~128; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConversationMeasure); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConversationMeasure other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ConversationCount != other.ConversationCount) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AverageSilencePercentage, other.AverageSilencePercentage)) return false; + if (!object.Equals(AverageDuration, other.AverageDuration)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AverageTurnCount, other.AverageTurnCount)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AverageAgentSentimentScore, other.AverageAgentSentimentScore)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AverageClientSentimentScore, other.AverageClientSentimentScore)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(AverageCustomerSatisfactionRating, other.AverageCustomerSatisfactionRating)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(AverageQaNormalizedScore, other.AverageQaNormalizedScore)) return false; + if(!qaTagScores_.Equals(other.qaTagScores_)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(AverageQaQuestionNormalizedScore, other.AverageQaQuestionNormalizedScore)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasConversationCount) hash ^= ConversationCount.GetHashCode(); + if (HasAverageSilencePercentage) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AverageSilencePercentage); + if (averageDuration_ != null) hash ^= AverageDuration.GetHashCode(); + if (HasAverageTurnCount) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AverageTurnCount); + if (HasAverageAgentSentimentScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AverageAgentSentimentScore); + if (HasAverageClientSentimentScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AverageClientSentimentScore); + if (HasAverageCustomerSatisfactionRating) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AverageCustomerSatisfactionRating); + if (HasAverageQaNormalizedScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AverageQaNormalizedScore); + hash ^= qaTagScores_.GetHashCode(); + if (HasAverageQaQuestionNormalizedScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AverageQaQuestionNormalizedScore); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasConversationCount) { + output.WriteRawTag(8); + output.WriteInt32(ConversationCount); + } + if (HasAverageSilencePercentage) { + output.WriteRawTag(21); + output.WriteFloat(AverageSilencePercentage); + } + if (averageDuration_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AverageDuration); + } + if (HasAverageTurnCount) { + output.WriteRawTag(37); + output.WriteFloat(AverageTurnCount); + } + if (HasAverageAgentSentimentScore) { + output.WriteRawTag(45); + output.WriteFloat(AverageAgentSentimentScore); + } + if (HasAverageClientSentimentScore) { + output.WriteRawTag(53); + output.WriteFloat(AverageClientSentimentScore); + } + if (HasAverageQaNormalizedScore) { + output.WriteRawTag(57); + output.WriteDouble(AverageQaNormalizedScore); + } + if (HasAverageCustomerSatisfactionRating) { + output.WriteRawTag(65); + output.WriteDouble(AverageCustomerSatisfactionRating); + } + qaTagScores_.WriteTo(output, _repeated_qaTagScores_codec); + if (HasAverageQaQuestionNormalizedScore) { + output.WriteRawTag(81); + output.WriteDouble(AverageQaQuestionNormalizedScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasConversationCount) { + output.WriteRawTag(8); + output.WriteInt32(ConversationCount); + } + if (HasAverageSilencePercentage) { + output.WriteRawTag(21); + output.WriteFloat(AverageSilencePercentage); + } + if (averageDuration_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AverageDuration); + } + if (HasAverageTurnCount) { + output.WriteRawTag(37); + output.WriteFloat(AverageTurnCount); + } + if (HasAverageAgentSentimentScore) { + output.WriteRawTag(45); + output.WriteFloat(AverageAgentSentimentScore); + } + if (HasAverageClientSentimentScore) { + output.WriteRawTag(53); + output.WriteFloat(AverageClientSentimentScore); + } + if (HasAverageQaNormalizedScore) { + output.WriteRawTag(57); + output.WriteDouble(AverageQaNormalizedScore); + } + if (HasAverageCustomerSatisfactionRating) { + output.WriteRawTag(65); + output.WriteDouble(AverageCustomerSatisfactionRating); + } + qaTagScores_.WriteTo(ref output, _repeated_qaTagScores_codec); + if (HasAverageQaQuestionNormalizedScore) { + output.WriteRawTag(81); + output.WriteDouble(AverageQaQuestionNormalizedScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasConversationCount) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ConversationCount); + } + if (HasAverageSilencePercentage) { + size += 1 + 4; + } + if (averageDuration_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AverageDuration); + } + if (HasAverageTurnCount) { + size += 1 + 4; + } + if (HasAverageAgentSentimentScore) { + size += 1 + 4; + } + if (HasAverageClientSentimentScore) { + size += 1 + 4; + } + if (HasAverageCustomerSatisfactionRating) { + size += 1 + 8; + } + if (HasAverageQaNormalizedScore) { + size += 1 + 8; + } + size += qaTagScores_.CalculateSize(_repeated_qaTagScores_codec); + if (HasAverageQaQuestionNormalizedScore) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConversationMeasure other) { + if (other == null) { + return; + } + if (other.HasConversationCount) { + ConversationCount = other.ConversationCount; + } + if (other.HasAverageSilencePercentage) { + AverageSilencePercentage = other.AverageSilencePercentage; + } + if (other.averageDuration_ != null) { + if (averageDuration_ == null) { + AverageDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + AverageDuration.MergeFrom(other.AverageDuration); + } + if (other.HasAverageTurnCount) { + AverageTurnCount = other.AverageTurnCount; + } + if (other.HasAverageAgentSentimentScore) { + AverageAgentSentimentScore = other.AverageAgentSentimentScore; + } + if (other.HasAverageClientSentimentScore) { + AverageClientSentimentScore = other.AverageClientSentimentScore; + } + if (other.HasAverageCustomerSatisfactionRating) { + AverageCustomerSatisfactionRating = other.AverageCustomerSatisfactionRating; + } + if (other.HasAverageQaNormalizedScore) { + AverageQaNormalizedScore = other.AverageQaNormalizedScore; + } + qaTagScores_.Add(other.qaTagScores_); + if (other.HasAverageQaQuestionNormalizedScore) { + AverageQaQuestionNormalizedScore = other.AverageQaQuestionNormalizedScore; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ConversationCount = input.ReadInt32(); + break; + } + case 21: { + AverageSilencePercentage = input.ReadFloat(); + break; + } + case 26: { + if (averageDuration_ == null) { + AverageDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(AverageDuration); + break; + } + case 37: { + AverageTurnCount = input.ReadFloat(); + break; + } + case 45: { + AverageAgentSentimentScore = input.ReadFloat(); + break; + } + case 53: { + AverageClientSentimentScore = input.ReadFloat(); + break; + } + case 57: { + AverageQaNormalizedScore = input.ReadDouble(); + break; + } + case 65: { + AverageCustomerSatisfactionRating = input.ReadDouble(); + break; + } + case 74: { + qaTagScores_.AddEntriesFrom(input, _repeated_qaTagScores_codec); + break; + } + case 81: { + AverageQaQuestionNormalizedScore = input.ReadDouble(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ConversationCount = input.ReadInt32(); + break; + } + case 21: { + AverageSilencePercentage = input.ReadFloat(); + break; + } + case 26: { + if (averageDuration_ == null) { + AverageDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(AverageDuration); + break; + } + case 37: { + AverageTurnCount = input.ReadFloat(); + break; + } + case 45: { + AverageAgentSentimentScore = input.ReadFloat(); + break; + } + case 53: { + AverageClientSentimentScore = input.ReadFloat(); + break; + } + case 57: { + AverageQaNormalizedScore = input.ReadDouble(); + break; + } + case 65: { + AverageCustomerSatisfactionRating = input.ReadDouble(); + break; + } + case 74: { + qaTagScores_.AddEntriesFrom(ref input, _repeated_qaTagScores_codec); + break; + } + case 81: { + AverageQaQuestionNormalizedScore = input.ReadDouble(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ConversationMeasure message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Average QA normalized score for the tag. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaTagScore : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaTagScore()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Types.ConversationMeasure.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaTagScore() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaTagScore(QaTagScore other) : this() { + tag_ = other.tag_; + averageTagNormalizedScore_ = other.averageTagNormalizedScore_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaTagScore Clone() { + return new QaTagScore(this); + } + + /// Field number for the "tag" field. + public const int TagFieldNumber = 1; + private string tag_ = ""; + /// + /// Tag name. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag { + get { return tag_; } + set { + tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "average_tag_normalized_score" field. + public const int AverageTagNormalizedScoreFieldNumber = 2; + private double averageTagNormalizedScore_; + /// + /// Average tag normalized score per tag. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double AverageTagNormalizedScore { + get { return averageTagNormalizedScore_; } + set { + averageTagNormalizedScore_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaTagScore); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaTagScore other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Tag != other.Tag) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(AverageTagNormalizedScore, other.AverageTagNormalizedScore)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Tag.Length != 0) hash ^= Tag.GetHashCode(); + if (AverageTagNormalizedScore != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AverageTagNormalizedScore); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Tag.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Tag); + } + if (AverageTagNormalizedScore != 0D) { + output.WriteRawTag(17); + output.WriteDouble(AverageTagNormalizedScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Tag.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Tag); + } + if (AverageTagNormalizedScore != 0D) { + output.WriteRawTag(17); + output.WriteDouble(AverageTagNormalizedScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Tag.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); + } + if (AverageTagNormalizedScore != 0D) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaTagScore other) { + if (other == null) { + return; + } + if (other.Tag.Length != 0) { + Tag = other.Tag; + } + if (other.AverageTagNormalizedScore != 0D) { + AverageTagNormalizedScore = other.AverageTagNormalizedScore; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Tag = input.ReadString(); + break; + } + case 17: { + AverageTagNormalizedScore = input.ReadDouble(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Tag = input.ReadString(); + break; + } + case 17: { + AverageTagNormalizedScore = input.ReadDouble(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// A time series of metric values. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TimeSeries : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TimeSeries()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TimeSeries() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TimeSeries(TimeSeries other) : this() { + dataPoints_ = other.dataPoints_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TimeSeries Clone() { + return new TimeSeries(this); + } + + /// Field number for the "data_points" field. + public const int DataPointsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_dataPoints_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsResponse.Types.Slice.Types.DataPoint.Parser); + private readonly pbc::RepeatedField dataPoints_ = new pbc::RepeatedField(); + /// + /// The data points that make up the time series . + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DataPoints { + get { return dataPoints_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TimeSeries); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TimeSeries other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!dataPoints_.Equals(other.dataPoints_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= dataPoints_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + dataPoints_.WriteTo(output, _repeated_dataPoints_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + dataPoints_.WriteTo(ref output, _repeated_dataPoints_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += dataPoints_.CalculateSize(_repeated_dataPoints_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TimeSeries other) { + if (other == null) { + return; + } + dataPoints_.Add(other.dataPoints_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 34: { + dataPoints_.AddEntriesFrom(input, _repeated_dataPoints_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 34: { + dataPoints_.AddEntriesFrom(ref input, _repeated_dataPoints_codec); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// The metadata from querying metrics. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QueryMetricsMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QueryMetricsMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[82]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryMetricsMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryMetricsMetadata(QueryMetricsMetadata other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QueryMetricsMetadata Clone() { + return new QueryMetricsMetadata(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QueryMetricsMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QueryMetricsMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QueryMetricsMetadata other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// The request for creating a QaQuestion. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateQaQuestionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateQaQuestionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[83]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateQaQuestionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateQaQuestionRequest(CreateQaQuestionRequest other) : this() { + parent_ = other.parent_; + qaQuestion_ = other.qaQuestion_ != null ? other.qaQuestion_.Clone() : null; + qaQuestionId_ = other.qaQuestionId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateQaQuestionRequest Clone() { + return new CreateQaQuestionRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the QaQuestion. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "qa_question" field. + public const int QaQuestionFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.QaQuestion qaQuestion_; + /// + /// Required. The QaQuestion to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaQuestion QaQuestion { + get { return qaQuestion_; } + set { + qaQuestion_ = value; + } + } + + /// Field number for the "qa_question_id" field. + public const int QaQuestionIdFieldNumber = 3; + private string qaQuestionId_ = ""; + /// + /// Optional. A unique ID for the new question. This ID will become the final + /// component of the question's resource name. If no ID is specified, a + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QaQuestionId { + get { return qaQuestionId_; } + set { + qaQuestionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateQaQuestionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateQaQuestionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(QaQuestion, other.QaQuestion)) return false; + if (QaQuestionId != other.QaQuestionId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (qaQuestion_ != null) hash ^= QaQuestion.GetHashCode(); + if (QaQuestionId.Length != 0) hash ^= QaQuestionId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (qaQuestion_ != null) { + output.WriteRawTag(18); + output.WriteMessage(QaQuestion); + } + if (QaQuestionId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(QaQuestionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (qaQuestion_ != null) { + output.WriteRawTag(18); + output.WriteMessage(QaQuestion); + } + if (QaQuestionId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(QaQuestionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (qaQuestion_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(QaQuestion); + } + if (QaQuestionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QaQuestionId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateQaQuestionRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.qaQuestion_ != null) { + if (qaQuestion_ == null) { + QaQuestion = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion(); + } + QaQuestion.MergeFrom(other.QaQuestion); + } + if (other.QaQuestionId.Length != 0) { + QaQuestionId = other.QaQuestionId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (qaQuestion_ == null) { + QaQuestion = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion(); + } + input.ReadMessage(QaQuestion); + break; + } + case 26: { + QaQuestionId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (qaQuestion_ == null) { + QaQuestion = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion(); + } + input.ReadMessage(QaQuestion); + break; + } + case 26: { + QaQuestionId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for a QaQuestion. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetQaQuestionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetQaQuestionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[84]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetQaQuestionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetQaQuestionRequest(GetQaQuestionRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetQaQuestionRequest Clone() { + return new GetQaQuestionRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the QaQuestion to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetQaQuestionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetQaQuestionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetQaQuestionRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request to list QaQuestions. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListQaQuestionsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListQaQuestionsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[85]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaQuestionsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaQuestionsRequest(ListQaQuestionsRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaQuestionsRequest Clone() { + return new ListQaQuestionsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the questions. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// Optional. The maximum number of questions to return in the response. If the + /// value is zero, the service will select a default size. A call might return + /// fewer objects than requested. A non-empty `next_page_token` in the response + /// indicates that more data is available. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// Optional. The value returned by the last `ListQaQuestionsResponse`. This + /// value indicates that this is a continuation of a prior `ListQaQuestions` + /// call and that the system should return the next page of data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListQaQuestionsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListQaQuestionsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListQaQuestionsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response from a ListQaQuestions request. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListQaQuestionsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListQaQuestionsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[86]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaQuestionsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaQuestionsResponse(ListQaQuestionsResponse other) : this() { + qaQuestions_ = other.qaQuestions_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaQuestionsResponse Clone() { + return new ListQaQuestionsResponse(this); + } + + /// Field number for the "qa_questions" field. + public const int QaQuestionsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_qaQuestions_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Parser); + private readonly pbc::RepeatedField qaQuestions_ = new pbc::RepeatedField(); + /// + /// The QaQuestions under the parent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QaQuestions { + get { return qaQuestions_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListQaQuestionsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListQaQuestionsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!qaQuestions_.Equals(other.qaQuestions_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= qaQuestions_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + qaQuestions_.WriteTo(output, _repeated_qaQuestions_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + qaQuestions_.WriteTo(ref output, _repeated_qaQuestions_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += qaQuestions_.CalculateSize(_repeated_qaQuestions_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListQaQuestionsResponse other) { + if (other == null) { + return; + } + qaQuestions_.Add(other.qaQuestions_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + qaQuestions_.AddEntriesFrom(input, _repeated_qaQuestions_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + qaQuestions_.AddEntriesFrom(ref input, _repeated_qaQuestions_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for updating a QaQuestion. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateQaQuestionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateQaQuestionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[87]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateQaQuestionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateQaQuestionRequest(UpdateQaQuestionRequest other) : this() { + qaQuestion_ = other.qaQuestion_ != null ? other.qaQuestion_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateQaQuestionRequest Clone() { + return new UpdateQaQuestionRequest(this); + } + + /// Field number for the "qa_question" field. + public const int QaQuestionFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.QaQuestion qaQuestion_; + /// + /// Required. The QaQuestion to update. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaQuestion QaQuestion { + get { return qaQuestion_; } + set { + qaQuestion_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// Required. The list of fields to be updated. All possible fields can be + /// updated by passing `*`, or a subset of the following updateable fields can + /// be provided: + /// + /// * `abbreviation` + /// * `answer_choices` + /// * `answer_instructions` + /// * `order` + /// * `question_body` + /// * `tags` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateQaQuestionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateQaQuestionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(QaQuestion, other.QaQuestion)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (qaQuestion_ != null) hash ^= QaQuestion.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (qaQuestion_ != null) { + output.WriteRawTag(10); + output.WriteMessage(QaQuestion); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (qaQuestion_ != null) { + output.WriteRawTag(10); + output.WriteMessage(QaQuestion); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (qaQuestion_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(QaQuestion); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateQaQuestionRequest other) { + if (other == null) { + return; + } + if (other.qaQuestion_ != null) { + if (qaQuestion_ == null) { + QaQuestion = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion(); + } + QaQuestion.MergeFrom(other.QaQuestion); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (qaQuestion_ == null) { + QaQuestion = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion(); + } + input.ReadMessage(QaQuestion); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (qaQuestion_ == null) { + QaQuestion = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion(); + } + input.ReadMessage(QaQuestion); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// The request for deleting a QaQuestion. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteQaQuestionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteQaQuestionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[88]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteQaQuestionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteQaQuestionRequest(DeleteQaQuestionRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteQaQuestionRequest Clone() { + return new DeleteQaQuestionRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the QaQuestion to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteQaQuestionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteQaQuestionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteQaQuestionRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for creating a QaScorecard. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateQaScorecardRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateQaScorecardRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[89]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateQaScorecardRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateQaScorecardRequest(CreateQaScorecardRequest other) : this() { + parent_ = other.parent_; + qaScorecard_ = other.qaScorecard_ != null ? other.qaScorecard_.Clone() : null; + qaScorecardId_ = other.qaScorecardId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateQaScorecardRequest Clone() { + return new CreateQaScorecardRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the QaScorecard. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "qa_scorecard" field. + public const int QaScorecardFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.QaScorecard qaScorecard_; + /// + /// Required. The QaScorecard to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaScorecard QaScorecard { + get { return qaScorecard_; } + set { + qaScorecard_ = value; + } + } + + /// Field number for the "qa_scorecard_id" field. + public const int QaScorecardIdFieldNumber = 3; + private string qaScorecardId_ = ""; + /// + /// Optional. A unique ID for the new QaScorecard. This ID will become the + /// final component of the QaScorecard's resource name. If no ID is specified, + /// a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QaScorecardId { + get { return qaScorecardId_; } + set { + qaScorecardId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateQaScorecardRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateQaScorecardRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(QaScorecard, other.QaScorecard)) return false; + if (QaScorecardId != other.QaScorecardId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (qaScorecard_ != null) hash ^= QaScorecard.GetHashCode(); + if (QaScorecardId.Length != 0) hash ^= QaScorecardId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (qaScorecard_ != null) { + output.WriteRawTag(18); + output.WriteMessage(QaScorecard); + } + if (QaScorecardId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(QaScorecardId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (qaScorecard_ != null) { + output.WriteRawTag(18); + output.WriteMessage(QaScorecard); + } + if (QaScorecardId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(QaScorecardId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (qaScorecard_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(QaScorecard); + } + if (QaScorecardId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QaScorecardId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateQaScorecardRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.qaScorecard_ != null) { + if (qaScorecard_ == null) { + QaScorecard = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecard(); + } + QaScorecard.MergeFrom(other.QaScorecard); + } + if (other.QaScorecardId.Length != 0) { + QaScorecardId = other.QaScorecardId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (qaScorecard_ == null) { + QaScorecard = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecard(); + } + input.ReadMessage(QaScorecard); + break; + } + case 26: { + QaScorecardId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (qaScorecard_ == null) { + QaScorecard = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecard(); + } + input.ReadMessage(QaScorecard); + break; + } + case 26: { + QaScorecardId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for a QaScorecard. By default, returns the latest revision. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetQaScorecardRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetQaScorecardRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[90]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetQaScorecardRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetQaScorecardRequest(GetQaScorecardRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetQaScorecardRequest Clone() { + return new GetQaScorecardRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the QaScorecard to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetQaScorecardRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetQaScorecardRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetQaScorecardRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for updating a QaScorecard. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateQaScorecardRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateQaScorecardRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[91]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateQaScorecardRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateQaScorecardRequest(UpdateQaScorecardRequest other) : this() { + qaScorecard_ = other.qaScorecard_ != null ? other.qaScorecard_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateQaScorecardRequest Clone() { + return new UpdateQaScorecardRequest(this); + } + + /// Field number for the "qa_scorecard" field. + public const int QaScorecardFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.QaScorecard qaScorecard_; + /// + /// Required. The QaScorecard to update. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaScorecard QaScorecard { + get { return qaScorecard_; } + set { + qaScorecard_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// Required. The list of fields to be updated. All possible fields can be + /// updated by passing `*`, or a subset of the following updateable fields can + /// be provided: + /// + /// * `description` + /// * `display_name` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateQaScorecardRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateQaScorecardRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(QaScorecard, other.QaScorecard)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (qaScorecard_ != null) hash ^= QaScorecard.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (qaScorecard_ != null) { + output.WriteRawTag(10); + output.WriteMessage(QaScorecard); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (qaScorecard_ != null) { + output.WriteRawTag(10); + output.WriteMessage(QaScorecard); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (qaScorecard_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(QaScorecard); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateQaScorecardRequest other) { + if (other == null) { + return; + } + if (other.qaScorecard_ != null) { + if (qaScorecard_ == null) { + QaScorecard = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecard(); + } + QaScorecard.MergeFrom(other.QaScorecard); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (qaScorecard_ == null) { + QaScorecard = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecard(); + } + input.ReadMessage(QaScorecard); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (qaScorecard_ == null) { + QaScorecard = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecard(); + } + input.ReadMessage(QaScorecard); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// The request for deleting a QaScorecard. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteQaScorecardRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteQaScorecardRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[92]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteQaScorecardRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteQaScorecardRequest(DeleteQaScorecardRequest other) : this() { + name_ = other.name_; + force_ = other.force_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteQaScorecardRequest Clone() { + return new DeleteQaScorecardRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the QaScorecard to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "force" field. + public const int ForceFieldNumber = 2; + private bool force_; + /// + /// Optional. If set to true, all of this QaScorecard's child resources will + /// also be deleted. Otherwise, the request will only succeed if it has none. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Force { + get { return force_; } + set { + force_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteQaScorecardRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteQaScorecardRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (Force != other.Force) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Force != false) hash ^= Force.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Force != false) { + output.WriteRawTag(16); + output.WriteBool(Force); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Force != false) { + output.WriteRawTag(16); + output.WriteBool(Force); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Force != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteQaScorecardRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Force != false) { + Force = other.Force; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + Force = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + Force = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for creating a QaScorecardRevision. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateQaScorecardRevisionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateQaScorecardRevisionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[93]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateQaScorecardRevisionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateQaScorecardRevisionRequest(CreateQaScorecardRevisionRequest other) : this() { + parent_ = other.parent_; + qaScorecardRevision_ = other.qaScorecardRevision_ != null ? other.qaScorecardRevision_.Clone() : null; + qaScorecardRevisionId_ = other.qaScorecardRevisionId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateQaScorecardRevisionRequest Clone() { + return new CreateQaScorecardRevisionRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the QaScorecardRevision. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "qa_scorecard_revision" field. + public const int QaScorecardRevisionFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision qaScorecardRevision_; + /// + /// Required. The QaScorecardRevision to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision QaScorecardRevision { + get { return qaScorecardRevision_; } + set { + qaScorecardRevision_ = value; + } + } + + /// Field number for the "qa_scorecard_revision_id" field. + public const int QaScorecardRevisionIdFieldNumber = 3; + private string qaScorecardRevisionId_ = ""; + /// + /// Optional. A unique ID for the new QaScorecardRevision. This ID will become + /// the final component of the QaScorecardRevision's resource name. If no ID is + /// specified, a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QaScorecardRevisionId { + get { return qaScorecardRevisionId_; } + set { + qaScorecardRevisionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateQaScorecardRevisionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateQaScorecardRevisionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(QaScorecardRevision, other.QaScorecardRevision)) return false; + if (QaScorecardRevisionId != other.QaScorecardRevisionId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (qaScorecardRevision_ != null) hash ^= QaScorecardRevision.GetHashCode(); + if (QaScorecardRevisionId.Length != 0) hash ^= QaScorecardRevisionId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (qaScorecardRevision_ != null) { + output.WriteRawTag(18); + output.WriteMessage(QaScorecardRevision); + } + if (QaScorecardRevisionId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(QaScorecardRevisionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (qaScorecardRevision_ != null) { + output.WriteRawTag(18); + output.WriteMessage(QaScorecardRevision); + } + if (QaScorecardRevisionId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(QaScorecardRevisionId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (qaScorecardRevision_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(QaScorecardRevision); + } + if (QaScorecardRevisionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QaScorecardRevisionId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateQaScorecardRevisionRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.qaScorecardRevision_ != null) { + if (qaScorecardRevision_ == null) { + QaScorecardRevision = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision(); + } + QaScorecardRevision.MergeFrom(other.QaScorecardRevision); + } + if (other.QaScorecardRevisionId.Length != 0) { + QaScorecardRevisionId = other.QaScorecardRevisionId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (qaScorecardRevision_ == null) { + QaScorecardRevision = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision(); + } + input.ReadMessage(QaScorecardRevision); + break; + } + case 26: { + QaScorecardRevisionId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (qaScorecardRevision_ == null) { + QaScorecardRevision = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision(); + } + input.ReadMessage(QaScorecardRevision); + break; + } + case 26: { + QaScorecardRevisionId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for a QaScorecardRevision. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetQaScorecardRevisionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetQaScorecardRevisionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[94]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetQaScorecardRevisionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetQaScorecardRevisionRequest(GetQaScorecardRevisionRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetQaScorecardRevisionRequest Clone() { + return new GetQaScorecardRevisionRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the QaScorecardRevision to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetQaScorecardRevisionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetQaScorecardRevisionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetQaScorecardRevisionRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request for TuneQaScorecardRevision endpoint. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TuneQaScorecardRevisionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TuneQaScorecardRevisionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[95]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuneQaScorecardRevisionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuneQaScorecardRevisionRequest(TuneQaScorecardRevisionRequest other) : this() { + parent_ = other.parent_; + filter_ = other.filter_; + validateOnly_ = other.validateOnly_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuneQaScorecardRevisionRequest Clone() { + return new TuneQaScorecardRevisionRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource for new fine tuning job instance. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 2; + private string filter_ = ""; + /// + /// Required. Filter for selecting the feedback labels that needs to be + /// used for training. + /// This filter can be used to limit the feedback labels used for tuning to a + /// feedback labels created or updated for a specific time-window etc. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "validate_only" field. + public const int ValidateOnlyFieldNumber = 3; + private bool validateOnly_; + /// + /// Optional. Run in validate only mode, no fine tuning will actually run. + /// Data quality validations like training data distributions will run. + /// Even when set to false, the data quality validations will still run but + /// once the validations complete we will proceed with the fine tune, if + /// applicable. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ValidateOnly { + get { return validateOnly_; } + set { + validateOnly_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TuneQaScorecardRevisionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TuneQaScorecardRevisionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (Filter != other.Filter) return false; + if (ValidateOnly != other.ValidateOnly) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (ValidateOnly != false) hash ^= ValidateOnly.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (ValidateOnly != false) { + output.WriteRawTag(24); + output.WriteBool(ValidateOnly); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (ValidateOnly != false) { + output.WriteRawTag(24); + output.WriteBool(ValidateOnly); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (ValidateOnly != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TuneQaScorecardRevisionRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + if (other.ValidateOnly != false) { + ValidateOnly = other.ValidateOnly; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 24: { + ValidateOnly = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 24: { + ValidateOnly = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// Response for TuneQaScorecardRevision endpoint. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TuneQaScorecardRevisionResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TuneQaScorecardRevisionResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[96]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuneQaScorecardRevisionResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuneQaScorecardRevisionResponse(TuneQaScorecardRevisionResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuneQaScorecardRevisionResponse Clone() { + return new TuneQaScorecardRevisionResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TuneQaScorecardRevisionResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TuneQaScorecardRevisionResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TuneQaScorecardRevisionResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// Metadata for TuneQaScorecardRevision endpoint. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TuneQaScorecardRevisionMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TuneQaScorecardRevisionMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[97]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuneQaScorecardRevisionMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuneQaScorecardRevisionMetadata(TuneQaScorecardRevisionMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + qaQuestionDatasetValidationResults_ = other.qaQuestionDatasetValidationResults_.Clone(); + qaQuestionDatasetTuningMetrics_ = other.qaQuestionDatasetTuningMetrics_.Clone(); + tuningCompletionRatio_ = other.tuningCompletionRatio_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuneQaScorecardRevisionMetadata Clone() { + return new TuneQaScorecardRevisionMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest request_; + /// + /// Output only. The original request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + /// Field number for the "qa_question_dataset_validation_results" field. + public const int QaQuestionDatasetValidationResultsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_qaQuestionDatasetValidationResults_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetValidationResult.Parser); + private readonly pbc::RepeatedField qaQuestionDatasetValidationResults_ = new pbc::RepeatedField(); + /// + /// Output only. The results of data validation per question in the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QaQuestionDatasetValidationResults { + get { return qaQuestionDatasetValidationResults_; } + } + + /// Field number for the "qa_question_dataset_tuning_metrics" field. + public const int QaQuestionDatasetTuningMetricsFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_qaQuestionDatasetTuningMetrics_codec + = pb::FieldCodec.ForMessage(42, global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetTuningMetrics.Parser); + private readonly pbc::RepeatedField qaQuestionDatasetTuningMetrics_ = new pbc::RepeatedField(); + /// + /// Output only. The metrics for each QaQuestion in the TuneScorecardRevision + /// request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QaQuestionDatasetTuningMetrics { + get { return qaQuestionDatasetTuningMetrics_; } + } + + /// Field number for the "tuning_completion_ratio" field. + public const int TuningCompletionRatioFieldNumber = 6; + private double tuningCompletionRatio_; + /// + /// Output only. The percentage of the tuning job that has completed. Always + /// between 0 and 1 where 0 indicates the job has not started i.e. 0% and 1 + /// indicates the job has completed i.e. 100%. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double TuningCompletionRatio { + get { return tuningCompletionRatio_; } + set { + tuningCompletionRatio_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TuneQaScorecardRevisionMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TuneQaScorecardRevisionMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + if(!qaQuestionDatasetValidationResults_.Equals(other.qaQuestionDatasetValidationResults_)) return false; + if(!qaQuestionDatasetTuningMetrics_.Equals(other.qaQuestionDatasetTuningMetrics_)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TuningCompletionRatio, other.TuningCompletionRatio)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + hash ^= qaQuestionDatasetValidationResults_.GetHashCode(); + hash ^= qaQuestionDatasetTuningMetrics_.GetHashCode(); + if (TuningCompletionRatio != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TuningCompletionRatio); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + qaQuestionDatasetValidationResults_.WriteTo(output, _repeated_qaQuestionDatasetValidationResults_codec); + qaQuestionDatasetTuningMetrics_.WriteTo(output, _repeated_qaQuestionDatasetTuningMetrics_codec); + if (TuningCompletionRatio != 0D) { + output.WriteRawTag(49); + output.WriteDouble(TuningCompletionRatio); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + qaQuestionDatasetValidationResults_.WriteTo(ref output, _repeated_qaQuestionDatasetValidationResults_codec); + qaQuestionDatasetTuningMetrics_.WriteTo(ref output, _repeated_qaQuestionDatasetTuningMetrics_codec); + if (TuningCompletionRatio != 0D) { + output.WriteRawTag(49); + output.WriteDouble(TuningCompletionRatio); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + size += qaQuestionDatasetValidationResults_.CalculateSize(_repeated_qaQuestionDatasetValidationResults_codec); + size += qaQuestionDatasetTuningMetrics_.CalculateSize(_repeated_qaQuestionDatasetTuningMetrics_codec); + if (TuningCompletionRatio != 0D) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TuneQaScorecardRevisionMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest(); + } + Request.MergeFrom(other.Request); + } + qaQuestionDatasetValidationResults_.Add(other.qaQuestionDatasetValidationResults_); + qaQuestionDatasetTuningMetrics_.Add(other.qaQuestionDatasetTuningMetrics_); + if (other.TuningCompletionRatio != 0D) { + TuningCompletionRatio = other.TuningCompletionRatio; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + qaQuestionDatasetValidationResults_.AddEntriesFrom(input, _repeated_qaQuestionDatasetValidationResults_codec); + break; + } + case 42: { + qaQuestionDatasetTuningMetrics_.AddEntriesFrom(input, _repeated_qaQuestionDatasetTuningMetrics_codec); + break; + } + case 49: { + TuningCompletionRatio = input.ReadDouble(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + qaQuestionDatasetValidationResults_.AddEntriesFrom(ref input, _repeated_qaQuestionDatasetValidationResults_codec); + break; + } + case 42: { + qaQuestionDatasetTuningMetrics_.AddEntriesFrom(ref input, _repeated_qaQuestionDatasetTuningMetrics_codec); + break; + } + case 49: { + TuningCompletionRatio = input.ReadDouble(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the TuneQaScorecardRevisionMetadata message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Contains validation results for a question in the tuning request. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaQuestionDatasetValidationResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaQuestionDatasetValidationResult()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionDatasetValidationResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionDatasetValidationResult(QaQuestionDatasetValidationResult other) : this() { + question_ = other.question_; + datasetValidationWarnings_ = other.datasetValidationWarnings_.Clone(); + validFeedbackLabelsCount_ = other.validFeedbackLabelsCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionDatasetValidationResult Clone() { + return new QaQuestionDatasetValidationResult(this); + } + + /// Field number for the "question" field. + public const int QuestionFieldNumber = 1; + private string question_ = ""; + /// + /// Output only. The resource path of the question whose dataset was + /// evaluated for tuning. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Question { + get { return question_; } + set { + question_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "dataset_validation_warnings" field. + public const int DatasetValidationWarningsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_datasetValidationWarnings_codec + = pb::FieldCodec.ForEnum(18, x => (int) x, x => (global::Google.Cloud.ContactCenterInsights.V1.DatasetValidationWarning) x); + private readonly pbc::RepeatedField datasetValidationWarnings_ = new pbc::RepeatedField(); + /// + /// A list of any applicable data validation warnings about the question's + /// feedback labels. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DatasetValidationWarnings { + get { return datasetValidationWarnings_; } + } + + /// Field number for the "valid_feedback_labels_count" field. + public const int ValidFeedbackLabelsCountFieldNumber = 3; + private int validFeedbackLabelsCount_; + /// + /// The number of valid feedback labels in the question's dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ValidFeedbackLabelsCount { + get { return validFeedbackLabelsCount_; } + set { + validFeedbackLabelsCount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaQuestionDatasetValidationResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaQuestionDatasetValidationResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Question != other.Question) return false; + if(!datasetValidationWarnings_.Equals(other.datasetValidationWarnings_)) return false; + if (ValidFeedbackLabelsCount != other.ValidFeedbackLabelsCount) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Question.Length != 0) hash ^= Question.GetHashCode(); + hash ^= datasetValidationWarnings_.GetHashCode(); + if (ValidFeedbackLabelsCount != 0) hash ^= ValidFeedbackLabelsCount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Question.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Question); + } + datasetValidationWarnings_.WriteTo(output, _repeated_datasetValidationWarnings_codec); + if (ValidFeedbackLabelsCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(ValidFeedbackLabelsCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Question.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Question); + } + datasetValidationWarnings_.WriteTo(ref output, _repeated_datasetValidationWarnings_codec); + if (ValidFeedbackLabelsCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(ValidFeedbackLabelsCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Question.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Question); + } + size += datasetValidationWarnings_.CalculateSize(_repeated_datasetValidationWarnings_codec); + if (ValidFeedbackLabelsCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ValidFeedbackLabelsCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaQuestionDatasetValidationResult other) { + if (other == null) { + return; + } + if (other.Question.Length != 0) { + Question = other.Question; + } + datasetValidationWarnings_.Add(other.datasetValidationWarnings_); + if (other.ValidFeedbackLabelsCount != 0) { + ValidFeedbackLabelsCount = other.ValidFeedbackLabelsCount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Question = input.ReadString(); + break; + } + case 18: + case 16: { + datasetValidationWarnings_.AddEntriesFrom(input, _repeated_datasetValidationWarnings_codec); + break; + } + case 24: { + ValidFeedbackLabelsCount = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Question = input.ReadString(); + break; + } + case 18: + case 16: { + datasetValidationWarnings_.AddEntriesFrom(ref input, _repeated_datasetValidationWarnings_codec); + break; + } + case 24: { + ValidFeedbackLabelsCount = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + /// Contains performance metrics for each QaQuestion in the + /// TuneScorecardRevision request. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaQuestionDatasetTuningMetrics : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaQuestionDatasetTuningMetrics()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionDatasetTuningMetrics() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionDatasetTuningMetrics(QaQuestionDatasetTuningMetrics other) : this() { + question_ = other.question_; + metrics_ = other.metrics_ != null ? other.metrics_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestionDatasetTuningMetrics Clone() { + return new QaQuestionDatasetTuningMetrics(this); + } + + /// Field number for the "question" field. + public const int QuestionFieldNumber = 1; + private string question_ = ""; + /// + /// Output only. The resource path of the question whose dataset was + /// evaluated for tuning. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Question { + get { return question_; } + set { + question_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "metrics" field. + public const int MetricsFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetTuningMetrics.Types.Metrics metrics_; + /// + /// Output only. The metrics for the question's dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetTuningMetrics.Types.Metrics Metrics { + get { return metrics_; } + set { + metrics_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaQuestionDatasetTuningMetrics); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaQuestionDatasetTuningMetrics other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Question != other.Question) return false; + if (!object.Equals(Metrics, other.Metrics)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Question.Length != 0) hash ^= Question.GetHashCode(); + if (metrics_ != null) hash ^= Metrics.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Question.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Question); + } + if (metrics_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Metrics); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Question.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Question); + } + if (metrics_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Metrics); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Question.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Question); + } + if (metrics_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Metrics); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaQuestionDatasetTuningMetrics other) { + if (other == null) { + return; + } + if (other.Question.Length != 0) { + Question = other.Question; + } + if (other.metrics_ != null) { + if (metrics_ == null) { + Metrics = new global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetTuningMetrics.Types.Metrics(); + } + Metrics.MergeFrom(other.Metrics); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Question = input.ReadString(); + break; + } + case 18: { + if (metrics_ == null) { + Metrics = new global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetTuningMetrics.Types.Metrics(); + } + input.ReadMessage(Metrics); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Question = input.ReadString(); + break; + } + case 18: { + if (metrics_ == null) { + Metrics = new global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetTuningMetrics.Types.Metrics(); + } + input.ReadMessage(Metrics); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the QaQuestionDatasetTuningMetrics message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Performance metrics for the question's dataset calculated over the tuned + /// model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Metrics : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Metrics()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionMetadata.Types.QaQuestionDatasetTuningMetrics.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Metrics() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Metrics(Metrics other) : this() { + accuracy_ = other.accuracy_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Metrics Clone() { + return new Metrics(this); + } + + /// Field number for the "accuracy" field. + public const int AccuracyFieldNumber = 1; + private double accuracy_; + /// + /// Accuracy of the question's dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Accuracy { + get { return accuracy_; } + set { + accuracy_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Metrics); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Metrics other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Accuracy, other.Accuracy)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Accuracy != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Accuracy); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Accuracy != 0D) { + output.WriteRawTag(9); + output.WriteDouble(Accuracy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Accuracy != 0D) { + output.WriteRawTag(9); + output.WriteDouble(Accuracy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Accuracy != 0D) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Metrics other) { + if (other == null) { + return; + } + if (other.Accuracy != 0D) { + Accuracy = other.Accuracy; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 9: { + Accuracy = input.ReadDouble(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Accuracy = input.ReadDouble(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// The request to deploy a QaScorecardRevision + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeployQaScorecardRevisionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeployQaScorecardRevisionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[98]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployQaScorecardRevisionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployQaScorecardRevisionRequest(DeployQaScorecardRevisionRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployQaScorecardRevisionRequest Clone() { + return new DeployQaScorecardRevisionRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the QaScorecardRevision to deploy. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeployQaScorecardRevisionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeployQaScorecardRevisionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeployQaScorecardRevisionRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to undeploy a QaScorecardRevision + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UndeployQaScorecardRevisionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UndeployQaScorecardRevisionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[99]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployQaScorecardRevisionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployQaScorecardRevisionRequest(UndeployQaScorecardRevisionRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UndeployQaScorecardRevisionRequest Clone() { + return new UndeployQaScorecardRevisionRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the QaScorecardRevision to undeploy. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UndeployQaScorecardRevisionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UndeployQaScorecardRevisionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UndeployQaScorecardRevisionRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request to delete a QaScorecardRevision. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteQaScorecardRevisionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteQaScorecardRevisionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[100]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteQaScorecardRevisionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteQaScorecardRevisionRequest(DeleteQaScorecardRevisionRequest other) : this() { + name_ = other.name_; + force_ = other.force_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteQaScorecardRevisionRequest Clone() { + return new DeleteQaScorecardRevisionRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the QaScorecardRevision to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "force" field. + public const int ForceFieldNumber = 2; + private bool force_; + /// + /// Optional. If set to true, all of this QaScorecardRevision's child resources + /// will also be deleted. Otherwise, the request will only succeed if it has + /// none. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Force { + get { return force_; } + set { + force_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteQaScorecardRevisionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteQaScorecardRevisionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (Force != other.Force) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Force != false) hash ^= Force.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Force != false) { + output.WriteRawTag(16); + output.WriteBool(Force); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Force != false) { + output.WriteRawTag(16); + output.WriteBool(Force); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Force != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteQaScorecardRevisionRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Force != false) { + Force = other.Force; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + Force = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + Force = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// Request to list QaScorecards. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListQaScorecardsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListQaScorecardsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[101]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardsRequest(ListQaScorecardsRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardsRequest Clone() { + return new ListQaScorecardsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the scorecards. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// Optional. The maximum number of scorecards to return in the response. If + /// the value is zero, the service will select a default size. A call might + /// return fewer objects than requested. A non-empty `next_page_token` in the + /// response indicates that more data is available. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// Optional. The value returned by the last `ListQaScorecardsResponse`. This + /// value indicates that this is a continuation of a prior `ListQaScorecards` + /// call and that the system should return the next page of data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListQaScorecardsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListQaScorecardsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListQaScorecardsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response from a ListQaScorecards request. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListQaScorecardsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListQaScorecardsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[102]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardsResponse(ListQaScorecardsResponse other) : this() { + qaScorecards_ = other.qaScorecards_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardsResponse Clone() { + return new ListQaScorecardsResponse(this); + } + + /// Field number for the "qa_scorecards" field. + public const int QaScorecardsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_qaScorecards_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.QaScorecard.Parser); + private readonly pbc::RepeatedField qaScorecards_ = new pbc::RepeatedField(); + /// + /// The QaScorecards under the parent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QaScorecards { + get { return qaScorecards_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListQaScorecardsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListQaScorecardsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!qaScorecards_.Equals(other.qaScorecards_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= qaScorecards_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + qaScorecards_.WriteTo(output, _repeated_qaScorecards_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + qaScorecards_.WriteTo(ref output, _repeated_qaScorecards_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += qaScorecards_.CalculateSize(_repeated_qaScorecards_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListQaScorecardsResponse other) { + if (other == null) { + return; + } + qaScorecards_.Add(other.qaScorecards_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + qaScorecards_.AddEntriesFrom(input, _repeated_qaScorecards_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + qaScorecards_.AddEntriesFrom(ref input, _repeated_qaScorecards_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request to list QaScorecardRevisions + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListQaScorecardRevisionsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListQaScorecardRevisionsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[103]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardRevisionsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardRevisionsRequest(ListQaScorecardRevisionsRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + filter_ = other.filter_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardRevisionsRequest Clone() { + return new ListQaScorecardRevisionsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the scorecard revisions. To list all + /// revisions of all scorecards, substitute the QaScorecard ID with a '-' + /// character. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// Optional. The maximum number of scorecard revisions to return in the + /// response. If the value is zero, the service will select a default size. A + /// call might return fewer objects than requested. A non-empty + /// `next_page_token` in the response indicates that more data is available. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// Optional. The value returned by the last + /// `ListQaScorecardRevisionsResponse`. This value indicates that this is a + /// continuation of a prior `ListQaScorecardRevisions` call and that the system + /// should return the next page of data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 4; + private string filter_ = ""; + /// + /// Optional. A filter to reduce results to a specific subset. Useful for + /// querying scorecard revisions with specific properties. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListQaScorecardRevisionsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListQaScorecardRevisionsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + if (Filter != other.Filter) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListQaScorecardRevisionsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response from a ListQaScorecardRevisions request. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListQaScorecardRevisionsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListQaScorecardRevisionsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[104]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardRevisionsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardRevisionsResponse(ListQaScorecardRevisionsResponse other) : this() { + qaScorecardRevisions_ = other.qaScorecardRevisions_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListQaScorecardRevisionsResponse Clone() { + return new ListQaScorecardRevisionsResponse(this); + } + + /// Field number for the "qa_scorecard_revisions" field. + public const int QaScorecardRevisionsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_qaScorecardRevisions_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Parser); + private readonly pbc::RepeatedField qaScorecardRevisions_ = new pbc::RepeatedField(); + /// + /// The QaScorecards under the parent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QaScorecardRevisions { + get { return qaScorecardRevisions_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListQaScorecardRevisionsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListQaScorecardRevisionsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!qaScorecardRevisions_.Equals(other.qaScorecardRevisions_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= qaScorecardRevisions_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + qaScorecardRevisions_.WriteTo(output, _repeated_qaScorecardRevisions_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + qaScorecardRevisions_.WriteTo(ref output, _repeated_qaScorecardRevisions_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += qaScorecardRevisions_.CalculateSize(_repeated_qaScorecardRevisions_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListQaScorecardRevisionsResponse other) { + if (other == null) { + return; + } + qaScorecardRevisions_.Add(other.qaScorecardRevisions_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + qaScorecardRevisions_.AddEntriesFrom(input, _repeated_qaScorecardRevisions_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + qaScorecardRevisions_.AddEntriesFrom(ref input, _repeated_qaScorecardRevisions_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for creating a feedback label. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateFeedbackLabelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateFeedbackLabelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[105]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateFeedbackLabelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateFeedbackLabelRequest(CreateFeedbackLabelRequest other) : this() { + parent_ = other.parent_; + feedbackLabelId_ = other.feedbackLabelId_; + feedbackLabel_ = other.feedbackLabel_ != null ? other.feedbackLabel_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateFeedbackLabelRequest Clone() { + return new CreateFeedbackLabelRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the feedback label. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "feedback_label_id" field. + public const int FeedbackLabelIdFieldNumber = 2; + private string feedbackLabelId_ = ""; + /// + /// Optional. The ID of the feedback label to create. + /// If one is not specified it will be generated by the server. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FeedbackLabelId { + get { return feedbackLabelId_; } + set { + feedbackLabelId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "feedback_label" field. + public const int FeedbackLabelFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel feedbackLabel_; + /// + /// Required. The feedback label to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel FeedbackLabel { + get { return feedbackLabel_; } + set { + feedbackLabel_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateFeedbackLabelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateFeedbackLabelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (FeedbackLabelId != other.FeedbackLabelId) return false; + if (!object.Equals(FeedbackLabel, other.FeedbackLabel)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (FeedbackLabelId.Length != 0) hash ^= FeedbackLabelId.GetHashCode(); + if (feedbackLabel_ != null) hash ^= FeedbackLabel.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (FeedbackLabelId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FeedbackLabelId); + } + if (feedbackLabel_ != null) { + output.WriteRawTag(26); + output.WriteMessage(FeedbackLabel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (FeedbackLabelId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FeedbackLabelId); + } + if (feedbackLabel_ != null) { + output.WriteRawTag(26); + output.WriteMessage(FeedbackLabel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (FeedbackLabelId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FeedbackLabelId); + } + if (feedbackLabel_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(FeedbackLabel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateFeedbackLabelRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.FeedbackLabelId.Length != 0) { + FeedbackLabelId = other.FeedbackLabelId; + } + if (other.feedbackLabel_ != null) { + if (feedbackLabel_ == null) { + FeedbackLabel = new global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel(); + } + FeedbackLabel.MergeFrom(other.FeedbackLabel); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + FeedbackLabelId = input.ReadString(); + break; + } + case 26: { + if (feedbackLabel_ == null) { + FeedbackLabel = new global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel(); + } + input.ReadMessage(FeedbackLabel); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + FeedbackLabelId = input.ReadString(); + break; + } + case 26: { + if (feedbackLabel_ == null) { + FeedbackLabel = new global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel(); + } + input.ReadMessage(FeedbackLabel); + break; + } + } + } + } + #endif + + } + + /// + /// The request for listing feedback labels. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListFeedbackLabelsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListFeedbackLabelsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[106]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListFeedbackLabelsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListFeedbackLabelsRequest(ListFeedbackLabelsRequest other) : this() { + parent_ = other.parent_; + filter_ = other.filter_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListFeedbackLabelsRequest Clone() { + return new ListFeedbackLabelsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of the feedback labels. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 2; + private string filter_ = ""; + /// + /// Optional. A filter to reduce results to a specific subset. Supports + /// disjunctions (OR) and conjunctions (AND). Automatically sorts by + /// conversation ID. To sort by all feedback labels in a project see + /// ListAllFeedbackLabels. + /// + /// Supported fields: + /// + /// * `issue_model_id` + /// * `qa_question_id` + /// * `qa_scorecard_id` + /// * `min_create_time` + /// * `max_create_time` + /// * `min_update_time` + /// * `max_update_time` + /// * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 3; + private int pageSize_; + /// + /// Optional. The maximum number of feedback labels to return in the response. + /// A valid page size ranges from 0 to 100,000 inclusive. If the page size is + /// zero or unspecified, a default page size of 100 will be chosen. Note that a + /// call might return fewer results than the requested page size. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 4; + private string pageToken_ = ""; + /// + /// Optional. The value returned by the last `ListFeedbackLabelsResponse`. This + /// value indicates that this is a continuation of a prior `ListFeedbackLabels` + /// call and that the system should return the next page of data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListFeedbackLabelsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListFeedbackLabelsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (Filter != other.Filter) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (PageSize != 0) { + output.WriteRawTag(24); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(34); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (PageSize != 0) { + output.WriteRawTag(24); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(34); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListFeedbackLabelsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 24: { + PageSize = input.ReadInt32(); + break; + } + case 34: { + PageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 24: { + PageSize = input.ReadInt32(); + break; + } + case 34: { + PageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response for listing feedback labels. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListFeedbackLabelsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListFeedbackLabelsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[107]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListFeedbackLabelsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListFeedbackLabelsResponse(ListFeedbackLabelsResponse other) : this() { + feedbackLabels_ = other.feedbackLabels_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListFeedbackLabelsResponse Clone() { + return new ListFeedbackLabelsResponse(this); + } + + /// Field number for the "feedback_labels" field. + public const int FeedbackLabelsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_feedbackLabels_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel.Parser); + private readonly pbc::RepeatedField feedbackLabels_ = new pbc::RepeatedField(); + /// + /// The feedback labels that match the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FeedbackLabels { + get { return feedbackLabels_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string nextPageToken_ = ""; + /// + /// The next page token. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListFeedbackLabelsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListFeedbackLabelsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!feedbackLabels_.Equals(other.feedbackLabels_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= feedbackLabels_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + feedbackLabels_.WriteTo(output, _repeated_feedbackLabels_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + feedbackLabels_.WriteTo(ref output, _repeated_feedbackLabels_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += feedbackLabels_.CalculateSize(_repeated_feedbackLabels_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListFeedbackLabelsResponse other) { + if (other == null) { + return; + } + feedbackLabels_.Add(other.feedbackLabels_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + feedbackLabels_.AddEntriesFrom(input, _repeated_feedbackLabels_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + feedbackLabels_.AddEntriesFrom(ref input, _repeated_feedbackLabels_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for getting a feedback label. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetFeedbackLabelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetFeedbackLabelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[108]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeedbackLabelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeedbackLabelRequest(GetFeedbackLabelRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetFeedbackLabelRequest Clone() { + return new GetFeedbackLabelRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the feedback label to get. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetFeedbackLabelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetFeedbackLabelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetFeedbackLabelRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for updating a feedback label. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateFeedbackLabelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateFeedbackLabelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[109]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateFeedbackLabelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateFeedbackLabelRequest(UpdateFeedbackLabelRequest other) : this() { + feedbackLabel_ = other.feedbackLabel_ != null ? other.feedbackLabel_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateFeedbackLabelRequest Clone() { + return new UpdateFeedbackLabelRequest(this); + } + + /// Field number for the "feedback_label" field. + public const int FeedbackLabelFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel feedbackLabel_; + /// + /// Required. The feedback label to update. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel FeedbackLabel { + get { return feedbackLabel_; } + set { + feedbackLabel_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// Required. The list of fields to be updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateFeedbackLabelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateFeedbackLabelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(FeedbackLabel, other.FeedbackLabel)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (feedbackLabel_ != null) hash ^= FeedbackLabel.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (feedbackLabel_ != null) { + output.WriteRawTag(10); + output.WriteMessage(FeedbackLabel); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (feedbackLabel_ != null) { + output.WriteRawTag(10); + output.WriteMessage(FeedbackLabel); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (feedbackLabel_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(FeedbackLabel); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateFeedbackLabelRequest other) { + if (other == null) { + return; + } + if (other.feedbackLabel_ != null) { + if (feedbackLabel_ == null) { + FeedbackLabel = new global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel(); + } + FeedbackLabel.MergeFrom(other.FeedbackLabel); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (feedbackLabel_ == null) { + FeedbackLabel = new global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel(); + } + input.ReadMessage(FeedbackLabel); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (feedbackLabel_ == null) { + FeedbackLabel = new global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel(); + } + input.ReadMessage(FeedbackLabel); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// The request for deleting a feedback label. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteFeedbackLabelRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteFeedbackLabelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[110]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteFeedbackLabelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteFeedbackLabelRequest(DeleteFeedbackLabelRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteFeedbackLabelRequest Clone() { + return new DeleteFeedbackLabelRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the feedback label to delete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteFeedbackLabelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteFeedbackLabelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteFeedbackLabelRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for listing all feedback labels. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListAllFeedbackLabelsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListAllFeedbackLabelsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[111]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAllFeedbackLabelsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAllFeedbackLabelsRequest(ListAllFeedbackLabelsRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + filter_ = other.filter_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAllFeedbackLabelsRequest Clone() { + return new ListAllFeedbackLabelsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource of all feedback labels per project. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// Optional. The maximum number of feedback labels to return in the response. + /// A valid page size ranges from 0 to 100,000 inclusive. If the page size is + /// zero or unspecified, a default page size of 100 will be chosen. Note that a + /// call might return fewer results than the requested page size. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// Optional. The value returned by the last `ListAllFeedbackLabelsResponse`. + /// This value indicates that this is a continuation of a prior + /// `ListAllFeedbackLabels` call and that the system should return the next + /// page of data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 4; + private string filter_ = ""; + /// + /// Optional. A filter to reduce results to a specific subset in the entire + /// project. Supports disjunctions (OR) and conjunctions (AND). + /// + /// Supported fields: + /// + /// * `issue_model_id` + /// * `qa_question_id` + /// * `min_create_time` + /// * `max_create_time` + /// * `min_update_time` + /// * `max_update_time` + /// * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListAllFeedbackLabelsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListAllFeedbackLabelsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + if (Filter != other.Filter) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListAllFeedbackLabelsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The response for listing all feedback labels. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListAllFeedbackLabelsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListAllFeedbackLabelsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[112]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAllFeedbackLabelsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAllFeedbackLabelsResponse(ListAllFeedbackLabelsResponse other) : this() { + feedbackLabels_ = other.feedbackLabels_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAllFeedbackLabelsResponse Clone() { + return new ListAllFeedbackLabelsResponse(this); + } + + /// Field number for the "feedback_labels" field. + public const int FeedbackLabelsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_feedbackLabels_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel.Parser); + private readonly pbc::RepeatedField feedbackLabels_ = new pbc::RepeatedField(); + /// + /// The feedback labels that match the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FeedbackLabels { + get { return feedbackLabels_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListAllFeedbackLabelsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListAllFeedbackLabelsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!feedbackLabels_.Equals(other.feedbackLabels_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= feedbackLabels_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + feedbackLabels_.WriteTo(output, _repeated_feedbackLabels_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + feedbackLabels_.WriteTo(ref output, _repeated_feedbackLabels_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += feedbackLabels_.CalculateSize(_repeated_feedbackLabels_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListAllFeedbackLabelsResponse other) { + if (other == null) { + return; + } + feedbackLabels_.Add(other.feedbackLabels_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + feedbackLabels_.AddEntriesFrom(input, _repeated_feedbackLabels_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + feedbackLabels_.AddEntriesFrom(ref input, _repeated_feedbackLabels_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The request for bulk uploading feedback labels. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkUploadFeedbackLabelsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkUploadFeedbackLabelsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[113]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkUploadFeedbackLabelsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkUploadFeedbackLabelsRequest(BulkUploadFeedbackLabelsRequest other) : this() { + parent_ = other.parent_; + validateOnly_ = other.validateOnly_; + switch (other.SourceCase) { + case SourceOneofCase.GcsSource: + GcsSource = other.GcsSource.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkUploadFeedbackLabelsRequest Clone() { + return new BulkUploadFeedbackLabelsRequest(this); + } + + /// Field number for the "gcs_source" field. + public const int GcsSourceFieldNumber = 2; + /// + /// A cloud storage bucket source. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource GcsSource { + get { return sourceCase_ == SourceOneofCase.GcsSource ? (global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource) source_ : null; } + set { + source_ = value; + sourceCase_ = value == null ? SourceOneofCase.None : SourceOneofCase.GcsSource; + } + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource for new feedback labels. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "validate_only" field. + public const int ValidateOnlyFieldNumber = 3; + private bool validateOnly_; + /// + /// Optional. If set, upload will not happen and the labels will be validated. + /// If not set, then default behavior will be to upload the labels after + /// validation is complete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ValidateOnly { + get { return validateOnly_; } + set { + validateOnly_ = value; + } + } + + private object source_; + /// Enum of possible cases for the "source" oneof. + public enum SourceOneofCase { + None = 0, + GcsSource = 2, + } + private SourceOneofCase sourceCase_ = SourceOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SourceOneofCase SourceCase { + get { return sourceCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSource() { + sourceCase_ = SourceOneofCase.None; + source_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkUploadFeedbackLabelsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkUploadFeedbackLabelsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GcsSource, other.GcsSource)) return false; + if (Parent != other.Parent) return false; + if (ValidateOnly != other.ValidateOnly) return false; + if (SourceCase != other.SourceCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (sourceCase_ == SourceOneofCase.GcsSource) hash ^= GcsSource.GetHashCode(); + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (ValidateOnly != false) hash ^= ValidateOnly.GetHashCode(); + hash ^= (int) sourceCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (sourceCase_ == SourceOneofCase.GcsSource) { + output.WriteRawTag(18); + output.WriteMessage(GcsSource); + } + if (ValidateOnly != false) { + output.WriteRawTag(24); + output.WriteBool(ValidateOnly); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (sourceCase_ == SourceOneofCase.GcsSource) { + output.WriteRawTag(18); + output.WriteMessage(GcsSource); + } + if (ValidateOnly != false) { + output.WriteRawTag(24); + output.WriteBool(ValidateOnly); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (sourceCase_ == SourceOneofCase.GcsSource) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GcsSource); + } + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (ValidateOnly != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkUploadFeedbackLabelsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.ValidateOnly != false) { + ValidateOnly = other.ValidateOnly; + } + switch (other.SourceCase) { + case SourceOneofCase.GcsSource: + if (GcsSource == null) { + GcsSource = new global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource(); + } + GcsSource.MergeFrom(other.GcsSource); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource(); + if (sourceCase_ == SourceOneofCase.GcsSource) { + subBuilder.MergeFrom(GcsSource); + } + input.ReadMessage(subBuilder); + GcsSource = subBuilder; + break; + } + case 24: { + ValidateOnly = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource(); + if (sourceCase_ == SourceOneofCase.GcsSource) { + subBuilder.MergeFrom(GcsSource); + } + input.ReadMessage(subBuilder); + GcsSource = subBuilder; + break; + } + case 24: { + ValidateOnly = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the BulkUploadFeedbackLabelsRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Google Cloud Storage Object details to get the feedback label file from. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GcsSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GcsSource()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource(GcsSource other) : this() { + format_ = other.format_; + objectUri_ = other.objectUri_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource Clone() { + return new GcsSource(this); + } + + /// Field number for the "format" field. + public const int FormatFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Types.Format format_ = global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Types.Format.Unspecified; + /// + /// Required. File format which will be ingested. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Types.Format Format { + get { return format_; } + set { + format_ = value; + } + } + + /// Field number for the "object_uri" field. + public const int ObjectUriFieldNumber = 2; + private string objectUri_ = ""; + /// + /// Required. The Google Cloud Storage URI of the file to import. + /// Format: `gs://bucket_name/object_name` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ObjectUri { + get { return objectUri_; } + set { + objectUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GcsSource); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GcsSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Format != other.Format) return false; + if (ObjectUri != other.ObjectUri) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Format != global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Types.Format.Unspecified) hash ^= Format.GetHashCode(); + if (ObjectUri.Length != 0) hash ^= ObjectUri.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Format != global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Types.Format.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Format); + } + if (ObjectUri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ObjectUri); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Format != global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Types.Format.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Format); + } + if (ObjectUri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ObjectUri); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Format != global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Types.Format.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Format); + } + if (ObjectUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ObjectUri); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GcsSource other) { + if (other == null) { + return; + } + if (other.Format != global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Types.Format.Unspecified) { + Format = other.Format; + } + if (other.ObjectUri.Length != 0) { + ObjectUri = other.ObjectUri; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Format = (global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Types.Format) input.ReadEnum(); + break; + } + case 18: { + ObjectUri = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Format = (global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Types.GcsSource.Types.Format) input.ReadEnum(); + break; + } + case 18: { + ObjectUri = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the GcsSource message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// All permissible file formats. + /// + public enum Format { + /// + /// Unspecified format. + /// + [pbr::OriginalName("FORMAT_UNSPECIFIED")] Unspecified = 0, + /// + /// CSV format. + /// + [pbr::OriginalName("CSV")] Csv = 1, + /// + /// JSON format. + /// + [pbr::OriginalName("JSON")] Json = 2, + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// Response for the Bulk Upload Feedback Labels API. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkUploadFeedbackLabelsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkUploadFeedbackLabelsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[114]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkUploadFeedbackLabelsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkUploadFeedbackLabelsResponse(BulkUploadFeedbackLabelsResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkUploadFeedbackLabelsResponse Clone() { + return new BulkUploadFeedbackLabelsResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkUploadFeedbackLabelsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkUploadFeedbackLabelsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkUploadFeedbackLabelsResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// Metadata for the Bulk Upload Feedback Labels API. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkUploadFeedbackLabelsMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkUploadFeedbackLabelsMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[115]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkUploadFeedbackLabelsMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkUploadFeedbackLabelsMetadata(BulkUploadFeedbackLabelsMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + partialErrors_ = other.partialErrors_.Clone(); + uploadStats_ = other.uploadStats_ != null ? other.uploadStats_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkUploadFeedbackLabelsMetadata Clone() { + return new BulkUploadFeedbackLabelsMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest request_; + /// + /// Output only. The original request for ingest. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + /// Field number for the "partial_errors" field. + public const int PartialErrorsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_partialErrors_codec + = pb::FieldCodec.ForMessage(34, global::Google.Rpc.Status.Parser); + private readonly pbc::RepeatedField partialErrors_ = new pbc::RepeatedField(); + /// + /// Partial errors during ingest operation that might cause the operation + /// output to be incomplete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PartialErrors { + get { return partialErrors_; } + } + + /// Field number for the "upload_stats" field. + public const int UploadStatsFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsMetadata.Types.UploadStats uploadStats_; + /// + /// Output only. Statistics for BulkUploadFeedbackLabels operation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsMetadata.Types.UploadStats UploadStats { + get { return uploadStats_; } + set { + uploadStats_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkUploadFeedbackLabelsMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkUploadFeedbackLabelsMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + if(!partialErrors_.Equals(other.partialErrors_)) return false; + if (!object.Equals(UploadStats, other.UploadStats)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + hash ^= partialErrors_.GetHashCode(); + if (uploadStats_ != null) hash ^= UploadStats.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(output, _repeated_partialErrors_codec); + if (uploadStats_ != null) { + output.WriteRawTag(42); + output.WriteMessage(UploadStats); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(ref output, _repeated_partialErrors_codec); + if (uploadStats_ != null) { + output.WriteRawTag(42); + output.WriteMessage(UploadStats); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + size += partialErrors_.CalculateSize(_repeated_partialErrors_codec); + if (uploadStats_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UploadStats); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkUploadFeedbackLabelsMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest(); + } + Request.MergeFrom(other.Request); + } + partialErrors_.Add(other.partialErrors_); + if (other.uploadStats_ != null) { + if (uploadStats_ == null) { + UploadStats = new global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsMetadata.Types.UploadStats(); + } + UploadStats.MergeFrom(other.UploadStats); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(input, _repeated_partialErrors_codec); + break; + } + case 42: { + if (uploadStats_ == null) { + UploadStats = new global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsMetadata.Types.UploadStats(); + } + input.ReadMessage(UploadStats); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(ref input, _repeated_partialErrors_codec); + break; + } + case 42: { + if (uploadStats_ == null) { + UploadStats = new global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsMetadata.Types.UploadStats(); + } + input.ReadMessage(UploadStats); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the BulkUploadFeedbackLabelsMetadata message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Statistics for BulkUploadFeedbackLabels operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UploadStats : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UploadStats()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsMetadata.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UploadStats() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UploadStats(UploadStats other) : this() { + processedObjectCount_ = other.processedObjectCount_; + failedValidationCount_ = other.failedValidationCount_; + successfulUploadCount_ = other.successfulUploadCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UploadStats Clone() { + return new UploadStats(this); + } + + /// Field number for the "processed_object_count" field. + public const int ProcessedObjectCountFieldNumber = 1; + private int processedObjectCount_; + /// + /// The number of objects processed during the upload operation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ProcessedObjectCount { + get { return processedObjectCount_; } + set { + processedObjectCount_ = value; + } + } + + /// Field number for the "failed_validation_count" field. + public const int FailedValidationCountFieldNumber = 2; + private int failedValidationCount_; + /// + /// The number of objects skipped because of failed validation + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FailedValidationCount { + get { return failedValidationCount_; } + set { + failedValidationCount_ = value; + } + } + + /// Field number for the "successful_upload_count" field. + public const int SuccessfulUploadCountFieldNumber = 3; + private int successfulUploadCount_; + /// + /// The number of new feedback labels added during this ingest operation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SuccessfulUploadCount { + get { return successfulUploadCount_; } + set { + successfulUploadCount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UploadStats); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UploadStats other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ProcessedObjectCount != other.ProcessedObjectCount) return false; + if (FailedValidationCount != other.FailedValidationCount) return false; + if (SuccessfulUploadCount != other.SuccessfulUploadCount) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ProcessedObjectCount != 0) hash ^= ProcessedObjectCount.GetHashCode(); + if (FailedValidationCount != 0) hash ^= FailedValidationCount.GetHashCode(); + if (SuccessfulUploadCount != 0) hash ^= SuccessfulUploadCount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ProcessedObjectCount != 0) { + output.WriteRawTag(8); + output.WriteInt32(ProcessedObjectCount); + } + if (FailedValidationCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(FailedValidationCount); + } + if (SuccessfulUploadCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(SuccessfulUploadCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ProcessedObjectCount != 0) { + output.WriteRawTag(8); + output.WriteInt32(ProcessedObjectCount); + } + if (FailedValidationCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(FailedValidationCount); + } + if (SuccessfulUploadCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(SuccessfulUploadCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ProcessedObjectCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProcessedObjectCount); + } + if (FailedValidationCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FailedValidationCount); + } + if (SuccessfulUploadCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SuccessfulUploadCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UploadStats other) { + if (other == null) { + return; + } + if (other.ProcessedObjectCount != 0) { + ProcessedObjectCount = other.ProcessedObjectCount; + } + if (other.FailedValidationCount != 0) { + FailedValidationCount = other.FailedValidationCount; + } + if (other.SuccessfulUploadCount != 0) { + SuccessfulUploadCount = other.SuccessfulUploadCount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ProcessedObjectCount = input.ReadInt32(); + break; + } + case 16: { + FailedValidationCount = input.ReadInt32(); + break; + } + case 24: { + SuccessfulUploadCount = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ProcessedObjectCount = input.ReadInt32(); + break; + } + case 16: { + FailedValidationCount = input.ReadInt32(); + break; + } + case 24: { + SuccessfulUploadCount = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Request for the BulkDownloadFeedbackLabel endpoint. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkDownloadFeedbackLabelsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkDownloadFeedbackLabelsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[116]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDownloadFeedbackLabelsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDownloadFeedbackLabelsRequest(BulkDownloadFeedbackLabelsRequest other) : this() { + parent_ = other.parent_; + filter_ = other.filter_; + maxDownloadCount_ = other.maxDownloadCount_; + feedbackLabelType_ = other.feedbackLabelType_; + conversationFilter_ = other.conversationFilter_; + templateQaScorecardId_ = other.templateQaScorecardId_.Clone(); + switch (other.DestinationCase) { + case DestinationOneofCase.GcsDestination: + GcsDestination = other.GcsDestination.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDownloadFeedbackLabelsRequest Clone() { + return new BulkDownloadFeedbackLabelsRequest(this); + } + + /// Field number for the "gcs_destination" field. + public const int GcsDestinationFieldNumber = 3; + /// + /// A cloud storage bucket destination. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination GcsDestination { + get { return destinationCase_ == DestinationOneofCase.GcsDestination ? (global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination) destination_ : null; } + set { + destination_ = value; + destinationCase_ = value == null ? DestinationOneofCase.None : DestinationOneofCase.GcsDestination; + } + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource for new feedback labels. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 2; + private string filter_ = ""; + /// + /// Optional. A filter to reduce results to a specific subset. Supports + /// disjunctions (OR) and conjunctions (AND). + /// + /// Supported fields: + /// + /// * `issue_model_id` + /// * `qa_question_id` + /// * `qa_scorecard_id` + /// * `min_create_time` + /// * `max_create_time` + /// * `min_update_time` + /// * `max_update_time` + /// * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "max_download_count" field. + public const int MaxDownloadCountFieldNumber = 4; + private int maxDownloadCount_; + /// + /// Optional. Limits the maximum number of feedback labels that will be + /// downloaded. The first `N` feedback labels will be downloaded. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxDownloadCount { + get { return maxDownloadCount_; } + set { + maxDownloadCount_ = value; + } + } + + /// Field number for the "feedback_label_type" field. + public const int FeedbackLabelTypeFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType feedbackLabelType_ = global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified; + /// + /// Optional. The type of feedback labels that will be downloaded. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType FeedbackLabelType { + get { return feedbackLabelType_; } + set { + feedbackLabelType_ = value; + } + } + + /// Field number for the "conversation_filter" field. + public const int ConversationFilterFieldNumber = 6; + private string conversationFilter_ = ""; + /// + /// Optional. Filter parent conversations to download feedback labels for. + /// When specified, the feedback labels will be downloaded for the + /// conversations that match the filter. + /// If `template_qa_scorecard_id` is set, all the conversations that match the + /// filter will be paired with the questions under the scorecard for labeling. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConversationFilter { + get { return conversationFilter_; } + set { + conversationFilter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "template_qa_scorecard_id" field. + public const int TemplateQaScorecardIdFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_templateQaScorecardId_codec + = pb::FieldCodec.ForString(58); + private readonly pbc::RepeatedField templateQaScorecardId_ = new pbc::RepeatedField(); + /// + /// Optional. If set, a template for labeling conversations and scorecard + /// questions will be created from the conversation_filter and the questions + /// under the scorecard(s). The feedback label `filter` will be ignored. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField TemplateQaScorecardId { + get { return templateQaScorecardId_; } + } + + private object destination_; + /// Enum of possible cases for the "destination" oneof. + public enum DestinationOneofCase { + None = 0, + GcsDestination = 3, + } + private DestinationOneofCase destinationCase_ = DestinationOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestinationOneofCase DestinationCase { + get { return destinationCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDestination() { + destinationCase_ = DestinationOneofCase.None; + destination_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkDownloadFeedbackLabelsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkDownloadFeedbackLabelsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GcsDestination, other.GcsDestination)) return false; + if (Parent != other.Parent) return false; + if (Filter != other.Filter) return false; + if (MaxDownloadCount != other.MaxDownloadCount) return false; + if (FeedbackLabelType != other.FeedbackLabelType) return false; + if (ConversationFilter != other.ConversationFilter) return false; + if(!templateQaScorecardId_.Equals(other.templateQaScorecardId_)) return false; + if (DestinationCase != other.DestinationCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (destinationCase_ == DestinationOneofCase.GcsDestination) hash ^= GcsDestination.GetHashCode(); + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (MaxDownloadCount != 0) hash ^= MaxDownloadCount.GetHashCode(); + if (FeedbackLabelType != global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified) hash ^= FeedbackLabelType.GetHashCode(); + if (ConversationFilter.Length != 0) hash ^= ConversationFilter.GetHashCode(); + hash ^= templateQaScorecardId_.GetHashCode(); + hash ^= (int) destinationCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (destinationCase_ == DestinationOneofCase.GcsDestination) { + output.WriteRawTag(26); + output.WriteMessage(GcsDestination); + } + if (MaxDownloadCount != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxDownloadCount); + } + if (FeedbackLabelType != global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) FeedbackLabelType); + } + if (ConversationFilter.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ConversationFilter); + } + templateQaScorecardId_.WriteTo(output, _repeated_templateQaScorecardId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (Filter.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filter); + } + if (destinationCase_ == DestinationOneofCase.GcsDestination) { + output.WriteRawTag(26); + output.WriteMessage(GcsDestination); + } + if (MaxDownloadCount != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxDownloadCount); + } + if (FeedbackLabelType != global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) FeedbackLabelType); + } + if (ConversationFilter.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ConversationFilter); + } + templateQaScorecardId_.WriteTo(ref output, _repeated_templateQaScorecardId_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (destinationCase_ == DestinationOneofCase.GcsDestination) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GcsDestination); + } + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (MaxDownloadCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxDownloadCount); + } + if (FeedbackLabelType != global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FeedbackLabelType); + } + if (ConversationFilter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConversationFilter); + } + size += templateQaScorecardId_.CalculateSize(_repeated_templateQaScorecardId_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkDownloadFeedbackLabelsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + if (other.MaxDownloadCount != 0) { + MaxDownloadCount = other.MaxDownloadCount; + } + if (other.FeedbackLabelType != global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType.Unspecified) { + FeedbackLabelType = other.FeedbackLabelType; + } + if (other.ConversationFilter.Length != 0) { + ConversationFilter = other.ConversationFilter; + } + templateQaScorecardId_.Add(other.templateQaScorecardId_); + switch (other.DestinationCase) { + case DestinationOneofCase.GcsDestination: + if (GcsDestination == null) { + GcsDestination = new global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination(); + } + GcsDestination.MergeFrom(other.GcsDestination); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 26: { + global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination(); + if (destinationCase_ == DestinationOneofCase.GcsDestination) { + subBuilder.MergeFrom(GcsDestination); + } + input.ReadMessage(subBuilder); + GcsDestination = subBuilder; + break; + } + case 32: { + MaxDownloadCount = input.ReadInt32(); + break; + } + case 40: { + FeedbackLabelType = (global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType) input.ReadEnum(); + break; + } + case 50: { + ConversationFilter = input.ReadString(); + break; + } + case 58: { + templateQaScorecardId_.AddEntriesFrom(input, _repeated_templateQaScorecardId_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + Filter = input.ReadString(); + break; + } + case 26: { + global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination(); + if (destinationCase_ == DestinationOneofCase.GcsDestination) { + subBuilder.MergeFrom(GcsDestination); + } + input.ReadMessage(subBuilder); + GcsDestination = subBuilder; + break; + } + case 32: { + MaxDownloadCount = input.ReadInt32(); + break; + } + case 40: { + FeedbackLabelType = (global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.FeedbackLabelType) input.ReadEnum(); + break; + } + case 50: { + ConversationFilter = input.ReadString(); + break; + } + case 58: { + templateQaScorecardId_.AddEntriesFrom(ref input, _repeated_templateQaScorecardId_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the BulkDownloadFeedbackLabelsRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Possible feedback label types that will be downloaded. + /// + public enum FeedbackLabelType { + /// + /// Unspecified format + /// + [pbr::OriginalName("FEEDBACK_LABEL_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Downloaded file will contain all Quality AI labels from the latest + /// scorecard revision. + /// + [pbr::OriginalName("QUALITY_AI")] QualityAi = 1, + /// + /// Downloaded file will contain only Topic Modeling labels. + /// + [pbr::OriginalName("TOPIC_MODELING")] TopicModeling = 2, + } + + /// + /// Google Cloud Storage Object details to write the feedback labels to. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GcsDestination : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GcsDestination()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsDestination() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsDestination(GcsDestination other) : this() { + format_ = other.format_; + objectUri_ = other.objectUri_; + addWhitespace_ = other.addWhitespace_; + alwaysPrintEmptyFields_ = other.alwaysPrintEmptyFields_; + recordsPerFileCount_ = other.recordsPerFileCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsDestination Clone() { + return new GcsDestination(this); + } + + /// Field number for the "format" field. + public const int FormatFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Types.Format format_ = global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Types.Format.Unspecified; + /// + /// Required. File format in which the labels will be exported. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Types.Format Format { + get { return format_; } + set { + format_ = value; + } + } + + /// Field number for the "object_uri" field. + public const int ObjectUriFieldNumber = 2; + private string objectUri_ = ""; + /// + /// Required. The Google Cloud Storage URI to write the feedback labels to. + /// The file name will be used as a prefix for the files written to the + /// bucket if the output needs to be split across multiple files, otherwise + /// it will be used as is. The file extension will be appended to the file + /// name based on the format selected. + /// E.g. `gs://bucket_name/object_uri_prefix` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ObjectUri { + get { return objectUri_; } + set { + objectUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "add_whitespace" field. + public const int AddWhitespaceFieldNumber = 3; + private bool addWhitespace_; + /// + /// Optional. Add whitespace to the JSON file. Makes easier to read, but + /// increases file size. Only applicable for JSON format. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AddWhitespace { + get { return addWhitespace_; } + set { + addWhitespace_ = value; + } + } + + /// Field number for the "always_print_empty_fields" field. + public const int AlwaysPrintEmptyFieldsFieldNumber = 4; + private bool alwaysPrintEmptyFields_; + /// + /// Optional. Always print fields with no presence. + /// This is useful for printing fields that are not set, like implicit 0 + /// value or empty lists/maps. Only applicable for JSON format. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AlwaysPrintEmptyFields { + get { return alwaysPrintEmptyFields_; } + set { + alwaysPrintEmptyFields_ = value; + } + } + + /// Field number for the "records_per_file_count" field. + public const int RecordsPerFileCountFieldNumber = 5; + private long recordsPerFileCount_; + /// + /// Optional. The number of records per file. Applicable for either format. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RecordsPerFileCount { + get { return recordsPerFileCount_; } + set { + recordsPerFileCount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GcsDestination); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GcsDestination other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Format != other.Format) return false; + if (ObjectUri != other.ObjectUri) return false; + if (AddWhitespace != other.AddWhitespace) return false; + if (AlwaysPrintEmptyFields != other.AlwaysPrintEmptyFields) return false; + if (RecordsPerFileCount != other.RecordsPerFileCount) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Format != global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Types.Format.Unspecified) hash ^= Format.GetHashCode(); + if (ObjectUri.Length != 0) hash ^= ObjectUri.GetHashCode(); + if (AddWhitespace != false) hash ^= AddWhitespace.GetHashCode(); + if (AlwaysPrintEmptyFields != false) hash ^= AlwaysPrintEmptyFields.GetHashCode(); + if (RecordsPerFileCount != 0L) hash ^= RecordsPerFileCount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Format != global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Types.Format.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Format); + } + if (ObjectUri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ObjectUri); + } + if (AddWhitespace != false) { + output.WriteRawTag(24); + output.WriteBool(AddWhitespace); + } + if (AlwaysPrintEmptyFields != false) { + output.WriteRawTag(32); + output.WriteBool(AlwaysPrintEmptyFields); + } + if (RecordsPerFileCount != 0L) { + output.WriteRawTag(40); + output.WriteInt64(RecordsPerFileCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Format != global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Types.Format.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Format); + } + if (ObjectUri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ObjectUri); + } + if (AddWhitespace != false) { + output.WriteRawTag(24); + output.WriteBool(AddWhitespace); + } + if (AlwaysPrintEmptyFields != false) { + output.WriteRawTag(32); + output.WriteBool(AlwaysPrintEmptyFields); + } + if (RecordsPerFileCount != 0L) { + output.WriteRawTag(40); + output.WriteInt64(RecordsPerFileCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Format != global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Types.Format.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Format); + } + if (ObjectUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ObjectUri); + } + if (AddWhitespace != false) { + size += 1 + 1; + } + if (AlwaysPrintEmptyFields != false) { + size += 1 + 1; + } + if (RecordsPerFileCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(RecordsPerFileCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GcsDestination other) { + if (other == null) { + return; + } + if (other.Format != global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Types.Format.Unspecified) { + Format = other.Format; + } + if (other.ObjectUri.Length != 0) { + ObjectUri = other.ObjectUri; + } + if (other.AddWhitespace != false) { + AddWhitespace = other.AddWhitespace; + } + if (other.AlwaysPrintEmptyFields != false) { + AlwaysPrintEmptyFields = other.AlwaysPrintEmptyFields; + } + if (other.RecordsPerFileCount != 0L) { + RecordsPerFileCount = other.RecordsPerFileCount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Format = (global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Types.Format) input.ReadEnum(); + break; + } + case 18: { + ObjectUri = input.ReadString(); + break; + } + case 24: { + AddWhitespace = input.ReadBool(); + break; + } + case 32: { + AlwaysPrintEmptyFields = input.ReadBool(); + break; + } + case 40: { + RecordsPerFileCount = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Format = (global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Types.GcsDestination.Types.Format) input.ReadEnum(); + break; + } + case 18: { + ObjectUri = input.ReadString(); + break; + } + case 24: { + AddWhitespace = input.ReadBool(); + break; + } + case 32: { + AlwaysPrintEmptyFields = input.ReadBool(); + break; + } + case 40: { + RecordsPerFileCount = input.ReadInt64(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the GcsDestination message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// All permissible file formats. + /// See `records_per_file_count` to override the default number of records + /// per file. + /// + public enum Format { + /// + /// Unspecified format. + /// + [pbr::OriginalName("FORMAT_UNSPECIFIED")] Unspecified = 0, + /// + /// CSV format. + /// 1,000 labels are stored per CSV file by default. + /// + [pbr::OriginalName("CSV")] Csv = 1, + /// + /// JSON format. + /// 1 label stored per JSON file by default. + /// + [pbr::OriginalName("JSON")] Json = 2, + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// Response for the BulkDownloadFeedbackLabel endpoint. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkDownloadFeedbackLabelsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkDownloadFeedbackLabelsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[117]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDownloadFeedbackLabelsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDownloadFeedbackLabelsResponse(BulkDownloadFeedbackLabelsResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDownloadFeedbackLabelsResponse Clone() { + return new BulkDownloadFeedbackLabelsResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkDownloadFeedbackLabelsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkDownloadFeedbackLabelsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkDownloadFeedbackLabelsResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// Metadata for the BulkDownloadFeedbackLabel endpoint. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BulkDownloadFeedbackLabelsMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkDownloadFeedbackLabelsMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.MessageTypes[118]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDownloadFeedbackLabelsMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDownloadFeedbackLabelsMetadata(BulkDownloadFeedbackLabelsMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + request_ = other.request_ != null ? other.request_.Clone() : null; + partialErrors_ = other.partialErrors_.Clone(); + downloadStats_ = other.downloadStats_ != null ? other.downloadStats_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BulkDownloadFeedbackLabelsMetadata Clone() { + return new BulkDownloadFeedbackLabelsMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time the operation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// Output only. The time the operation finished running. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest request_; + /// + /// Output only. The original request for download. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest Request { + get { return request_; } + set { + request_ = value; + } + } + + /// Field number for the "partial_errors" field. + public const int PartialErrorsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_partialErrors_codec + = pb::FieldCodec.ForMessage(34, global::Google.Rpc.Status.Parser); + private readonly pbc::RepeatedField partialErrors_ = new pbc::RepeatedField(); + /// + /// Partial errors during ingest operation that might cause the operation + /// output to be incomplete. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PartialErrors { + get { return partialErrors_; } + } + + /// Field number for the "download_stats" field. + public const int DownloadStatsFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsMetadata.Types.DownloadStats downloadStats_; + /// + /// Output only. Statistics for BulkDownloadFeedbackLabels operation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsMetadata.Types.DownloadStats DownloadStats { + get { return downloadStats_; } + set { + downloadStats_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BulkDownloadFeedbackLabelsMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BulkDownloadFeedbackLabelsMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (!object.Equals(Request, other.Request)) return false; + if(!partialErrors_.Equals(other.partialErrors_)) return false; + if (!object.Equals(DownloadStats, other.DownloadStats)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + if (request_ != null) hash ^= Request.GetHashCode(); + hash ^= partialErrors_.GetHashCode(); + if (downloadStats_ != null) hash ^= DownloadStats.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(output, _repeated_partialErrors_codec); + if (downloadStats_ != null) { + output.WriteRawTag(42); + output.WriteMessage(DownloadStats); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (endTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndTime); + } + if (request_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Request); + } + partialErrors_.WriteTo(ref output, _repeated_partialErrors_codec); + if (downloadStats_ != null) { + output.WriteRawTag(42); + output.WriteMessage(DownloadStats); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (request_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); + } + size += partialErrors_.CalculateSize(_repeated_partialErrors_codec); + if (downloadStats_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DownloadStats); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BulkDownloadFeedbackLabelsMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + if (other.request_ != null) { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest(); + } + Request.MergeFrom(other.Request); + } + partialErrors_.Add(other.partialErrors_); + if (other.downloadStats_ != null) { + if (downloadStats_ == null) { + DownloadStats = new global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsMetadata.Types.DownloadStats(); + } + DownloadStats.MergeFrom(other.DownloadStats); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(input, _repeated_partialErrors_codec); + break; + } + case 42: { + if (downloadStats_ == null) { + DownloadStats = new global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsMetadata.Types.DownloadStats(); + } + input.ReadMessage(DownloadStats); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 26: { + if (request_ == null) { + Request = new global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest(); + } + input.ReadMessage(Request); + break; + } + case 34: { + partialErrors_.AddEntriesFrom(ref input, _repeated_partialErrors_codec); + break; + } + case 42: { + if (downloadStats_ == null) { + DownloadStats = new global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsMetadata.Types.DownloadStats(); + } + input.ReadMessage(DownloadStats); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the BulkDownloadFeedbackLabelsMetadata message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Statistics for BulkDownloadFeedbackLabels operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DownloadStats : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DownloadStats()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsMetadata.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DownloadStats() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DownloadStats(DownloadStats other) : this() { + processedObjectCount_ = other.processedObjectCount_; + successfulDownloadCount_ = other.successfulDownloadCount_; + totalFilesWritten_ = other.totalFilesWritten_; + fileNames_ = other.fileNames_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DownloadStats Clone() { + return new DownloadStats(this); + } + + /// Field number for the "processed_object_count" field. + public const int ProcessedObjectCountFieldNumber = 1; + private int processedObjectCount_; + /// + /// The number of objects processed during the download operation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ProcessedObjectCount { + get { return processedObjectCount_; } + set { + processedObjectCount_ = value; + } + } + + /// Field number for the "successful_download_count" field. + public const int SuccessfulDownloadCountFieldNumber = 2; + private int successfulDownloadCount_; + /// + /// The number of new feedback labels downloaded during this operation. + /// Different from "processed" because some labels might not be downloaded + /// because an error. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SuccessfulDownloadCount { + get { return successfulDownloadCount_; } + set { + successfulDownloadCount_ = value; + } + } + + /// Field number for the "total_files_written" field. + public const int TotalFilesWrittenFieldNumber = 3; + private int totalFilesWritten_; + /// + /// Total number of files written to the provided Cloud Storage bucket. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TotalFilesWritten { + get { return totalFilesWritten_; } + set { + totalFilesWritten_ = value; + } + } + + /// Field number for the "file_names" field. + public const int FileNamesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_fileNames_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField fileNames_ = new pbc::RepeatedField(); + /// + /// Output only. Full name of the files written to Cloud storage. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FileNames { + get { return fileNames_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DownloadStats); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DownloadStats other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ProcessedObjectCount != other.ProcessedObjectCount) return false; + if (SuccessfulDownloadCount != other.SuccessfulDownloadCount) return false; + if (TotalFilesWritten != other.TotalFilesWritten) return false; + if(!fileNames_.Equals(other.fileNames_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ProcessedObjectCount != 0) hash ^= ProcessedObjectCount.GetHashCode(); + if (SuccessfulDownloadCount != 0) hash ^= SuccessfulDownloadCount.GetHashCode(); + if (TotalFilesWritten != 0) hash ^= TotalFilesWritten.GetHashCode(); + hash ^= fileNames_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ProcessedObjectCount != 0) { + output.WriteRawTag(8); + output.WriteInt32(ProcessedObjectCount); + } + if (SuccessfulDownloadCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(SuccessfulDownloadCount); + } + if (TotalFilesWritten != 0) { + output.WriteRawTag(24); + output.WriteInt32(TotalFilesWritten); + } + fileNames_.WriteTo(output, _repeated_fileNames_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ProcessedObjectCount != 0) { + output.WriteRawTag(8); + output.WriteInt32(ProcessedObjectCount); + } + if (SuccessfulDownloadCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(SuccessfulDownloadCount); + } + if (TotalFilesWritten != 0) { + output.WriteRawTag(24); + output.WriteInt32(TotalFilesWritten); + } + fileNames_.WriteTo(ref output, _repeated_fileNames_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ProcessedObjectCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProcessedObjectCount); + } + if (SuccessfulDownloadCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SuccessfulDownloadCount); + } + if (TotalFilesWritten != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalFilesWritten); + } + size += fileNames_.CalculateSize(_repeated_fileNames_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DownloadStats other) { + if (other == null) { + return; + } + if (other.ProcessedObjectCount != 0) { + ProcessedObjectCount = other.ProcessedObjectCount; + } + if (other.SuccessfulDownloadCount != 0) { + SuccessfulDownloadCount = other.SuccessfulDownloadCount; + } + if (other.TotalFilesWritten != 0) { + TotalFilesWritten = other.TotalFilesWritten; + } + fileNames_.Add(other.fileNames_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ProcessedObjectCount = input.ReadInt32(); + break; + } + case 16: { + SuccessfulDownloadCount = input.ReadInt32(); + break; + } + case 24: { + TotalFilesWritten = input.ReadInt32(); + break; + } + case 34: { + fileNames_.AddEntriesFrom(input, _repeated_fileNames_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ProcessedObjectCount = input.ReadInt32(); + break; + } + case 16: { + SuccessfulDownloadCount = input.ReadInt32(); + break; + } + case 24: { + TotalFilesWritten = input.ReadInt32(); + break; + } + case 34: { + fileNames_.AddEntriesFrom(ref input, _repeated_fileNames_codec); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsClient.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsClient.g.cs new file mode 100755 index 000000000000..98954c1bd480 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsClient.g.cs @@ -0,0 +1,13630 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gagr = Google.Api.Gax.ResourceNames; +using gax = Google.Api.Gax; +using gaxgrpc = Google.Api.Gax.Grpc; +using gciv = Google.Cloud.Iam.V1; +using grpccore = Grpc.Core; +using grpcinter = Grpc.Core.Interceptors; +using lro = Google.LongRunning; +using mel = Microsoft.Extensions.Logging; +using proto = Google.Protobuf; +using sc = System.Collections; +using scg = System.Collections.Generic; +using sco = System.Collections.ObjectModel; +using st = System.Threading; +using stt = System.Threading.Tasks; +using sys = System; +using wkt = Google.Protobuf.WellKnownTypes; + +namespace Google.Cloud.ContactCenterInsights.V1 +{ + /// Settings for instances. + public sealed partial class ContactCenterInsightsSettings : gaxgrpc::ServiceSettingsBase + { + /// Get a new instance of the default . + /// A new instance of the default . + public static ContactCenterInsightsSettings GetDefault() => new ContactCenterInsightsSettings(); + + /// + /// Constructs a new object with default settings. + /// + public ContactCenterInsightsSettings() + { + } + + private ContactCenterInsightsSettings(ContactCenterInsightsSettings existing) : base(existing) + { + gax::GaxPreconditions.CheckNotNull(existing, nameof(existing)); + CreateConversationSettings = existing.CreateConversationSettings; + UploadConversationSettings = existing.UploadConversationSettings; + UploadConversationOperationsSettings = existing.UploadConversationOperationsSettings.Clone(); + UpdateConversationSettings = existing.UpdateConversationSettings; + GetConversationSettings = existing.GetConversationSettings; + ListConversationsSettings = existing.ListConversationsSettings; + DeleteConversationSettings = existing.DeleteConversationSettings; + CreateAnalysisSettings = existing.CreateAnalysisSettings; + CreateAnalysisOperationsSettings = existing.CreateAnalysisOperationsSettings.Clone(); + GetAnalysisSettings = existing.GetAnalysisSettings; + ListAnalysesSettings = existing.ListAnalysesSettings; + DeleteAnalysisSettings = existing.DeleteAnalysisSettings; + BulkAnalyzeConversationsSettings = existing.BulkAnalyzeConversationsSettings; + BulkAnalyzeConversationsOperationsSettings = existing.BulkAnalyzeConversationsOperationsSettings.Clone(); + BulkDeleteConversationsSettings = existing.BulkDeleteConversationsSettings; + BulkDeleteConversationsOperationsSettings = existing.BulkDeleteConversationsOperationsSettings.Clone(); + IngestConversationsSettings = existing.IngestConversationsSettings; + IngestConversationsOperationsSettings = existing.IngestConversationsOperationsSettings.Clone(); + ExportInsightsDataSettings = existing.ExportInsightsDataSettings; + ExportInsightsDataOperationsSettings = existing.ExportInsightsDataOperationsSettings.Clone(); + CreateIssueModelSettings = existing.CreateIssueModelSettings; + CreateIssueModelOperationsSettings = existing.CreateIssueModelOperationsSettings.Clone(); + UpdateIssueModelSettings = existing.UpdateIssueModelSettings; + GetIssueModelSettings = existing.GetIssueModelSettings; + ListIssueModelsSettings = existing.ListIssueModelsSettings; + DeleteIssueModelSettings = existing.DeleteIssueModelSettings; + DeleteIssueModelOperationsSettings = existing.DeleteIssueModelOperationsSettings.Clone(); + DeployIssueModelSettings = existing.DeployIssueModelSettings; + DeployIssueModelOperationsSettings = existing.DeployIssueModelOperationsSettings.Clone(); + UndeployIssueModelSettings = existing.UndeployIssueModelSettings; + UndeployIssueModelOperationsSettings = existing.UndeployIssueModelOperationsSettings.Clone(); + ExportIssueModelSettings = existing.ExportIssueModelSettings; + ExportIssueModelOperationsSettings = existing.ExportIssueModelOperationsSettings.Clone(); + ImportIssueModelSettings = existing.ImportIssueModelSettings; + ImportIssueModelOperationsSettings = existing.ImportIssueModelOperationsSettings.Clone(); + GetIssueSettings = existing.GetIssueSettings; + ListIssuesSettings = existing.ListIssuesSettings; + UpdateIssueSettings = existing.UpdateIssueSettings; + DeleteIssueSettings = existing.DeleteIssueSettings; + CalculateIssueModelStatsSettings = existing.CalculateIssueModelStatsSettings; + CreatePhraseMatcherSettings = existing.CreatePhraseMatcherSettings; + GetPhraseMatcherSettings = existing.GetPhraseMatcherSettings; + ListPhraseMatchersSettings = existing.ListPhraseMatchersSettings; + DeletePhraseMatcherSettings = existing.DeletePhraseMatcherSettings; + UpdatePhraseMatcherSettings = existing.UpdatePhraseMatcherSettings; + CalculateStatsSettings = existing.CalculateStatsSettings; + GetSettingsSettings = existing.GetSettingsSettings; + UpdateSettingsSettings = existing.UpdateSettingsSettings; + CreateAnalysisRuleSettings = existing.CreateAnalysisRuleSettings; + GetAnalysisRuleSettings = existing.GetAnalysisRuleSettings; + ListAnalysisRulesSettings = existing.ListAnalysisRulesSettings; + UpdateAnalysisRuleSettings = existing.UpdateAnalysisRuleSettings; + DeleteAnalysisRuleSettings = existing.DeleteAnalysisRuleSettings; + GetEncryptionSpecSettings = existing.GetEncryptionSpecSettings; + InitializeEncryptionSpecSettings = existing.InitializeEncryptionSpecSettings; + InitializeEncryptionSpecOperationsSettings = existing.InitializeEncryptionSpecOperationsSettings.Clone(); + CreateViewSettings = existing.CreateViewSettings; + GetViewSettings = existing.GetViewSettings; + ListViewsSettings = existing.ListViewsSettings; + UpdateViewSettings = existing.UpdateViewSettings; + DeleteViewSettings = existing.DeleteViewSettings; + QueryMetricsSettings = existing.QueryMetricsSettings; + QueryMetricsOperationsSettings = existing.QueryMetricsOperationsSettings.Clone(); + CreateQaQuestionSettings = existing.CreateQaQuestionSettings; + GetQaQuestionSettings = existing.GetQaQuestionSettings; + UpdateQaQuestionSettings = existing.UpdateQaQuestionSettings; + DeleteQaQuestionSettings = existing.DeleteQaQuestionSettings; + ListQaQuestionsSettings = existing.ListQaQuestionsSettings; + CreateQaScorecardSettings = existing.CreateQaScorecardSettings; + GetQaScorecardSettings = existing.GetQaScorecardSettings; + UpdateQaScorecardSettings = existing.UpdateQaScorecardSettings; + DeleteQaScorecardSettings = existing.DeleteQaScorecardSettings; + ListQaScorecardsSettings = existing.ListQaScorecardsSettings; + CreateQaScorecardRevisionSettings = existing.CreateQaScorecardRevisionSettings; + GetQaScorecardRevisionSettings = existing.GetQaScorecardRevisionSettings; + TuneQaScorecardRevisionSettings = existing.TuneQaScorecardRevisionSettings; + TuneQaScorecardRevisionOperationsSettings = existing.TuneQaScorecardRevisionOperationsSettings.Clone(); + DeployQaScorecardRevisionSettings = existing.DeployQaScorecardRevisionSettings; + UndeployQaScorecardRevisionSettings = existing.UndeployQaScorecardRevisionSettings; + DeleteQaScorecardRevisionSettings = existing.DeleteQaScorecardRevisionSettings; + ListQaScorecardRevisionsSettings = existing.ListQaScorecardRevisionsSettings; + CreateFeedbackLabelSettings = existing.CreateFeedbackLabelSettings; + ListFeedbackLabelsSettings = existing.ListFeedbackLabelsSettings; + GetFeedbackLabelSettings = existing.GetFeedbackLabelSettings; + UpdateFeedbackLabelSettings = existing.UpdateFeedbackLabelSettings; + DeleteFeedbackLabelSettings = existing.DeleteFeedbackLabelSettings; + ListAllFeedbackLabelsSettings = existing.ListAllFeedbackLabelsSettings; + BulkUploadFeedbackLabelsSettings = existing.BulkUploadFeedbackLabelsSettings; + BulkUploadFeedbackLabelsOperationsSettings = existing.BulkUploadFeedbackLabelsOperationsSettings.Clone(); + BulkDownloadFeedbackLabelsSettings = existing.BulkDownloadFeedbackLabelsSettings; + BulkDownloadFeedbackLabelsOperationsSettings = existing.BulkDownloadFeedbackLabelsOperationsSettings.Clone(); + IAMPolicySettings = existing.IAMPolicySettings; + OnCopy(existing); + } + + partial void OnCopy(ContactCenterInsightsSettings existing); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CreateConversation and + /// ContactCenterInsightsClient.CreateConversationAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CreateConversationSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UploadConversation and + /// ContactCenterInsightsClient.UploadConversationAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UploadConversationSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.UploadConversation and + /// ContactCenterInsightsClient.UploadConversationAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings UploadConversationOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UpdateConversation and + /// ContactCenterInsightsClient.UpdateConversationAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UpdateConversationSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetConversation and ContactCenterInsightsClient.GetConversationAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetConversationSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListConversations and + /// ContactCenterInsightsClient.ListConversationsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListConversationsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeleteConversation and + /// ContactCenterInsightsClient.DeleteConversationAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeleteConversationSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CreateAnalysis and ContactCenterInsightsClient.CreateAnalysisAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CreateAnalysisSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.CreateAnalysis and + /// ContactCenterInsightsClient.CreateAnalysisAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings CreateAnalysisOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetAnalysis and ContactCenterInsightsClient.GetAnalysisAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetAnalysisSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListAnalyses and ContactCenterInsightsClient.ListAnalysesAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListAnalysesSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeleteAnalysis and ContactCenterInsightsClient.DeleteAnalysisAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeleteAnalysisSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.BulkAnalyzeConversations and + /// ContactCenterInsightsClient.BulkAnalyzeConversationsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings BulkAnalyzeConversationsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.BulkAnalyzeConversations and + /// ContactCenterInsightsClient.BulkAnalyzeConversationsAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings BulkAnalyzeConversationsOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.BulkDeleteConversations and + /// ContactCenterInsightsClient.BulkDeleteConversationsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings BulkDeleteConversationsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.BulkDeleteConversations and + /// ContactCenterInsightsClient.BulkDeleteConversationsAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings BulkDeleteConversationsOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.IngestConversations and + /// ContactCenterInsightsClient.IngestConversationsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings IngestConversationsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.IngestConversations and + /// ContactCenterInsightsClient.IngestConversationsAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings IngestConversationsOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ExportInsightsData and + /// ContactCenterInsightsClient.ExportInsightsDataAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ExportInsightsDataSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.ExportInsightsData and + /// ContactCenterInsightsClient.ExportInsightsDataAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings ExportInsightsDataOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CreateIssueModel and ContactCenterInsightsClient.CreateIssueModelAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CreateIssueModelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.CreateIssueModel and + /// ContactCenterInsightsClient.CreateIssueModelAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings CreateIssueModelOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UpdateIssueModel and ContactCenterInsightsClient.UpdateIssueModelAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UpdateIssueModelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetIssueModel and ContactCenterInsightsClient.GetIssueModelAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetIssueModelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListIssueModels and ContactCenterInsightsClient.ListIssueModelsAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListIssueModelsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeleteIssueModel and ContactCenterInsightsClient.DeleteIssueModelAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeleteIssueModelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.DeleteIssueModel and + /// ContactCenterInsightsClient.DeleteIssueModelAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings DeleteIssueModelOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeployIssueModel and ContactCenterInsightsClient.DeployIssueModelAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeployIssueModelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.DeployIssueModel and + /// ContactCenterInsightsClient.DeployIssueModelAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings DeployIssueModelOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UndeployIssueModel and + /// ContactCenterInsightsClient.UndeployIssueModelAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UndeployIssueModelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.UndeployIssueModel and + /// ContactCenterInsightsClient.UndeployIssueModelAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings UndeployIssueModelOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ExportIssueModel and ContactCenterInsightsClient.ExportIssueModelAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ExportIssueModelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.ExportIssueModel and + /// ContactCenterInsightsClient.ExportIssueModelAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings ExportIssueModelOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ImportIssueModel and ContactCenterInsightsClient.ImportIssueModelAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ImportIssueModelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.ImportIssueModel and + /// ContactCenterInsightsClient.ImportIssueModelAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings ImportIssueModelOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetIssue and ContactCenterInsightsClient.GetIssueAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetIssueSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListIssues and ContactCenterInsightsClient.ListIssuesAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListIssuesSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UpdateIssue and ContactCenterInsightsClient.UpdateIssueAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UpdateIssueSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeleteIssue and ContactCenterInsightsClient.DeleteIssueAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeleteIssueSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CalculateIssueModelStats and + /// ContactCenterInsightsClient.CalculateIssueModelStatsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CalculateIssueModelStatsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CreatePhraseMatcher and + /// ContactCenterInsightsClient.CreatePhraseMatcherAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CreatePhraseMatcherSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetPhraseMatcher and ContactCenterInsightsClient.GetPhraseMatcherAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetPhraseMatcherSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListPhraseMatchers and + /// ContactCenterInsightsClient.ListPhraseMatchersAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListPhraseMatchersSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeletePhraseMatcher and + /// ContactCenterInsightsClient.DeletePhraseMatcherAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeletePhraseMatcherSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UpdatePhraseMatcher and + /// ContactCenterInsightsClient.UpdatePhraseMatcherAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UpdatePhraseMatcherSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CalculateStats and ContactCenterInsightsClient.CalculateStatsAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CalculateStatsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetSettings and ContactCenterInsightsClient.GetSettingsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetSettingsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UpdateSettings and ContactCenterInsightsClient.UpdateSettingsAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UpdateSettingsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CreateAnalysisRule and + /// ContactCenterInsightsClient.CreateAnalysisRuleAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CreateAnalysisRuleSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetAnalysisRule and ContactCenterInsightsClient.GetAnalysisRuleAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetAnalysisRuleSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListAnalysisRules and + /// ContactCenterInsightsClient.ListAnalysisRulesAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListAnalysisRulesSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UpdateAnalysisRule and + /// ContactCenterInsightsClient.UpdateAnalysisRuleAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UpdateAnalysisRuleSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeleteAnalysisRule and + /// ContactCenterInsightsClient.DeleteAnalysisRuleAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeleteAnalysisRuleSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetEncryptionSpec and + /// ContactCenterInsightsClient.GetEncryptionSpecAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetEncryptionSpecSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.InitializeEncryptionSpec and + /// ContactCenterInsightsClient.InitializeEncryptionSpecAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings InitializeEncryptionSpecSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.InitializeEncryptionSpec and + /// ContactCenterInsightsClient.InitializeEncryptionSpecAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings InitializeEncryptionSpecOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CreateView and ContactCenterInsightsClient.CreateViewAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CreateViewSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetView and ContactCenterInsightsClient.GetViewAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetViewSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListViews and ContactCenterInsightsClient.ListViewsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListViewsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UpdateView and ContactCenterInsightsClient.UpdateViewAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UpdateViewSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeleteView and ContactCenterInsightsClient.DeleteViewAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeleteViewSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.QueryMetrics and ContactCenterInsightsClient.QueryMetricsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings QueryMetricsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.QueryMetrics and + /// ContactCenterInsightsClient.QueryMetricsAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings QueryMetricsOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CreateQaQuestion and ContactCenterInsightsClient.CreateQaQuestionAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CreateQaQuestionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetQaQuestion and ContactCenterInsightsClient.GetQaQuestionAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetQaQuestionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UpdateQaQuestion and ContactCenterInsightsClient.UpdateQaQuestionAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UpdateQaQuestionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeleteQaQuestion and ContactCenterInsightsClient.DeleteQaQuestionAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeleteQaQuestionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListQaQuestions and ContactCenterInsightsClient.ListQaQuestionsAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListQaQuestionsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CreateQaScorecard and + /// ContactCenterInsightsClient.CreateQaScorecardAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CreateQaScorecardSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetQaScorecard and ContactCenterInsightsClient.GetQaScorecardAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetQaScorecardSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UpdateQaScorecard and + /// ContactCenterInsightsClient.UpdateQaScorecardAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UpdateQaScorecardSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeleteQaScorecard and + /// ContactCenterInsightsClient.DeleteQaScorecardAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeleteQaScorecardSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListQaScorecards and ContactCenterInsightsClient.ListQaScorecardsAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListQaScorecardsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CreateQaScorecardRevision and + /// ContactCenterInsightsClient.CreateQaScorecardRevisionAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CreateQaScorecardRevisionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetQaScorecardRevision and + /// ContactCenterInsightsClient.GetQaScorecardRevisionAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetQaScorecardRevisionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.TuneQaScorecardRevision and + /// ContactCenterInsightsClient.TuneQaScorecardRevisionAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings TuneQaScorecardRevisionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.TuneQaScorecardRevision and + /// ContactCenterInsightsClient.TuneQaScorecardRevisionAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings TuneQaScorecardRevisionOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeployQaScorecardRevision and + /// ContactCenterInsightsClient.DeployQaScorecardRevisionAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeployQaScorecardRevisionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UndeployQaScorecardRevision and + /// ContactCenterInsightsClient.UndeployQaScorecardRevisionAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UndeployQaScorecardRevisionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeleteQaScorecardRevision and + /// ContactCenterInsightsClient.DeleteQaScorecardRevisionAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeleteQaScorecardRevisionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListQaScorecardRevisions and + /// ContactCenterInsightsClient.ListQaScorecardRevisionsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListQaScorecardRevisionsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.CreateFeedbackLabel and + /// ContactCenterInsightsClient.CreateFeedbackLabelAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings CreateFeedbackLabelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListFeedbackLabels and + /// ContactCenterInsightsClient.ListFeedbackLabelsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListFeedbackLabelsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.GetFeedbackLabel and ContactCenterInsightsClient.GetFeedbackLabelAsync + /// . + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings GetFeedbackLabelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.UpdateFeedbackLabel and + /// ContactCenterInsightsClient.UpdateFeedbackLabelAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings UpdateFeedbackLabelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.DeleteFeedbackLabel and + /// ContactCenterInsightsClient.DeleteFeedbackLabelAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings DeleteFeedbackLabelSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.ListAllFeedbackLabels and + /// ContactCenterInsightsClient.ListAllFeedbackLabelsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings ListAllFeedbackLabelsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.BulkUploadFeedbackLabels and + /// ContactCenterInsightsClient.BulkUploadFeedbackLabelsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings BulkUploadFeedbackLabelsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.BulkUploadFeedbackLabels and + /// ContactCenterInsightsClient.BulkUploadFeedbackLabelsAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings BulkUploadFeedbackLabelsOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// ContactCenterInsightsClient.BulkDownloadFeedbackLabels and + /// ContactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: 5 + /// + /// Retriable status codes: . + /// + /// Timeout: 60 seconds. + /// + /// + public gaxgrpc::CallSettings BulkDownloadFeedbackLabelsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(60000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 5, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// Long Running Operation settings for calls to ContactCenterInsightsClient.BulkDownloadFeedbackLabels + /// and ContactCenterInsightsClient.BulkDownloadFeedbackLabelsAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings BulkDownloadFeedbackLabelsOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// The settings to use for the associated with the client. + /// + public gciv::IAMPolicySettings IAMPolicySettings { get; set; } = gciv::IAMPolicySettings.GetDefault(); + + /// Creates a deep clone of this object, with all the same property values. + /// A deep clone of this object. + public ContactCenterInsightsSettings Clone() => new ContactCenterInsightsSettings(this); + } + + /// + /// Builder class for to provide simple configuration of credentials, + /// endpoint etc. + /// + public sealed partial class ContactCenterInsightsClientBuilder : gaxgrpc::ClientBuilderBase + { + /// The settings to use for RPCs, or null for the default settings. + public ContactCenterInsightsSettings Settings { get; set; } + + /// Creates a new builder with default settings. + public ContactCenterInsightsClientBuilder() : base(ContactCenterInsightsClient.ServiceMetadata) + { + } + + partial void InterceptBuild(ref ContactCenterInsightsClient client); + + partial void InterceptBuildAsync(st::CancellationToken cancellationToken, ref stt::Task task); + + /// Builds the resulting client. + public override ContactCenterInsightsClient Build() + { + ContactCenterInsightsClient client = null; + InterceptBuild(ref client); + return client ?? BuildImpl(); + } + + /// Builds the resulting client asynchronously. + public override stt::Task BuildAsync(st::CancellationToken cancellationToken = default) + { + stt::Task task = null; + InterceptBuildAsync(cancellationToken, ref task); + return task ?? BuildAsyncImpl(cancellationToken); + } + + private ContactCenterInsightsClient BuildImpl() + { + Validate(); + grpccore::CallInvoker callInvoker = CreateCallInvoker(); + return ContactCenterInsightsClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + private async stt::Task BuildAsyncImpl(st::CancellationToken cancellationToken) + { + Validate(); + grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false); + return ContactCenterInsightsClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + /// Returns the channel pool to use when no other options are specified. + protected override gaxgrpc::ChannelPool GetChannelPool() => ContactCenterInsightsClient.ChannelPool; + } + + /// ContactCenterInsights client wrapper, for convenient use. + /// + /// An API that lets users analyze and explore their business conversation data. + /// + public abstract partial class ContactCenterInsightsClient + { + /// + /// The default endpoint for the ContactCenterInsights service, which is a host of + /// "contactcenterinsights.googleapis.com" and a port of 443. + /// + public static string DefaultEndpoint { get; } = "contactcenterinsights.googleapis.com:443"; + + /// The default ContactCenterInsights scopes. + /// + /// The default ContactCenterInsights scopes are: + /// + /// https://www.googleapis.com/auth/cloud-platform + /// + /// + public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] + { + "https://www.googleapis.com/auth/cloud-platform", + }); + + /// The service metadata associated with this client type. + public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(ContactCenterInsights.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata); + + internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata); + + /// + /// Asynchronously creates a using the default credentials, endpoint + /// and settings. To specify custom credentials or other settings, use + /// . + /// + /// + /// The to use while creating the client. + /// + /// The task representing the created . + public static stt::Task CreateAsync(st::CancellationToken cancellationToken = default) => + new ContactCenterInsightsClientBuilder().BuildAsync(cancellationToken); + + /// + /// Synchronously creates a using the default credentials, endpoint + /// and settings. To specify custom credentials or other settings, use + /// . + /// + /// The created . + public static ContactCenterInsightsClient Create() => new ContactCenterInsightsClientBuilder().Build(); + + /// + /// Creates a which uses the specified call invoker for remote + /// operations. + /// + /// + /// The for remote operations. Must not be null. + /// + /// Optional . + /// Optional . + /// The created . + internal static ContactCenterInsightsClient Create(grpccore::CallInvoker callInvoker, ContactCenterInsightsSettings settings = null, mel::ILogger logger = null) + { + gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); + grpcinter::Interceptor interceptor = settings?.Interceptor; + if (interceptor != null) + { + callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); + } + ContactCenterInsights.ContactCenterInsightsClient grpcClient = new ContactCenterInsights.ContactCenterInsightsClient(callInvoker); + return new ContactCenterInsightsClientImpl(grpcClient, settings, logger); + } + + /// + /// Shuts down any channels automatically created by and + /// . Channels which weren't automatically created are not + /// affected. + /// + /// + /// After calling this method, further calls to and + /// will create new channels, which could in turn be shut down + /// by another call to this method. + /// + /// A task representing the asynchronous shutdown operation. + public static stt::Task ShutdownDefaultChannelsAsync() => ChannelPool.ShutdownChannelsAsync(); + + /// The underlying gRPC ContactCenterInsights client + public virtual ContactCenterInsights.ContactCenterInsightsClient GrpcClient => throw new sys::NotImplementedException(); + + /// The associated with this client. + public virtual gciv::IAMPolicyClient IAMPolicyClient => throw new sys::NotImplementedException(); + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Conversation CreateConversation(CreateConversationRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateConversationAsync(CreateConversationRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateConversationAsync(CreateConversationRequest request, st::CancellationToken cancellationToken) => + CreateConversationAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// + /// Required. The parent resource of the conversation. + /// + /// + /// Required. The conversation resource to create. + /// + /// + /// 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 + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Conversation CreateConversation(string parent, Conversation conversation, string conversationId, gaxgrpc::CallSettings callSettings = null) => + CreateConversation(new CreateConversationRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + Conversation = gax::GaxPreconditions.CheckNotNull(conversation, nameof(conversation)), + ConversationId = conversationId ?? "", + }, callSettings); + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// + /// Required. The parent resource of the conversation. + /// + /// + /// Required. The conversation resource to create. + /// + /// + /// 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 + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateConversationAsync(string parent, Conversation conversation, string conversationId, gaxgrpc::CallSettings callSettings = null) => + CreateConversationAsync(new CreateConversationRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + Conversation = gax::GaxPreconditions.CheckNotNull(conversation, nameof(conversation)), + ConversationId = conversationId ?? "", + }, callSettings); + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// + /// Required. The parent resource of the conversation. + /// + /// + /// Required. The conversation resource to create. + /// + /// + /// 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 + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateConversationAsync(string parent, Conversation conversation, string conversationId, st::CancellationToken cancellationToken) => + CreateConversationAsync(parent, conversation, conversationId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// + /// Required. The parent resource of the conversation. + /// + /// + /// Required. The conversation resource to create. + /// + /// + /// 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 + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Conversation CreateConversation(gagr::LocationName parent, Conversation conversation, string conversationId, gaxgrpc::CallSettings callSettings = null) => + CreateConversation(new CreateConversationRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + Conversation = gax::GaxPreconditions.CheckNotNull(conversation, nameof(conversation)), + ConversationId = conversationId ?? "", + }, callSettings); + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// + /// Required. The parent resource of the conversation. + /// + /// + /// Required. The conversation resource to create. + /// + /// + /// 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 + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateConversationAsync(gagr::LocationName parent, Conversation conversation, string conversationId, gaxgrpc::CallSettings callSettings = null) => + CreateConversationAsync(new CreateConversationRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + Conversation = gax::GaxPreconditions.CheckNotNull(conversation, nameof(conversation)), + ConversationId = conversationId ?? "", + }, callSettings); + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// + /// Required. The parent resource of the conversation. + /// + /// + /// Required. The conversation resource to create. + /// + /// + /// 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 + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateConversationAsync(gagr::LocationName parent, Conversation conversation, string conversationId, st::CancellationToken cancellationToken) => + CreateConversationAsync(parent, conversation, conversationId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Create a long-running conversation upload operation. This method differs + /// from `CreateConversation` by allowing audio transcription and optional DLP + /// redaction. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation UploadConversation(UploadConversationRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Create a long-running conversation upload operation. This method differs + /// from `CreateConversation` by allowing audio transcription and optional DLP + /// redaction. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> UploadConversationAsync(UploadConversationRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Create a long-running conversation upload operation. This method differs + /// from `CreateConversation` by allowing audio transcription and optional DLP + /// redaction. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> UploadConversationAsync(UploadConversationRequest request, st::CancellationToken cancellationToken) => + UploadConversationAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for UploadConversation. + public virtual lro::OperationsClient UploadConversationOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of UploadConversation + /// . + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceUploadConversation(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), UploadConversationOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// UploadConversation. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceUploadConversationAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), UploadConversationOperationsClient, callSettings); + + /// + /// Updates a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Conversation UpdateConversation(UpdateConversationRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateConversationAsync(UpdateConversationRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateConversationAsync(UpdateConversationRequest request, st::CancellationToken cancellationToken) => + UpdateConversationAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates a conversation. + /// + /// + /// Required. The new values for the conversation. + /// + /// + /// The list of fields to be updated. All possible fields can be updated by + /// passing `*`, or a subset of the following updateable fields can be + /// provided: + /// + /// * `agent_id` + /// * `language_code` + /// * `labels` + /// * `metadata` + /// * `quality_metadata` + /// * `call_metadata` + /// * `start_time` + /// * `expire_time` or `ttl` + /// * `data_source.gcs_source.audio_uri` or + /// `data_source.dialogflow_source.audio_uri` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Conversation UpdateConversation(Conversation conversation, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateConversation(new UpdateConversationRequest + { + Conversation = gax::GaxPreconditions.CheckNotNull(conversation, nameof(conversation)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates a conversation. + /// + /// + /// Required. The new values for the conversation. + /// + /// + /// The list of fields to be updated. All possible fields can be updated by + /// passing `*`, or a subset of the following updateable fields can be + /// provided: + /// + /// * `agent_id` + /// * `language_code` + /// * `labels` + /// * `metadata` + /// * `quality_metadata` + /// * `call_metadata` + /// * `start_time` + /// * `expire_time` or `ttl` + /// * `data_source.gcs_source.audio_uri` or + /// `data_source.dialogflow_source.audio_uri` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateConversationAsync(Conversation conversation, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateConversationAsync(new UpdateConversationRequest + { + Conversation = gax::GaxPreconditions.CheckNotNull(conversation, nameof(conversation)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates a conversation. + /// + /// + /// Required. The new values for the conversation. + /// + /// + /// The list of fields to be updated. All possible fields can be updated by + /// passing `*`, or a subset of the following updateable fields can be + /// provided: + /// + /// * `agent_id` + /// * `language_code` + /// * `labels` + /// * `metadata` + /// * `quality_metadata` + /// * `call_metadata` + /// * `start_time` + /// * `expire_time` or `ttl` + /// * `data_source.gcs_source.audio_uri` or + /// `data_source.dialogflow_source.audio_uri` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateConversationAsync(Conversation conversation, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateConversationAsync(conversation, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Conversation GetConversation(GetConversationRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetConversationAsync(GetConversationRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetConversationAsync(GetConversationRequest request, st::CancellationToken cancellationToken) => + GetConversationAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a conversation. + /// + /// + /// Required. The name of the conversation to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Conversation GetConversation(string name, gaxgrpc::CallSettings callSettings = null) => + GetConversation(new GetConversationRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a conversation. + /// + /// + /// Required. The name of the conversation to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetConversationAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetConversationAsync(new GetConversationRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a conversation. + /// + /// + /// Required. The name of the conversation to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetConversationAsync(string name, st::CancellationToken cancellationToken) => + GetConversationAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a conversation. + /// + /// + /// Required. The name of the conversation to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Conversation GetConversation(ConversationName name, gaxgrpc::CallSettings callSettings = null) => + GetConversation(new GetConversationRequest + { + ConversationName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a conversation. + /// + /// + /// Required. The name of the conversation to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetConversationAsync(ConversationName name, gaxgrpc::CallSettings callSettings = null) => + GetConversationAsync(new GetConversationRequest + { + ConversationName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a conversation. + /// + /// + /// Required. The name of the conversation to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetConversationAsync(ConversationName name, st::CancellationToken cancellationToken) => + GetConversationAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists conversations. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListConversations(ListConversationsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists conversations. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListConversationsAsync(ListConversationsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists conversations. + /// + /// + /// Required. The parent resource of the conversation. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListConversations(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListConversationsRequest request = new ListConversationsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListConversations(request, callSettings); + } + + /// + /// Lists conversations. + /// + /// + /// Required. The parent resource of the conversation. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListConversationsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListConversationsRequest request = new ListConversationsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListConversationsAsync(request, callSettings); + } + + /// + /// Lists conversations. + /// + /// + /// Required. The parent resource of the conversation. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListConversations(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListConversationsRequest request = new ListConversationsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListConversations(request, callSettings); + } + + /// + /// Lists conversations. + /// + /// + /// Required. The parent resource of the conversation. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListConversationsAsync(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListConversationsRequest request = new ListConversationsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListConversationsAsync(request, callSettings); + } + + /// + /// Deletes a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteConversation(DeleteConversationRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteConversationAsync(DeleteConversationRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteConversationAsync(DeleteConversationRequest request, st::CancellationToken cancellationToken) => + DeleteConversationAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a conversation. + /// + /// + /// Required. The name of the conversation to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteConversation(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteConversation(new DeleteConversationRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a conversation. + /// + /// + /// Required. The name of the conversation to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteConversationAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteConversationAsync(new DeleteConversationRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a conversation. + /// + /// + /// Required. The name of the conversation to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteConversationAsync(string name, st::CancellationToken cancellationToken) => + DeleteConversationAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a conversation. + /// + /// + /// Required. The name of the conversation to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteConversation(ConversationName name, gaxgrpc::CallSettings callSettings = null) => + DeleteConversation(new DeleteConversationRequest + { + ConversationName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a conversation. + /// + /// + /// Required. The name of the conversation to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteConversationAsync(ConversationName name, gaxgrpc::CallSettings callSettings = null) => + DeleteConversationAsync(new DeleteConversationRequest + { + ConversationName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a conversation. + /// + /// + /// Required. The name of the conversation to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteConversationAsync(ConversationName name, st::CancellationToken cancellationToken) => + DeleteConversationAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation CreateAnalysis(CreateAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> CreateAnalysisAsync(CreateAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> CreateAnalysisAsync(CreateAnalysisRequest request, st::CancellationToken cancellationToken) => + CreateAnalysisAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for CreateAnalysis. + public virtual lro::OperationsClient CreateAnalysisOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of CreateAnalysis. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceCreateAnalysis(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), CreateAnalysisOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// CreateAnalysis. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceCreateAnalysisAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), CreateAnalysisOperationsClient, callSettings); + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// + /// Required. The parent resource of the analysis. + /// + /// + /// Required. The analysis to create. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation CreateAnalysis(string parent, Analysis analysis, gaxgrpc::CallSettings callSettings = null) => + CreateAnalysis(new CreateAnalysisRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + Analysis = gax::GaxPreconditions.CheckNotNull(analysis, nameof(analysis)), + }, callSettings); + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// + /// Required. The parent resource of the analysis. + /// + /// + /// Required. The analysis to create. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> CreateAnalysisAsync(string parent, Analysis analysis, gaxgrpc::CallSettings callSettings = null) => + CreateAnalysisAsync(new CreateAnalysisRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + Analysis = gax::GaxPreconditions.CheckNotNull(analysis, nameof(analysis)), + }, callSettings); + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// + /// Required. The parent resource of the analysis. + /// + /// + /// Required. The analysis to create. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> CreateAnalysisAsync(string parent, Analysis analysis, st::CancellationToken cancellationToken) => + CreateAnalysisAsync(parent, analysis, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// + /// Required. The parent resource of the analysis. + /// + /// + /// Required. The analysis to create. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation CreateAnalysis(ConversationName parent, Analysis analysis, gaxgrpc::CallSettings callSettings = null) => + CreateAnalysis(new CreateAnalysisRequest + { + ParentAsConversationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + Analysis = gax::GaxPreconditions.CheckNotNull(analysis, nameof(analysis)), + }, callSettings); + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// + /// Required. The parent resource of the analysis. + /// + /// + /// Required. The analysis to create. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> CreateAnalysisAsync(ConversationName parent, Analysis analysis, gaxgrpc::CallSettings callSettings = null) => + CreateAnalysisAsync(new CreateAnalysisRequest + { + ParentAsConversationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + Analysis = gax::GaxPreconditions.CheckNotNull(analysis, nameof(analysis)), + }, callSettings); + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// + /// Required. The parent resource of the analysis. + /// + /// + /// Required. The analysis to create. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> CreateAnalysisAsync(ConversationName parent, Analysis analysis, st::CancellationToken cancellationToken) => + CreateAnalysisAsync(parent, analysis, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an analysis. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Analysis GetAnalysis(GetAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets an analysis. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisAsync(GetAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets an analysis. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisAsync(GetAnalysisRequest request, st::CancellationToken cancellationToken) => + GetAnalysisAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an analysis. + /// + /// + /// Required. The name of the analysis to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Analysis GetAnalysis(string name, gaxgrpc::CallSettings callSettings = null) => + GetAnalysis(new GetAnalysisRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets an analysis. + /// + /// + /// Required. The name of the analysis to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetAnalysisAsync(new GetAnalysisRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets an analysis. + /// + /// + /// Required. The name of the analysis to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisAsync(string name, st::CancellationToken cancellationToken) => + GetAnalysisAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an analysis. + /// + /// + /// Required. The name of the analysis to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Analysis GetAnalysis(AnalysisName name, gaxgrpc::CallSettings callSettings = null) => + GetAnalysis(new GetAnalysisRequest + { + AnalysisName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets an analysis. + /// + /// + /// Required. The name of the analysis to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisAsync(AnalysisName name, gaxgrpc::CallSettings callSettings = null) => + GetAnalysisAsync(new GetAnalysisRequest + { + AnalysisName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets an analysis. + /// + /// + /// Required. The name of the analysis to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisAsync(AnalysisName name, st::CancellationToken cancellationToken) => + GetAnalysisAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists analyses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAnalyses(ListAnalysesRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists analyses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAnalysesAsync(ListAnalysesRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists analyses. + /// + /// + /// Required. The parent resource of the analyses. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAnalyses(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAnalysesRequest request = new ListAnalysesRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAnalyses(request, callSettings); + } + + /// + /// Lists analyses. + /// + /// + /// Required. The parent resource of the analyses. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAnalysesAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAnalysesRequest request = new ListAnalysesRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAnalysesAsync(request, callSettings); + } + + /// + /// Lists analyses. + /// + /// + /// Required. The parent resource of the analyses. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAnalyses(ConversationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAnalysesRequest request = new ListAnalysesRequest + { + ParentAsConversationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAnalyses(request, callSettings); + } + + /// + /// Lists analyses. + /// + /// + /// Required. The parent resource of the analyses. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAnalysesAsync(ConversationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAnalysesRequest request = new ListAnalysesRequest + { + ParentAsConversationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAnalysesAsync(request, callSettings); + } + + /// + /// Deletes an analysis. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteAnalysis(DeleteAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes an analysis. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisAsync(DeleteAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes an analysis. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisAsync(DeleteAnalysisRequest request, st::CancellationToken cancellationToken) => + DeleteAnalysisAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes an analysis. + /// + /// + /// Required. The name of the analysis to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteAnalysis(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteAnalysis(new DeleteAnalysisRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an analysis. + /// + /// + /// Required. The name of the analysis to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteAnalysisAsync(new DeleteAnalysisRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an analysis. + /// + /// + /// Required. The name of the analysis to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisAsync(string name, st::CancellationToken cancellationToken) => + DeleteAnalysisAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes an analysis. + /// + /// + /// Required. The name of the analysis to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteAnalysis(AnalysisName name, gaxgrpc::CallSettings callSettings = null) => + DeleteAnalysis(new DeleteAnalysisRequest + { + AnalysisName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an analysis. + /// + /// + /// Required. The name of the analysis to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisAsync(AnalysisName name, gaxgrpc::CallSettings callSettings = null) => + DeleteAnalysisAsync(new DeleteAnalysisRequest + { + AnalysisName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an analysis. + /// + /// + /// Required. The name of the analysis to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisAsync(AnalysisName name, st::CancellationToken cancellationToken) => + DeleteAnalysisAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Analyzes multiple conversations in a single request. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkAnalyzeConversations(BulkAnalyzeConversationsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Analyzes multiple conversations in a single request. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Analyzes multiple conversations in a single request. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest request, st::CancellationToken cancellationToken) => + BulkAnalyzeConversationsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for BulkAnalyzeConversations. + public virtual lro::OperationsClient BulkAnalyzeConversationsOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of + /// BulkAnalyzeConversations. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceBulkAnalyzeConversations(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), BulkAnalyzeConversationsOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// BulkAnalyzeConversations. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceBulkAnalyzeConversationsAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), BulkAnalyzeConversationsOperationsClient, callSettings); + + /// + /// Analyzes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to create analyses in. + /// + /// + /// Required. Filter used to select the subset of conversations to analyze. + /// + /// + /// Required. Percentage of selected conversation to analyze, between + /// [0, 100]. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkAnalyzeConversations(string parent, string filter, float analysisPercentage, gaxgrpc::CallSettings callSettings = null) => + BulkAnalyzeConversations(new BulkAnalyzeConversationsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + Filter = gax::GaxPreconditions.CheckNotNullOrEmpty(filter, nameof(filter)), + AnalysisPercentage = analysisPercentage, + }, callSettings); + + /// + /// Analyzes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to create analyses in. + /// + /// + /// Required. Filter used to select the subset of conversations to analyze. + /// + /// + /// Required. Percentage of selected conversation to analyze, between + /// [0, 100]. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkAnalyzeConversationsAsync(string parent, string filter, float analysisPercentage, gaxgrpc::CallSettings callSettings = null) => + BulkAnalyzeConversationsAsync(new BulkAnalyzeConversationsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + Filter = gax::GaxPreconditions.CheckNotNullOrEmpty(filter, nameof(filter)), + AnalysisPercentage = analysisPercentage, + }, callSettings); + + /// + /// Analyzes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to create analyses in. + /// + /// + /// Required. Filter used to select the subset of conversations to analyze. + /// + /// + /// Required. Percentage of selected conversation to analyze, between + /// [0, 100]. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkAnalyzeConversationsAsync(string parent, string filter, float analysisPercentage, st::CancellationToken cancellationToken) => + BulkAnalyzeConversationsAsync(parent, filter, analysisPercentage, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Analyzes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to create analyses in. + /// + /// + /// Required. Filter used to select the subset of conversations to analyze. + /// + /// + /// Required. Percentage of selected conversation to analyze, between + /// [0, 100]. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkAnalyzeConversations(gagr::LocationName parent, string filter, float analysisPercentage, gaxgrpc::CallSettings callSettings = null) => + BulkAnalyzeConversations(new BulkAnalyzeConversationsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + Filter = gax::GaxPreconditions.CheckNotNullOrEmpty(filter, nameof(filter)), + AnalysisPercentage = analysisPercentage, + }, callSettings); + + /// + /// Analyzes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to create analyses in. + /// + /// + /// Required. Filter used to select the subset of conversations to analyze. + /// + /// + /// Required. Percentage of selected conversation to analyze, between + /// [0, 100]. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkAnalyzeConversationsAsync(gagr::LocationName parent, string filter, float analysisPercentage, gaxgrpc::CallSettings callSettings = null) => + BulkAnalyzeConversationsAsync(new BulkAnalyzeConversationsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + Filter = gax::GaxPreconditions.CheckNotNullOrEmpty(filter, nameof(filter)), + AnalysisPercentage = analysisPercentage, + }, callSettings); + + /// + /// Analyzes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to create analyses in. + /// + /// + /// Required. Filter used to select the subset of conversations to analyze. + /// + /// + /// Required. Percentage of selected conversation to analyze, between + /// [0, 100]. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkAnalyzeConversationsAsync(gagr::LocationName parent, string filter, float analysisPercentage, st::CancellationToken cancellationToken) => + BulkAnalyzeConversationsAsync(parent, filter, analysisPercentage, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes multiple conversations in a single request. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkDeleteConversations(BulkDeleteConversationsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes multiple conversations in a single request. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDeleteConversationsAsync(BulkDeleteConversationsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes multiple conversations in a single request. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDeleteConversationsAsync(BulkDeleteConversationsRequest request, st::CancellationToken cancellationToken) => + BulkDeleteConversationsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for BulkDeleteConversations. + public virtual lro::OperationsClient BulkDeleteConversationsOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of + /// BulkDeleteConversations. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceBulkDeleteConversations(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), BulkDeleteConversationsOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// BulkDeleteConversations. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceBulkDeleteConversationsAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), BulkDeleteConversationsOperationsClient, callSettings); + + /// + /// Deletes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to delete conversations from. + /// Format: + /// projects/{project}/locations/{location} + /// + /// + /// Filter used to select the subset of conversations to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkDeleteConversations(string parent, string filter, gaxgrpc::CallSettings callSettings = null) => + BulkDeleteConversations(new BulkDeleteConversationsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + Filter = filter ?? "", + }, callSettings); + + /// + /// Deletes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to delete conversations from. + /// Format: + /// projects/{project}/locations/{location} + /// + /// + /// Filter used to select the subset of conversations to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDeleteConversationsAsync(string parent, string filter, gaxgrpc::CallSettings callSettings = null) => + BulkDeleteConversationsAsync(new BulkDeleteConversationsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + Filter = filter ?? "", + }, callSettings); + + /// + /// Deletes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to delete conversations from. + /// Format: + /// projects/{project}/locations/{location} + /// + /// + /// Filter used to select the subset of conversations to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDeleteConversationsAsync(string parent, string filter, st::CancellationToken cancellationToken) => + BulkDeleteConversationsAsync(parent, filter, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to delete conversations from. + /// Format: + /// projects/{project}/locations/{location} + /// + /// + /// Filter used to select the subset of conversations to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkDeleteConversations(gagr::LocationName parent, string filter, gaxgrpc::CallSettings callSettings = null) => + BulkDeleteConversations(new BulkDeleteConversationsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + Filter = filter ?? "", + }, callSettings); + + /// + /// Deletes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to delete conversations from. + /// Format: + /// projects/{project}/locations/{location} + /// + /// + /// Filter used to select the subset of conversations to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDeleteConversationsAsync(gagr::LocationName parent, string filter, gaxgrpc::CallSettings callSettings = null) => + BulkDeleteConversationsAsync(new BulkDeleteConversationsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + Filter = filter ?? "", + }, callSettings); + + /// + /// Deletes multiple conversations in a single request. + /// + /// + /// Required. The parent resource to delete conversations from. + /// Format: + /// projects/{project}/locations/{location} + /// + /// + /// Filter used to select the subset of conversations to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDeleteConversationsAsync(gagr::LocationName parent, string filter, st::CancellationToken cancellationToken) => + BulkDeleteConversationsAsync(parent, filter, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation IngestConversations(IngestConversationsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> IngestConversationsAsync(IngestConversationsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> IngestConversationsAsync(IngestConversationsRequest request, st::CancellationToken cancellationToken) => + IngestConversationsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for IngestConversations. + public virtual lro::OperationsClient IngestConversationsOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of IngestConversations + /// . + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceIngestConversations(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), IngestConversationsOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// IngestConversations. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceIngestConversationsAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), IngestConversationsOperationsClient, callSettings); + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// + /// Required. The parent resource for new conversations. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation IngestConversations(string parent, gaxgrpc::CallSettings callSettings = null) => + IngestConversations(new IngestConversationsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// + /// Required. The parent resource for new conversations. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> IngestConversationsAsync(string parent, gaxgrpc::CallSettings callSettings = null) => + IngestConversationsAsync(new IngestConversationsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// + /// Required. The parent resource for new conversations. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> IngestConversationsAsync(string parent, st::CancellationToken cancellationToken) => + IngestConversationsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// + /// Required. The parent resource for new conversations. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation IngestConversations(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + IngestConversations(new IngestConversationsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// + /// Required. The parent resource for new conversations. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> IngestConversationsAsync(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + IngestConversationsAsync(new IngestConversationsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// + /// Required. The parent resource for new conversations. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> IngestConversationsAsync(gagr::LocationName parent, st::CancellationToken cancellationToken) => + IngestConversationsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Export insights data to a destination defined in the request body. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation ExportInsightsData(ExportInsightsDataRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Export insights data to a destination defined in the request body. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> ExportInsightsDataAsync(ExportInsightsDataRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Export insights data to a destination defined in the request body. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> ExportInsightsDataAsync(ExportInsightsDataRequest request, st::CancellationToken cancellationToken) => + ExportInsightsDataAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for ExportInsightsData. + public virtual lro::OperationsClient ExportInsightsDataOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of ExportInsightsData + /// . + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceExportInsightsData(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), ExportInsightsDataOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// ExportInsightsData. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceExportInsightsDataAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), ExportInsightsDataOperationsClient, callSettings); + + /// + /// Export insights data to a destination defined in the request body. + /// + /// + /// Required. The parent resource to export data from. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation ExportInsightsData(string parent, gaxgrpc::CallSettings callSettings = null) => + ExportInsightsData(new ExportInsightsDataRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Export insights data to a destination defined in the request body. + /// + /// + /// Required. The parent resource to export data from. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> ExportInsightsDataAsync(string parent, gaxgrpc::CallSettings callSettings = null) => + ExportInsightsDataAsync(new ExportInsightsDataRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Export insights data to a destination defined in the request body. + /// + /// + /// Required. The parent resource to export data from. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> ExportInsightsDataAsync(string parent, st::CancellationToken cancellationToken) => + ExportInsightsDataAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Export insights data to a destination defined in the request body. + /// + /// + /// Required. The parent resource to export data from. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation ExportInsightsData(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + ExportInsightsData(new ExportInsightsDataRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Export insights data to a destination defined in the request body. + /// + /// + /// Required. The parent resource to export data from. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> ExportInsightsDataAsync(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + ExportInsightsDataAsync(new ExportInsightsDataRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Export insights data to a destination defined in the request body. + /// + /// + /// Required. The parent resource to export data from. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> ExportInsightsDataAsync(gagr::LocationName parent, st::CancellationToken cancellationToken) => + ExportInsightsDataAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation CreateIssueModel(CreateIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> CreateIssueModelAsync(CreateIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> CreateIssueModelAsync(CreateIssueModelRequest request, st::CancellationToken cancellationToken) => + CreateIssueModelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for CreateIssueModel. + public virtual lro::OperationsClient CreateIssueModelOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of CreateIssueModel. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceCreateIssueModel(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), CreateIssueModelOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// CreateIssueModel. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceCreateIssueModelAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), CreateIssueModelOperationsClient, callSettings); + + /// + /// Creates an issue model. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// + /// Required. The issue model to create. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation CreateIssueModel(string parent, IssueModel issueModel, gaxgrpc::CallSettings callSettings = null) => + CreateIssueModel(new CreateIssueModelRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + IssueModel = gax::GaxPreconditions.CheckNotNull(issueModel, nameof(issueModel)), + }, callSettings); + + /// + /// Creates an issue model. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// + /// Required. The issue model to create. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> CreateIssueModelAsync(string parent, IssueModel issueModel, gaxgrpc::CallSettings callSettings = null) => + CreateIssueModelAsync(new CreateIssueModelRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + IssueModel = gax::GaxPreconditions.CheckNotNull(issueModel, nameof(issueModel)), + }, callSettings); + + /// + /// Creates an issue model. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// + /// Required. The issue model to create. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> CreateIssueModelAsync(string parent, IssueModel issueModel, st::CancellationToken cancellationToken) => + CreateIssueModelAsync(parent, issueModel, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates an issue model. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// + /// Required. The issue model to create. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation CreateIssueModel(gagr::LocationName parent, IssueModel issueModel, gaxgrpc::CallSettings callSettings = null) => + CreateIssueModel(new CreateIssueModelRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + IssueModel = gax::GaxPreconditions.CheckNotNull(issueModel, nameof(issueModel)), + }, callSettings); + + /// + /// Creates an issue model. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// + /// Required. The issue model to create. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> CreateIssueModelAsync(gagr::LocationName parent, IssueModel issueModel, gaxgrpc::CallSettings callSettings = null) => + CreateIssueModelAsync(new CreateIssueModelRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + IssueModel = gax::GaxPreconditions.CheckNotNull(issueModel, nameof(issueModel)), + }, callSettings); + + /// + /// Creates an issue model. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// + /// Required. The issue model to create. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> CreateIssueModelAsync(gagr::LocationName parent, IssueModel issueModel, st::CancellationToken cancellationToken) => + CreateIssueModelAsync(parent, issueModel, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual IssueModel UpdateIssueModel(UpdateIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateIssueModelAsync(UpdateIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateIssueModelAsync(UpdateIssueModelRequest request, st::CancellationToken cancellationToken) => + UpdateIssueModelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates an issue model. + /// + /// + /// Required. The new values for the issue model. + /// + /// + /// The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual IssueModel UpdateIssueModel(IssueModel issueModel, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateIssueModel(new UpdateIssueModelRequest + { + IssueModel = gax::GaxPreconditions.CheckNotNull(issueModel, nameof(issueModel)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates an issue model. + /// + /// + /// Required. The new values for the issue model. + /// + /// + /// The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateIssueModelAsync(IssueModel issueModel, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateIssueModelAsync(new UpdateIssueModelRequest + { + IssueModel = gax::GaxPreconditions.CheckNotNull(issueModel, nameof(issueModel)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates an issue model. + /// + /// + /// Required. The new values for the issue model. + /// + /// + /// The list of fields to be updated. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateIssueModelAsync(IssueModel issueModel, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateIssueModelAsync(issueModel, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual IssueModel GetIssueModel(GetIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueModelAsync(GetIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueModelAsync(GetIssueModelRequest request, st::CancellationToken cancellationToken) => + GetIssueModelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an issue model. + /// + /// + /// Required. The name of the issue model to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual IssueModel GetIssueModel(string name, gaxgrpc::CallSettings callSettings = null) => + GetIssueModel(new GetIssueModelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets an issue model. + /// + /// + /// Required. The name of the issue model to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueModelAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetIssueModelAsync(new GetIssueModelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets an issue model. + /// + /// + /// Required. The name of the issue model to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueModelAsync(string name, st::CancellationToken cancellationToken) => + GetIssueModelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an issue model. + /// + /// + /// Required. The name of the issue model to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual IssueModel GetIssueModel(IssueModelName name, gaxgrpc::CallSettings callSettings = null) => + GetIssueModel(new GetIssueModelRequest + { + IssueModelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets an issue model. + /// + /// + /// Required. The name of the issue model to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueModelAsync(IssueModelName name, gaxgrpc::CallSettings callSettings = null) => + GetIssueModelAsync(new GetIssueModelRequest + { + IssueModelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets an issue model. + /// + /// + /// Required. The name of the issue model to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueModelAsync(IssueModelName name, st::CancellationToken cancellationToken) => + GetIssueModelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists issue models. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListIssueModelsResponse ListIssueModels(ListIssueModelsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists issue models. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListIssueModelsAsync(ListIssueModelsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists issue models. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListIssueModelsAsync(ListIssueModelsRequest request, st::CancellationToken cancellationToken) => + ListIssueModelsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists issue models. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListIssueModelsResponse ListIssueModels(string parent, gaxgrpc::CallSettings callSettings = null) => + ListIssueModels(new ListIssueModelsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists issue models. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListIssueModelsAsync(string parent, gaxgrpc::CallSettings callSettings = null) => + ListIssueModelsAsync(new ListIssueModelsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists issue models. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListIssueModelsAsync(string parent, st::CancellationToken cancellationToken) => + ListIssueModelsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists issue models. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListIssueModelsResponse ListIssueModels(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + ListIssueModels(new ListIssueModelsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists issue models. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListIssueModelsAsync(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + ListIssueModelsAsync(new ListIssueModelsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists issue models. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListIssueModelsAsync(gagr::LocationName parent, st::CancellationToken cancellationToken) => + ListIssueModelsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeleteIssueModel(DeleteIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIssueModelAsync(DeleteIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIssueModelAsync(DeleteIssueModelRequest request, st::CancellationToken cancellationToken) => + DeleteIssueModelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for DeleteIssueModel. + public virtual lro::OperationsClient DeleteIssueModelOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of DeleteIssueModel. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceDeleteIssueModel(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), DeleteIssueModelOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// DeleteIssueModel. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceDeleteIssueModelAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), DeleteIssueModelOperationsClient, callSettings); + + /// + /// Deletes an issue model. + /// + /// + /// Required. The name of the issue model to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeleteIssueModel(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteIssueModel(new DeleteIssueModelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an issue model. + /// + /// + /// Required. The name of the issue model to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIssueModelAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteIssueModelAsync(new DeleteIssueModelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an issue model. + /// + /// + /// Required. The name of the issue model to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIssueModelAsync(string name, st::CancellationToken cancellationToken) => + DeleteIssueModelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes an issue model. + /// + /// + /// Required. The name of the issue model to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeleteIssueModel(IssueModelName name, gaxgrpc::CallSettings callSettings = null) => + DeleteIssueModel(new DeleteIssueModelRequest + { + IssueModelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an issue model. + /// + /// + /// Required. The name of the issue model to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIssueModelAsync(IssueModelName name, gaxgrpc::CallSettings callSettings = null) => + DeleteIssueModelAsync(new DeleteIssueModelRequest + { + IssueModelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an issue model. + /// + /// + /// Required. The name of the issue model to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIssueModelAsync(IssueModelName name, st::CancellationToken cancellationToken) => + DeleteIssueModelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// 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. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeployIssueModel(DeployIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// 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. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeployIssueModelAsync(DeployIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// 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. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeployIssueModelAsync(DeployIssueModelRequest request, st::CancellationToken cancellationToken) => + DeployIssueModelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for DeployIssueModel. + public virtual lro::OperationsClient DeployIssueModelOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of DeployIssueModel. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceDeployIssueModel(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), DeployIssueModelOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// DeployIssueModel. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceDeployIssueModelAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), DeployIssueModelOperationsClient, callSettings); + + /// + /// 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. + /// + /// + /// Required. The issue model to deploy. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeployIssueModel(string name, gaxgrpc::CallSettings callSettings = null) => + DeployIssueModel(new DeployIssueModelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// 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. + /// + /// + /// Required. The issue model to deploy. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeployIssueModelAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeployIssueModelAsync(new DeployIssueModelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// 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. + /// + /// + /// Required. The issue model to deploy. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeployIssueModelAsync(string name, st::CancellationToken cancellationToken) => + DeployIssueModelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// 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. + /// + /// + /// Required. The issue model to deploy. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeployIssueModel(IssueModelName name, gaxgrpc::CallSettings callSettings = null) => + DeployIssueModel(new DeployIssueModelRequest + { + IssueModelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// 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. + /// + /// + /// Required. The issue model to deploy. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeployIssueModelAsync(IssueModelName name, gaxgrpc::CallSettings callSettings = null) => + DeployIssueModelAsync(new DeployIssueModelRequest + { + IssueModelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// 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. + /// + /// + /// Required. The issue model to deploy. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeployIssueModelAsync(IssueModelName name, st::CancellationToken cancellationToken) => + DeployIssueModelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation UndeployIssueModel(UndeployIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> UndeployIssueModelAsync(UndeployIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> UndeployIssueModelAsync(UndeployIssueModelRequest request, st::CancellationToken cancellationToken) => + UndeployIssueModelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for UndeployIssueModel. + public virtual lro::OperationsClient UndeployIssueModelOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of UndeployIssueModel + /// . + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceUndeployIssueModel(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), UndeployIssueModelOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// UndeployIssueModel. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceUndeployIssueModelAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), UndeployIssueModelOperationsClient, callSettings); + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// + /// Required. The issue model to undeploy. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation UndeployIssueModel(string name, gaxgrpc::CallSettings callSettings = null) => + UndeployIssueModel(new UndeployIssueModelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// + /// Required. The issue model to undeploy. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> UndeployIssueModelAsync(string name, gaxgrpc::CallSettings callSettings = null) => + UndeployIssueModelAsync(new UndeployIssueModelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// + /// Required. The issue model to undeploy. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> UndeployIssueModelAsync(string name, st::CancellationToken cancellationToken) => + UndeployIssueModelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// + /// Required. The issue model to undeploy. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation UndeployIssueModel(IssueModelName name, gaxgrpc::CallSettings callSettings = null) => + UndeployIssueModel(new UndeployIssueModelRequest + { + IssueModelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// + /// Required. The issue model to undeploy. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> UndeployIssueModelAsync(IssueModelName name, gaxgrpc::CallSettings callSettings = null) => + UndeployIssueModelAsync(new UndeployIssueModelRequest + { + IssueModelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// + /// Required. The issue model to undeploy. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> UndeployIssueModelAsync(IssueModelName name, st::CancellationToken cancellationToken) => + UndeployIssueModelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Exports an issue model to the provided destination. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation ExportIssueModel(ExportIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Exports an issue model to the provided destination. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> ExportIssueModelAsync(ExportIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Exports an issue model to the provided destination. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> ExportIssueModelAsync(ExportIssueModelRequest request, st::CancellationToken cancellationToken) => + ExportIssueModelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for ExportIssueModel. + public virtual lro::OperationsClient ExportIssueModelOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of ExportIssueModel. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceExportIssueModel(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), ExportIssueModelOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// ExportIssueModel. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceExportIssueModelAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), ExportIssueModelOperationsClient, callSettings); + + /// + /// Exports an issue model to the provided destination. + /// + /// + /// Required. The issue model to export. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation ExportIssueModel(string name, gaxgrpc::CallSettings callSettings = null) => + ExportIssueModel(new ExportIssueModelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Exports an issue model to the provided destination. + /// + /// + /// Required. The issue model to export. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> ExportIssueModelAsync(string name, gaxgrpc::CallSettings callSettings = null) => + ExportIssueModelAsync(new ExportIssueModelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Exports an issue model to the provided destination. + /// + /// + /// Required. The issue model to export. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> ExportIssueModelAsync(string name, st::CancellationToken cancellationToken) => + ExportIssueModelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Exports an issue model to the provided destination. + /// + /// + /// Required. The issue model to export. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation ExportIssueModel(IssueModelName name, gaxgrpc::CallSettings callSettings = null) => + ExportIssueModel(new ExportIssueModelRequest + { + IssueModelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Exports an issue model to the provided destination. + /// + /// + /// Required. The issue model to export. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> ExportIssueModelAsync(IssueModelName name, gaxgrpc::CallSettings callSettings = null) => + ExportIssueModelAsync(new ExportIssueModelRequest + { + IssueModelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Exports an issue model to the provided destination. + /// + /// + /// Required. The issue model to export. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> ExportIssueModelAsync(IssueModelName name, st::CancellationToken cancellationToken) => + ExportIssueModelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation ImportIssueModel(ImportIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> ImportIssueModelAsync(ImportIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> ImportIssueModelAsync(ImportIssueModelRequest request, st::CancellationToken cancellationToken) => + ImportIssueModelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for ImportIssueModel. + public virtual lro::OperationsClient ImportIssueModelOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of ImportIssueModel. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceImportIssueModel(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), ImportIssueModelOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// ImportIssueModel. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceImportIssueModelAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), ImportIssueModelOperationsClient, callSettings); + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation ImportIssueModel(string parent, gaxgrpc::CallSettings callSettings = null) => + ImportIssueModel(new ImportIssueModelRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> ImportIssueModelAsync(string parent, gaxgrpc::CallSettings callSettings = null) => + ImportIssueModelAsync(new ImportIssueModelRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> ImportIssueModelAsync(string parent, st::CancellationToken cancellationToken) => + ImportIssueModelAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation ImportIssueModel(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + ImportIssueModel(new ImportIssueModelRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> ImportIssueModelAsync(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + ImportIssueModelAsync(new ImportIssueModelRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// + /// Required. The parent resource of the issue model. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> ImportIssueModelAsync(gagr::LocationName parent, st::CancellationToken cancellationToken) => + ImportIssueModelAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Issue GetIssue(GetIssueRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueAsync(GetIssueRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets an issue. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueAsync(GetIssueRequest request, st::CancellationToken cancellationToken) => + GetIssueAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an issue. + /// + /// + /// Required. The name of the issue to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Issue GetIssue(string name, gaxgrpc::CallSettings callSettings = null) => + GetIssue(new GetIssueRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets an issue. + /// + /// + /// Required. The name of the issue to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetIssueAsync(new GetIssueRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets an issue. + /// + /// + /// Required. The name of the issue to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueAsync(string name, st::CancellationToken cancellationToken) => + GetIssueAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an issue. + /// + /// + /// Required. The name of the issue to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Issue GetIssue(IssueName name, gaxgrpc::CallSettings callSettings = null) => + GetIssue(new GetIssueRequest + { + IssueName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets an issue. + /// + /// + /// Required. The name of the issue to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueAsync(IssueName name, gaxgrpc::CallSettings callSettings = null) => + GetIssueAsync(new GetIssueRequest + { + IssueName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets an issue. + /// + /// + /// Required. The name of the issue to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIssueAsync(IssueName name, st::CancellationToken cancellationToken) => + GetIssueAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists issues. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListIssuesResponse ListIssues(ListIssuesRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists issues. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListIssuesAsync(ListIssuesRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists issues. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListIssuesAsync(ListIssuesRequest request, st::CancellationToken cancellationToken) => + ListIssuesAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists issues. + /// + /// + /// Required. The parent resource of the issue. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListIssuesResponse ListIssues(string parent, gaxgrpc::CallSettings callSettings = null) => + ListIssues(new ListIssuesRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists issues. + /// + /// + /// Required. The parent resource of the issue. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListIssuesAsync(string parent, gaxgrpc::CallSettings callSettings = null) => + ListIssuesAsync(new ListIssuesRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists issues. + /// + /// + /// Required. The parent resource of the issue. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListIssuesAsync(string parent, st::CancellationToken cancellationToken) => + ListIssuesAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists issues. + /// + /// + /// Required. The parent resource of the issue. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListIssuesResponse ListIssues(IssueModelName parent, gaxgrpc::CallSettings callSettings = null) => + ListIssues(new ListIssuesRequest + { + ParentAsIssueModelName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists issues. + /// + /// + /// Required. The parent resource of the issue. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListIssuesAsync(IssueModelName parent, gaxgrpc::CallSettings callSettings = null) => + ListIssuesAsync(new ListIssuesRequest + { + ParentAsIssueModelName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists issues. + /// + /// + /// Required. The parent resource of the issue. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListIssuesAsync(IssueModelName parent, st::CancellationToken cancellationToken) => + ListIssuesAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Issue UpdateIssue(UpdateIssueRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateIssueAsync(UpdateIssueRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates an issue. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateIssueAsync(UpdateIssueRequest request, st::CancellationToken cancellationToken) => + UpdateIssueAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates an issue. + /// + /// + /// Required. The new values for the issue. + /// + /// + /// The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Issue UpdateIssue(Issue issue, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateIssue(new UpdateIssueRequest + { + Issue = gax::GaxPreconditions.CheckNotNull(issue, nameof(issue)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates an issue. + /// + /// + /// Required. The new values for the issue. + /// + /// + /// The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateIssueAsync(Issue issue, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateIssueAsync(new UpdateIssueRequest + { + Issue = gax::GaxPreconditions.CheckNotNull(issue, nameof(issue)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates an issue. + /// + /// + /// Required. The new values for the issue. + /// + /// + /// The list of fields to be updated. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateIssueAsync(Issue issue, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateIssueAsync(issue, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteIssue(DeleteIssueRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteIssueAsync(DeleteIssueRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes an issue. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteIssueAsync(DeleteIssueRequest request, st::CancellationToken cancellationToken) => + DeleteIssueAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes an issue. + /// + /// + /// Required. The name of the issue to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteIssue(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteIssue(new DeleteIssueRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an issue. + /// + /// + /// Required. The name of the issue to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteIssueAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteIssueAsync(new DeleteIssueRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an issue. + /// + /// + /// Required. The name of the issue to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteIssueAsync(string name, st::CancellationToken cancellationToken) => + DeleteIssueAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes an issue. + /// + /// + /// Required. The name of the issue to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteIssue(IssueName name, gaxgrpc::CallSettings callSettings = null) => + DeleteIssue(new DeleteIssueRequest + { + IssueName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an issue. + /// + /// + /// Required. The name of the issue to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteIssueAsync(IssueName name, gaxgrpc::CallSettings callSettings = null) => + DeleteIssueAsync(new DeleteIssueRequest + { + IssueName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an issue. + /// + /// + /// Required. The name of the issue to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteIssueAsync(IssueName name, st::CancellationToken cancellationToken) => + DeleteIssueAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an issue model's statistics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual CalculateIssueModelStatsResponse CalculateIssueModelStats(CalculateIssueModelStatsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets an issue model's statistics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets an issue model's statistics. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest request, st::CancellationToken cancellationToken) => + CalculateIssueModelStatsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an issue model's statistics. + /// + /// + /// Required. The resource name of the issue model to query against. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual CalculateIssueModelStatsResponse CalculateIssueModelStats(string issueModel, gaxgrpc::CallSettings callSettings = null) => + CalculateIssueModelStats(new CalculateIssueModelStatsRequest + { + IssueModel = gax::GaxPreconditions.CheckNotNullOrEmpty(issueModel, nameof(issueModel)), + }, callSettings); + + /// + /// Gets an issue model's statistics. + /// + /// + /// Required. The resource name of the issue model to query against. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CalculateIssueModelStatsAsync(string issueModel, gaxgrpc::CallSettings callSettings = null) => + CalculateIssueModelStatsAsync(new CalculateIssueModelStatsRequest + { + IssueModel = gax::GaxPreconditions.CheckNotNullOrEmpty(issueModel, nameof(issueModel)), + }, callSettings); + + /// + /// Gets an issue model's statistics. + /// + /// + /// Required. The resource name of the issue model to query against. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CalculateIssueModelStatsAsync(string issueModel, st::CancellationToken cancellationToken) => + CalculateIssueModelStatsAsync(issueModel, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an issue model's statistics. + /// + /// + /// Required. The resource name of the issue model to query against. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual CalculateIssueModelStatsResponse CalculateIssueModelStats(IssueModelName issueModel, gaxgrpc::CallSettings callSettings = null) => + CalculateIssueModelStats(new CalculateIssueModelStatsRequest + { + IssueModelAsIssueModelName = gax::GaxPreconditions.CheckNotNull(issueModel, nameof(issueModel)), + }, callSettings); + + /// + /// Gets an issue model's statistics. + /// + /// + /// Required. The resource name of the issue model to query against. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CalculateIssueModelStatsAsync(IssueModelName issueModel, gaxgrpc::CallSettings callSettings = null) => + CalculateIssueModelStatsAsync(new CalculateIssueModelStatsRequest + { + IssueModelAsIssueModelName = gax::GaxPreconditions.CheckNotNull(issueModel, nameof(issueModel)), + }, callSettings); + + /// + /// Gets an issue model's statistics. + /// + /// + /// Required. The resource name of the issue model to query against. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CalculateIssueModelStatsAsync(IssueModelName issueModel, st::CancellationToken cancellationToken) => + CalculateIssueModelStatsAsync(issueModel, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual PhraseMatcher CreatePhraseMatcher(CreatePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreatePhraseMatcherAsync(CreatePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreatePhraseMatcherAsync(CreatePhraseMatcherRequest request, st::CancellationToken cancellationToken) => + CreatePhraseMatcherAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a phrase matcher. + /// + /// + /// Required. The parent resource of the phrase matcher. Required. The location + /// to create a phrase matcher for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The phrase matcher resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual PhraseMatcher CreatePhraseMatcher(string parent, PhraseMatcher phraseMatcher, gaxgrpc::CallSettings callSettings = null) => + CreatePhraseMatcher(new CreatePhraseMatcherRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + PhraseMatcher = gax::GaxPreconditions.CheckNotNull(phraseMatcher, nameof(phraseMatcher)), + }, callSettings); + + /// + /// Creates a phrase matcher. + /// + /// + /// Required. The parent resource of the phrase matcher. Required. The location + /// to create a phrase matcher for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The phrase matcher resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreatePhraseMatcherAsync(string parent, PhraseMatcher phraseMatcher, gaxgrpc::CallSettings callSettings = null) => + CreatePhraseMatcherAsync(new CreatePhraseMatcherRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + PhraseMatcher = gax::GaxPreconditions.CheckNotNull(phraseMatcher, nameof(phraseMatcher)), + }, callSettings); + + /// + /// Creates a phrase matcher. + /// + /// + /// Required. The parent resource of the phrase matcher. Required. The location + /// to create a phrase matcher for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The phrase matcher resource to create. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreatePhraseMatcherAsync(string parent, PhraseMatcher phraseMatcher, st::CancellationToken cancellationToken) => + CreatePhraseMatcherAsync(parent, phraseMatcher, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a phrase matcher. + /// + /// + /// Required. The parent resource of the phrase matcher. Required. The location + /// to create a phrase matcher for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The phrase matcher resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual PhraseMatcher CreatePhraseMatcher(gagr::LocationName parent, PhraseMatcher phraseMatcher, gaxgrpc::CallSettings callSettings = null) => + CreatePhraseMatcher(new CreatePhraseMatcherRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + PhraseMatcher = gax::GaxPreconditions.CheckNotNull(phraseMatcher, nameof(phraseMatcher)), + }, callSettings); + + /// + /// Creates a phrase matcher. + /// + /// + /// Required. The parent resource of the phrase matcher. Required. The location + /// to create a phrase matcher for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The phrase matcher resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreatePhraseMatcherAsync(gagr::LocationName parent, PhraseMatcher phraseMatcher, gaxgrpc::CallSettings callSettings = null) => + CreatePhraseMatcherAsync(new CreatePhraseMatcherRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + PhraseMatcher = gax::GaxPreconditions.CheckNotNull(phraseMatcher, nameof(phraseMatcher)), + }, callSettings); + + /// + /// Creates a phrase matcher. + /// + /// + /// Required. The parent resource of the phrase matcher. Required. The location + /// to create a phrase matcher for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The phrase matcher resource to create. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreatePhraseMatcherAsync(gagr::LocationName parent, PhraseMatcher phraseMatcher, st::CancellationToken cancellationToken) => + CreatePhraseMatcherAsync(parent, phraseMatcher, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual PhraseMatcher GetPhraseMatcher(GetPhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetPhraseMatcherAsync(GetPhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetPhraseMatcherAsync(GetPhraseMatcherRequest request, st::CancellationToken cancellationToken) => + GetPhraseMatcherAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual PhraseMatcher GetPhraseMatcher(string name, gaxgrpc::CallSettings callSettings = null) => + GetPhraseMatcher(new GetPhraseMatcherRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetPhraseMatcherAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetPhraseMatcherAsync(new GetPhraseMatcherRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetPhraseMatcherAsync(string name, st::CancellationToken cancellationToken) => + GetPhraseMatcherAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual PhraseMatcher GetPhraseMatcher(PhraseMatcherName name, gaxgrpc::CallSettings callSettings = null) => + GetPhraseMatcher(new GetPhraseMatcherRequest + { + PhraseMatcherName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetPhraseMatcherAsync(PhraseMatcherName name, gaxgrpc::CallSettings callSettings = null) => + GetPhraseMatcherAsync(new GetPhraseMatcherRequest + { + PhraseMatcherName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetPhraseMatcherAsync(PhraseMatcherName name, st::CancellationToken cancellationToken) => + GetPhraseMatcherAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists phrase matchers. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListPhraseMatchers(ListPhraseMatchersRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists phrase matchers. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListPhraseMatchersAsync(ListPhraseMatchersRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists phrase matchers. + /// + /// + /// Required. The parent resource of the phrase matcher. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListPhraseMatchers(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListPhraseMatchersRequest request = new ListPhraseMatchersRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListPhraseMatchers(request, callSettings); + } + + /// + /// Lists phrase matchers. + /// + /// + /// Required. The parent resource of the phrase matcher. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListPhraseMatchersAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListPhraseMatchersRequest request = new ListPhraseMatchersRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListPhraseMatchersAsync(request, callSettings); + } + + /// + /// Lists phrase matchers. + /// + /// + /// Required. The parent resource of the phrase matcher. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListPhraseMatchers(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListPhraseMatchersRequest request = new ListPhraseMatchersRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListPhraseMatchers(request, callSettings); + } + + /// + /// Lists phrase matchers. + /// + /// + /// Required. The parent resource of the phrase matcher. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListPhraseMatchersAsync(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListPhraseMatchersRequest request = new ListPhraseMatchersRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListPhraseMatchersAsync(request, callSettings); + } + + /// + /// Deletes a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeletePhraseMatcher(DeletePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeletePhraseMatcherAsync(DeletePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeletePhraseMatcherAsync(DeletePhraseMatcherRequest request, st::CancellationToken cancellationToken) => + DeletePhraseMatcherAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeletePhraseMatcher(string name, gaxgrpc::CallSettings callSettings = null) => + DeletePhraseMatcher(new DeletePhraseMatcherRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeletePhraseMatcherAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeletePhraseMatcherAsync(new DeletePhraseMatcherRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeletePhraseMatcherAsync(string name, st::CancellationToken cancellationToken) => + DeletePhraseMatcherAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeletePhraseMatcher(PhraseMatcherName name, gaxgrpc::CallSettings callSettings = null) => + DeletePhraseMatcher(new DeletePhraseMatcherRequest + { + PhraseMatcherName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeletePhraseMatcherAsync(PhraseMatcherName name, gaxgrpc::CallSettings callSettings = null) => + DeletePhraseMatcherAsync(new DeletePhraseMatcherRequest + { + PhraseMatcherName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a phrase matcher. + /// + /// + /// Required. The name of the phrase matcher to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeletePhraseMatcherAsync(PhraseMatcherName name, st::CancellationToken cancellationToken) => + DeletePhraseMatcherAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual PhraseMatcher UpdatePhraseMatcher(UpdatePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdatePhraseMatcherAsync(UpdatePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdatePhraseMatcherAsync(UpdatePhraseMatcherRequest request, st::CancellationToken cancellationToken) => + UpdatePhraseMatcherAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates a phrase matcher. + /// + /// + /// Required. The new values for the phrase matcher. + /// + /// + /// The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual PhraseMatcher UpdatePhraseMatcher(PhraseMatcher phraseMatcher, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdatePhraseMatcher(new UpdatePhraseMatcherRequest + { + PhraseMatcher = gax::GaxPreconditions.CheckNotNull(phraseMatcher, nameof(phraseMatcher)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates a phrase matcher. + /// + /// + /// Required. The new values for the phrase matcher. + /// + /// + /// The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdatePhraseMatcherAsync(PhraseMatcher phraseMatcher, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdatePhraseMatcherAsync(new UpdatePhraseMatcherRequest + { + PhraseMatcher = gax::GaxPreconditions.CheckNotNull(phraseMatcher, nameof(phraseMatcher)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates a phrase matcher. + /// + /// + /// Required. The new values for the phrase matcher. + /// + /// + /// The list of fields to be updated. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdatePhraseMatcherAsync(PhraseMatcher phraseMatcher, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdatePhraseMatcherAsync(phraseMatcher, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets conversation statistics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual CalculateStatsResponse CalculateStats(CalculateStatsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets conversation statistics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CalculateStatsAsync(CalculateStatsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets conversation statistics. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CalculateStatsAsync(CalculateStatsRequest request, st::CancellationToken cancellationToken) => + CalculateStatsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets conversation statistics. + /// + /// + /// Required. The location of the conversations. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual CalculateStatsResponse CalculateStats(string location, gaxgrpc::CallSettings callSettings = null) => + CalculateStats(new CalculateStatsRequest + { + Location = gax::GaxPreconditions.CheckNotNullOrEmpty(location, nameof(location)), + }, callSettings); + + /// + /// Gets conversation statistics. + /// + /// + /// Required. The location of the conversations. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CalculateStatsAsync(string location, gaxgrpc::CallSettings callSettings = null) => + CalculateStatsAsync(new CalculateStatsRequest + { + Location = gax::GaxPreconditions.CheckNotNullOrEmpty(location, nameof(location)), + }, callSettings); + + /// + /// Gets conversation statistics. + /// + /// + /// Required. The location of the conversations. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CalculateStatsAsync(string location, st::CancellationToken cancellationToken) => + CalculateStatsAsync(location, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets conversation statistics. + /// + /// + /// Required. The location of the conversations. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual CalculateStatsResponse CalculateStats(gagr::LocationName location, gaxgrpc::CallSettings callSettings = null) => + CalculateStats(new CalculateStatsRequest + { + LocationAsLocationName = gax::GaxPreconditions.CheckNotNull(location, nameof(location)), + }, callSettings); + + /// + /// Gets conversation statistics. + /// + /// + /// Required. The location of the conversations. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CalculateStatsAsync(gagr::LocationName location, gaxgrpc::CallSettings callSettings = null) => + CalculateStatsAsync(new CalculateStatsRequest + { + LocationAsLocationName = gax::GaxPreconditions.CheckNotNull(location, nameof(location)), + }, callSettings); + + /// + /// Gets conversation statistics. + /// + /// + /// Required. The location of the conversations. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CalculateStatsAsync(gagr::LocationName location, st::CancellationToken cancellationToken) => + CalculateStatsAsync(location, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets project-level settings. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Settings GetSettings(GetSettingsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets project-level settings. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetSettingsAsync(GetSettingsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets project-level settings. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetSettingsAsync(GetSettingsRequest request, st::CancellationToken cancellationToken) => + GetSettingsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets project-level settings. + /// + /// + /// Required. The name of the settings resource to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Settings GetSettings(string name, gaxgrpc::CallSettings callSettings = null) => + GetSettings(new GetSettingsRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets project-level settings. + /// + /// + /// Required. The name of the settings resource to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetSettingsAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetSettingsAsync(new GetSettingsRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets project-level settings. + /// + /// + /// Required. The name of the settings resource to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetSettingsAsync(string name, st::CancellationToken cancellationToken) => + GetSettingsAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets project-level settings. + /// + /// + /// Required. The name of the settings resource to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Settings GetSettings(SettingsName name, gaxgrpc::CallSettings callSettings = null) => + GetSettings(new GetSettingsRequest + { + SettingsName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets project-level settings. + /// + /// + /// Required. The name of the settings resource to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetSettingsAsync(SettingsName name, gaxgrpc::CallSettings callSettings = null) => + GetSettingsAsync(new GetSettingsRequest + { + SettingsName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets project-level settings. + /// + /// + /// Required. The name of the settings resource to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetSettingsAsync(SettingsName name, st::CancellationToken cancellationToken) => + GetSettingsAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates project-level settings. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Settings UpdateSettings(UpdateSettingsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates project-level settings. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateSettingsAsync(UpdateSettingsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates project-level settings. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateSettingsAsync(UpdateSettingsRequest request, st::CancellationToken cancellationToken) => + UpdateSettingsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates project-level settings. + /// + /// + /// Required. The new settings values. + /// + /// + /// Required. The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Settings UpdateSettings(Settings settings, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateSettings(new UpdateSettingsRequest + { + Settings = gax::GaxPreconditions.CheckNotNull(settings, nameof(settings)), + UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)), + }, callSettings); + + /// + /// Updates project-level settings. + /// + /// + /// Required. The new settings values. + /// + /// + /// Required. The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateSettingsAsync(Settings settings, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateSettingsAsync(new UpdateSettingsRequest + { + Settings = gax::GaxPreconditions.CheckNotNull(settings, nameof(settings)), + UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)), + }, callSettings); + + /// + /// Updates project-level settings. + /// + /// + /// Required. The new settings values. + /// + /// + /// Required. The list of fields to be updated. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateSettingsAsync(Settings settings, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateSettingsAsync(settings, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AnalysisRule CreateAnalysisRule(CreateAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateAnalysisRuleAsync(CreateAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateAnalysisRuleAsync(CreateAnalysisRuleRequest request, st::CancellationToken cancellationToken) => + CreateAnalysisRuleAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a analysis rule. + /// + /// + /// Required. The parent resource of the analysis rule. Required. The location + /// to create a analysis rule for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The analysis rule resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AnalysisRule CreateAnalysisRule(string parent, AnalysisRule analysisRule, gaxgrpc::CallSettings callSettings = null) => + CreateAnalysisRule(new CreateAnalysisRuleRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + AnalysisRule = gax::GaxPreconditions.CheckNotNull(analysisRule, nameof(analysisRule)), + }, callSettings); + + /// + /// Creates a analysis rule. + /// + /// + /// Required. The parent resource of the analysis rule. Required. The location + /// to create a analysis rule for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The analysis rule resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateAnalysisRuleAsync(string parent, AnalysisRule analysisRule, gaxgrpc::CallSettings callSettings = null) => + CreateAnalysisRuleAsync(new CreateAnalysisRuleRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + AnalysisRule = gax::GaxPreconditions.CheckNotNull(analysisRule, nameof(analysisRule)), + }, callSettings); + + /// + /// Creates a analysis rule. + /// + /// + /// Required. The parent resource of the analysis rule. Required. The location + /// to create a analysis rule for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The analysis rule resource to create. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateAnalysisRuleAsync(string parent, AnalysisRule analysisRule, st::CancellationToken cancellationToken) => + CreateAnalysisRuleAsync(parent, analysisRule, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a analysis rule. + /// + /// + /// Required. The parent resource of the analysis rule. Required. The location + /// to create a analysis rule for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The analysis rule resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AnalysisRule CreateAnalysisRule(gagr::LocationName parent, AnalysisRule analysisRule, gaxgrpc::CallSettings callSettings = null) => + CreateAnalysisRule(new CreateAnalysisRuleRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + AnalysisRule = gax::GaxPreconditions.CheckNotNull(analysisRule, nameof(analysisRule)), + }, callSettings); + + /// + /// Creates a analysis rule. + /// + /// + /// Required. The parent resource of the analysis rule. Required. The location + /// to create a analysis rule for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The analysis rule resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateAnalysisRuleAsync(gagr::LocationName parent, AnalysisRule analysisRule, gaxgrpc::CallSettings callSettings = null) => + CreateAnalysisRuleAsync(new CreateAnalysisRuleRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + AnalysisRule = gax::GaxPreconditions.CheckNotNull(analysisRule, nameof(analysisRule)), + }, callSettings); + + /// + /// Creates a analysis rule. + /// + /// + /// Required. The parent resource of the analysis rule. Required. The location + /// to create a analysis rule for. Format: `projects/<Project + /// ID>/locations/<Location ID>` or `projects/<Project + /// Number>/locations/<Location ID>` + /// + /// + /// Required. The analysis rule resource to create. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateAnalysisRuleAsync(gagr::LocationName parent, AnalysisRule analysisRule, st::CancellationToken cancellationToken) => + CreateAnalysisRuleAsync(parent, analysisRule, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Get a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AnalysisRule GetAnalysisRule(GetAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Get a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisRuleAsync(GetAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Get a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisRuleAsync(GetAnalysisRuleRequest request, st::CancellationToken cancellationToken) => + GetAnalysisRuleAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Get a analysis rule. + /// + /// + /// Required. The name of the AnalysisRule to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AnalysisRule GetAnalysisRule(string name, gaxgrpc::CallSettings callSettings = null) => + GetAnalysisRule(new GetAnalysisRuleRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Get a analysis rule. + /// + /// + /// Required. The name of the AnalysisRule to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisRuleAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetAnalysisRuleAsync(new GetAnalysisRuleRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Get a analysis rule. + /// + /// + /// Required. The name of the AnalysisRule to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisRuleAsync(string name, st::CancellationToken cancellationToken) => + GetAnalysisRuleAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Get a analysis rule. + /// + /// + /// Required. The name of the AnalysisRule to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AnalysisRule GetAnalysisRule(AnalysisRuleName name, gaxgrpc::CallSettings callSettings = null) => + GetAnalysisRule(new GetAnalysisRuleRequest + { + AnalysisRuleName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Get a analysis rule. + /// + /// + /// Required. The name of the AnalysisRule to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisRuleAsync(AnalysisRuleName name, gaxgrpc::CallSettings callSettings = null) => + GetAnalysisRuleAsync(new GetAnalysisRuleRequest + { + AnalysisRuleName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Get a analysis rule. + /// + /// + /// Required. The name of the AnalysisRule to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAnalysisRuleAsync(AnalysisRuleName name, st::CancellationToken cancellationToken) => + GetAnalysisRuleAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists analysis rules. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAnalysisRules(ListAnalysisRulesRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists analysis rules. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAnalysisRulesAsync(ListAnalysisRulesRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists analysis rules. + /// + /// + /// Required. The parent resource of the analysis rules. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAnalysisRules(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAnalysisRulesRequest request = new ListAnalysisRulesRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAnalysisRules(request, callSettings); + } + + /// + /// Lists analysis rules. + /// + /// + /// Required. The parent resource of the analysis rules. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAnalysisRulesAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAnalysisRulesRequest request = new ListAnalysisRulesRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAnalysisRulesAsync(request, callSettings); + } + + /// + /// Lists analysis rules. + /// + /// + /// Required. The parent resource of the analysis rules. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAnalysisRules(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAnalysisRulesRequest request = new ListAnalysisRulesRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAnalysisRules(request, callSettings); + } + + /// + /// Lists analysis rules. + /// + /// + /// Required. The parent resource of the analysis rules. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAnalysisRulesAsync(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAnalysisRulesRequest request = new ListAnalysisRulesRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAnalysisRulesAsync(request, callSettings); + } + + /// + /// Updates a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AnalysisRule UpdateAnalysisRule(UpdateAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateAnalysisRuleAsync(UpdateAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateAnalysisRuleAsync(UpdateAnalysisRuleRequest request, st::CancellationToken cancellationToken) => + UpdateAnalysisRuleAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates a analysis rule. + /// + /// + /// Required. The new analysis rule. + /// + /// + /// Optional. The list of fields to be updated. + /// If the update_mask is not provided, the update will be applied to all + /// fields. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AnalysisRule UpdateAnalysisRule(AnalysisRule analysisRule, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateAnalysisRule(new UpdateAnalysisRuleRequest + { + AnalysisRule = gax::GaxPreconditions.CheckNotNull(analysisRule, nameof(analysisRule)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates a analysis rule. + /// + /// + /// Required. The new analysis rule. + /// + /// + /// Optional. The list of fields to be updated. + /// If the update_mask is not provided, the update will be applied to all + /// fields. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateAnalysisRuleAsync(AnalysisRule analysisRule, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateAnalysisRuleAsync(new UpdateAnalysisRuleRequest + { + AnalysisRule = gax::GaxPreconditions.CheckNotNull(analysisRule, nameof(analysisRule)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates a analysis rule. + /// + /// + /// Required. The new analysis rule. + /// + /// + /// Optional. The list of fields to be updated. + /// If the update_mask is not provided, the update will be applied to all + /// fields. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateAnalysisRuleAsync(AnalysisRule analysisRule, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateAnalysisRuleAsync(analysisRule, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteAnalysisRule(DeleteAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisRuleAsync(DeleteAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisRuleAsync(DeleteAnalysisRuleRequest request, st::CancellationToken cancellationToken) => + DeleteAnalysisRuleAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a analysis rule. + /// + /// + /// Required. The name of the analysis rule to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteAnalysisRule(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteAnalysisRule(new DeleteAnalysisRuleRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a analysis rule. + /// + /// + /// Required. The name of the analysis rule to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisRuleAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteAnalysisRuleAsync(new DeleteAnalysisRuleRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a analysis rule. + /// + /// + /// Required. The name of the analysis rule to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisRuleAsync(string name, st::CancellationToken cancellationToken) => + DeleteAnalysisRuleAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a analysis rule. + /// + /// + /// Required. The name of the analysis rule to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteAnalysisRule(AnalysisRuleName name, gaxgrpc::CallSettings callSettings = null) => + DeleteAnalysisRule(new DeleteAnalysisRuleRequest + { + AnalysisRuleName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a analysis rule. + /// + /// + /// Required. The name of the analysis rule to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisRuleAsync(AnalysisRuleName name, gaxgrpc::CallSettings callSettings = null) => + DeleteAnalysisRuleAsync(new DeleteAnalysisRuleRequest + { + AnalysisRuleName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a analysis rule. + /// + /// + /// Required. The name of the analysis rule to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAnalysisRuleAsync(AnalysisRuleName name, st::CancellationToken cancellationToken) => + DeleteAnalysisRuleAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets location-level encryption key specification. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual EncryptionSpec GetEncryptionSpec(GetEncryptionSpecRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets location-level encryption key specification. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetEncryptionSpecAsync(GetEncryptionSpecRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets location-level encryption key specification. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetEncryptionSpecAsync(GetEncryptionSpecRequest request, st::CancellationToken cancellationToken) => + GetEncryptionSpecAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets location-level encryption key specification. + /// + /// + /// Required. The name of the encryption spec resource to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual EncryptionSpec GetEncryptionSpec(string name, gaxgrpc::CallSettings callSettings = null) => + GetEncryptionSpec(new GetEncryptionSpecRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets location-level encryption key specification. + /// + /// + /// Required. The name of the encryption spec resource to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetEncryptionSpecAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetEncryptionSpecAsync(new GetEncryptionSpecRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets location-level encryption key specification. + /// + /// + /// Required. The name of the encryption spec resource to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetEncryptionSpecAsync(string name, st::CancellationToken cancellationToken) => + GetEncryptionSpecAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets location-level encryption key specification. + /// + /// + /// Required. The name of the encryption spec resource to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual EncryptionSpec GetEncryptionSpec(EncryptionSpecName name, gaxgrpc::CallSettings callSettings = null) => + GetEncryptionSpec(new GetEncryptionSpecRequest + { + EncryptionSpecName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets location-level encryption key specification. + /// + /// + /// Required. The name of the encryption spec resource to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetEncryptionSpecAsync(EncryptionSpecName name, gaxgrpc::CallSettings callSettings = null) => + GetEncryptionSpecAsync(new GetEncryptionSpecRequest + { + EncryptionSpecName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets location-level encryption key specification. + /// + /// + /// Required. The name of the encryption spec resource to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetEncryptionSpecAsync(EncryptionSpecName name, st::CancellationToken cancellationToken) => + GetEncryptionSpecAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation InitializeEncryptionSpec(InitializeEncryptionSpecRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> InitializeEncryptionSpecAsync(InitializeEncryptionSpecRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> InitializeEncryptionSpecAsync(InitializeEncryptionSpecRequest request, st::CancellationToken cancellationToken) => + InitializeEncryptionSpecAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for InitializeEncryptionSpec. + public virtual lro::OperationsClient InitializeEncryptionSpecOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of + /// InitializeEncryptionSpec. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceInitializeEncryptionSpec(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), InitializeEncryptionSpecOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// InitializeEncryptionSpec. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceInitializeEncryptionSpecAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), InitializeEncryptionSpecOperationsClient, callSettings); + + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// + /// Required. The encryption spec used for CMEK encryption. It is required that + /// the kms key is in the same region as the endpoint. The same key will be + /// used for all provisioned resources, if encryption is available. If the + /// `kms_key_name` field is left empty, no encryption will be enforced. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation InitializeEncryptionSpec(EncryptionSpec encryptionSpec, gaxgrpc::CallSettings callSettings = null) => + InitializeEncryptionSpec(new InitializeEncryptionSpecRequest + { + EncryptionSpec = gax::GaxPreconditions.CheckNotNull(encryptionSpec, nameof(encryptionSpec)), + }, callSettings); + + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// + /// Required. The encryption spec used for CMEK encryption. It is required that + /// the kms key is in the same region as the endpoint. The same key will be + /// used for all provisioned resources, if encryption is available. If the + /// `kms_key_name` field is left empty, no encryption will be enforced. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> InitializeEncryptionSpecAsync(EncryptionSpec encryptionSpec, gaxgrpc::CallSettings callSettings = null) => + InitializeEncryptionSpecAsync(new InitializeEncryptionSpecRequest + { + EncryptionSpec = gax::GaxPreconditions.CheckNotNull(encryptionSpec, nameof(encryptionSpec)), + }, callSettings); + + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// + /// Required. The encryption spec used for CMEK encryption. It is required that + /// the kms key is in the same region as the endpoint. The same key will be + /// used for all provisioned resources, if encryption is available. If the + /// `kms_key_name` field is left empty, no encryption will be enforced. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> InitializeEncryptionSpecAsync(EncryptionSpec encryptionSpec, st::CancellationToken cancellationToken) => + InitializeEncryptionSpecAsync(encryptionSpec, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual View CreateView(CreateViewRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateViewAsync(CreateViewRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a view. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateViewAsync(CreateViewRequest request, st::CancellationToken cancellationToken) => + CreateViewAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a view. + /// + /// + /// Required. The parent resource of the view. Required. The location to create + /// a view for. + /// Format: `projects/<Project ID>/locations/<Location ID>` or + /// `projects/<Project Number>/locations/<Location ID>` + /// + /// + /// Required. The view resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual View CreateView(string parent, View view, gaxgrpc::CallSettings callSettings = null) => + CreateView(new CreateViewRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + View = gax::GaxPreconditions.CheckNotNull(view, nameof(view)), + }, callSettings); + + /// + /// Creates a view. + /// + /// + /// Required. The parent resource of the view. Required. The location to create + /// a view for. + /// Format: `projects/<Project ID>/locations/<Location ID>` or + /// `projects/<Project Number>/locations/<Location ID>` + /// + /// + /// Required. The view resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateViewAsync(string parent, View view, gaxgrpc::CallSettings callSettings = null) => + CreateViewAsync(new CreateViewRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + View = gax::GaxPreconditions.CheckNotNull(view, nameof(view)), + }, callSettings); + + /// + /// Creates a view. + /// + /// + /// Required. The parent resource of the view. Required. The location to create + /// a view for. + /// Format: `projects/<Project ID>/locations/<Location ID>` or + /// `projects/<Project Number>/locations/<Location ID>` + /// + /// + /// Required. The view resource to create. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateViewAsync(string parent, View view, st::CancellationToken cancellationToken) => + CreateViewAsync(parent, view, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a view. + /// + /// + /// Required. The parent resource of the view. Required. The location to create + /// a view for. + /// Format: `projects/<Project ID>/locations/<Location ID>` or + /// `projects/<Project Number>/locations/<Location ID>` + /// + /// + /// Required. The view resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual View CreateView(gagr::LocationName parent, View view, gaxgrpc::CallSettings callSettings = null) => + CreateView(new CreateViewRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + View = gax::GaxPreconditions.CheckNotNull(view, nameof(view)), + }, callSettings); + + /// + /// Creates a view. + /// + /// + /// Required. The parent resource of the view. Required. The location to create + /// a view for. + /// Format: `projects/<Project ID>/locations/<Location ID>` or + /// `projects/<Project Number>/locations/<Location ID>` + /// + /// + /// Required. The view resource to create. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateViewAsync(gagr::LocationName parent, View view, gaxgrpc::CallSettings callSettings = null) => + CreateViewAsync(new CreateViewRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + View = gax::GaxPreconditions.CheckNotNull(view, nameof(view)), + }, callSettings); + + /// + /// Creates a view. + /// + /// + /// Required. The parent resource of the view. Required. The location to create + /// a view for. + /// Format: `projects/<Project ID>/locations/<Location ID>` or + /// `projects/<Project Number>/locations/<Location ID>` + /// + /// + /// Required. The view resource to create. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateViewAsync(gagr::LocationName parent, View view, st::CancellationToken cancellationToken) => + CreateViewAsync(parent, view, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual View GetView(GetViewRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetViewAsync(GetViewRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a view. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetViewAsync(GetViewRequest request, st::CancellationToken cancellationToken) => + GetViewAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a view. + /// + /// + /// Required. The name of the view to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual View GetView(string name, gaxgrpc::CallSettings callSettings = null) => + GetView(new GetViewRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a view. + /// + /// + /// Required. The name of the view to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetViewAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetViewAsync(new GetViewRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a view. + /// + /// + /// Required. The name of the view to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetViewAsync(string name, st::CancellationToken cancellationToken) => + GetViewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a view. + /// + /// + /// Required. The name of the view to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual View GetView(ViewName name, gaxgrpc::CallSettings callSettings = null) => + GetView(new GetViewRequest + { + ViewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a view. + /// + /// + /// Required. The name of the view to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetViewAsync(ViewName name, gaxgrpc::CallSettings callSettings = null) => + GetViewAsync(new GetViewRequest + { + ViewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a view. + /// + /// + /// Required. The name of the view to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetViewAsync(ViewName name, st::CancellationToken cancellationToken) => + GetViewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists views. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListViews(ListViewsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists views. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListViewsAsync(ListViewsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists views. + /// + /// + /// Required. The parent resource of the views. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListViews(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListViewsRequest request = new ListViewsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListViews(request, callSettings); + } + + /// + /// Lists views. + /// + /// + /// Required. The parent resource of the views. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListViewsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListViewsRequest request = new ListViewsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListViewsAsync(request, callSettings); + } + + /// + /// Lists views. + /// + /// + /// Required. The parent resource of the views. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListViews(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListViewsRequest request = new ListViewsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListViews(request, callSettings); + } + + /// + /// Lists views. + /// + /// + /// Required. The parent resource of the views. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListViewsAsync(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListViewsRequest request = new ListViewsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListViewsAsync(request, callSettings); + } + + /// + /// Updates a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual View UpdateView(UpdateViewRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateViewAsync(UpdateViewRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a view. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateViewAsync(UpdateViewRequest request, st::CancellationToken cancellationToken) => + UpdateViewAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates a view. + /// + /// + /// Required. The new view. + /// + /// + /// The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual View UpdateView(View view, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateView(new UpdateViewRequest + { + View = gax::GaxPreconditions.CheckNotNull(view, nameof(view)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates a view. + /// + /// + /// Required. The new view. + /// + /// + /// The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateViewAsync(View view, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateViewAsync(new UpdateViewRequest + { + View = gax::GaxPreconditions.CheckNotNull(view, nameof(view)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates a view. + /// + /// + /// Required. The new view. + /// + /// + /// The list of fields to be updated. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateViewAsync(View view, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateViewAsync(view, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteView(DeleteViewRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteViewAsync(DeleteViewRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a view. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteViewAsync(DeleteViewRequest request, st::CancellationToken cancellationToken) => + DeleteViewAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a view. + /// + /// + /// Required. The name of the view to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteView(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteView(new DeleteViewRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a view. + /// + /// + /// Required. The name of the view to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteViewAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteViewAsync(new DeleteViewRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a view. + /// + /// + /// Required. The name of the view to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteViewAsync(string name, st::CancellationToken cancellationToken) => + DeleteViewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a view. + /// + /// + /// Required. The name of the view to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteView(ViewName name, gaxgrpc::CallSettings callSettings = null) => + DeleteView(new DeleteViewRequest + { + ViewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a view. + /// + /// + /// Required. The name of the view to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteViewAsync(ViewName name, gaxgrpc::CallSettings callSettings = null) => + DeleteViewAsync(new DeleteViewRequest + { + ViewName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a view. + /// + /// + /// Required. The name of the view to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteViewAsync(ViewName name, st::CancellationToken cancellationToken) => + DeleteViewAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Query metrics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation QueryMetrics(QueryMetricsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Query metrics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> QueryMetricsAsync(QueryMetricsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Query metrics. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> QueryMetricsAsync(QueryMetricsRequest request, st::CancellationToken cancellationToken) => + QueryMetricsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for QueryMetrics. + public virtual lro::OperationsClient QueryMetricsOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of QueryMetrics. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceQueryMetrics(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), QueryMetricsOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// QueryMetrics. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceQueryMetricsAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), QueryMetricsOperationsClient, callSettings); + + /// + /// Create a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaQuestion CreateQaQuestion(CreateQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Create a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaQuestionAsync(CreateQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Create a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaQuestionAsync(CreateQaQuestionRequest request, st::CancellationToken cancellationToken) => + CreateQaQuestionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Create a QaQuestion. + /// + /// + /// Required. The parent resource of the QaQuestion. + /// + /// + /// Required. The QaQuestion to create. + /// + /// + /// Optional. A unique ID for the new question. This ID will become the final + /// component of the question's resource name. If no ID is specified, a + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaQuestion CreateQaQuestion(string parent, QaQuestion qaQuestion, string qaQuestionId, gaxgrpc::CallSettings callSettings = null) => + CreateQaQuestion(new CreateQaQuestionRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + QaQuestion = gax::GaxPreconditions.CheckNotNull(qaQuestion, nameof(qaQuestion)), + QaQuestionId = qaQuestionId ?? "", + }, callSettings); + + /// + /// Create a QaQuestion. + /// + /// + /// Required. The parent resource of the QaQuestion. + /// + /// + /// Required. The QaQuestion to create. + /// + /// + /// Optional. A unique ID for the new question. This ID will become the final + /// component of the question's resource name. If no ID is specified, a + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaQuestionAsync(string parent, QaQuestion qaQuestion, string qaQuestionId, gaxgrpc::CallSettings callSettings = null) => + CreateQaQuestionAsync(new CreateQaQuestionRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + QaQuestion = gax::GaxPreconditions.CheckNotNull(qaQuestion, nameof(qaQuestion)), + QaQuestionId = qaQuestionId ?? "", + }, callSettings); + + /// + /// Create a QaQuestion. + /// + /// + /// Required. The parent resource of the QaQuestion. + /// + /// + /// Required. The QaQuestion to create. + /// + /// + /// Optional. A unique ID for the new question. This ID will become the final + /// component of the question's resource name. If no ID is specified, a + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaQuestionAsync(string parent, QaQuestion qaQuestion, string qaQuestionId, st::CancellationToken cancellationToken) => + CreateQaQuestionAsync(parent, qaQuestion, qaQuestionId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Create a QaQuestion. + /// + /// + /// Required. The parent resource of the QaQuestion. + /// + /// + /// Required. The QaQuestion to create. + /// + /// + /// Optional. A unique ID for the new question. This ID will become the final + /// component of the question's resource name. If no ID is specified, a + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaQuestion CreateQaQuestion(QaScorecardRevisionName parent, QaQuestion qaQuestion, string qaQuestionId, gaxgrpc::CallSettings callSettings = null) => + CreateQaQuestion(new CreateQaQuestionRequest + { + ParentAsQaScorecardRevisionName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + QaQuestion = gax::GaxPreconditions.CheckNotNull(qaQuestion, nameof(qaQuestion)), + QaQuestionId = qaQuestionId ?? "", + }, callSettings); + + /// + /// Create a QaQuestion. + /// + /// + /// Required. The parent resource of the QaQuestion. + /// + /// + /// Required. The QaQuestion to create. + /// + /// + /// Optional. A unique ID for the new question. This ID will become the final + /// component of the question's resource name. If no ID is specified, a + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaQuestionAsync(QaScorecardRevisionName parent, QaQuestion qaQuestion, string qaQuestionId, gaxgrpc::CallSettings callSettings = null) => + CreateQaQuestionAsync(new CreateQaQuestionRequest + { + ParentAsQaScorecardRevisionName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + QaQuestion = gax::GaxPreconditions.CheckNotNull(qaQuestion, nameof(qaQuestion)), + QaQuestionId = qaQuestionId ?? "", + }, callSettings); + + /// + /// Create a QaQuestion. + /// + /// + /// Required. The parent resource of the QaQuestion. + /// + /// + /// Required. The QaQuestion to create. + /// + /// + /// Optional. A unique ID for the new question. This ID will become the final + /// component of the question's resource name. If no ID is specified, a + /// server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaQuestionAsync(QaScorecardRevisionName parent, QaQuestion qaQuestion, string qaQuestionId, st::CancellationToken cancellationToken) => + CreateQaQuestionAsync(parent, qaQuestion, qaQuestionId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaQuestion GetQaQuestion(GetQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetQaQuestionAsync(GetQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetQaQuestionAsync(GetQaQuestionRequest request, st::CancellationToken cancellationToken) => + GetQaQuestionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaQuestion GetQaQuestion(string name, gaxgrpc::CallSettings callSettings = null) => + GetQaQuestion(new GetQaQuestionRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetQaQuestionAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetQaQuestionAsync(new GetQaQuestionRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetQaQuestionAsync(string name, st::CancellationToken cancellationToken) => + GetQaQuestionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaQuestion GetQaQuestion(QaQuestionName name, gaxgrpc::CallSettings callSettings = null) => + GetQaQuestion(new GetQaQuestionRequest + { + QaQuestionName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetQaQuestionAsync(QaQuestionName name, gaxgrpc::CallSettings callSettings = null) => + GetQaQuestionAsync(new GetQaQuestionRequest + { + QaQuestionName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetQaQuestionAsync(QaQuestionName name, st::CancellationToken cancellationToken) => + GetQaQuestionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaQuestion UpdateQaQuestion(UpdateQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateQaQuestionAsync(UpdateQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateQaQuestionAsync(UpdateQaQuestionRequest request, st::CancellationToken cancellationToken) => + UpdateQaQuestionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates a QaQuestion. + /// + /// + /// Required. The QaQuestion to update. + /// + /// + /// Required. The list of fields to be updated. All possible fields can be + /// updated by passing `*`, or a subset of the following updateable fields can + /// be provided: + /// + /// * `abbreviation` + /// * `answer_choices` + /// * `answer_instructions` + /// * `order` + /// * `question_body` + /// * `tags` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaQuestion UpdateQaQuestion(QaQuestion qaQuestion, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateQaQuestion(new UpdateQaQuestionRequest + { + QaQuestion = gax::GaxPreconditions.CheckNotNull(qaQuestion, nameof(qaQuestion)), + UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)), + }, callSettings); + + /// + /// Updates a QaQuestion. + /// + /// + /// Required. The QaQuestion to update. + /// + /// + /// Required. The list of fields to be updated. All possible fields can be + /// updated by passing `*`, or a subset of the following updateable fields can + /// be provided: + /// + /// * `abbreviation` + /// * `answer_choices` + /// * `answer_instructions` + /// * `order` + /// * `question_body` + /// * `tags` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateQaQuestionAsync(QaQuestion qaQuestion, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateQaQuestionAsync(new UpdateQaQuestionRequest + { + QaQuestion = gax::GaxPreconditions.CheckNotNull(qaQuestion, nameof(qaQuestion)), + UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)), + }, callSettings); + + /// + /// Updates a QaQuestion. + /// + /// + /// Required. The QaQuestion to update. + /// + /// + /// Required. The list of fields to be updated. All possible fields can be + /// updated by passing `*`, or a subset of the following updateable fields can + /// be provided: + /// + /// * `abbreviation` + /// * `answer_choices` + /// * `answer_instructions` + /// * `order` + /// * `question_body` + /// * `tags` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateQaQuestionAsync(QaQuestion qaQuestion, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateQaQuestionAsync(qaQuestion, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteQaQuestion(DeleteQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaQuestionAsync(DeleteQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaQuestionAsync(DeleteQaQuestionRequest request, st::CancellationToken cancellationToken) => + DeleteQaQuestionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteQaQuestion(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaQuestion(new DeleteQaQuestionRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaQuestionAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaQuestionAsync(new DeleteQaQuestionRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaQuestionAsync(string name, st::CancellationToken cancellationToken) => + DeleteQaQuestionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteQaQuestion(QaQuestionName name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaQuestion(new DeleteQaQuestionRequest + { + QaQuestionName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaQuestionAsync(QaQuestionName name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaQuestionAsync(new DeleteQaQuestionRequest + { + QaQuestionName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaQuestion. + /// + /// + /// Required. The name of the QaQuestion to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaQuestionAsync(QaQuestionName name, st::CancellationToken cancellationToken) => + DeleteQaQuestionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists QaQuestions. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListQaQuestions(ListQaQuestionsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists QaQuestions. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListQaQuestionsAsync(ListQaQuestionsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists QaQuestions. + /// + /// + /// Required. The parent resource of the questions. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListQaQuestions(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaQuestionsRequest request = new ListQaQuestionsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaQuestions(request, callSettings); + } + + /// + /// Lists QaQuestions. + /// + /// + /// Required. The parent resource of the questions. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListQaQuestionsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaQuestionsRequest request = new ListQaQuestionsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaQuestionsAsync(request, callSettings); + } + + /// + /// Lists QaQuestions. + /// + /// + /// Required. The parent resource of the questions. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListQaQuestions(QaScorecardRevisionName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaQuestionsRequest request = new ListQaQuestionsRequest + { + ParentAsQaScorecardRevisionName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaQuestions(request, callSettings); + } + + /// + /// Lists QaQuestions. + /// + /// + /// Required. The parent resource of the questions. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListQaQuestionsAsync(QaScorecardRevisionName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaQuestionsRequest request = new ListQaQuestionsRequest + { + ParentAsQaScorecardRevisionName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaQuestionsAsync(request, callSettings); + } + + /// + /// Create a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecard CreateQaScorecard(CreateQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Create a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardAsync(CreateQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Create a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardAsync(CreateQaScorecardRequest request, st::CancellationToken cancellationToken) => + CreateQaScorecardAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Create a QaScorecard. + /// + /// + /// Required. The parent resource of the QaScorecard. + /// + /// + /// Required. The QaScorecard to create. + /// + /// + /// Optional. A unique ID for the new QaScorecard. This ID will become the + /// final component of the QaScorecard's resource name. If no ID is specified, + /// a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecard CreateQaScorecard(string parent, QaScorecard qaScorecard, string qaScorecardId, gaxgrpc::CallSettings callSettings = null) => + CreateQaScorecard(new CreateQaScorecardRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + QaScorecard = gax::GaxPreconditions.CheckNotNull(qaScorecard, nameof(qaScorecard)), + QaScorecardId = qaScorecardId ?? "", + }, callSettings); + + /// + /// Create a QaScorecard. + /// + /// + /// Required. The parent resource of the QaScorecard. + /// + /// + /// Required. The QaScorecard to create. + /// + /// + /// Optional. A unique ID for the new QaScorecard. This ID will become the + /// final component of the QaScorecard's resource name. If no ID is specified, + /// a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardAsync(string parent, QaScorecard qaScorecard, string qaScorecardId, gaxgrpc::CallSettings callSettings = null) => + CreateQaScorecardAsync(new CreateQaScorecardRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + QaScorecard = gax::GaxPreconditions.CheckNotNull(qaScorecard, nameof(qaScorecard)), + QaScorecardId = qaScorecardId ?? "", + }, callSettings); + + /// + /// Create a QaScorecard. + /// + /// + /// Required. The parent resource of the QaScorecard. + /// + /// + /// Required. The QaScorecard to create. + /// + /// + /// Optional. A unique ID for the new QaScorecard. This ID will become the + /// final component of the QaScorecard's resource name. If no ID is specified, + /// a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardAsync(string parent, QaScorecard qaScorecard, string qaScorecardId, st::CancellationToken cancellationToken) => + CreateQaScorecardAsync(parent, qaScorecard, qaScorecardId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Create a QaScorecard. + /// + /// + /// Required. The parent resource of the QaScorecard. + /// + /// + /// Required. The QaScorecard to create. + /// + /// + /// Optional. A unique ID for the new QaScorecard. This ID will become the + /// final component of the QaScorecard's resource name. If no ID is specified, + /// a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecard CreateQaScorecard(gagr::LocationName parent, QaScorecard qaScorecard, string qaScorecardId, gaxgrpc::CallSettings callSettings = null) => + CreateQaScorecard(new CreateQaScorecardRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + QaScorecard = gax::GaxPreconditions.CheckNotNull(qaScorecard, nameof(qaScorecard)), + QaScorecardId = qaScorecardId ?? "", + }, callSettings); + + /// + /// Create a QaScorecard. + /// + /// + /// Required. The parent resource of the QaScorecard. + /// + /// + /// Required. The QaScorecard to create. + /// + /// + /// Optional. A unique ID for the new QaScorecard. This ID will become the + /// final component of the QaScorecard's resource name. If no ID is specified, + /// a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardAsync(gagr::LocationName parent, QaScorecard qaScorecard, string qaScorecardId, gaxgrpc::CallSettings callSettings = null) => + CreateQaScorecardAsync(new CreateQaScorecardRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + QaScorecard = gax::GaxPreconditions.CheckNotNull(qaScorecard, nameof(qaScorecard)), + QaScorecardId = qaScorecardId ?? "", + }, callSettings); + + /// + /// Create a QaScorecard. + /// + /// + /// Required. The parent resource of the QaScorecard. + /// + /// + /// Required. The QaScorecard to create. + /// + /// + /// Optional. A unique ID for the new QaScorecard. This ID will become the + /// final component of the QaScorecard's resource name. If no ID is specified, + /// a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardAsync(gagr::LocationName parent, QaScorecard qaScorecard, string qaScorecardId, st::CancellationToken cancellationToken) => + CreateQaScorecardAsync(parent, qaScorecard, qaScorecardId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecard GetQaScorecard(GetQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardAsync(GetQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardAsync(GetQaScorecardRequest request, st::CancellationToken cancellationToken) => + GetQaScorecardAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecard GetQaScorecard(string name, gaxgrpc::CallSettings callSettings = null) => + GetQaScorecard(new GetQaScorecardRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetQaScorecardAsync(new GetQaScorecardRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardAsync(string name, st::CancellationToken cancellationToken) => + GetQaScorecardAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecard GetQaScorecard(QaScorecardName name, gaxgrpc::CallSettings callSettings = null) => + GetQaScorecard(new GetQaScorecardRequest + { + QaScorecardName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardAsync(QaScorecardName name, gaxgrpc::CallSettings callSettings = null) => + GetQaScorecardAsync(new GetQaScorecardRequest + { + QaScorecardName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardAsync(QaScorecardName name, st::CancellationToken cancellationToken) => + GetQaScorecardAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecard UpdateQaScorecard(UpdateQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateQaScorecardAsync(UpdateQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateQaScorecardAsync(UpdateQaScorecardRequest request, st::CancellationToken cancellationToken) => + UpdateQaScorecardAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates a QaScorecard. + /// + /// + /// Required. The QaScorecard to update. + /// + /// + /// Required. The list of fields to be updated. All possible fields can be + /// updated by passing `*`, or a subset of the following updateable fields can + /// be provided: + /// + /// * `description` + /// * `display_name` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecard UpdateQaScorecard(QaScorecard qaScorecard, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateQaScorecard(new UpdateQaScorecardRequest + { + QaScorecard = gax::GaxPreconditions.CheckNotNull(qaScorecard, nameof(qaScorecard)), + UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)), + }, callSettings); + + /// + /// Updates a QaScorecard. + /// + /// + /// Required. The QaScorecard to update. + /// + /// + /// Required. The list of fields to be updated. All possible fields can be + /// updated by passing `*`, or a subset of the following updateable fields can + /// be provided: + /// + /// * `description` + /// * `display_name` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateQaScorecardAsync(QaScorecard qaScorecard, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateQaScorecardAsync(new UpdateQaScorecardRequest + { + QaScorecard = gax::GaxPreconditions.CheckNotNull(qaScorecard, nameof(qaScorecard)), + UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)), + }, callSettings); + + /// + /// Updates a QaScorecard. + /// + /// + /// Required. The QaScorecard to update. + /// + /// + /// Required. The list of fields to be updated. All possible fields can be + /// updated by passing `*`, or a subset of the following updateable fields can + /// be provided: + /// + /// * `description` + /// * `display_name` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateQaScorecardAsync(QaScorecard qaScorecard, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateQaScorecardAsync(qaScorecard, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteQaScorecard(DeleteQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardAsync(DeleteQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardAsync(DeleteQaScorecardRequest request, st::CancellationToken cancellationToken) => + DeleteQaScorecardAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteQaScorecard(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaScorecard(new DeleteQaScorecardRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaScorecardAsync(new DeleteQaScorecardRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardAsync(string name, st::CancellationToken cancellationToken) => + DeleteQaScorecardAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteQaScorecard(QaScorecardName name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaScorecard(new DeleteQaScorecardRequest + { + QaScorecardName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardAsync(QaScorecardName name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaScorecardAsync(new DeleteQaScorecardRequest + { + QaScorecardName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaScorecard. + /// + /// + /// Required. The name of the QaScorecard to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardAsync(QaScorecardName name, st::CancellationToken cancellationToken) => + DeleteQaScorecardAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists QaScorecards. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListQaScorecards(ListQaScorecardsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists QaScorecards. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListQaScorecardsAsync(ListQaScorecardsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists QaScorecards. + /// + /// + /// Required. The parent resource of the scorecards. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListQaScorecards(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaScorecardsRequest request = new ListQaScorecardsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaScorecards(request, callSettings); + } + + /// + /// Lists QaScorecards. + /// + /// + /// Required. The parent resource of the scorecards. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListQaScorecardsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaScorecardsRequest request = new ListQaScorecardsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaScorecardsAsync(request, callSettings); + } + + /// + /// Lists QaScorecards. + /// + /// + /// Required. The parent resource of the scorecards. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListQaScorecards(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaScorecardsRequest request = new ListQaScorecardsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaScorecards(request, callSettings); + } + + /// + /// Lists QaScorecards. + /// + /// + /// Required. The parent resource of the scorecards. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListQaScorecardsAsync(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaScorecardsRequest request = new ListQaScorecardsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaScorecardsAsync(request, callSettings); + } + + /// + /// Creates a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecardRevision CreateQaScorecardRevision(CreateQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardRevisionAsync(CreateQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardRevisionAsync(CreateQaScorecardRevisionRequest request, st::CancellationToken cancellationToken) => + CreateQaScorecardRevisionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a QaScorecardRevision. + /// + /// + /// Required. The parent resource of the QaScorecardRevision. + /// + /// + /// Required. The QaScorecardRevision to create. + /// + /// + /// Optional. A unique ID for the new QaScorecardRevision. This ID will become + /// the final component of the QaScorecardRevision's resource name. If no ID is + /// specified, a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecardRevision CreateQaScorecardRevision(string parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, gaxgrpc::CallSettings callSettings = null) => + CreateQaScorecardRevision(new CreateQaScorecardRevisionRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + QaScorecardRevision = gax::GaxPreconditions.CheckNotNull(qaScorecardRevision, nameof(qaScorecardRevision)), + QaScorecardRevisionId = qaScorecardRevisionId ?? "", + }, callSettings); + + /// + /// Creates a QaScorecardRevision. + /// + /// + /// Required. The parent resource of the QaScorecardRevision. + /// + /// + /// Required. The QaScorecardRevision to create. + /// + /// + /// Optional. A unique ID for the new QaScorecardRevision. This ID will become + /// the final component of the QaScorecardRevision's resource name. If no ID is + /// specified, a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardRevisionAsync(string parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, gaxgrpc::CallSettings callSettings = null) => + CreateQaScorecardRevisionAsync(new CreateQaScorecardRevisionRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + QaScorecardRevision = gax::GaxPreconditions.CheckNotNull(qaScorecardRevision, nameof(qaScorecardRevision)), + QaScorecardRevisionId = qaScorecardRevisionId ?? "", + }, callSettings); + + /// + /// Creates a QaScorecardRevision. + /// + /// + /// Required. The parent resource of the QaScorecardRevision. + /// + /// + /// Required. The QaScorecardRevision to create. + /// + /// + /// Optional. A unique ID for the new QaScorecardRevision. This ID will become + /// the final component of the QaScorecardRevision's resource name. If no ID is + /// specified, a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardRevisionAsync(string parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, st::CancellationToken cancellationToken) => + CreateQaScorecardRevisionAsync(parent, qaScorecardRevision, qaScorecardRevisionId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a QaScorecardRevision. + /// + /// + /// Required. The parent resource of the QaScorecardRevision. + /// + /// + /// Required. The QaScorecardRevision to create. + /// + /// + /// Optional. A unique ID for the new QaScorecardRevision. This ID will become + /// the final component of the QaScorecardRevision's resource name. If no ID is + /// specified, a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecardRevision CreateQaScorecardRevision(QaScorecardName parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, gaxgrpc::CallSettings callSettings = null) => + CreateQaScorecardRevision(new CreateQaScorecardRevisionRequest + { + ParentAsQaScorecardName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + QaScorecardRevision = gax::GaxPreconditions.CheckNotNull(qaScorecardRevision, nameof(qaScorecardRevision)), + QaScorecardRevisionId = qaScorecardRevisionId ?? "", + }, callSettings); + + /// + /// Creates a QaScorecardRevision. + /// + /// + /// Required. The parent resource of the QaScorecardRevision. + /// + /// + /// Required. The QaScorecardRevision to create. + /// + /// + /// Optional. A unique ID for the new QaScorecardRevision. This ID will become + /// the final component of the QaScorecardRevision's resource name. If no ID is + /// specified, a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardRevisionAsync(QaScorecardName parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, gaxgrpc::CallSettings callSettings = null) => + CreateQaScorecardRevisionAsync(new CreateQaScorecardRevisionRequest + { + ParentAsQaScorecardName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + QaScorecardRevision = gax::GaxPreconditions.CheckNotNull(qaScorecardRevision, nameof(qaScorecardRevision)), + QaScorecardRevisionId = qaScorecardRevisionId ?? "", + }, callSettings); + + /// + /// Creates a QaScorecardRevision. + /// + /// + /// Required. The parent resource of the QaScorecardRevision. + /// + /// + /// Required. The QaScorecardRevision to create. + /// + /// + /// Optional. A unique ID for the new QaScorecardRevision. This ID will become + /// the final component of the QaScorecardRevision's resource name. If no ID is + /// specified, a server-generated ID will be used. + /// + /// This value should be 4-64 characters and must match the regular + /// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateQaScorecardRevisionAsync(QaScorecardName parent, QaScorecardRevision qaScorecardRevision, string qaScorecardRevisionId, st::CancellationToken cancellationToken) => + CreateQaScorecardRevisionAsync(parent, qaScorecardRevision, qaScorecardRevisionId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecardRevision GetQaScorecardRevision(GetQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardRevisionAsync(GetQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardRevisionAsync(GetQaScorecardRevisionRequest request, st::CancellationToken cancellationToken) => + GetQaScorecardRevisionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecardRevision GetQaScorecardRevision(string name, gaxgrpc::CallSettings callSettings = null) => + GetQaScorecardRevision(new GetQaScorecardRevisionRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardRevisionAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetQaScorecardRevisionAsync(new GetQaScorecardRevisionRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardRevisionAsync(string name, st::CancellationToken cancellationToken) => + GetQaScorecardRevisionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecardRevision GetQaScorecardRevision(QaScorecardRevisionName name, gaxgrpc::CallSettings callSettings = null) => + GetQaScorecardRevision(new GetQaScorecardRevisionRequest + { + QaScorecardRevisionName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardRevisionAsync(QaScorecardRevisionName name, gaxgrpc::CallSettings callSettings = null) => + GetQaScorecardRevisionAsync(new GetQaScorecardRevisionRequest + { + QaScorecardRevisionName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetQaScorecardRevisionAsync(QaScorecardRevisionName name, st::CancellationToken cancellationToken) => + GetQaScorecardRevisionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Fine tune one or more QaModels. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation TuneQaScorecardRevision(TuneQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Fine tune one or more QaModels. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> TuneQaScorecardRevisionAsync(TuneQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Fine tune one or more QaModels. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> TuneQaScorecardRevisionAsync(TuneQaScorecardRevisionRequest request, st::CancellationToken cancellationToken) => + TuneQaScorecardRevisionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for TuneQaScorecardRevision. + public virtual lro::OperationsClient TuneQaScorecardRevisionOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of + /// TuneQaScorecardRevision. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceTuneQaScorecardRevision(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), TuneQaScorecardRevisionOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// TuneQaScorecardRevision. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceTuneQaScorecardRevisionAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), TuneQaScorecardRevisionOperationsClient, callSettings); + + /// + /// Fine tune one or more QaModels. + /// + /// + /// Required. The parent resource for new fine tuning job instance. + /// + /// + /// Required. Filter for selecting the feedback labels that needs to be + /// used for training. + /// This filter can be used to limit the feedback labels used for tuning to a + /// feedback labels created or updated for a specific time-window etc. + /// + /// + /// Optional. Run in validate only mode, no fine tuning will actually run. + /// Data quality validations like training data distributions will run. + /// Even when set to false, the data quality validations will still run but + /// once the validations complete we will proceed with the fine tune, if + /// applicable. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation TuneQaScorecardRevision(string parent, string filter, bool validateOnly, gaxgrpc::CallSettings callSettings = null) => + TuneQaScorecardRevision(new TuneQaScorecardRevisionRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + Filter = gax::GaxPreconditions.CheckNotNullOrEmpty(filter, nameof(filter)), + ValidateOnly = validateOnly, + }, callSettings); + + /// + /// Fine tune one or more QaModels. + /// + /// + /// Required. The parent resource for new fine tuning job instance. + /// + /// + /// Required. Filter for selecting the feedback labels that needs to be + /// used for training. + /// This filter can be used to limit the feedback labels used for tuning to a + /// feedback labels created or updated for a specific time-window etc. + /// + /// + /// Optional. Run in validate only mode, no fine tuning will actually run. + /// Data quality validations like training data distributions will run. + /// Even when set to false, the data quality validations will still run but + /// once the validations complete we will proceed with the fine tune, if + /// applicable. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> TuneQaScorecardRevisionAsync(string parent, string filter, bool validateOnly, gaxgrpc::CallSettings callSettings = null) => + TuneQaScorecardRevisionAsync(new TuneQaScorecardRevisionRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + Filter = gax::GaxPreconditions.CheckNotNullOrEmpty(filter, nameof(filter)), + ValidateOnly = validateOnly, + }, callSettings); + + /// + /// Fine tune one or more QaModels. + /// + /// + /// Required. The parent resource for new fine tuning job instance. + /// + /// + /// Required. Filter for selecting the feedback labels that needs to be + /// used for training. + /// This filter can be used to limit the feedback labels used for tuning to a + /// feedback labels created or updated for a specific time-window etc. + /// + /// + /// Optional. Run in validate only mode, no fine tuning will actually run. + /// Data quality validations like training data distributions will run. + /// Even when set to false, the data quality validations will still run but + /// once the validations complete we will proceed with the fine tune, if + /// applicable. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> TuneQaScorecardRevisionAsync(string parent, string filter, bool validateOnly, st::CancellationToken cancellationToken) => + TuneQaScorecardRevisionAsync(parent, filter, validateOnly, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Fine tune one or more QaModels. + /// + /// + /// Required. The parent resource for new fine tuning job instance. + /// + /// + /// Required. Filter for selecting the feedback labels that needs to be + /// used for training. + /// This filter can be used to limit the feedback labels used for tuning to a + /// feedback labels created or updated for a specific time-window etc. + /// + /// + /// Optional. Run in validate only mode, no fine tuning will actually run. + /// Data quality validations like training data distributions will run. + /// Even when set to false, the data quality validations will still run but + /// once the validations complete we will proceed with the fine tune, if + /// applicable. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation TuneQaScorecardRevision(QaScorecardRevisionName parent, string filter, bool validateOnly, gaxgrpc::CallSettings callSettings = null) => + TuneQaScorecardRevision(new TuneQaScorecardRevisionRequest + { + ParentAsQaScorecardRevisionName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + Filter = gax::GaxPreconditions.CheckNotNullOrEmpty(filter, nameof(filter)), + ValidateOnly = validateOnly, + }, callSettings); + + /// + /// Fine tune one or more QaModels. + /// + /// + /// Required. The parent resource for new fine tuning job instance. + /// + /// + /// Required. Filter for selecting the feedback labels that needs to be + /// used for training. + /// This filter can be used to limit the feedback labels used for tuning to a + /// feedback labels created or updated for a specific time-window etc. + /// + /// + /// Optional. Run in validate only mode, no fine tuning will actually run. + /// Data quality validations like training data distributions will run. + /// Even when set to false, the data quality validations will still run but + /// once the validations complete we will proceed with the fine tune, if + /// applicable. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> TuneQaScorecardRevisionAsync(QaScorecardRevisionName parent, string filter, bool validateOnly, gaxgrpc::CallSettings callSettings = null) => + TuneQaScorecardRevisionAsync(new TuneQaScorecardRevisionRequest + { + ParentAsQaScorecardRevisionName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + Filter = gax::GaxPreconditions.CheckNotNullOrEmpty(filter, nameof(filter)), + ValidateOnly = validateOnly, + }, callSettings); + + /// + /// Fine tune one or more QaModels. + /// + /// + /// Required. The parent resource for new fine tuning job instance. + /// + /// + /// Required. Filter for selecting the feedback labels that needs to be + /// used for training. + /// This filter can be used to limit the feedback labels used for tuning to a + /// feedback labels created or updated for a specific time-window etc. + /// + /// + /// Optional. Run in validate only mode, no fine tuning will actually run. + /// Data quality validations like training data distributions will run. + /// Even when set to false, the data quality validations will still run but + /// once the validations complete we will proceed with the fine tune, if + /// applicable. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> TuneQaScorecardRevisionAsync(QaScorecardRevisionName parent, string filter, bool validateOnly, st::CancellationToken cancellationToken) => + TuneQaScorecardRevisionAsync(parent, filter, validateOnly, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deploy a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecardRevision DeployQaScorecardRevision(DeployQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deploy a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeployQaScorecardRevisionAsync(DeployQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deploy a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeployQaScorecardRevisionAsync(DeployQaScorecardRevisionRequest request, st::CancellationToken cancellationToken) => + DeployQaScorecardRevisionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Undeploy a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual QaScorecardRevision UndeployQaScorecardRevision(UndeployQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Undeploy a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UndeployQaScorecardRevisionAsync(UndeployQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Undeploy a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UndeployQaScorecardRevisionAsync(UndeployQaScorecardRevisionRequest request, st::CancellationToken cancellationToken) => + UndeployQaScorecardRevisionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteQaScorecardRevision(DeleteQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardRevisionAsync(DeleteQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardRevisionAsync(DeleteQaScorecardRevisionRequest request, st::CancellationToken cancellationToken) => + DeleteQaScorecardRevisionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteQaScorecardRevision(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaScorecardRevision(new DeleteQaScorecardRevisionRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardRevisionAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaScorecardRevisionAsync(new DeleteQaScorecardRevisionRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardRevisionAsync(string name, st::CancellationToken cancellationToken) => + DeleteQaScorecardRevisionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteQaScorecardRevision(QaScorecardRevisionName name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaScorecardRevision(new DeleteQaScorecardRevisionRequest + { + QaScorecardRevisionName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardRevisionAsync(QaScorecardRevisionName name, gaxgrpc::CallSettings callSettings = null) => + DeleteQaScorecardRevisionAsync(new DeleteQaScorecardRevisionRequest + { + QaScorecardRevisionName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a QaScorecardRevision. + /// + /// + /// Required. The name of the QaScorecardRevision to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteQaScorecardRevisionAsync(QaScorecardRevisionName name, st::CancellationToken cancellationToken) => + DeleteQaScorecardRevisionAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListQaScorecardRevisions(ListQaScorecardRevisionsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListQaScorecardRevisionsAsync(ListQaScorecardRevisionsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// + /// Required. The parent resource of the scorecard revisions. To list all + /// revisions of all scorecards, substitute the QaScorecard ID with a '-' + /// character. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListQaScorecardRevisions(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaScorecardRevisionsRequest request = new ListQaScorecardRevisionsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaScorecardRevisions(request, callSettings); + } + + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// + /// Required. The parent resource of the scorecard revisions. To list all + /// revisions of all scorecards, substitute the QaScorecard ID with a '-' + /// character. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListQaScorecardRevisionsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaScorecardRevisionsRequest request = new ListQaScorecardRevisionsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaScorecardRevisionsAsync(request, callSettings); + } + + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// + /// Required. The parent resource of the scorecard revisions. To list all + /// revisions of all scorecards, substitute the QaScorecard ID with a '-' + /// character. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListQaScorecardRevisions(QaScorecardName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaScorecardRevisionsRequest request = new ListQaScorecardRevisionsRequest + { + ParentAsQaScorecardName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaScorecardRevisions(request, callSettings); + } + + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// + /// Required. The parent resource of the scorecard revisions. To list all + /// revisions of all scorecards, substitute the QaScorecard ID with a '-' + /// character. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListQaScorecardRevisionsAsync(QaScorecardName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListQaScorecardRevisionsRequest request = new ListQaScorecardRevisionsRequest + { + ParentAsQaScorecardName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListQaScorecardRevisionsAsync(request, callSettings); + } + + /// + /// Create feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual FeedbackLabel CreateFeedbackLabel(CreateFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Create feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateFeedbackLabelAsync(CreateFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Create feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateFeedbackLabelAsync(CreateFeedbackLabelRequest request, st::CancellationToken cancellationToken) => + CreateFeedbackLabelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Create feedback label. + /// + /// + /// Required. The parent resource of the feedback label. + /// + /// + /// Required. The feedback label to create. + /// + /// + /// Optional. The ID of the feedback label to create. + /// If one is not specified it will be generated by the server. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual FeedbackLabel CreateFeedbackLabel(string parent, FeedbackLabel feedbackLabel, string feedbackLabelId, gaxgrpc::CallSettings callSettings = null) => + CreateFeedbackLabel(new CreateFeedbackLabelRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + FeedbackLabelId = feedbackLabelId ?? "", + FeedbackLabel = gax::GaxPreconditions.CheckNotNull(feedbackLabel, nameof(feedbackLabel)), + }, callSettings); + + /// + /// Create feedback label. + /// + /// + /// Required. The parent resource of the feedback label. + /// + /// + /// Required. The feedback label to create. + /// + /// + /// Optional. The ID of the feedback label to create. + /// If one is not specified it will be generated by the server. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateFeedbackLabelAsync(string parent, FeedbackLabel feedbackLabel, string feedbackLabelId, gaxgrpc::CallSettings callSettings = null) => + CreateFeedbackLabelAsync(new CreateFeedbackLabelRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + FeedbackLabelId = feedbackLabelId ?? "", + FeedbackLabel = gax::GaxPreconditions.CheckNotNull(feedbackLabel, nameof(feedbackLabel)), + }, callSettings); + + /// + /// Create feedback label. + /// + /// + /// Required. The parent resource of the feedback label. + /// + /// + /// Required. The feedback label to create. + /// + /// + /// Optional. The ID of the feedback label to create. + /// If one is not specified it will be generated by the server. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateFeedbackLabelAsync(string parent, FeedbackLabel feedbackLabel, string feedbackLabelId, st::CancellationToken cancellationToken) => + CreateFeedbackLabelAsync(parent, feedbackLabel, feedbackLabelId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Create feedback label. + /// + /// + /// Required. The parent resource of the feedback label. + /// + /// + /// Required. The feedback label to create. + /// + /// + /// Optional. The ID of the feedback label to create. + /// If one is not specified it will be generated by the server. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual FeedbackLabel CreateFeedbackLabel(ConversationName parent, FeedbackLabel feedbackLabel, string feedbackLabelId, gaxgrpc::CallSettings callSettings = null) => + CreateFeedbackLabel(new CreateFeedbackLabelRequest + { + ParentAsConversationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + FeedbackLabelId = feedbackLabelId ?? "", + FeedbackLabel = gax::GaxPreconditions.CheckNotNull(feedbackLabel, nameof(feedbackLabel)), + }, callSettings); + + /// + /// Create feedback label. + /// + /// + /// Required. The parent resource of the feedback label. + /// + /// + /// Required. The feedback label to create. + /// + /// + /// Optional. The ID of the feedback label to create. + /// If one is not specified it will be generated by the server. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateFeedbackLabelAsync(ConversationName parent, FeedbackLabel feedbackLabel, string feedbackLabelId, gaxgrpc::CallSettings callSettings = null) => + CreateFeedbackLabelAsync(new CreateFeedbackLabelRequest + { + ParentAsConversationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + FeedbackLabelId = feedbackLabelId ?? "", + FeedbackLabel = gax::GaxPreconditions.CheckNotNull(feedbackLabel, nameof(feedbackLabel)), + }, callSettings); + + /// + /// Create feedback label. + /// + /// + /// Required. The parent resource of the feedback label. + /// + /// + /// Required. The feedback label to create. + /// + /// + /// Optional. The ID of the feedback label to create. + /// If one is not specified it will be generated by the server. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateFeedbackLabelAsync(ConversationName parent, FeedbackLabel feedbackLabel, string feedbackLabelId, st::CancellationToken cancellationToken) => + CreateFeedbackLabelAsync(parent, feedbackLabel, feedbackLabelId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// List feedback labels. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListFeedbackLabels(ListFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// List feedback labels. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListFeedbackLabelsAsync(ListFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// List feedback labels. + /// + /// + /// Required. The parent resource of the feedback labels. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListFeedbackLabels(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListFeedbackLabelsRequest request = new ListFeedbackLabelsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListFeedbackLabels(request, callSettings); + } + + /// + /// List feedback labels. + /// + /// + /// Required. The parent resource of the feedback labels. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListFeedbackLabelsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListFeedbackLabelsRequest request = new ListFeedbackLabelsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListFeedbackLabelsAsync(request, callSettings); + } + + /// + /// List feedback labels. + /// + /// + /// Required. The parent resource of the feedback labels. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListFeedbackLabels(ConversationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListFeedbackLabelsRequest request = new ListFeedbackLabelsRequest + { + ParentAsConversationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListFeedbackLabels(request, callSettings); + } + + /// + /// List feedback labels. + /// + /// + /// Required. The parent resource of the feedback labels. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListFeedbackLabelsAsync(ConversationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListFeedbackLabelsRequest request = new ListFeedbackLabelsRequest + { + ParentAsConversationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListFeedbackLabelsAsync(request, callSettings); + } + + /// + /// Get feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual FeedbackLabel GetFeedbackLabel(GetFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Get feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetFeedbackLabelAsync(GetFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Get feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetFeedbackLabelAsync(GetFeedbackLabelRequest request, st::CancellationToken cancellationToken) => + GetFeedbackLabelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Get feedback label. + /// + /// + /// Required. The name of the feedback label to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual FeedbackLabel GetFeedbackLabel(string name, gaxgrpc::CallSettings callSettings = null) => + GetFeedbackLabel(new GetFeedbackLabelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Get feedback label. + /// + /// + /// Required. The name of the feedback label to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetFeedbackLabelAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetFeedbackLabelAsync(new GetFeedbackLabelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Get feedback label. + /// + /// + /// Required. The name of the feedback label to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetFeedbackLabelAsync(string name, st::CancellationToken cancellationToken) => + GetFeedbackLabelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Get feedback label. + /// + /// + /// Required. The name of the feedback label to get. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual FeedbackLabel GetFeedbackLabel(FeedbackLabelName name, gaxgrpc::CallSettings callSettings = null) => + GetFeedbackLabel(new GetFeedbackLabelRequest + { + FeedbackLabelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Get feedback label. + /// + /// + /// Required. The name of the feedback label to get. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetFeedbackLabelAsync(FeedbackLabelName name, gaxgrpc::CallSettings callSettings = null) => + GetFeedbackLabelAsync(new GetFeedbackLabelRequest + { + FeedbackLabelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Get feedback label. + /// + /// + /// Required. The name of the feedback label to get. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetFeedbackLabelAsync(FeedbackLabelName name, st::CancellationToken cancellationToken) => + GetFeedbackLabelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Update feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual FeedbackLabel UpdateFeedbackLabel(UpdateFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Update feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateFeedbackLabelAsync(UpdateFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Update feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateFeedbackLabelAsync(UpdateFeedbackLabelRequest request, st::CancellationToken cancellationToken) => + UpdateFeedbackLabelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Update feedback label. + /// + /// + /// Required. The feedback label to update. + /// + /// + /// Required. The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual FeedbackLabel UpdateFeedbackLabel(FeedbackLabel feedbackLabel, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateFeedbackLabel(new UpdateFeedbackLabelRequest + { + FeedbackLabel = gax::GaxPreconditions.CheckNotNull(feedbackLabel, nameof(feedbackLabel)), + UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)), + }, callSettings); + + /// + /// Update feedback label. + /// + /// + /// Required. The feedback label to update. + /// + /// + /// Required. The list of fields to be updated. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateFeedbackLabelAsync(FeedbackLabel feedbackLabel, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateFeedbackLabelAsync(new UpdateFeedbackLabelRequest + { + FeedbackLabel = gax::GaxPreconditions.CheckNotNull(feedbackLabel, nameof(feedbackLabel)), + UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)), + }, callSettings); + + /// + /// Update feedback label. + /// + /// + /// Required. The feedback label to update. + /// + /// + /// Required. The list of fields to be updated. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateFeedbackLabelAsync(FeedbackLabel feedbackLabel, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateFeedbackLabelAsync(feedbackLabel, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Delete feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteFeedbackLabel(DeleteFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Delete feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteFeedbackLabelAsync(DeleteFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Delete feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteFeedbackLabelAsync(DeleteFeedbackLabelRequest request, st::CancellationToken cancellationToken) => + DeleteFeedbackLabelAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Delete feedback label. + /// + /// + /// Required. The name of the feedback label to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteFeedbackLabel(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteFeedbackLabel(new DeleteFeedbackLabelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Delete feedback label. + /// + /// + /// Required. The name of the feedback label to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteFeedbackLabelAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteFeedbackLabelAsync(new DeleteFeedbackLabelRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Delete feedback label. + /// + /// + /// Required. The name of the feedback label to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteFeedbackLabelAsync(string name, st::CancellationToken cancellationToken) => + DeleteFeedbackLabelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Delete feedback label. + /// + /// + /// Required. The name of the feedback label to delete. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteFeedbackLabel(FeedbackLabelName name, gaxgrpc::CallSettings callSettings = null) => + DeleteFeedbackLabel(new DeleteFeedbackLabelRequest + { + FeedbackLabelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Delete feedback label. + /// + /// + /// Required. The name of the feedback label to delete. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteFeedbackLabelAsync(FeedbackLabelName name, gaxgrpc::CallSettings callSettings = null) => + DeleteFeedbackLabelAsync(new DeleteFeedbackLabelRequest + { + FeedbackLabelName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Delete feedback label. + /// + /// + /// Required. The name of the feedback label to delete. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteFeedbackLabelAsync(FeedbackLabelName name, st::CancellationToken cancellationToken) => + DeleteFeedbackLabelAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// List all feedback labels by project number. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAllFeedbackLabels(ListAllFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// List all feedback labels by project number. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAllFeedbackLabelsAsync(ListAllFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// List all feedback labels by project number. + /// + /// + /// Required. The parent resource of all feedback labels per project. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAllFeedbackLabels(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAllFeedbackLabelsRequest request = new ListAllFeedbackLabelsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAllFeedbackLabels(request, callSettings); + } + + /// + /// List all feedback labels by project number. + /// + /// + /// Required. The parent resource of all feedback labels per project. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAllFeedbackLabelsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAllFeedbackLabelsRequest request = new ListAllFeedbackLabelsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAllFeedbackLabelsAsync(request, callSettings); + } + + /// + /// List all feedback labels by project number. + /// + /// + /// Required. The parent resource of all feedback labels per project. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAllFeedbackLabels(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAllFeedbackLabelsRequest request = new ListAllFeedbackLabelsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAllFeedbackLabels(request, callSettings); + } + + /// + /// List all feedback labels by project number. + /// + /// + /// Required. The parent resource of all feedback labels per project. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAllFeedbackLabelsAsync(gagr::LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAllFeedbackLabelsRequest request = new ListAllFeedbackLabelsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAllFeedbackLabelsAsync(request, callSettings); + } + + /// + /// Upload feedback labels in bulk. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkUploadFeedbackLabels(BulkUploadFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Upload feedback labels in bulk. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkUploadFeedbackLabelsAsync(BulkUploadFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Upload feedback labels in bulk. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkUploadFeedbackLabelsAsync(BulkUploadFeedbackLabelsRequest request, st::CancellationToken cancellationToken) => + BulkUploadFeedbackLabelsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for BulkUploadFeedbackLabels. + public virtual lro::OperationsClient BulkUploadFeedbackLabelsOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of + /// BulkUploadFeedbackLabels. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceBulkUploadFeedbackLabels(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), BulkUploadFeedbackLabelsOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// BulkUploadFeedbackLabels. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceBulkUploadFeedbackLabelsAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), BulkUploadFeedbackLabelsOperationsClient, callSettings); + + /// + /// Upload feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkUploadFeedbackLabels(string parent, gaxgrpc::CallSettings callSettings = null) => + BulkUploadFeedbackLabels(new BulkUploadFeedbackLabelsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Upload feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkUploadFeedbackLabelsAsync(string parent, gaxgrpc::CallSettings callSettings = null) => + BulkUploadFeedbackLabelsAsync(new BulkUploadFeedbackLabelsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Upload feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkUploadFeedbackLabelsAsync(string parent, st::CancellationToken cancellationToken) => + BulkUploadFeedbackLabelsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Upload feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkUploadFeedbackLabels(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + BulkUploadFeedbackLabels(new BulkUploadFeedbackLabelsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Upload feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkUploadFeedbackLabelsAsync(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + BulkUploadFeedbackLabelsAsync(new BulkUploadFeedbackLabelsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Upload feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkUploadFeedbackLabelsAsync(gagr::LocationName parent, st::CancellationToken cancellationToken) => + BulkUploadFeedbackLabelsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Download feedback labels in bulk. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkDownloadFeedbackLabels(BulkDownloadFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Download feedback labels in bulk. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDownloadFeedbackLabelsAsync(BulkDownloadFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Download feedback labels in bulk. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDownloadFeedbackLabelsAsync(BulkDownloadFeedbackLabelsRequest request, st::CancellationToken cancellationToken) => + BulkDownloadFeedbackLabelsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for BulkDownloadFeedbackLabels. + public virtual lro::OperationsClient BulkDownloadFeedbackLabelsOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of + /// BulkDownloadFeedbackLabels. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceBulkDownloadFeedbackLabels(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), BulkDownloadFeedbackLabelsOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// BulkDownloadFeedbackLabels. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceBulkDownloadFeedbackLabelsAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), BulkDownloadFeedbackLabelsOperationsClient, callSettings); + + /// + /// Download feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkDownloadFeedbackLabels(string parent, gaxgrpc::CallSettings callSettings = null) => + BulkDownloadFeedbackLabels(new BulkDownloadFeedbackLabelsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Download feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDownloadFeedbackLabelsAsync(string parent, gaxgrpc::CallSettings callSettings = null) => + BulkDownloadFeedbackLabelsAsync(new BulkDownloadFeedbackLabelsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Download feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDownloadFeedbackLabelsAsync(string parent, st::CancellationToken cancellationToken) => + BulkDownloadFeedbackLabelsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Download feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BulkDownloadFeedbackLabels(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + BulkDownloadFeedbackLabels(new BulkDownloadFeedbackLabelsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Download feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDownloadFeedbackLabelsAsync(gagr::LocationName parent, gaxgrpc::CallSettings callSettings = null) => + BulkDownloadFeedbackLabelsAsync(new BulkDownloadFeedbackLabelsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Download feedback labels in bulk. + /// + /// + /// Required. The parent resource for new feedback labels. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BulkDownloadFeedbackLabelsAsync(gagr::LocationName parent, st::CancellationToken cancellationToken) => + BulkDownloadFeedbackLabelsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + } + + /// ContactCenterInsights client wrapper implementation, for convenient use. + /// + /// An API that lets users analyze and explore their business conversation data. + /// + public sealed partial class ContactCenterInsightsClientImpl : ContactCenterInsightsClient + { + private readonly gaxgrpc::ApiCall _callCreateConversation; + + private readonly gaxgrpc::ApiCall _callUploadConversation; + + private readonly gaxgrpc::ApiCall _callUpdateConversation; + + private readonly gaxgrpc::ApiCall _callGetConversation; + + private readonly gaxgrpc::ApiCall _callListConversations; + + private readonly gaxgrpc::ApiCall _callDeleteConversation; + + private readonly gaxgrpc::ApiCall _callCreateAnalysis; + + private readonly gaxgrpc::ApiCall _callGetAnalysis; + + private readonly gaxgrpc::ApiCall _callListAnalyses; + + private readonly gaxgrpc::ApiCall _callDeleteAnalysis; + + private readonly gaxgrpc::ApiCall _callBulkAnalyzeConversations; + + private readonly gaxgrpc::ApiCall _callBulkDeleteConversations; + + private readonly gaxgrpc::ApiCall _callIngestConversations; + + private readonly gaxgrpc::ApiCall _callExportInsightsData; + + private readonly gaxgrpc::ApiCall _callCreateIssueModel; + + private readonly gaxgrpc::ApiCall _callUpdateIssueModel; + + private readonly gaxgrpc::ApiCall _callGetIssueModel; + + private readonly gaxgrpc::ApiCall _callListIssueModels; + + private readonly gaxgrpc::ApiCall _callDeleteIssueModel; + + private readonly gaxgrpc::ApiCall _callDeployIssueModel; + + private readonly gaxgrpc::ApiCall _callUndeployIssueModel; + + private readonly gaxgrpc::ApiCall _callExportIssueModel; + + private readonly gaxgrpc::ApiCall _callImportIssueModel; + + private readonly gaxgrpc::ApiCall _callGetIssue; + + private readonly gaxgrpc::ApiCall _callListIssues; + + private readonly gaxgrpc::ApiCall _callUpdateIssue; + + private readonly gaxgrpc::ApiCall _callDeleteIssue; + + private readonly gaxgrpc::ApiCall _callCalculateIssueModelStats; + + private readonly gaxgrpc::ApiCall _callCreatePhraseMatcher; + + private readonly gaxgrpc::ApiCall _callGetPhraseMatcher; + + private readonly gaxgrpc::ApiCall _callListPhraseMatchers; + + private readonly gaxgrpc::ApiCall _callDeletePhraseMatcher; + + private readonly gaxgrpc::ApiCall _callUpdatePhraseMatcher; + + private readonly gaxgrpc::ApiCall _callCalculateStats; + + private readonly gaxgrpc::ApiCall _callGetSettings; + + private readonly gaxgrpc::ApiCall _callUpdateSettings; + + private readonly gaxgrpc::ApiCall _callCreateAnalysisRule; + + private readonly gaxgrpc::ApiCall _callGetAnalysisRule; + + private readonly gaxgrpc::ApiCall _callListAnalysisRules; + + private readonly gaxgrpc::ApiCall _callUpdateAnalysisRule; + + private readonly gaxgrpc::ApiCall _callDeleteAnalysisRule; + + private readonly gaxgrpc::ApiCall _callGetEncryptionSpec; + + private readonly gaxgrpc::ApiCall _callInitializeEncryptionSpec; + + private readonly gaxgrpc::ApiCall _callCreateView; + + private readonly gaxgrpc::ApiCall _callGetView; + + private readonly gaxgrpc::ApiCall _callListViews; + + private readonly gaxgrpc::ApiCall _callUpdateView; + + private readonly gaxgrpc::ApiCall _callDeleteView; + + private readonly gaxgrpc::ApiCall _callQueryMetrics; + + private readonly gaxgrpc::ApiCall _callCreateQaQuestion; + + private readonly gaxgrpc::ApiCall _callGetQaQuestion; + + private readonly gaxgrpc::ApiCall _callUpdateQaQuestion; + + private readonly gaxgrpc::ApiCall _callDeleteQaQuestion; + + private readonly gaxgrpc::ApiCall _callListQaQuestions; + + private readonly gaxgrpc::ApiCall _callCreateQaScorecard; + + private readonly gaxgrpc::ApiCall _callGetQaScorecard; + + private readonly gaxgrpc::ApiCall _callUpdateQaScorecard; + + private readonly gaxgrpc::ApiCall _callDeleteQaScorecard; + + private readonly gaxgrpc::ApiCall _callListQaScorecards; + + private readonly gaxgrpc::ApiCall _callCreateQaScorecardRevision; + + private readonly gaxgrpc::ApiCall _callGetQaScorecardRevision; + + private readonly gaxgrpc::ApiCall _callTuneQaScorecardRevision; + + private readonly gaxgrpc::ApiCall _callDeployQaScorecardRevision; + + private readonly gaxgrpc::ApiCall _callUndeployQaScorecardRevision; + + private readonly gaxgrpc::ApiCall _callDeleteQaScorecardRevision; + + private readonly gaxgrpc::ApiCall _callListQaScorecardRevisions; + + private readonly gaxgrpc::ApiCall _callCreateFeedbackLabel; + + private readonly gaxgrpc::ApiCall _callListFeedbackLabels; + + private readonly gaxgrpc::ApiCall _callGetFeedbackLabel; + + private readonly gaxgrpc::ApiCall _callUpdateFeedbackLabel; + + private readonly gaxgrpc::ApiCall _callDeleteFeedbackLabel; + + private readonly gaxgrpc::ApiCall _callListAllFeedbackLabels; + + private readonly gaxgrpc::ApiCall _callBulkUploadFeedbackLabels; + + private readonly gaxgrpc::ApiCall _callBulkDownloadFeedbackLabels; + + /// + /// Constructs a client wrapper for the ContactCenterInsights service, with the specified gRPC client and + /// settings. + /// + /// The underlying gRPC client. + /// The base used within this client. + /// Optional to use within this client. + public ContactCenterInsightsClientImpl(ContactCenterInsights.ContactCenterInsightsClient grpcClient, ContactCenterInsightsSettings settings, mel::ILogger logger) + { + GrpcClient = grpcClient; + ContactCenterInsightsSettings effectiveSettings = settings ?? ContactCenterInsightsSettings.GetDefault(); + gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(new gaxgrpc::ClientHelper.Options + { + Settings = effectiveSettings, + Logger = logger, + }); + UploadConversationOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.UploadConversationOperationsSettings, logger); + CreateAnalysisOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.CreateAnalysisOperationsSettings, logger); + BulkAnalyzeConversationsOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.BulkAnalyzeConversationsOperationsSettings, logger); + BulkDeleteConversationsOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.BulkDeleteConversationsOperationsSettings, logger); + IngestConversationsOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.IngestConversationsOperationsSettings, logger); + ExportInsightsDataOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.ExportInsightsDataOperationsSettings, logger); + CreateIssueModelOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.CreateIssueModelOperationsSettings, logger); + DeleteIssueModelOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.DeleteIssueModelOperationsSettings, logger); + DeployIssueModelOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.DeployIssueModelOperationsSettings, logger); + UndeployIssueModelOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.UndeployIssueModelOperationsSettings, logger); + ExportIssueModelOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.ExportIssueModelOperationsSettings, logger); + ImportIssueModelOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.ImportIssueModelOperationsSettings, logger); + InitializeEncryptionSpecOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.InitializeEncryptionSpecOperationsSettings, logger); + QueryMetricsOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.QueryMetricsOperationsSettings, logger); + TuneQaScorecardRevisionOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.TuneQaScorecardRevisionOperationsSettings, logger); + BulkUploadFeedbackLabelsOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.BulkUploadFeedbackLabelsOperationsSettings, logger); + BulkDownloadFeedbackLabelsOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.BulkDownloadFeedbackLabelsOperationsSettings, logger); + IAMPolicyClient = new gciv::IAMPolicyClientImpl(grpcClient.CreateIAMPolicyClient(), effectiveSettings.IAMPolicySettings, logger); + _callCreateConversation = clientHelper.BuildApiCall("CreateConversation", grpcClient.CreateConversationAsync, grpcClient.CreateConversation, effectiveSettings.CreateConversationSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateConversation); + Modify_CreateConversationApiCall(ref _callCreateConversation); + _callUploadConversation = clientHelper.BuildApiCall("UploadConversation", grpcClient.UploadConversationAsync, grpcClient.UploadConversation, effectiveSettings.UploadConversationSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callUploadConversation); + Modify_UploadConversationApiCall(ref _callUploadConversation); + _callUpdateConversation = clientHelper.BuildApiCall("UpdateConversation", grpcClient.UpdateConversationAsync, grpcClient.UpdateConversation, effectiveSettings.UpdateConversationSettings).WithGoogleRequestParam("conversation.name", request => request.Conversation?.Name); + Modify_ApiCall(ref _callUpdateConversation); + Modify_UpdateConversationApiCall(ref _callUpdateConversation); + _callGetConversation = clientHelper.BuildApiCall("GetConversation", grpcClient.GetConversationAsync, grpcClient.GetConversation, effectiveSettings.GetConversationSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetConversation); + Modify_GetConversationApiCall(ref _callGetConversation); + _callListConversations = clientHelper.BuildApiCall("ListConversations", grpcClient.ListConversationsAsync, grpcClient.ListConversations, effectiveSettings.ListConversationsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListConversations); + Modify_ListConversationsApiCall(ref _callListConversations); + _callDeleteConversation = clientHelper.BuildApiCall("DeleteConversation", grpcClient.DeleteConversationAsync, grpcClient.DeleteConversation, effectiveSettings.DeleteConversationSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteConversation); + Modify_DeleteConversationApiCall(ref _callDeleteConversation); + _callCreateAnalysis = clientHelper.BuildApiCall("CreateAnalysis", grpcClient.CreateAnalysisAsync, grpcClient.CreateAnalysis, effectiveSettings.CreateAnalysisSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateAnalysis); + Modify_CreateAnalysisApiCall(ref _callCreateAnalysis); + _callGetAnalysis = clientHelper.BuildApiCall("GetAnalysis", grpcClient.GetAnalysisAsync, grpcClient.GetAnalysis, effectiveSettings.GetAnalysisSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetAnalysis); + Modify_GetAnalysisApiCall(ref _callGetAnalysis); + _callListAnalyses = clientHelper.BuildApiCall("ListAnalyses", grpcClient.ListAnalysesAsync, grpcClient.ListAnalyses, effectiveSettings.ListAnalysesSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListAnalyses); + Modify_ListAnalysesApiCall(ref _callListAnalyses); + _callDeleteAnalysis = clientHelper.BuildApiCall("DeleteAnalysis", grpcClient.DeleteAnalysisAsync, grpcClient.DeleteAnalysis, effectiveSettings.DeleteAnalysisSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteAnalysis); + Modify_DeleteAnalysisApiCall(ref _callDeleteAnalysis); + _callBulkAnalyzeConversations = clientHelper.BuildApiCall("BulkAnalyzeConversations", grpcClient.BulkAnalyzeConversationsAsync, grpcClient.BulkAnalyzeConversations, effectiveSettings.BulkAnalyzeConversationsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callBulkAnalyzeConversations); + Modify_BulkAnalyzeConversationsApiCall(ref _callBulkAnalyzeConversations); + _callBulkDeleteConversations = clientHelper.BuildApiCall("BulkDeleteConversations", grpcClient.BulkDeleteConversationsAsync, grpcClient.BulkDeleteConversations, effectiveSettings.BulkDeleteConversationsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callBulkDeleteConversations); + Modify_BulkDeleteConversationsApiCall(ref _callBulkDeleteConversations); + _callIngestConversations = clientHelper.BuildApiCall("IngestConversations", grpcClient.IngestConversationsAsync, grpcClient.IngestConversations, effectiveSettings.IngestConversationsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callIngestConversations); + Modify_IngestConversationsApiCall(ref _callIngestConversations); + _callExportInsightsData = clientHelper.BuildApiCall("ExportInsightsData", grpcClient.ExportInsightsDataAsync, grpcClient.ExportInsightsData, effectiveSettings.ExportInsightsDataSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callExportInsightsData); + Modify_ExportInsightsDataApiCall(ref _callExportInsightsData); + _callCreateIssueModel = clientHelper.BuildApiCall("CreateIssueModel", grpcClient.CreateIssueModelAsync, grpcClient.CreateIssueModel, effectiveSettings.CreateIssueModelSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateIssueModel); + Modify_CreateIssueModelApiCall(ref _callCreateIssueModel); + _callUpdateIssueModel = clientHelper.BuildApiCall("UpdateIssueModel", grpcClient.UpdateIssueModelAsync, grpcClient.UpdateIssueModel, effectiveSettings.UpdateIssueModelSettings).WithGoogleRequestParam("issue_model.name", request => request.IssueModel?.Name); + Modify_ApiCall(ref _callUpdateIssueModel); + Modify_UpdateIssueModelApiCall(ref _callUpdateIssueModel); + _callGetIssueModel = clientHelper.BuildApiCall("GetIssueModel", grpcClient.GetIssueModelAsync, grpcClient.GetIssueModel, effectiveSettings.GetIssueModelSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetIssueModel); + Modify_GetIssueModelApiCall(ref _callGetIssueModel); + _callListIssueModels = clientHelper.BuildApiCall("ListIssueModels", grpcClient.ListIssueModelsAsync, grpcClient.ListIssueModels, effectiveSettings.ListIssueModelsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListIssueModels); + Modify_ListIssueModelsApiCall(ref _callListIssueModels); + _callDeleteIssueModel = clientHelper.BuildApiCall("DeleteIssueModel", grpcClient.DeleteIssueModelAsync, grpcClient.DeleteIssueModel, effectiveSettings.DeleteIssueModelSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteIssueModel); + Modify_DeleteIssueModelApiCall(ref _callDeleteIssueModel); + _callDeployIssueModel = clientHelper.BuildApiCall("DeployIssueModel", grpcClient.DeployIssueModelAsync, grpcClient.DeployIssueModel, effectiveSettings.DeployIssueModelSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeployIssueModel); + Modify_DeployIssueModelApiCall(ref _callDeployIssueModel); + _callUndeployIssueModel = clientHelper.BuildApiCall("UndeployIssueModel", grpcClient.UndeployIssueModelAsync, grpcClient.UndeployIssueModel, effectiveSettings.UndeployIssueModelSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callUndeployIssueModel); + Modify_UndeployIssueModelApiCall(ref _callUndeployIssueModel); + _callExportIssueModel = clientHelper.BuildApiCall("ExportIssueModel", grpcClient.ExportIssueModelAsync, grpcClient.ExportIssueModel, effectiveSettings.ExportIssueModelSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callExportIssueModel); + Modify_ExportIssueModelApiCall(ref _callExportIssueModel); + _callImportIssueModel = clientHelper.BuildApiCall("ImportIssueModel", grpcClient.ImportIssueModelAsync, grpcClient.ImportIssueModel, effectiveSettings.ImportIssueModelSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callImportIssueModel); + Modify_ImportIssueModelApiCall(ref _callImportIssueModel); + _callGetIssue = clientHelper.BuildApiCall("GetIssue", grpcClient.GetIssueAsync, grpcClient.GetIssue, effectiveSettings.GetIssueSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetIssue); + Modify_GetIssueApiCall(ref _callGetIssue); + _callListIssues = clientHelper.BuildApiCall("ListIssues", grpcClient.ListIssuesAsync, grpcClient.ListIssues, effectiveSettings.ListIssuesSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListIssues); + Modify_ListIssuesApiCall(ref _callListIssues); + _callUpdateIssue = clientHelper.BuildApiCall("UpdateIssue", grpcClient.UpdateIssueAsync, grpcClient.UpdateIssue, effectiveSettings.UpdateIssueSettings).WithGoogleRequestParam("issue.name", request => request.Issue?.Name); + Modify_ApiCall(ref _callUpdateIssue); + Modify_UpdateIssueApiCall(ref _callUpdateIssue); + _callDeleteIssue = clientHelper.BuildApiCall("DeleteIssue", grpcClient.DeleteIssueAsync, grpcClient.DeleteIssue, effectiveSettings.DeleteIssueSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteIssue); + Modify_DeleteIssueApiCall(ref _callDeleteIssue); + _callCalculateIssueModelStats = clientHelper.BuildApiCall("CalculateIssueModelStats", grpcClient.CalculateIssueModelStatsAsync, grpcClient.CalculateIssueModelStats, effectiveSettings.CalculateIssueModelStatsSettings).WithGoogleRequestParam("issue_model", request => request.IssueModel); + Modify_ApiCall(ref _callCalculateIssueModelStats); + Modify_CalculateIssueModelStatsApiCall(ref _callCalculateIssueModelStats); + _callCreatePhraseMatcher = clientHelper.BuildApiCall("CreatePhraseMatcher", grpcClient.CreatePhraseMatcherAsync, grpcClient.CreatePhraseMatcher, effectiveSettings.CreatePhraseMatcherSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreatePhraseMatcher); + Modify_CreatePhraseMatcherApiCall(ref _callCreatePhraseMatcher); + _callGetPhraseMatcher = clientHelper.BuildApiCall("GetPhraseMatcher", grpcClient.GetPhraseMatcherAsync, grpcClient.GetPhraseMatcher, effectiveSettings.GetPhraseMatcherSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetPhraseMatcher); + Modify_GetPhraseMatcherApiCall(ref _callGetPhraseMatcher); + _callListPhraseMatchers = clientHelper.BuildApiCall("ListPhraseMatchers", grpcClient.ListPhraseMatchersAsync, grpcClient.ListPhraseMatchers, effectiveSettings.ListPhraseMatchersSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListPhraseMatchers); + Modify_ListPhraseMatchersApiCall(ref _callListPhraseMatchers); + _callDeletePhraseMatcher = clientHelper.BuildApiCall("DeletePhraseMatcher", grpcClient.DeletePhraseMatcherAsync, grpcClient.DeletePhraseMatcher, effectiveSettings.DeletePhraseMatcherSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeletePhraseMatcher); + Modify_DeletePhraseMatcherApiCall(ref _callDeletePhraseMatcher); + _callUpdatePhraseMatcher = clientHelper.BuildApiCall("UpdatePhraseMatcher", grpcClient.UpdatePhraseMatcherAsync, grpcClient.UpdatePhraseMatcher, effectiveSettings.UpdatePhraseMatcherSettings).WithGoogleRequestParam("phrase_matcher.name", request => request.PhraseMatcher?.Name); + Modify_ApiCall(ref _callUpdatePhraseMatcher); + Modify_UpdatePhraseMatcherApiCall(ref _callUpdatePhraseMatcher); + _callCalculateStats = clientHelper.BuildApiCall("CalculateStats", grpcClient.CalculateStatsAsync, grpcClient.CalculateStats, effectiveSettings.CalculateStatsSettings).WithGoogleRequestParam("location", request => request.Location); + Modify_ApiCall(ref _callCalculateStats); + Modify_CalculateStatsApiCall(ref _callCalculateStats); + _callGetSettings = clientHelper.BuildApiCall("GetSettings", grpcClient.GetSettingsAsync, grpcClient.GetSettings, effectiveSettings.GetSettingsSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetSettings); + Modify_GetSettingsApiCall(ref _callGetSettings); + _callUpdateSettings = clientHelper.BuildApiCall("UpdateSettings", grpcClient.UpdateSettingsAsync, grpcClient.UpdateSettings, effectiveSettings.UpdateSettingsSettings).WithGoogleRequestParam("settings.name", request => request.Settings?.Name); + Modify_ApiCall(ref _callUpdateSettings); + Modify_UpdateSettingsApiCall(ref _callUpdateSettings); + _callCreateAnalysisRule = clientHelper.BuildApiCall("CreateAnalysisRule", grpcClient.CreateAnalysisRuleAsync, grpcClient.CreateAnalysisRule, effectiveSettings.CreateAnalysisRuleSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateAnalysisRule); + Modify_CreateAnalysisRuleApiCall(ref _callCreateAnalysisRule); + _callGetAnalysisRule = clientHelper.BuildApiCall("GetAnalysisRule", grpcClient.GetAnalysisRuleAsync, grpcClient.GetAnalysisRule, effectiveSettings.GetAnalysisRuleSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetAnalysisRule); + Modify_GetAnalysisRuleApiCall(ref _callGetAnalysisRule); + _callListAnalysisRules = clientHelper.BuildApiCall("ListAnalysisRules", grpcClient.ListAnalysisRulesAsync, grpcClient.ListAnalysisRules, effectiveSettings.ListAnalysisRulesSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListAnalysisRules); + Modify_ListAnalysisRulesApiCall(ref _callListAnalysisRules); + _callUpdateAnalysisRule = clientHelper.BuildApiCall("UpdateAnalysisRule", grpcClient.UpdateAnalysisRuleAsync, grpcClient.UpdateAnalysisRule, effectiveSettings.UpdateAnalysisRuleSettings).WithGoogleRequestParam("analysis_rule.name", request => request.AnalysisRule?.Name); + Modify_ApiCall(ref _callUpdateAnalysisRule); + Modify_UpdateAnalysisRuleApiCall(ref _callUpdateAnalysisRule); + _callDeleteAnalysisRule = clientHelper.BuildApiCall("DeleteAnalysisRule", grpcClient.DeleteAnalysisRuleAsync, grpcClient.DeleteAnalysisRule, effectiveSettings.DeleteAnalysisRuleSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteAnalysisRule); + Modify_DeleteAnalysisRuleApiCall(ref _callDeleteAnalysisRule); + _callGetEncryptionSpec = clientHelper.BuildApiCall("GetEncryptionSpec", grpcClient.GetEncryptionSpecAsync, grpcClient.GetEncryptionSpec, effectiveSettings.GetEncryptionSpecSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetEncryptionSpec); + Modify_GetEncryptionSpecApiCall(ref _callGetEncryptionSpec); + _callInitializeEncryptionSpec = clientHelper.BuildApiCall("InitializeEncryptionSpec", grpcClient.InitializeEncryptionSpecAsync, grpcClient.InitializeEncryptionSpec, effectiveSettings.InitializeEncryptionSpecSettings).WithGoogleRequestParam("encryption_spec.name", request => request.EncryptionSpec?.Name); + Modify_ApiCall(ref _callInitializeEncryptionSpec); + Modify_InitializeEncryptionSpecApiCall(ref _callInitializeEncryptionSpec); + _callCreateView = clientHelper.BuildApiCall("CreateView", grpcClient.CreateViewAsync, grpcClient.CreateView, effectiveSettings.CreateViewSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateView); + Modify_CreateViewApiCall(ref _callCreateView); + _callGetView = clientHelper.BuildApiCall("GetView", grpcClient.GetViewAsync, grpcClient.GetView, effectiveSettings.GetViewSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetView); + Modify_GetViewApiCall(ref _callGetView); + _callListViews = clientHelper.BuildApiCall("ListViews", grpcClient.ListViewsAsync, grpcClient.ListViews, effectiveSettings.ListViewsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListViews); + Modify_ListViewsApiCall(ref _callListViews); + _callUpdateView = clientHelper.BuildApiCall("UpdateView", grpcClient.UpdateViewAsync, grpcClient.UpdateView, effectiveSettings.UpdateViewSettings).WithGoogleRequestParam("view.name", request => request.View?.Name); + Modify_ApiCall(ref _callUpdateView); + Modify_UpdateViewApiCall(ref _callUpdateView); + _callDeleteView = clientHelper.BuildApiCall("DeleteView", grpcClient.DeleteViewAsync, grpcClient.DeleteView, effectiveSettings.DeleteViewSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteView); + Modify_DeleteViewApiCall(ref _callDeleteView); + _callQueryMetrics = clientHelper.BuildApiCall("QueryMetrics", grpcClient.QueryMetricsAsync, grpcClient.QueryMetrics, effectiveSettings.QueryMetricsSettings).WithGoogleRequestParam("location", request => request.Location); + Modify_ApiCall(ref _callQueryMetrics); + Modify_QueryMetricsApiCall(ref _callQueryMetrics); + _callCreateQaQuestion = clientHelper.BuildApiCall("CreateQaQuestion", grpcClient.CreateQaQuestionAsync, grpcClient.CreateQaQuestion, effectiveSettings.CreateQaQuestionSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateQaQuestion); + Modify_CreateQaQuestionApiCall(ref _callCreateQaQuestion); + _callGetQaQuestion = clientHelper.BuildApiCall("GetQaQuestion", grpcClient.GetQaQuestionAsync, grpcClient.GetQaQuestion, effectiveSettings.GetQaQuestionSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetQaQuestion); + Modify_GetQaQuestionApiCall(ref _callGetQaQuestion); + _callUpdateQaQuestion = clientHelper.BuildApiCall("UpdateQaQuestion", grpcClient.UpdateQaQuestionAsync, grpcClient.UpdateQaQuestion, effectiveSettings.UpdateQaQuestionSettings).WithGoogleRequestParam("qa_question.name", request => request.QaQuestion?.Name); + Modify_ApiCall(ref _callUpdateQaQuestion); + Modify_UpdateQaQuestionApiCall(ref _callUpdateQaQuestion); + _callDeleteQaQuestion = clientHelper.BuildApiCall("DeleteQaQuestion", grpcClient.DeleteQaQuestionAsync, grpcClient.DeleteQaQuestion, effectiveSettings.DeleteQaQuestionSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteQaQuestion); + Modify_DeleteQaQuestionApiCall(ref _callDeleteQaQuestion); + _callListQaQuestions = clientHelper.BuildApiCall("ListQaQuestions", grpcClient.ListQaQuestionsAsync, grpcClient.ListQaQuestions, effectiveSettings.ListQaQuestionsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListQaQuestions); + Modify_ListQaQuestionsApiCall(ref _callListQaQuestions); + _callCreateQaScorecard = clientHelper.BuildApiCall("CreateQaScorecard", grpcClient.CreateQaScorecardAsync, grpcClient.CreateQaScorecard, effectiveSettings.CreateQaScorecardSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateQaScorecard); + Modify_CreateQaScorecardApiCall(ref _callCreateQaScorecard); + _callGetQaScorecard = clientHelper.BuildApiCall("GetQaScorecard", grpcClient.GetQaScorecardAsync, grpcClient.GetQaScorecard, effectiveSettings.GetQaScorecardSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetQaScorecard); + Modify_GetQaScorecardApiCall(ref _callGetQaScorecard); + _callUpdateQaScorecard = clientHelper.BuildApiCall("UpdateQaScorecard", grpcClient.UpdateQaScorecardAsync, grpcClient.UpdateQaScorecard, effectiveSettings.UpdateQaScorecardSettings).WithGoogleRequestParam("qa_scorecard.name", request => request.QaScorecard?.Name); + Modify_ApiCall(ref _callUpdateQaScorecard); + Modify_UpdateQaScorecardApiCall(ref _callUpdateQaScorecard); + _callDeleteQaScorecard = clientHelper.BuildApiCall("DeleteQaScorecard", grpcClient.DeleteQaScorecardAsync, grpcClient.DeleteQaScorecard, effectiveSettings.DeleteQaScorecardSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteQaScorecard); + Modify_DeleteQaScorecardApiCall(ref _callDeleteQaScorecard); + _callListQaScorecards = clientHelper.BuildApiCall("ListQaScorecards", grpcClient.ListQaScorecardsAsync, grpcClient.ListQaScorecards, effectiveSettings.ListQaScorecardsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListQaScorecards); + Modify_ListQaScorecardsApiCall(ref _callListQaScorecards); + _callCreateQaScorecardRevision = clientHelper.BuildApiCall("CreateQaScorecardRevision", grpcClient.CreateQaScorecardRevisionAsync, grpcClient.CreateQaScorecardRevision, effectiveSettings.CreateQaScorecardRevisionSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateQaScorecardRevision); + Modify_CreateQaScorecardRevisionApiCall(ref _callCreateQaScorecardRevision); + _callGetQaScorecardRevision = clientHelper.BuildApiCall("GetQaScorecardRevision", grpcClient.GetQaScorecardRevisionAsync, grpcClient.GetQaScorecardRevision, effectiveSettings.GetQaScorecardRevisionSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetQaScorecardRevision); + Modify_GetQaScorecardRevisionApiCall(ref _callGetQaScorecardRevision); + _callTuneQaScorecardRevision = clientHelper.BuildApiCall("TuneQaScorecardRevision", grpcClient.TuneQaScorecardRevisionAsync, grpcClient.TuneQaScorecardRevision, effectiveSettings.TuneQaScorecardRevisionSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callTuneQaScorecardRevision); + Modify_TuneQaScorecardRevisionApiCall(ref _callTuneQaScorecardRevision); + _callDeployQaScorecardRevision = clientHelper.BuildApiCall("DeployQaScorecardRevision", grpcClient.DeployQaScorecardRevisionAsync, grpcClient.DeployQaScorecardRevision, effectiveSettings.DeployQaScorecardRevisionSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeployQaScorecardRevision); + Modify_DeployQaScorecardRevisionApiCall(ref _callDeployQaScorecardRevision); + _callUndeployQaScorecardRevision = clientHelper.BuildApiCall("UndeployQaScorecardRevision", grpcClient.UndeployQaScorecardRevisionAsync, grpcClient.UndeployQaScorecardRevision, effectiveSettings.UndeployQaScorecardRevisionSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callUndeployQaScorecardRevision); + Modify_UndeployQaScorecardRevisionApiCall(ref _callUndeployQaScorecardRevision); + _callDeleteQaScorecardRevision = clientHelper.BuildApiCall("DeleteQaScorecardRevision", grpcClient.DeleteQaScorecardRevisionAsync, grpcClient.DeleteQaScorecardRevision, effectiveSettings.DeleteQaScorecardRevisionSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteQaScorecardRevision); + Modify_DeleteQaScorecardRevisionApiCall(ref _callDeleteQaScorecardRevision); + _callListQaScorecardRevisions = clientHelper.BuildApiCall("ListQaScorecardRevisions", grpcClient.ListQaScorecardRevisionsAsync, grpcClient.ListQaScorecardRevisions, effectiveSettings.ListQaScorecardRevisionsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListQaScorecardRevisions); + Modify_ListQaScorecardRevisionsApiCall(ref _callListQaScorecardRevisions); + _callCreateFeedbackLabel = clientHelper.BuildApiCall("CreateFeedbackLabel", grpcClient.CreateFeedbackLabelAsync, grpcClient.CreateFeedbackLabel, effectiveSettings.CreateFeedbackLabelSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateFeedbackLabel); + Modify_CreateFeedbackLabelApiCall(ref _callCreateFeedbackLabel); + _callListFeedbackLabels = clientHelper.BuildApiCall("ListFeedbackLabels", grpcClient.ListFeedbackLabelsAsync, grpcClient.ListFeedbackLabels, effectiveSettings.ListFeedbackLabelsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListFeedbackLabels); + Modify_ListFeedbackLabelsApiCall(ref _callListFeedbackLabels); + _callGetFeedbackLabel = clientHelper.BuildApiCall("GetFeedbackLabel", grpcClient.GetFeedbackLabelAsync, grpcClient.GetFeedbackLabel, effectiveSettings.GetFeedbackLabelSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetFeedbackLabel); + Modify_GetFeedbackLabelApiCall(ref _callGetFeedbackLabel); + _callUpdateFeedbackLabel = clientHelper.BuildApiCall("UpdateFeedbackLabel", grpcClient.UpdateFeedbackLabelAsync, grpcClient.UpdateFeedbackLabel, effectiveSettings.UpdateFeedbackLabelSettings).WithGoogleRequestParam("feedback_label.name", request => request.FeedbackLabel?.Name); + Modify_ApiCall(ref _callUpdateFeedbackLabel); + Modify_UpdateFeedbackLabelApiCall(ref _callUpdateFeedbackLabel); + _callDeleteFeedbackLabel = clientHelper.BuildApiCall("DeleteFeedbackLabel", grpcClient.DeleteFeedbackLabelAsync, grpcClient.DeleteFeedbackLabel, effectiveSettings.DeleteFeedbackLabelSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteFeedbackLabel); + Modify_DeleteFeedbackLabelApiCall(ref _callDeleteFeedbackLabel); + _callListAllFeedbackLabels = clientHelper.BuildApiCall("ListAllFeedbackLabels", grpcClient.ListAllFeedbackLabelsAsync, grpcClient.ListAllFeedbackLabels, effectiveSettings.ListAllFeedbackLabelsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListAllFeedbackLabels); + Modify_ListAllFeedbackLabelsApiCall(ref _callListAllFeedbackLabels); + _callBulkUploadFeedbackLabels = clientHelper.BuildApiCall("BulkUploadFeedbackLabels", grpcClient.BulkUploadFeedbackLabelsAsync, grpcClient.BulkUploadFeedbackLabels, effectiveSettings.BulkUploadFeedbackLabelsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callBulkUploadFeedbackLabels); + Modify_BulkUploadFeedbackLabelsApiCall(ref _callBulkUploadFeedbackLabels); + _callBulkDownloadFeedbackLabels = clientHelper.BuildApiCall("BulkDownloadFeedbackLabels", grpcClient.BulkDownloadFeedbackLabelsAsync, grpcClient.BulkDownloadFeedbackLabels, effectiveSettings.BulkDownloadFeedbackLabelsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callBulkDownloadFeedbackLabels); + Modify_BulkDownloadFeedbackLabelsApiCall(ref _callBulkDownloadFeedbackLabels); + OnConstruction(grpcClient, effectiveSettings, clientHelper); + } + + partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + + partial void Modify_CreateConversationApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UploadConversationApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateConversationApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetConversationApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListConversationsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteConversationApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CreateAnalysisApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetAnalysisApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListAnalysesApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteAnalysisApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_BulkAnalyzeConversationsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_BulkDeleteConversationsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_IngestConversationsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ExportInsightsDataApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CreateIssueModelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateIssueModelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetIssueModelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListIssueModelsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteIssueModelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeployIssueModelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UndeployIssueModelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ExportIssueModelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ImportIssueModelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetIssueApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListIssuesApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateIssueApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteIssueApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CalculateIssueModelStatsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CreatePhraseMatcherApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetPhraseMatcherApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListPhraseMatchersApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeletePhraseMatcherApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdatePhraseMatcherApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CalculateStatsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetSettingsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateSettingsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CreateAnalysisRuleApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetAnalysisRuleApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListAnalysisRulesApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateAnalysisRuleApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteAnalysisRuleApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetEncryptionSpecApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_InitializeEncryptionSpecApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CreateViewApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetViewApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListViewsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateViewApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteViewApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_QueryMetricsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CreateQaQuestionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetQaQuestionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateQaQuestionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteQaQuestionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListQaQuestionsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CreateQaScorecardApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetQaScorecardApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateQaScorecardApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteQaScorecardApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListQaScorecardsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CreateQaScorecardRevisionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetQaScorecardRevisionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_TuneQaScorecardRevisionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeployQaScorecardRevisionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UndeployQaScorecardRevisionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteQaScorecardRevisionApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListQaScorecardRevisionsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_CreateFeedbackLabelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListFeedbackLabelsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetFeedbackLabelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateFeedbackLabelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteFeedbackLabelApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListAllFeedbackLabelsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_BulkUploadFeedbackLabelsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_BulkDownloadFeedbackLabelsApiCall(ref gaxgrpc::ApiCall call); + + partial void OnConstruction(ContactCenterInsights.ContactCenterInsightsClient grpcClient, ContactCenterInsightsSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); + + /// The underlying gRPC ContactCenterInsights client + public override ContactCenterInsights.ContactCenterInsightsClient GrpcClient { get; } + + /// The associated with this client. + public override gciv::IAMPolicyClient IAMPolicyClient { get; } + + partial void Modify_CreateConversationRequest(ref CreateConversationRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UploadConversationRequest(ref UploadConversationRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateConversationRequest(ref UpdateConversationRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetConversationRequest(ref GetConversationRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListConversationsRequest(ref ListConversationsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteConversationRequest(ref DeleteConversationRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CreateAnalysisRequest(ref CreateAnalysisRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetAnalysisRequest(ref GetAnalysisRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListAnalysesRequest(ref ListAnalysesRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteAnalysisRequest(ref DeleteAnalysisRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_BulkAnalyzeConversationsRequest(ref BulkAnalyzeConversationsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_BulkDeleteConversationsRequest(ref BulkDeleteConversationsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_IngestConversationsRequest(ref IngestConversationsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ExportInsightsDataRequest(ref ExportInsightsDataRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CreateIssueModelRequest(ref CreateIssueModelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateIssueModelRequest(ref UpdateIssueModelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetIssueModelRequest(ref GetIssueModelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListIssueModelsRequest(ref ListIssueModelsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteIssueModelRequest(ref DeleteIssueModelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeployIssueModelRequest(ref DeployIssueModelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UndeployIssueModelRequest(ref UndeployIssueModelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ExportIssueModelRequest(ref ExportIssueModelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ImportIssueModelRequest(ref ImportIssueModelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetIssueRequest(ref GetIssueRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListIssuesRequest(ref ListIssuesRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateIssueRequest(ref UpdateIssueRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteIssueRequest(ref DeleteIssueRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CalculateIssueModelStatsRequest(ref CalculateIssueModelStatsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CreatePhraseMatcherRequest(ref CreatePhraseMatcherRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetPhraseMatcherRequest(ref GetPhraseMatcherRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListPhraseMatchersRequest(ref ListPhraseMatchersRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeletePhraseMatcherRequest(ref DeletePhraseMatcherRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdatePhraseMatcherRequest(ref UpdatePhraseMatcherRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CalculateStatsRequest(ref CalculateStatsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetSettingsRequest(ref GetSettingsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateSettingsRequest(ref UpdateSettingsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CreateAnalysisRuleRequest(ref CreateAnalysisRuleRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetAnalysisRuleRequest(ref GetAnalysisRuleRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListAnalysisRulesRequest(ref ListAnalysisRulesRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateAnalysisRuleRequest(ref UpdateAnalysisRuleRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteAnalysisRuleRequest(ref DeleteAnalysisRuleRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetEncryptionSpecRequest(ref GetEncryptionSpecRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_InitializeEncryptionSpecRequest(ref InitializeEncryptionSpecRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CreateViewRequest(ref CreateViewRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetViewRequest(ref GetViewRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListViewsRequest(ref ListViewsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateViewRequest(ref UpdateViewRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteViewRequest(ref DeleteViewRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_QueryMetricsRequest(ref QueryMetricsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CreateQaQuestionRequest(ref CreateQaQuestionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetQaQuestionRequest(ref GetQaQuestionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateQaQuestionRequest(ref UpdateQaQuestionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteQaQuestionRequest(ref DeleteQaQuestionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListQaQuestionsRequest(ref ListQaQuestionsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CreateQaScorecardRequest(ref CreateQaScorecardRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetQaScorecardRequest(ref GetQaScorecardRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateQaScorecardRequest(ref UpdateQaScorecardRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteQaScorecardRequest(ref DeleteQaScorecardRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListQaScorecardsRequest(ref ListQaScorecardsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CreateQaScorecardRevisionRequest(ref CreateQaScorecardRevisionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetQaScorecardRevisionRequest(ref GetQaScorecardRevisionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_TuneQaScorecardRevisionRequest(ref TuneQaScorecardRevisionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeployQaScorecardRevisionRequest(ref DeployQaScorecardRevisionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UndeployQaScorecardRevisionRequest(ref UndeployQaScorecardRevisionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteQaScorecardRevisionRequest(ref DeleteQaScorecardRevisionRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListQaScorecardRevisionsRequest(ref ListQaScorecardRevisionsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CreateFeedbackLabelRequest(ref CreateFeedbackLabelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListFeedbackLabelsRequest(ref ListFeedbackLabelsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetFeedbackLabelRequest(ref GetFeedbackLabelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateFeedbackLabelRequest(ref UpdateFeedbackLabelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteFeedbackLabelRequest(ref DeleteFeedbackLabelRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListAllFeedbackLabelsRequest(ref ListAllFeedbackLabelsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_BulkUploadFeedbackLabelsRequest(ref BulkUploadFeedbackLabelsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_BulkDownloadFeedbackLabelsRequest(ref BulkDownloadFeedbackLabelsRequest request, ref gaxgrpc::CallSettings settings); + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override Conversation CreateConversation(CreateConversationRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateConversationRequest(ref request, ref callSettings); + return _callCreateConversation.Sync(request, callSettings); + } + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateConversationAsync(CreateConversationRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateConversationRequest(ref request, ref callSettings); + return _callCreateConversation.Async(request, callSettings); + } + + /// The long-running operations client for UploadConversation. + public override lro::OperationsClient UploadConversationOperationsClient { get; } + + /// + /// Create a long-running conversation upload operation. This method differs + /// from `CreateConversation` by allowing audio transcription and optional DLP + /// redaction. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation UploadConversation(UploadConversationRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UploadConversationRequest(ref request, ref callSettings); + return new lro::Operation(_callUploadConversation.Sync(request, callSettings), UploadConversationOperationsClient); + } + + /// + /// Create a long-running conversation upload operation. This method differs + /// from `CreateConversation` by allowing audio transcription and optional DLP + /// redaction. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> UploadConversationAsync(UploadConversationRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UploadConversationRequest(ref request, ref callSettings); + return new lro::Operation(await _callUploadConversation.Async(request, callSettings).ConfigureAwait(false), UploadConversationOperationsClient); + } + + /// + /// Updates a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override Conversation UpdateConversation(UpdateConversationRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateConversationRequest(ref request, ref callSettings); + return _callUpdateConversation.Sync(request, callSettings); + } + + /// + /// Updates a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateConversationAsync(UpdateConversationRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateConversationRequest(ref request, ref callSettings); + return _callUpdateConversation.Async(request, callSettings); + } + + /// + /// Gets a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override Conversation GetConversation(GetConversationRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetConversationRequest(ref request, ref callSettings); + return _callGetConversation.Sync(request, callSettings); + } + + /// + /// Gets a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetConversationAsync(GetConversationRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetConversationRequest(ref request, ref callSettings); + return _callGetConversation.Async(request, callSettings); + } + + /// + /// Lists conversations. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListConversations(ListConversationsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListConversationsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListConversations, request, callSettings); + } + + /// + /// Lists conversations. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListConversationsAsync(ListConversationsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListConversationsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListConversations, request, callSettings); + } + + /// + /// Deletes a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeleteConversation(DeleteConversationRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteConversationRequest(ref request, ref callSettings); + _callDeleteConversation.Sync(request, callSettings); + } + + /// + /// Deletes a conversation. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeleteConversationAsync(DeleteConversationRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteConversationRequest(ref request, ref callSettings); + return _callDeleteConversation.Async(request, callSettings); + } + + /// The long-running operations client for CreateAnalysis. + public override lro::OperationsClient CreateAnalysisOperationsClient { get; } + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation CreateAnalysis(CreateAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateAnalysisRequest(ref request, ref callSettings); + return new lro::Operation(_callCreateAnalysis.Sync(request, callSettings), CreateAnalysisOperationsClient); + } + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> CreateAnalysisAsync(CreateAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateAnalysisRequest(ref request, ref callSettings); + return new lro::Operation(await _callCreateAnalysis.Async(request, callSettings).ConfigureAwait(false), CreateAnalysisOperationsClient); + } + + /// + /// Gets an analysis. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override Analysis GetAnalysis(GetAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetAnalysisRequest(ref request, ref callSettings); + return _callGetAnalysis.Sync(request, callSettings); + } + + /// + /// Gets an analysis. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetAnalysisAsync(GetAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetAnalysisRequest(ref request, ref callSettings); + return _callGetAnalysis.Async(request, callSettings); + } + + /// + /// Lists analyses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListAnalyses(ListAnalysesRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListAnalysesRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListAnalyses, request, callSettings); + } + + /// + /// Lists analyses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListAnalysesAsync(ListAnalysesRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListAnalysesRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListAnalyses, request, callSettings); + } + + /// + /// Deletes an analysis. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeleteAnalysis(DeleteAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteAnalysisRequest(ref request, ref callSettings); + _callDeleteAnalysis.Sync(request, callSettings); + } + + /// + /// Deletes an analysis. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeleteAnalysisAsync(DeleteAnalysisRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteAnalysisRequest(ref request, ref callSettings); + return _callDeleteAnalysis.Async(request, callSettings); + } + + /// The long-running operations client for BulkAnalyzeConversations. + public override lro::OperationsClient BulkAnalyzeConversationsOperationsClient { get; } + + /// + /// Analyzes multiple conversations in a single request. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation BulkAnalyzeConversations(BulkAnalyzeConversationsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_BulkAnalyzeConversationsRequest(ref request, ref callSettings); + return new lro::Operation(_callBulkAnalyzeConversations.Sync(request, callSettings), BulkAnalyzeConversationsOperationsClient); + } + + /// + /// Analyzes multiple conversations in a single request. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> BulkAnalyzeConversationsAsync(BulkAnalyzeConversationsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_BulkAnalyzeConversationsRequest(ref request, ref callSettings); + return new lro::Operation(await _callBulkAnalyzeConversations.Async(request, callSettings).ConfigureAwait(false), BulkAnalyzeConversationsOperationsClient); + } + + /// The long-running operations client for BulkDeleteConversations. + public override lro::OperationsClient BulkDeleteConversationsOperationsClient { get; } + + /// + /// Deletes multiple conversations in a single request. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation BulkDeleteConversations(BulkDeleteConversationsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_BulkDeleteConversationsRequest(ref request, ref callSettings); + return new lro::Operation(_callBulkDeleteConversations.Sync(request, callSettings), BulkDeleteConversationsOperationsClient); + } + + /// + /// Deletes multiple conversations in a single request. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> BulkDeleteConversationsAsync(BulkDeleteConversationsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_BulkDeleteConversationsRequest(ref request, ref callSettings); + return new lro::Operation(await _callBulkDeleteConversations.Async(request, callSettings).ConfigureAwait(false), BulkDeleteConversationsOperationsClient); + } + + /// The long-running operations client for IngestConversations. + public override lro::OperationsClient IngestConversationsOperationsClient { get; } + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation IngestConversations(IngestConversationsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_IngestConversationsRequest(ref request, ref callSettings); + return new lro::Operation(_callIngestConversations.Sync(request, callSettings), IngestConversationsOperationsClient); + } + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> IngestConversationsAsync(IngestConversationsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_IngestConversationsRequest(ref request, ref callSettings); + return new lro::Operation(await _callIngestConversations.Async(request, callSettings).ConfigureAwait(false), IngestConversationsOperationsClient); + } + + /// The long-running operations client for ExportInsightsData. + public override lro::OperationsClient ExportInsightsDataOperationsClient { get; } + + /// + /// Export insights data to a destination defined in the request body. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation ExportInsightsData(ExportInsightsDataRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ExportInsightsDataRequest(ref request, ref callSettings); + return new lro::Operation(_callExportInsightsData.Sync(request, callSettings), ExportInsightsDataOperationsClient); + } + + /// + /// Export insights data to a destination defined in the request body. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> ExportInsightsDataAsync(ExportInsightsDataRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ExportInsightsDataRequest(ref request, ref callSettings); + return new lro::Operation(await _callExportInsightsData.Async(request, callSettings).ConfigureAwait(false), ExportInsightsDataOperationsClient); + } + + /// The long-running operations client for CreateIssueModel. + public override lro::OperationsClient CreateIssueModelOperationsClient { get; } + + /// + /// Creates an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation CreateIssueModel(CreateIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(_callCreateIssueModel.Sync(request, callSettings), CreateIssueModelOperationsClient); + } + + /// + /// Creates an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> CreateIssueModelAsync(CreateIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(await _callCreateIssueModel.Async(request, callSettings).ConfigureAwait(false), CreateIssueModelOperationsClient); + } + + /// + /// Updates an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override IssueModel UpdateIssueModel(UpdateIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateIssueModelRequest(ref request, ref callSettings); + return _callUpdateIssueModel.Sync(request, callSettings); + } + + /// + /// Updates an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateIssueModelAsync(UpdateIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateIssueModelRequest(ref request, ref callSettings); + return _callUpdateIssueModel.Async(request, callSettings); + } + + /// + /// Gets an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override IssueModel GetIssueModel(GetIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetIssueModelRequest(ref request, ref callSettings); + return _callGetIssueModel.Sync(request, callSettings); + } + + /// + /// Gets an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetIssueModelAsync(GetIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetIssueModelRequest(ref request, ref callSettings); + return _callGetIssueModel.Async(request, callSettings); + } + + /// + /// Lists issue models. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override ListIssueModelsResponse ListIssueModels(ListIssueModelsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListIssueModelsRequest(ref request, ref callSettings); + return _callListIssueModels.Sync(request, callSettings); + } + + /// + /// Lists issue models. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task ListIssueModelsAsync(ListIssueModelsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListIssueModelsRequest(ref request, ref callSettings); + return _callListIssueModels.Async(request, callSettings); + } + + /// The long-running operations client for DeleteIssueModel. + public override lro::OperationsClient DeleteIssueModelOperationsClient { get; } + + /// + /// Deletes an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation DeleteIssueModel(DeleteIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(_callDeleteIssueModel.Sync(request, callSettings), DeleteIssueModelOperationsClient); + } + + /// + /// Deletes an issue model. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> DeleteIssueModelAsync(DeleteIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(await _callDeleteIssueModel.Async(request, callSettings).ConfigureAwait(false), DeleteIssueModelOperationsClient); + } + + /// The long-running operations client for DeployIssueModel. + public override lro::OperationsClient DeployIssueModelOperationsClient { get; } + + /// + /// 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. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation DeployIssueModel(DeployIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeployIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(_callDeployIssueModel.Sync(request, callSettings), DeployIssueModelOperationsClient); + } + + /// + /// 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. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> DeployIssueModelAsync(DeployIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeployIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(await _callDeployIssueModel.Async(request, callSettings).ConfigureAwait(false), DeployIssueModelOperationsClient); + } + + /// The long-running operations client for UndeployIssueModel. + public override lro::OperationsClient UndeployIssueModelOperationsClient { get; } + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation UndeployIssueModel(UndeployIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UndeployIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(_callUndeployIssueModel.Sync(request, callSettings), UndeployIssueModelOperationsClient); + } + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> UndeployIssueModelAsync(UndeployIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UndeployIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(await _callUndeployIssueModel.Async(request, callSettings).ConfigureAwait(false), UndeployIssueModelOperationsClient); + } + + /// The long-running operations client for ExportIssueModel. + public override lro::OperationsClient ExportIssueModelOperationsClient { get; } + + /// + /// Exports an issue model to the provided destination. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation ExportIssueModel(ExportIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ExportIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(_callExportIssueModel.Sync(request, callSettings), ExportIssueModelOperationsClient); + } + + /// + /// Exports an issue model to the provided destination. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> ExportIssueModelAsync(ExportIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ExportIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(await _callExportIssueModel.Async(request, callSettings).ConfigureAwait(false), ExportIssueModelOperationsClient); + } + + /// The long-running operations client for ImportIssueModel. + public override lro::OperationsClient ImportIssueModelOperationsClient { get; } + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation ImportIssueModel(ImportIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ImportIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(_callImportIssueModel.Sync(request, callSettings), ImportIssueModelOperationsClient); + } + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> ImportIssueModelAsync(ImportIssueModelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ImportIssueModelRequest(ref request, ref callSettings); + return new lro::Operation(await _callImportIssueModel.Async(request, callSettings).ConfigureAwait(false), ImportIssueModelOperationsClient); + } + + /// + /// Gets an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override Issue GetIssue(GetIssueRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetIssueRequest(ref request, ref callSettings); + return _callGetIssue.Sync(request, callSettings); + } + + /// + /// Gets an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetIssueAsync(GetIssueRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetIssueRequest(ref request, ref callSettings); + return _callGetIssue.Async(request, callSettings); + } + + /// + /// Lists issues. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override ListIssuesResponse ListIssues(ListIssuesRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListIssuesRequest(ref request, ref callSettings); + return _callListIssues.Sync(request, callSettings); + } + + /// + /// Lists issues. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task ListIssuesAsync(ListIssuesRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListIssuesRequest(ref request, ref callSettings); + return _callListIssues.Async(request, callSettings); + } + + /// + /// Updates an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override Issue UpdateIssue(UpdateIssueRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateIssueRequest(ref request, ref callSettings); + return _callUpdateIssue.Sync(request, callSettings); + } + + /// + /// Updates an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateIssueAsync(UpdateIssueRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateIssueRequest(ref request, ref callSettings); + return _callUpdateIssue.Async(request, callSettings); + } + + /// + /// Deletes an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeleteIssue(DeleteIssueRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteIssueRequest(ref request, ref callSettings); + _callDeleteIssue.Sync(request, callSettings); + } + + /// + /// Deletes an issue. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeleteIssueAsync(DeleteIssueRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteIssueRequest(ref request, ref callSettings); + return _callDeleteIssue.Async(request, callSettings); + } + + /// + /// Gets an issue model's statistics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override CalculateIssueModelStatsResponse CalculateIssueModelStats(CalculateIssueModelStatsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CalculateIssueModelStatsRequest(ref request, ref callSettings); + return _callCalculateIssueModelStats.Sync(request, callSettings); + } + + /// + /// Gets an issue model's statistics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CalculateIssueModelStatsAsync(CalculateIssueModelStatsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CalculateIssueModelStatsRequest(ref request, ref callSettings); + return _callCalculateIssueModelStats.Async(request, callSettings); + } + + /// + /// Creates a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override PhraseMatcher CreatePhraseMatcher(CreatePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreatePhraseMatcherRequest(ref request, ref callSettings); + return _callCreatePhraseMatcher.Sync(request, callSettings); + } + + /// + /// Creates a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreatePhraseMatcherAsync(CreatePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreatePhraseMatcherRequest(ref request, ref callSettings); + return _callCreatePhraseMatcher.Async(request, callSettings); + } + + /// + /// Gets a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override PhraseMatcher GetPhraseMatcher(GetPhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetPhraseMatcherRequest(ref request, ref callSettings); + return _callGetPhraseMatcher.Sync(request, callSettings); + } + + /// + /// Gets a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetPhraseMatcherAsync(GetPhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetPhraseMatcherRequest(ref request, ref callSettings); + return _callGetPhraseMatcher.Async(request, callSettings); + } + + /// + /// Lists phrase matchers. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListPhraseMatchers(ListPhraseMatchersRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListPhraseMatchersRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListPhraseMatchers, request, callSettings); + } + + /// + /// Lists phrase matchers. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListPhraseMatchersAsync(ListPhraseMatchersRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListPhraseMatchersRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListPhraseMatchers, request, callSettings); + } + + /// + /// Deletes a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeletePhraseMatcher(DeletePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeletePhraseMatcherRequest(ref request, ref callSettings); + _callDeletePhraseMatcher.Sync(request, callSettings); + } + + /// + /// Deletes a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeletePhraseMatcherAsync(DeletePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeletePhraseMatcherRequest(ref request, ref callSettings); + return _callDeletePhraseMatcher.Async(request, callSettings); + } + + /// + /// Updates a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override PhraseMatcher UpdatePhraseMatcher(UpdatePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdatePhraseMatcherRequest(ref request, ref callSettings); + return _callUpdatePhraseMatcher.Sync(request, callSettings); + } + + /// + /// Updates a phrase matcher. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdatePhraseMatcherAsync(UpdatePhraseMatcherRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdatePhraseMatcherRequest(ref request, ref callSettings); + return _callUpdatePhraseMatcher.Async(request, callSettings); + } + + /// + /// Gets conversation statistics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override CalculateStatsResponse CalculateStats(CalculateStatsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CalculateStatsRequest(ref request, ref callSettings); + return _callCalculateStats.Sync(request, callSettings); + } + + /// + /// Gets conversation statistics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CalculateStatsAsync(CalculateStatsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CalculateStatsRequest(ref request, ref callSettings); + return _callCalculateStats.Async(request, callSettings); + } + + /// + /// Gets project-level settings. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override Settings GetSettings(GetSettingsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetSettingsRequest(ref request, ref callSettings); + return _callGetSettings.Sync(request, callSettings); + } + + /// + /// Gets project-level settings. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetSettingsAsync(GetSettingsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetSettingsRequest(ref request, ref callSettings); + return _callGetSettings.Async(request, callSettings); + } + + /// + /// Updates project-level settings. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override Settings UpdateSettings(UpdateSettingsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateSettingsRequest(ref request, ref callSettings); + return _callUpdateSettings.Sync(request, callSettings); + } + + /// + /// Updates project-level settings. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateSettingsAsync(UpdateSettingsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateSettingsRequest(ref request, ref callSettings); + return _callUpdateSettings.Async(request, callSettings); + } + + /// + /// Creates a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override AnalysisRule CreateAnalysisRule(CreateAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateAnalysisRuleRequest(ref request, ref callSettings); + return _callCreateAnalysisRule.Sync(request, callSettings); + } + + /// + /// Creates a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateAnalysisRuleAsync(CreateAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateAnalysisRuleRequest(ref request, ref callSettings); + return _callCreateAnalysisRule.Async(request, callSettings); + } + + /// + /// Get a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override AnalysisRule GetAnalysisRule(GetAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetAnalysisRuleRequest(ref request, ref callSettings); + return _callGetAnalysisRule.Sync(request, callSettings); + } + + /// + /// Get a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetAnalysisRuleAsync(GetAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetAnalysisRuleRequest(ref request, ref callSettings); + return _callGetAnalysisRule.Async(request, callSettings); + } + + /// + /// Lists analysis rules. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListAnalysisRules(ListAnalysisRulesRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListAnalysisRulesRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListAnalysisRules, request, callSettings); + } + + /// + /// Lists analysis rules. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListAnalysisRulesAsync(ListAnalysisRulesRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListAnalysisRulesRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListAnalysisRules, request, callSettings); + } + + /// + /// Updates a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override AnalysisRule UpdateAnalysisRule(UpdateAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateAnalysisRuleRequest(ref request, ref callSettings); + return _callUpdateAnalysisRule.Sync(request, callSettings); + } + + /// + /// Updates a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateAnalysisRuleAsync(UpdateAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateAnalysisRuleRequest(ref request, ref callSettings); + return _callUpdateAnalysisRule.Async(request, callSettings); + } + + /// + /// Deletes a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeleteAnalysisRule(DeleteAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteAnalysisRuleRequest(ref request, ref callSettings); + _callDeleteAnalysisRule.Sync(request, callSettings); + } + + /// + /// Deletes a analysis rule. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeleteAnalysisRuleAsync(DeleteAnalysisRuleRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteAnalysisRuleRequest(ref request, ref callSettings); + return _callDeleteAnalysisRule.Async(request, callSettings); + } + + /// + /// Gets location-level encryption key specification. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override EncryptionSpec GetEncryptionSpec(GetEncryptionSpecRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetEncryptionSpecRequest(ref request, ref callSettings); + return _callGetEncryptionSpec.Sync(request, callSettings); + } + + /// + /// Gets location-level encryption key specification. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetEncryptionSpecAsync(GetEncryptionSpecRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetEncryptionSpecRequest(ref request, ref callSettings); + return _callGetEncryptionSpec.Async(request, callSettings); + } + + /// The long-running operations client for InitializeEncryptionSpec. + public override lro::OperationsClient InitializeEncryptionSpecOperationsClient { get; } + + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation InitializeEncryptionSpec(InitializeEncryptionSpecRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_InitializeEncryptionSpecRequest(ref request, ref callSettings); + return new lro::Operation(_callInitializeEncryptionSpec.Sync(request, callSettings), InitializeEncryptionSpecOperationsClient); + } + + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> InitializeEncryptionSpecAsync(InitializeEncryptionSpecRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_InitializeEncryptionSpecRequest(ref request, ref callSettings); + return new lro::Operation(await _callInitializeEncryptionSpec.Async(request, callSettings).ConfigureAwait(false), InitializeEncryptionSpecOperationsClient); + } + + /// + /// Creates a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override View CreateView(CreateViewRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateViewRequest(ref request, ref callSettings); + return _callCreateView.Sync(request, callSettings); + } + + /// + /// Creates a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateViewAsync(CreateViewRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateViewRequest(ref request, ref callSettings); + return _callCreateView.Async(request, callSettings); + } + + /// + /// Gets a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override View GetView(GetViewRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetViewRequest(ref request, ref callSettings); + return _callGetView.Sync(request, callSettings); + } + + /// + /// Gets a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetViewAsync(GetViewRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetViewRequest(ref request, ref callSettings); + return _callGetView.Async(request, callSettings); + } + + /// + /// Lists views. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListViews(ListViewsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListViewsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListViews, request, callSettings); + } + + /// + /// Lists views. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListViewsAsync(ListViewsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListViewsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListViews, request, callSettings); + } + + /// + /// Updates a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override View UpdateView(UpdateViewRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateViewRequest(ref request, ref callSettings); + return _callUpdateView.Sync(request, callSettings); + } + + /// + /// Updates a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateViewAsync(UpdateViewRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateViewRequest(ref request, ref callSettings); + return _callUpdateView.Async(request, callSettings); + } + + /// + /// Deletes a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeleteView(DeleteViewRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteViewRequest(ref request, ref callSettings); + _callDeleteView.Sync(request, callSettings); + } + + /// + /// Deletes a view. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeleteViewAsync(DeleteViewRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteViewRequest(ref request, ref callSettings); + return _callDeleteView.Async(request, callSettings); + } + + /// The long-running operations client for QueryMetrics. + public override lro::OperationsClient QueryMetricsOperationsClient { get; } + + /// + /// Query metrics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation QueryMetrics(QueryMetricsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_QueryMetricsRequest(ref request, ref callSettings); + return new lro::Operation(_callQueryMetrics.Sync(request, callSettings), QueryMetricsOperationsClient); + } + + /// + /// Query metrics. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> QueryMetricsAsync(QueryMetricsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_QueryMetricsRequest(ref request, ref callSettings); + return new lro::Operation(await _callQueryMetrics.Async(request, callSettings).ConfigureAwait(false), QueryMetricsOperationsClient); + } + + /// + /// Create a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override QaQuestion CreateQaQuestion(CreateQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateQaQuestionRequest(ref request, ref callSettings); + return _callCreateQaQuestion.Sync(request, callSettings); + } + + /// + /// Create a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateQaQuestionAsync(CreateQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateQaQuestionRequest(ref request, ref callSettings); + return _callCreateQaQuestion.Async(request, callSettings); + } + + /// + /// Gets a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override QaQuestion GetQaQuestion(GetQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetQaQuestionRequest(ref request, ref callSettings); + return _callGetQaQuestion.Sync(request, callSettings); + } + + /// + /// Gets a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetQaQuestionAsync(GetQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetQaQuestionRequest(ref request, ref callSettings); + return _callGetQaQuestion.Async(request, callSettings); + } + + /// + /// Updates a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override QaQuestion UpdateQaQuestion(UpdateQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateQaQuestionRequest(ref request, ref callSettings); + return _callUpdateQaQuestion.Sync(request, callSettings); + } + + /// + /// Updates a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateQaQuestionAsync(UpdateQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateQaQuestionRequest(ref request, ref callSettings); + return _callUpdateQaQuestion.Async(request, callSettings); + } + + /// + /// Deletes a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeleteQaQuestion(DeleteQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteQaQuestionRequest(ref request, ref callSettings); + _callDeleteQaQuestion.Sync(request, callSettings); + } + + /// + /// Deletes a QaQuestion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeleteQaQuestionAsync(DeleteQaQuestionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteQaQuestionRequest(ref request, ref callSettings); + return _callDeleteQaQuestion.Async(request, callSettings); + } + + /// + /// Lists QaQuestions. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListQaQuestions(ListQaQuestionsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListQaQuestionsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListQaQuestions, request, callSettings); + } + + /// + /// Lists QaQuestions. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListQaQuestionsAsync(ListQaQuestionsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListQaQuestionsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListQaQuestions, request, callSettings); + } + + /// + /// Create a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override QaScorecard CreateQaScorecard(CreateQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateQaScorecardRequest(ref request, ref callSettings); + return _callCreateQaScorecard.Sync(request, callSettings); + } + + /// + /// Create a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateQaScorecardAsync(CreateQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateQaScorecardRequest(ref request, ref callSettings); + return _callCreateQaScorecard.Async(request, callSettings); + } + + /// + /// Gets a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override QaScorecard GetQaScorecard(GetQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetQaScorecardRequest(ref request, ref callSettings); + return _callGetQaScorecard.Sync(request, callSettings); + } + + /// + /// Gets a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetQaScorecardAsync(GetQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetQaScorecardRequest(ref request, ref callSettings); + return _callGetQaScorecard.Async(request, callSettings); + } + + /// + /// Updates a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override QaScorecard UpdateQaScorecard(UpdateQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateQaScorecardRequest(ref request, ref callSettings); + return _callUpdateQaScorecard.Sync(request, callSettings); + } + + /// + /// Updates a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateQaScorecardAsync(UpdateQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateQaScorecardRequest(ref request, ref callSettings); + return _callUpdateQaScorecard.Async(request, callSettings); + } + + /// + /// Deletes a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeleteQaScorecard(DeleteQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteQaScorecardRequest(ref request, ref callSettings); + _callDeleteQaScorecard.Sync(request, callSettings); + } + + /// + /// Deletes a QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeleteQaScorecardAsync(DeleteQaScorecardRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteQaScorecardRequest(ref request, ref callSettings); + return _callDeleteQaScorecard.Async(request, callSettings); + } + + /// + /// Lists QaScorecards. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListQaScorecards(ListQaScorecardsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListQaScorecardsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListQaScorecards, request, callSettings); + } + + /// + /// Lists QaScorecards. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListQaScorecardsAsync(ListQaScorecardsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListQaScorecardsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListQaScorecards, request, callSettings); + } + + /// + /// Creates a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override QaScorecardRevision CreateQaScorecardRevision(CreateQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateQaScorecardRevisionRequest(ref request, ref callSettings); + return _callCreateQaScorecardRevision.Sync(request, callSettings); + } + + /// + /// Creates a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateQaScorecardRevisionAsync(CreateQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateQaScorecardRevisionRequest(ref request, ref callSettings); + return _callCreateQaScorecardRevision.Async(request, callSettings); + } + + /// + /// Gets a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override QaScorecardRevision GetQaScorecardRevision(GetQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetQaScorecardRevisionRequest(ref request, ref callSettings); + return _callGetQaScorecardRevision.Sync(request, callSettings); + } + + /// + /// Gets a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetQaScorecardRevisionAsync(GetQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetQaScorecardRevisionRequest(ref request, ref callSettings); + return _callGetQaScorecardRevision.Async(request, callSettings); + } + + /// The long-running operations client for TuneQaScorecardRevision. + public override lro::OperationsClient TuneQaScorecardRevisionOperationsClient { get; } + + /// + /// Fine tune one or more QaModels. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation TuneQaScorecardRevision(TuneQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_TuneQaScorecardRevisionRequest(ref request, ref callSettings); + return new lro::Operation(_callTuneQaScorecardRevision.Sync(request, callSettings), TuneQaScorecardRevisionOperationsClient); + } + + /// + /// Fine tune one or more QaModels. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> TuneQaScorecardRevisionAsync(TuneQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_TuneQaScorecardRevisionRequest(ref request, ref callSettings); + return new lro::Operation(await _callTuneQaScorecardRevision.Async(request, callSettings).ConfigureAwait(false), TuneQaScorecardRevisionOperationsClient); + } + + /// + /// Deploy a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override QaScorecardRevision DeployQaScorecardRevision(DeployQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeployQaScorecardRevisionRequest(ref request, ref callSettings); + return _callDeployQaScorecardRevision.Sync(request, callSettings); + } + + /// + /// Deploy a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeployQaScorecardRevisionAsync(DeployQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeployQaScorecardRevisionRequest(ref request, ref callSettings); + return _callDeployQaScorecardRevision.Async(request, callSettings); + } + + /// + /// Undeploy a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override QaScorecardRevision UndeployQaScorecardRevision(UndeployQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UndeployQaScorecardRevisionRequest(ref request, ref callSettings); + return _callUndeployQaScorecardRevision.Sync(request, callSettings); + } + + /// + /// Undeploy a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UndeployQaScorecardRevisionAsync(UndeployQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UndeployQaScorecardRevisionRequest(ref request, ref callSettings); + return _callUndeployQaScorecardRevision.Async(request, callSettings); + } + + /// + /// Deletes a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeleteQaScorecardRevision(DeleteQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteQaScorecardRevisionRequest(ref request, ref callSettings); + _callDeleteQaScorecardRevision.Sync(request, callSettings); + } + + /// + /// Deletes a QaScorecardRevision. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeleteQaScorecardRevisionAsync(DeleteQaScorecardRevisionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteQaScorecardRevisionRequest(ref request, ref callSettings); + return _callDeleteQaScorecardRevision.Async(request, callSettings); + } + + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListQaScorecardRevisions(ListQaScorecardRevisionsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListQaScorecardRevisionsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListQaScorecardRevisions, request, callSettings); + } + + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListQaScorecardRevisionsAsync(ListQaScorecardRevisionsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListQaScorecardRevisionsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListQaScorecardRevisions, request, callSettings); + } + + /// + /// Create feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override FeedbackLabel CreateFeedbackLabel(CreateFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateFeedbackLabelRequest(ref request, ref callSettings); + return _callCreateFeedbackLabel.Sync(request, callSettings); + } + + /// + /// Create feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateFeedbackLabelAsync(CreateFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateFeedbackLabelRequest(ref request, ref callSettings); + return _callCreateFeedbackLabel.Async(request, callSettings); + } + + /// + /// List feedback labels. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListFeedbackLabels(ListFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListFeedbackLabelsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListFeedbackLabels, request, callSettings); + } + + /// + /// List feedback labels. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListFeedbackLabelsAsync(ListFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListFeedbackLabelsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListFeedbackLabels, request, callSettings); + } + + /// + /// Get feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override FeedbackLabel GetFeedbackLabel(GetFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetFeedbackLabelRequest(ref request, ref callSettings); + return _callGetFeedbackLabel.Sync(request, callSettings); + } + + /// + /// Get feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetFeedbackLabelAsync(GetFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetFeedbackLabelRequest(ref request, ref callSettings); + return _callGetFeedbackLabel.Async(request, callSettings); + } + + /// + /// Update feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override FeedbackLabel UpdateFeedbackLabel(UpdateFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateFeedbackLabelRequest(ref request, ref callSettings); + return _callUpdateFeedbackLabel.Sync(request, callSettings); + } + + /// + /// Update feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateFeedbackLabelAsync(UpdateFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateFeedbackLabelRequest(ref request, ref callSettings); + return _callUpdateFeedbackLabel.Async(request, callSettings); + } + + /// + /// Delete feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeleteFeedbackLabel(DeleteFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteFeedbackLabelRequest(ref request, ref callSettings); + _callDeleteFeedbackLabel.Sync(request, callSettings); + } + + /// + /// Delete feedback label. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeleteFeedbackLabelAsync(DeleteFeedbackLabelRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteFeedbackLabelRequest(ref request, ref callSettings); + return _callDeleteFeedbackLabel.Async(request, callSettings); + } + + /// + /// List all feedback labels by project number. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListAllFeedbackLabels(ListAllFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListAllFeedbackLabelsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListAllFeedbackLabels, request, callSettings); + } + + /// + /// List all feedback labels by project number. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListAllFeedbackLabelsAsync(ListAllFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListAllFeedbackLabelsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListAllFeedbackLabels, request, callSettings); + } + + /// The long-running operations client for BulkUploadFeedbackLabels. + public override lro::OperationsClient BulkUploadFeedbackLabelsOperationsClient { get; } + + /// + /// Upload feedback labels in bulk. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation BulkUploadFeedbackLabels(BulkUploadFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_BulkUploadFeedbackLabelsRequest(ref request, ref callSettings); + return new lro::Operation(_callBulkUploadFeedbackLabels.Sync(request, callSettings), BulkUploadFeedbackLabelsOperationsClient); + } + + /// + /// Upload feedback labels in bulk. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> BulkUploadFeedbackLabelsAsync(BulkUploadFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_BulkUploadFeedbackLabelsRequest(ref request, ref callSettings); + return new lro::Operation(await _callBulkUploadFeedbackLabels.Async(request, callSettings).ConfigureAwait(false), BulkUploadFeedbackLabelsOperationsClient); + } + + /// The long-running operations client for BulkDownloadFeedbackLabels. + public override lro::OperationsClient BulkDownloadFeedbackLabelsOperationsClient { get; } + + /// + /// Download feedback labels in bulk. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation BulkDownloadFeedbackLabels(BulkDownloadFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_BulkDownloadFeedbackLabelsRequest(ref request, ref callSettings); + return new lro::Operation(_callBulkDownloadFeedbackLabels.Sync(request, callSettings), BulkDownloadFeedbackLabelsOperationsClient); + } + + /// + /// Download feedback labels in bulk. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> BulkDownloadFeedbackLabelsAsync(BulkDownloadFeedbackLabelsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_BulkDownloadFeedbackLabelsRequest(ref request, ref callSettings); + return new lro::Operation(await _callBulkDownloadFeedbackLabels.Async(request, callSettings).ConfigureAwait(false), BulkDownloadFeedbackLabelsOperationsClient); + } + } + + public partial class ListConversationsRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListAnalysesRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListPhraseMatchersRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListAnalysisRulesRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListViewsRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListQaQuestionsRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListQaScorecardsRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListQaScorecardRevisionsRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListFeedbackLabelsRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListAllFeedbackLabelsRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListConversationsResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => Conversations.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public partial class ListAnalysesResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => Analyses.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public partial class ListPhraseMatchersResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => PhraseMatchers.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public partial class ListAnalysisRulesResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => AnalysisRules.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public partial class ListViewsResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => Views.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public partial class ListQaQuestionsResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => QaQuestions.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public partial class ListQaScorecardsResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => QaScorecards.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public partial class ListQaScorecardRevisionsResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => QaScorecardRevisions.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public partial class ListFeedbackLabelsResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => FeedbackLabels.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public partial class ListAllFeedbackLabelsResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => FeedbackLabels.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public static partial class ContactCenterInsights + { + public partial class ContactCenterInsightsClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// A new Operations client for the same target as this client. + public virtual lro::Operations.OperationsClient CreateOperationsClient() => + new lro::Operations.OperationsClient(CallInvoker); + } + } + + public static partial class ContactCenterInsights + { + public partial class ContactCenterInsightsClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// + /// A new for the same target as this client. + /// + public virtual gciv::IAMPolicy.IAMPolicyClient CreateIAMPolicyClient() => + new gciv::IAMPolicy.IAMPolicyClient(CallInvoker); + } + } +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsGrpc.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsGrpc.g.cs new file mode 100755 index 000000000000..be16010ff3fd --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsGrpc.g.cs @@ -0,0 +1,5579 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto +// +// Original file comments: +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +#pragma warning disable 0414, 1591, 8981, 0612 +#region Designer generated code + +using grpc = global::Grpc.Core; + +namespace Google.Cloud.ContactCenterInsights.V1 { + /// + /// An API that lets users analyze and explore their business conversation data. + /// + public static partial class ContactCenterInsights + { + static readonly string __ServiceName = "google.cloud.contactcenterinsights.v1.ContactCenterInsights"; + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (message is global::Google.Protobuf.IBufferMessage) + { + context.SetPayloadLength(message.CalculateSize()); + global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); + context.Complete(); + return; + } + #endif + context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static class __Helper_MessageCache + { + public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (__Helper_MessageCache.IsBufferMessage) + { + return parser.ParseFrom(context.PayloadAsReadOnlySequence()); + } + #endif + return parser.ParseFrom(context.PayloadAsNewBuffer()); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CreateConversationRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CreateConversationRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_Conversation = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.Conversation.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UploadConversationRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_longrunning_Operation = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.LongRunning.Operation.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UpdateConversationRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UpdateConversationRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetConversationRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetConversationRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListConversationsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListConversationsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListConversationsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListConversationsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeleteConversationRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeleteConversationRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_protobuf_Empty = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Protobuf.WellKnownTypes.Empty.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetAnalysisRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_Analysis = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.Analysis.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListAnalysesRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListAnalysesResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_BulkDeleteConversationsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_IngestConversationsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueModelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_IssueModel = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetIssueModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetIssueModelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ExportIssueModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ImportIssueModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetIssueRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetIssueRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_Issue = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.Issue.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListIssuesRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListIssuesRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListIssuesResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListIssuesResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UpdateIssueRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeleteIssueRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CreatePhraseMatcherRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_PhraseMatcher = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetPhraseMatcherRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeletePhraseMatcherRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UpdatePhraseMatcherRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CalculateStatsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CalculateStatsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetSettingsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetSettingsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_Settings = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.Settings.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UpdateSettingsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CreateAnalysisRuleRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRuleRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_AnalysisRule = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetAnalysisRuleRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRuleRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListAnalysisRulesRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListAnalysisRulesResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UpdateAnalysisRuleRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UpdateAnalysisRuleRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeleteAnalysisRuleRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRuleRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetEncryptionSpecRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetEncryptionSpecRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_EncryptionSpec = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.EncryptionSpec.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_InitializeEncryptionSpecRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CreateViewRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CreateViewRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_View = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.View.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetViewRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetViewRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListViewsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListViewsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListViewsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListViewsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UpdateViewRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UpdateViewRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeleteViewRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeleteViewRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_QueryMetricsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CreateQaQuestionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CreateQaQuestionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_QaQuestion = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetQaQuestionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetQaQuestionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UpdateQaQuestionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UpdateQaQuestionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeleteQaQuestionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeleteQaQuestionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListQaQuestionsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListQaQuestionsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CreateQaScorecardRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_QaScorecard = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.QaScorecard.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetQaScorecardRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UpdateQaScorecardRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UpdateQaScorecardRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeleteQaScorecardRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListQaScorecardsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListQaScorecardsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CreateQaScorecardRevisionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRevisionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_QaScorecardRevision = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetQaScorecardRevisionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRevisionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_TuneQaScorecardRevisionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeployQaScorecardRevisionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeployQaScorecardRevisionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UndeployQaScorecardRevisionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UndeployQaScorecardRevisionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeleteQaScorecardRevisionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRevisionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListQaScorecardRevisionsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListQaScorecardRevisionsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_CreateFeedbackLabelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.CreateFeedbackLabelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_FeedbackLabel = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListFeedbackLabelsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListFeedbackLabelsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_GetFeedbackLabelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.GetFeedbackLabelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_UpdateFeedbackLabelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.UpdateFeedbackLabelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_DeleteFeedbackLabelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.DeleteFeedbackLabelRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListAllFeedbackLabelsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_ListAllFeedbackLabelsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_BulkUploadFeedbackLabelsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_contactcenterinsights_v1_BulkDownloadFeedbackLabelsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest.Parser)); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateConversation = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateConversation", + __Marshaller_google_cloud_contactcenterinsights_v1_CreateConversationRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_Conversation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UploadConversation = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UploadConversation", + __Marshaller_google_cloud_contactcenterinsights_v1_UploadConversationRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateConversation = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateConversation", + __Marshaller_google_cloud_contactcenterinsights_v1_UpdateConversationRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_Conversation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetConversation = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetConversation", + __Marshaller_google_cloud_contactcenterinsights_v1_GetConversationRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_Conversation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListConversations = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListConversations", + __Marshaller_google_cloud_contactcenterinsights_v1_ListConversationsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListConversationsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteConversation = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteConversation", + __Marshaller_google_cloud_contactcenterinsights_v1_DeleteConversationRequest, + __Marshaller_google_protobuf_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateAnalysis = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateAnalysis", + __Marshaller_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetAnalysis = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetAnalysis", + __Marshaller_google_cloud_contactcenterinsights_v1_GetAnalysisRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_Analysis); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListAnalyses = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListAnalyses", + __Marshaller_google_cloud_contactcenterinsights_v1_ListAnalysesRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListAnalysesResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteAnalysis = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteAnalysis", + __Marshaller_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest, + __Marshaller_google_protobuf_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_BulkAnalyzeConversations = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "BulkAnalyzeConversations", + __Marshaller_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_BulkDeleteConversations = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "BulkDeleteConversations", + __Marshaller_google_cloud_contactcenterinsights_v1_BulkDeleteConversationsRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_IngestConversations = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "IngestConversations", + __Marshaller_google_cloud_contactcenterinsights_v1_IngestConversationsRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ExportInsightsData = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ExportInsightsData", + __Marshaller_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateIssueModel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateIssueModel", + __Marshaller_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateIssueModel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateIssueModel", + __Marshaller_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_IssueModel); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetIssueModel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetIssueModel", + __Marshaller_google_cloud_contactcenterinsights_v1_GetIssueModelRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_IssueModel); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListIssueModels = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListIssueModels", + __Marshaller_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteIssueModel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteIssueModel", + __Marshaller_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeployIssueModel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeployIssueModel", + __Marshaller_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UndeployIssueModel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UndeployIssueModel", + __Marshaller_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ExportIssueModel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ExportIssueModel", + __Marshaller_google_cloud_contactcenterinsights_v1_ExportIssueModelRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ImportIssueModel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ImportIssueModel", + __Marshaller_google_cloud_contactcenterinsights_v1_ImportIssueModelRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetIssue = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetIssue", + __Marshaller_google_cloud_contactcenterinsights_v1_GetIssueRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_Issue); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListIssues = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListIssues", + __Marshaller_google_cloud_contactcenterinsights_v1_ListIssuesRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListIssuesResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateIssue = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateIssue", + __Marshaller_google_cloud_contactcenterinsights_v1_UpdateIssueRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_Issue); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteIssue = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteIssue", + __Marshaller_google_cloud_contactcenterinsights_v1_DeleteIssueRequest, + __Marshaller_google_protobuf_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CalculateIssueModelStats = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CalculateIssueModelStats", + __Marshaller_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreatePhraseMatcher = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreatePhraseMatcher", + __Marshaller_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_PhraseMatcher); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetPhraseMatcher = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetPhraseMatcher", + __Marshaller_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_PhraseMatcher); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListPhraseMatchers = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListPhraseMatchers", + __Marshaller_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeletePhraseMatcher = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeletePhraseMatcher", + __Marshaller_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest, + __Marshaller_google_protobuf_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdatePhraseMatcher = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdatePhraseMatcher", + __Marshaller_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_PhraseMatcher); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CalculateStats = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CalculateStats", + __Marshaller_google_cloud_contactcenterinsights_v1_CalculateStatsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_CalculateStatsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetSettings = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetSettings", + __Marshaller_google_cloud_contactcenterinsights_v1_GetSettingsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_Settings); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateSettings = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateSettings", + __Marshaller_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_Settings); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateAnalysisRule = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateAnalysisRule", + __Marshaller_google_cloud_contactcenterinsights_v1_CreateAnalysisRuleRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_AnalysisRule); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetAnalysisRule = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetAnalysisRule", + __Marshaller_google_cloud_contactcenterinsights_v1_GetAnalysisRuleRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_AnalysisRule); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListAnalysisRules = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListAnalysisRules", + __Marshaller_google_cloud_contactcenterinsights_v1_ListAnalysisRulesRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListAnalysisRulesResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateAnalysisRule = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateAnalysisRule", + __Marshaller_google_cloud_contactcenterinsights_v1_UpdateAnalysisRuleRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_AnalysisRule); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteAnalysisRule = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteAnalysisRule", + __Marshaller_google_cloud_contactcenterinsights_v1_DeleteAnalysisRuleRequest, + __Marshaller_google_protobuf_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetEncryptionSpec = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetEncryptionSpec", + __Marshaller_google_cloud_contactcenterinsights_v1_GetEncryptionSpecRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_EncryptionSpec); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_InitializeEncryptionSpec = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "InitializeEncryptionSpec", + __Marshaller_google_cloud_contactcenterinsights_v1_InitializeEncryptionSpecRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateView = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateView", + __Marshaller_google_cloud_contactcenterinsights_v1_CreateViewRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_View); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetView = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetView", + __Marshaller_google_cloud_contactcenterinsights_v1_GetViewRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_View); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListViews = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListViews", + __Marshaller_google_cloud_contactcenterinsights_v1_ListViewsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListViewsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateView = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateView", + __Marshaller_google_cloud_contactcenterinsights_v1_UpdateViewRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_View); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteView = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteView", + __Marshaller_google_cloud_contactcenterinsights_v1_DeleteViewRequest, + __Marshaller_google_protobuf_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_QueryMetrics = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "QueryMetrics", + __Marshaller_google_cloud_contactcenterinsights_v1_QueryMetricsRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateQaQuestion = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateQaQuestion", + __Marshaller_google_cloud_contactcenterinsights_v1_CreateQaQuestionRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_QaQuestion); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetQaQuestion = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetQaQuestion", + __Marshaller_google_cloud_contactcenterinsights_v1_GetQaQuestionRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_QaQuestion); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateQaQuestion = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateQaQuestion", + __Marshaller_google_cloud_contactcenterinsights_v1_UpdateQaQuestionRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_QaQuestion); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteQaQuestion = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteQaQuestion", + __Marshaller_google_cloud_contactcenterinsights_v1_DeleteQaQuestionRequest, + __Marshaller_google_protobuf_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListQaQuestions = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListQaQuestions", + __Marshaller_google_cloud_contactcenterinsights_v1_ListQaQuestionsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListQaQuestionsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateQaScorecard = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateQaScorecard", + __Marshaller_google_cloud_contactcenterinsights_v1_CreateQaScorecardRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_QaScorecard); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetQaScorecard = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetQaScorecard", + __Marshaller_google_cloud_contactcenterinsights_v1_GetQaScorecardRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_QaScorecard); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateQaScorecard = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateQaScorecard", + __Marshaller_google_cloud_contactcenterinsights_v1_UpdateQaScorecardRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_QaScorecard); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteQaScorecard = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteQaScorecard", + __Marshaller_google_cloud_contactcenterinsights_v1_DeleteQaScorecardRequest, + __Marshaller_google_protobuf_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListQaScorecards = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListQaScorecards", + __Marshaller_google_cloud_contactcenterinsights_v1_ListQaScorecardsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListQaScorecardsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateQaScorecardRevision = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateQaScorecardRevision", + __Marshaller_google_cloud_contactcenterinsights_v1_CreateQaScorecardRevisionRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_QaScorecardRevision); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetQaScorecardRevision = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetQaScorecardRevision", + __Marshaller_google_cloud_contactcenterinsights_v1_GetQaScorecardRevisionRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_QaScorecardRevision); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_TuneQaScorecardRevision = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "TuneQaScorecardRevision", + __Marshaller_google_cloud_contactcenterinsights_v1_TuneQaScorecardRevisionRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeployQaScorecardRevision = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeployQaScorecardRevision", + __Marshaller_google_cloud_contactcenterinsights_v1_DeployQaScorecardRevisionRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_QaScorecardRevision); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UndeployQaScorecardRevision = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UndeployQaScorecardRevision", + __Marshaller_google_cloud_contactcenterinsights_v1_UndeployQaScorecardRevisionRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_QaScorecardRevision); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteQaScorecardRevision = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteQaScorecardRevision", + __Marshaller_google_cloud_contactcenterinsights_v1_DeleteQaScorecardRevisionRequest, + __Marshaller_google_protobuf_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListQaScorecardRevisions = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListQaScorecardRevisions", + __Marshaller_google_cloud_contactcenterinsights_v1_ListQaScorecardRevisionsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListQaScorecardRevisionsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateFeedbackLabel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateFeedbackLabel", + __Marshaller_google_cloud_contactcenterinsights_v1_CreateFeedbackLabelRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_FeedbackLabel); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListFeedbackLabels = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListFeedbackLabels", + __Marshaller_google_cloud_contactcenterinsights_v1_ListFeedbackLabelsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListFeedbackLabelsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetFeedbackLabel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetFeedbackLabel", + __Marshaller_google_cloud_contactcenterinsights_v1_GetFeedbackLabelRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_FeedbackLabel); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateFeedbackLabel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateFeedbackLabel", + __Marshaller_google_cloud_contactcenterinsights_v1_UpdateFeedbackLabelRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_FeedbackLabel); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteFeedbackLabel = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteFeedbackLabel", + __Marshaller_google_cloud_contactcenterinsights_v1_DeleteFeedbackLabelRequest, + __Marshaller_google_protobuf_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListAllFeedbackLabels = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListAllFeedbackLabels", + __Marshaller_google_cloud_contactcenterinsights_v1_ListAllFeedbackLabelsRequest, + __Marshaller_google_cloud_contactcenterinsights_v1_ListAllFeedbackLabelsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_BulkUploadFeedbackLabels = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "BulkUploadFeedbackLabels", + __Marshaller_google_cloud_contactcenterinsights_v1_BulkUploadFeedbackLabelsRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_BulkDownloadFeedbackLabels = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "BulkDownloadFeedbackLabels", + __Marshaller_google_cloud_contactcenterinsights_v1_BulkDownloadFeedbackLabelsRequest, + __Marshaller_google_longrunning_Operation); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Google.Cloud.ContactCenterInsights.V1.ContactCenterInsightsReflection.Descriptor.Services[0]; } + } + + /// Base class for server-side implementations of ContactCenterInsights + [grpc::BindServiceMethod(typeof(ContactCenterInsights), "BindService")] + public abstract partial class ContactCenterInsightsBase + { + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateConversation(global::Google.Cloud.ContactCenterInsights.V1.CreateConversationRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Create a long-running conversation upload operation. This method differs + /// from `CreateConversation` by allowing audio transcription and optional DLP + /// redaction. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UploadConversation(global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates a conversation. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateConversation(global::Google.Cloud.ContactCenterInsights.V1.UpdateConversationRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets a conversation. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetConversation(global::Google.Cloud.ContactCenterInsights.V1.GetConversationRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists conversations. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListConversations(global::Google.Cloud.ContactCenterInsights.V1.ListConversationsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes a conversation. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteConversation(global::Google.Cloud.ContactCenterInsights.V1.DeleteConversationRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateAnalysis(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets an analysis. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetAnalysis(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists analyses. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListAnalyses(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes an analysis. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteAnalysis(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Analyzes multiple conversations in a single request. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task BulkAnalyzeConversations(global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes multiple conversations in a single request. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task BulkDeleteConversations(global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task IngestConversations(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Export insights data to a destination defined in the request body. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ExportInsightsData(global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Creates an issue model. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateIssueModel(global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates an issue model. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateIssueModel(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueModelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets an issue model. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetIssueModel(global::Google.Cloud.ContactCenterInsights.V1.GetIssueModelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists issue models. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListIssueModels(global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes an issue model. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteIssueModel(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// 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. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeployIssueModel(global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UndeployIssueModel(global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Exports an issue model to the provided destination. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ExportIssueModel(global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ImportIssueModel(global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets an issue. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetIssue(global::Google.Cloud.ContactCenterInsights.V1.GetIssueRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists issues. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListIssues(global::Google.Cloud.ContactCenterInsights.V1.ListIssuesRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates an issue. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateIssue(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes an issue. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteIssue(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets an issue model's statistics. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CalculateIssueModelStats(global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Creates a phrase matcher. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreatePhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.CreatePhraseMatcherRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets a phrase matcher. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetPhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.GetPhraseMatcherRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists phrase matchers. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListPhraseMatchers(global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes a phrase matcher. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeletePhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.DeletePhraseMatcherRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates a phrase matcher. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdatePhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.UpdatePhraseMatcherRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets conversation statistics. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CalculateStats(global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets project-level settings. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetSettings(global::Google.Cloud.ContactCenterInsights.V1.GetSettingsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates project-level settings. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateSettings(global::Google.Cloud.ContactCenterInsights.V1.UpdateSettingsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Creates a analysis rule. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRuleRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Get a analysis rule. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRuleRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists analysis rules. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListAnalysisRules(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates a analysis rule. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.UpdateAnalysisRuleRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes a analysis rule. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRuleRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets location-level encryption key specification. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetEncryptionSpec(global::Google.Cloud.ContactCenterInsights.V1.GetEncryptionSpecRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task InitializeEncryptionSpec(global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Creates a view. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateView(global::Google.Cloud.ContactCenterInsights.V1.CreateViewRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets a view. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetView(global::Google.Cloud.ContactCenterInsights.V1.GetViewRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists views. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListViews(global::Google.Cloud.ContactCenterInsights.V1.ListViewsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates a view. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateView(global::Google.Cloud.ContactCenterInsights.V1.UpdateViewRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes a view. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteView(global::Google.Cloud.ContactCenterInsights.V1.DeleteViewRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Query metrics. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task QueryMetrics(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Create a QaQuestion. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.CreateQaQuestionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets a QaQuestion. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.GetQaQuestionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates a QaQuestion. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaQuestionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes a QaQuestion. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaQuestionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists QaQuestions. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListQaQuestions(global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Create a QaScorecard. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets a QaScorecard. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates a QaScorecard. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaScorecardRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes a QaScorecard. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists QaScorecards. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListQaScorecards(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Creates a QaScorecardRevision. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRevisionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets a QaScorecardRevision. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRevisionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Fine tune one or more QaModels. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task TuneQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deploy a QaScorecardRevision. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeployQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.DeployQaScorecardRevisionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Undeploy a QaScorecardRevision. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UndeployQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.UndeployQaScorecardRevisionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes a QaScorecardRevision. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRevisionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListQaScorecardRevisions(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Create feedback label. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.CreateFeedbackLabelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// List feedback labels. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Get feedback label. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.GetFeedbackLabelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Update feedback label. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.UpdateFeedbackLabelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Delete feedback label. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.DeleteFeedbackLabelRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// List all feedback labels by project number. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListAllFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Upload feedback labels in bulk. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task BulkUploadFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Download feedback labels in bulk. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task BulkDownloadFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for ContactCenterInsights + public partial class ContactCenterInsightsClient : grpc::ClientBase + { + /// Creates a new client for ContactCenterInsights + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public ContactCenterInsightsClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for ContactCenterInsights that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public ContactCenterInsightsClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected ContactCenterInsightsClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected ContactCenterInsightsClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Conversation CreateConversation(global::Google.Cloud.ContactCenterInsights.V1.CreateConversationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateConversation(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Conversation CreateConversation(global::Google.Cloud.ContactCenterInsights.V1.CreateConversationRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateConversation, null, options, request); + } + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateConversationAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateConversationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateConversationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a conversation. + /// Note that this method does not support audio transcription or redaction. + /// Use `conversations.upload` instead. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateConversationAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateConversationRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateConversation, null, options, request); + } + /// + /// Create a long-running conversation upload operation. This method differs + /// from `CreateConversation` by allowing audio transcription and optional DLP + /// redaction. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation UploadConversation(global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UploadConversation(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Create a long-running conversation upload operation. This method differs + /// from `CreateConversation` by allowing audio transcription and optional DLP + /// redaction. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation UploadConversation(global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UploadConversation, null, options, request); + } + /// + /// Create a long-running conversation upload operation. This method differs + /// from `CreateConversation` by allowing audio transcription and optional DLP + /// redaction. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UploadConversationAsync(global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UploadConversationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Create a long-running conversation upload operation. This method differs + /// from `CreateConversation` by allowing audio transcription and optional DLP + /// redaction. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UploadConversationAsync(global::Google.Cloud.ContactCenterInsights.V1.UploadConversationRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UploadConversation, null, options, request); + } + /// + /// Updates a conversation. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Conversation UpdateConversation(global::Google.Cloud.ContactCenterInsights.V1.UpdateConversationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateConversation(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a conversation. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Conversation UpdateConversation(global::Google.Cloud.ContactCenterInsights.V1.UpdateConversationRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateConversation, null, options, request); + } + /// + /// Updates a conversation. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateConversationAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateConversationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateConversationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a conversation. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateConversationAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateConversationRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateConversation, null, options, request); + } + /// + /// Gets a conversation. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Conversation GetConversation(global::Google.Cloud.ContactCenterInsights.V1.GetConversationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetConversation(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a conversation. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Conversation GetConversation(global::Google.Cloud.ContactCenterInsights.V1.GetConversationRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetConversation, null, options, request); + } + /// + /// Gets a conversation. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetConversationAsync(global::Google.Cloud.ContactCenterInsights.V1.GetConversationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetConversationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a conversation. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetConversationAsync(global::Google.Cloud.ContactCenterInsights.V1.GetConversationRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetConversation, null, options, request); + } + /// + /// Lists conversations. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListConversationsResponse ListConversations(global::Google.Cloud.ContactCenterInsights.V1.ListConversationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListConversations(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists conversations. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListConversationsResponse ListConversations(global::Google.Cloud.ContactCenterInsights.V1.ListConversationsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListConversations, null, options, request); + } + /// + /// Lists conversations. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListConversationsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListConversationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListConversationsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists conversations. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListConversationsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListConversationsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListConversations, null, options, request); + } + /// + /// Deletes a conversation. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteConversation(global::Google.Cloud.ContactCenterInsights.V1.DeleteConversationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteConversation(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a conversation. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteConversation(global::Google.Cloud.ContactCenterInsights.V1.DeleteConversationRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteConversation, null, options, request); + } + /// + /// Deletes a conversation. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteConversationAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteConversationRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteConversationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a conversation. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteConversationAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteConversationRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteConversation, null, options, request); + } + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation CreateAnalysis(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateAnalysis(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation CreateAnalysis(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateAnalysis, null, options, request); + } + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateAnalysisAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateAnalysisAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates an analysis. The long running operation is done when the analysis + /// has completed. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateAnalysisAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateAnalysis, null, options, request); + } + /// + /// Gets an analysis. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Analysis GetAnalysis(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetAnalysis(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets an analysis. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Analysis GetAnalysis(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetAnalysis, null, options, request); + } + /// + /// Gets an analysis. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetAnalysisAsync(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetAnalysisAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets an analysis. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetAnalysisAsync(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetAnalysis, null, options, request); + } + /// + /// Lists analyses. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesResponse ListAnalyses(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListAnalyses(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists analyses. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesResponse ListAnalyses(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListAnalyses, null, options, request); + } + /// + /// Lists analyses. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListAnalysesAsync(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListAnalysesAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists analyses. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListAnalysesAsync(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysesRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListAnalyses, null, options, request); + } + /// + /// Deletes an analysis. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteAnalysis(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteAnalysis(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes an analysis. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteAnalysis(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteAnalysis, null, options, request); + } + /// + /// Deletes an analysis. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteAnalysisAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteAnalysisAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes an analysis. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteAnalysisAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteAnalysis, null, options, request); + } + /// + /// Analyzes multiple conversations in a single request. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation BulkAnalyzeConversations(global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return BulkAnalyzeConversations(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Analyzes multiple conversations in a single request. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation BulkAnalyzeConversations(global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_BulkAnalyzeConversations, null, options, request); + } + /// + /// Analyzes multiple conversations in a single request. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall BulkAnalyzeConversationsAsync(global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return BulkAnalyzeConversationsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Analyzes multiple conversations in a single request. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall BulkAnalyzeConversationsAsync(global::Google.Cloud.ContactCenterInsights.V1.BulkAnalyzeConversationsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_BulkAnalyzeConversations, null, options, request); + } + /// + /// Deletes multiple conversations in a single request. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation BulkDeleteConversations(global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return BulkDeleteConversations(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes multiple conversations in a single request. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation BulkDeleteConversations(global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_BulkDeleteConversations, null, options, request); + } + /// + /// Deletes multiple conversations in a single request. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall BulkDeleteConversationsAsync(global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return BulkDeleteConversationsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes multiple conversations in a single request. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall BulkDeleteConversationsAsync(global::Google.Cloud.ContactCenterInsights.V1.BulkDeleteConversationsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_BulkDeleteConversations, null, options, request); + } + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation IngestConversations(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return IngestConversations(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation IngestConversations(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_IngestConversations, null, options, request); + } + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall IngestConversationsAsync(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return IngestConversationsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Imports conversations and processes them according to the user's + /// configuration. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall IngestConversationsAsync(global::Google.Cloud.ContactCenterInsights.V1.IngestConversationsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_IngestConversations, null, options, request); + } + /// + /// Export insights data to a destination defined in the request body. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation ExportInsightsData(global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ExportInsightsData(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Export insights data to a destination defined in the request body. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation ExportInsightsData(global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ExportInsightsData, null, options, request); + } + /// + /// Export insights data to a destination defined in the request body. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ExportInsightsDataAsync(global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ExportInsightsDataAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Export insights data to a destination defined in the request body. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ExportInsightsDataAsync(global::Google.Cloud.ContactCenterInsights.V1.ExportInsightsDataRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ExportInsightsData, null, options, request); + } + /// + /// Creates an issue model. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation CreateIssueModel(global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateIssueModel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates an issue model. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation CreateIssueModel(global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateIssueModel, null, options, request); + } + /// + /// Creates an issue model. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateIssueModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates an issue model. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateIssueModel, null, options, request); + } + /// + /// Updates an issue model. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.IssueModel UpdateIssueModel(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateIssueModel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates an issue model. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.IssueModel UpdateIssueModel(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateIssueModel, null, options, request); + } + /// + /// Updates an issue model. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateIssueModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates an issue model. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateIssueModel, null, options, request); + } + /// + /// Gets an issue model. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.IssueModel GetIssueModel(global::Google.Cloud.ContactCenterInsights.V1.GetIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetIssueModel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets an issue model. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.IssueModel GetIssueModel(global::Google.Cloud.ContactCenterInsights.V1.GetIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetIssueModel, null, options, request); + } + /// + /// Gets an issue model. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.GetIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetIssueModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets an issue model. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.GetIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetIssueModel, null, options, request); + } + /// + /// Lists issue models. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsResponse ListIssueModels(global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListIssueModels(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists issue models. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsResponse ListIssueModels(global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListIssueModels, null, options, request); + } + /// + /// Lists issue models. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListIssueModelsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListIssueModelsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists issue models. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListIssueModelsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListIssueModelsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListIssueModels, null, options, request); + } + /// + /// Deletes an issue model. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation DeleteIssueModel(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteIssueModel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes an issue model. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation DeleteIssueModel(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteIssueModel, null, options, request); + } + /// + /// Deletes an issue model. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteIssueModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes an issue model. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteIssueModel, null, options, 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. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation DeployIssueModel(global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeployIssueModel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// 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. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation DeployIssueModel(global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeployIssueModel, null, options, 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. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeployIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeployIssueModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// 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. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeployIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.DeployIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeployIssueModel, null, options, request); + } + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation UndeployIssueModel(global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UndeployIssueModel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation UndeployIssueModel(global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UndeployIssueModel, null, options, request); + } + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UndeployIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UndeployIssueModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Undeploys an issue model. + /// An issue model can not be used in analysis after it has been undeployed. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UndeployIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.UndeployIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UndeployIssueModel, null, options, request); + } + /// + /// Exports an issue model to the provided destination. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation ExportIssueModel(global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ExportIssueModel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Exports an issue model to the provided destination. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation ExportIssueModel(global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ExportIssueModel, null, options, request); + } + /// + /// Exports an issue model to the provided destination. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ExportIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ExportIssueModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Exports an issue model to the provided destination. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ExportIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.ExportIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ExportIssueModel, null, options, request); + } + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation ImportIssueModel(global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ImportIssueModel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation ImportIssueModel(global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ImportIssueModel, null, options, request); + } + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ImportIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ImportIssueModelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Imports an issue model from a Cloud Storage bucket. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ImportIssueModelAsync(global::Google.Cloud.ContactCenterInsights.V1.ImportIssueModelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ImportIssueModel, null, options, request); + } + /// + /// Gets an issue. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Issue GetIssue(global::Google.Cloud.ContactCenterInsights.V1.GetIssueRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetIssue(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets an issue. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Issue GetIssue(global::Google.Cloud.ContactCenterInsights.V1.GetIssueRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetIssue, null, options, request); + } + /// + /// Gets an issue. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetIssueAsync(global::Google.Cloud.ContactCenterInsights.V1.GetIssueRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetIssueAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets an issue. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetIssueAsync(global::Google.Cloud.ContactCenterInsights.V1.GetIssueRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetIssue, null, options, request); + } + /// + /// Lists issues. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListIssuesResponse ListIssues(global::Google.Cloud.ContactCenterInsights.V1.ListIssuesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListIssues(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists issues. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListIssuesResponse ListIssues(global::Google.Cloud.ContactCenterInsights.V1.ListIssuesRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListIssues, null, options, request); + } + /// + /// Lists issues. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListIssuesAsync(global::Google.Cloud.ContactCenterInsights.V1.ListIssuesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListIssuesAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists issues. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListIssuesAsync(global::Google.Cloud.ContactCenterInsights.V1.ListIssuesRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListIssues, null, options, request); + } + /// + /// Updates an issue. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Issue UpdateIssue(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateIssue(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates an issue. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Issue UpdateIssue(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateIssue, null, options, request); + } + /// + /// Updates an issue. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateIssueAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateIssueAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates an issue. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateIssueAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateIssueRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateIssue, null, options, request); + } + /// + /// Deletes an issue. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteIssue(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteIssue(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes an issue. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteIssue(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteIssue, null, options, request); + } + /// + /// Deletes an issue. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteIssueAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteIssueAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes an issue. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteIssueAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteIssueRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteIssue, null, options, request); + } + /// + /// Gets an issue model's statistics. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsResponse CalculateIssueModelStats(global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CalculateIssueModelStats(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets an issue model's statistics. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsResponse CalculateIssueModelStats(global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CalculateIssueModelStats, null, options, request); + } + /// + /// Gets an issue model's statistics. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CalculateIssueModelStatsAsync(global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CalculateIssueModelStatsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets an issue model's statistics. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CalculateIssueModelStatsAsync(global::Google.Cloud.ContactCenterInsights.V1.CalculateIssueModelStatsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CalculateIssueModelStats, null, options, request); + } + /// + /// Creates a phrase matcher. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher CreatePhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.CreatePhraseMatcherRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreatePhraseMatcher(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a phrase matcher. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher CreatePhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.CreatePhraseMatcherRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreatePhraseMatcher, null, options, request); + } + /// + /// Creates a phrase matcher. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreatePhraseMatcherAsync(global::Google.Cloud.ContactCenterInsights.V1.CreatePhraseMatcherRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreatePhraseMatcherAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a phrase matcher. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreatePhraseMatcherAsync(global::Google.Cloud.ContactCenterInsights.V1.CreatePhraseMatcherRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreatePhraseMatcher, null, options, request); + } + /// + /// Gets a phrase matcher. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher GetPhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.GetPhraseMatcherRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetPhraseMatcher(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a phrase matcher. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher GetPhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.GetPhraseMatcherRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetPhraseMatcher, null, options, request); + } + /// + /// Gets a phrase matcher. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetPhraseMatcherAsync(global::Google.Cloud.ContactCenterInsights.V1.GetPhraseMatcherRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetPhraseMatcherAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a phrase matcher. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetPhraseMatcherAsync(global::Google.Cloud.ContactCenterInsights.V1.GetPhraseMatcherRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetPhraseMatcher, null, options, request); + } + /// + /// Lists phrase matchers. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersResponse ListPhraseMatchers(global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListPhraseMatchers(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists phrase matchers. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersResponse ListPhraseMatchers(global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListPhraseMatchers, null, options, request); + } + /// + /// Lists phrase matchers. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListPhraseMatchersAsync(global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListPhraseMatchersAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists phrase matchers. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListPhraseMatchersAsync(global::Google.Cloud.ContactCenterInsights.V1.ListPhraseMatchersRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListPhraseMatchers, null, options, request); + } + /// + /// Deletes a phrase matcher. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeletePhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.DeletePhraseMatcherRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeletePhraseMatcher(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a phrase matcher. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeletePhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.DeletePhraseMatcherRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeletePhraseMatcher, null, options, request); + } + /// + /// Deletes a phrase matcher. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeletePhraseMatcherAsync(global::Google.Cloud.ContactCenterInsights.V1.DeletePhraseMatcherRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeletePhraseMatcherAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a phrase matcher. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeletePhraseMatcherAsync(global::Google.Cloud.ContactCenterInsights.V1.DeletePhraseMatcherRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeletePhraseMatcher, null, options, request); + } + /// + /// Updates a phrase matcher. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher UpdatePhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.UpdatePhraseMatcherRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdatePhraseMatcher(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a phrase matcher. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher UpdatePhraseMatcher(global::Google.Cloud.ContactCenterInsights.V1.UpdatePhraseMatcherRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdatePhraseMatcher, null, options, request); + } + /// + /// Updates a phrase matcher. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdatePhraseMatcherAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdatePhraseMatcherRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdatePhraseMatcherAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a phrase matcher. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdatePhraseMatcherAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdatePhraseMatcherRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdatePhraseMatcher, null, options, request); + } + /// + /// Gets conversation statistics. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse CalculateStats(global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CalculateStats(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets conversation statistics. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsResponse CalculateStats(global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CalculateStats, null, options, request); + } + /// + /// Gets conversation statistics. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CalculateStatsAsync(global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CalculateStatsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets conversation statistics. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CalculateStatsAsync(global::Google.Cloud.ContactCenterInsights.V1.CalculateStatsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CalculateStats, null, options, request); + } + /// + /// Gets project-level settings. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Settings GetSettings(global::Google.Cloud.ContactCenterInsights.V1.GetSettingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetSettings(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets project-level settings. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Settings GetSettings(global::Google.Cloud.ContactCenterInsights.V1.GetSettingsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetSettings, null, options, request); + } + /// + /// Gets project-level settings. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetSettingsAsync(global::Google.Cloud.ContactCenterInsights.V1.GetSettingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetSettingsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets project-level settings. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetSettingsAsync(global::Google.Cloud.ContactCenterInsights.V1.GetSettingsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetSettings, null, options, request); + } + /// + /// Updates project-level settings. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Settings UpdateSettings(global::Google.Cloud.ContactCenterInsights.V1.UpdateSettingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateSettings(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates project-level settings. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.Settings UpdateSettings(global::Google.Cloud.ContactCenterInsights.V1.UpdateSettingsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateSettings, null, options, request); + } + /// + /// Updates project-level settings. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateSettingsAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateSettingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateSettingsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates project-level settings. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateSettingsAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateSettingsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateSettings, null, options, request); + } + /// + /// Creates a analysis rule. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule CreateAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRuleRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateAnalysisRule(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a analysis rule. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule CreateAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRuleRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateAnalysisRule, null, options, request); + } + /// + /// Creates a analysis rule. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateAnalysisRuleAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRuleRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateAnalysisRuleAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a analysis rule. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateAnalysisRuleAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateAnalysisRuleRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateAnalysisRule, null, options, request); + } + /// + /// Get a analysis rule. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule GetAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRuleRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetAnalysisRule(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Get a analysis rule. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule GetAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRuleRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetAnalysisRule, null, options, request); + } + /// + /// Get a analysis rule. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetAnalysisRuleAsync(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRuleRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetAnalysisRuleAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Get a analysis rule. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetAnalysisRuleAsync(global::Google.Cloud.ContactCenterInsights.V1.GetAnalysisRuleRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetAnalysisRule, null, options, request); + } + /// + /// Lists analysis rules. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesResponse ListAnalysisRules(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListAnalysisRules(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists analysis rules. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesResponse ListAnalysisRules(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListAnalysisRules, null, options, request); + } + /// + /// Lists analysis rules. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListAnalysisRulesAsync(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListAnalysisRulesAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists analysis rules. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListAnalysisRulesAsync(global::Google.Cloud.ContactCenterInsights.V1.ListAnalysisRulesRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListAnalysisRules, null, options, request); + } + /// + /// Updates a analysis rule. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule UpdateAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.UpdateAnalysisRuleRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateAnalysisRule(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a analysis rule. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule UpdateAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.UpdateAnalysisRuleRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateAnalysisRule, null, options, request); + } + /// + /// Updates a analysis rule. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateAnalysisRuleAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateAnalysisRuleRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateAnalysisRuleAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a analysis rule. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateAnalysisRuleAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateAnalysisRuleRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateAnalysisRule, null, options, request); + } + /// + /// Deletes a analysis rule. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRuleRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteAnalysisRule(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a analysis rule. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteAnalysisRule(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRuleRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteAnalysisRule, null, options, request); + } + /// + /// Deletes a analysis rule. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteAnalysisRuleAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRuleRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteAnalysisRuleAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a analysis rule. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteAnalysisRuleAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteAnalysisRuleRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteAnalysisRule, null, options, request); + } + /// + /// Gets location-level encryption key specification. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.EncryptionSpec GetEncryptionSpec(global::Google.Cloud.ContactCenterInsights.V1.GetEncryptionSpecRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetEncryptionSpec(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets location-level encryption key specification. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.EncryptionSpec GetEncryptionSpec(global::Google.Cloud.ContactCenterInsights.V1.GetEncryptionSpecRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetEncryptionSpec, null, options, request); + } + /// + /// Gets location-level encryption key specification. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetEncryptionSpecAsync(global::Google.Cloud.ContactCenterInsights.V1.GetEncryptionSpecRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetEncryptionSpecAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets location-level encryption key specification. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetEncryptionSpecAsync(global::Google.Cloud.ContactCenterInsights.V1.GetEncryptionSpecRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetEncryptionSpec, null, options, request); + } + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation InitializeEncryptionSpec(global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return InitializeEncryptionSpec(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation InitializeEncryptionSpec(global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_InitializeEncryptionSpec, null, options, request); + } + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall InitializeEncryptionSpecAsync(global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return InitializeEncryptionSpecAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Initializes a location-level encryption key specification. An error will + /// result if the location has resources already created before the + /// initialization. After the encryption specification is initialized at a + /// location, it is immutable and all newly created resources under the + /// location will be encrypted with the existing specification. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall InitializeEncryptionSpecAsync(global::Google.Cloud.ContactCenterInsights.V1.InitializeEncryptionSpecRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_InitializeEncryptionSpec, null, options, request); + } + /// + /// Creates a view. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.View CreateView(global::Google.Cloud.ContactCenterInsights.V1.CreateViewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateView(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a view. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.View CreateView(global::Google.Cloud.ContactCenterInsights.V1.CreateViewRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateView, null, options, request); + } + /// + /// Creates a view. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateViewAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateViewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateViewAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a view. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateViewAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateViewRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateView, null, options, request); + } + /// + /// Gets a view. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.View GetView(global::Google.Cloud.ContactCenterInsights.V1.GetViewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetView(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a view. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.View GetView(global::Google.Cloud.ContactCenterInsights.V1.GetViewRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetView, null, options, request); + } + /// + /// Gets a view. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetViewAsync(global::Google.Cloud.ContactCenterInsights.V1.GetViewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetViewAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a view. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetViewAsync(global::Google.Cloud.ContactCenterInsights.V1.GetViewRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetView, null, options, request); + } + /// + /// Lists views. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListViewsResponse ListViews(global::Google.Cloud.ContactCenterInsights.V1.ListViewsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListViews(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists views. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListViewsResponse ListViews(global::Google.Cloud.ContactCenterInsights.V1.ListViewsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListViews, null, options, request); + } + /// + /// Lists views. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListViewsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListViewsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListViewsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists views. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListViewsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListViewsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListViews, null, options, request); + } + /// + /// Updates a view. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.View UpdateView(global::Google.Cloud.ContactCenterInsights.V1.UpdateViewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateView(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a view. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.View UpdateView(global::Google.Cloud.ContactCenterInsights.V1.UpdateViewRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateView, null, options, request); + } + /// + /// Updates a view. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateViewAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateViewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateViewAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a view. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateViewAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateViewRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateView, null, options, request); + } + /// + /// Deletes a view. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteView(global::Google.Cloud.ContactCenterInsights.V1.DeleteViewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteView(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a view. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteView(global::Google.Cloud.ContactCenterInsights.V1.DeleteViewRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteView, null, options, request); + } + /// + /// Deletes a view. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteViewAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteViewRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteViewAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a view. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteViewAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteViewRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteView, null, options, request); + } + /// + /// Query metrics. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation QueryMetrics(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return QueryMetrics(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Query metrics. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation QueryMetrics(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_QueryMetrics, null, options, request); + } + /// + /// Query metrics. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall QueryMetricsAsync(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return QueryMetricsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Query metrics. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall QueryMetricsAsync(global::Google.Cloud.ContactCenterInsights.V1.QueryMetricsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_QueryMetrics, null, options, request); + } + /// + /// Create a QaQuestion. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaQuestion CreateQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.CreateQaQuestionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateQaQuestion(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Create a QaQuestion. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaQuestion CreateQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.CreateQaQuestionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateQaQuestion, null, options, request); + } + /// + /// Create a QaQuestion. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateQaQuestionAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateQaQuestionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateQaQuestionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Create a QaQuestion. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateQaQuestionAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateQaQuestionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateQaQuestion, null, options, request); + } + /// + /// Gets a QaQuestion. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaQuestion GetQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.GetQaQuestionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetQaQuestion(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a QaQuestion. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaQuestion GetQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.GetQaQuestionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetQaQuestion, null, options, request); + } + /// + /// Gets a QaQuestion. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetQaQuestionAsync(global::Google.Cloud.ContactCenterInsights.V1.GetQaQuestionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetQaQuestionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a QaQuestion. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetQaQuestionAsync(global::Google.Cloud.ContactCenterInsights.V1.GetQaQuestionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetQaQuestion, null, options, request); + } + /// + /// Updates a QaQuestion. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaQuestion UpdateQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaQuestionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateQaQuestion(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a QaQuestion. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaQuestion UpdateQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaQuestionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateQaQuestion, null, options, request); + } + /// + /// Updates a QaQuestion. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateQaQuestionAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaQuestionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateQaQuestionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a QaQuestion. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateQaQuestionAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaQuestionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateQaQuestion, null, options, request); + } + /// + /// Deletes a QaQuestion. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaQuestionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteQaQuestion(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a QaQuestion. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteQaQuestion(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaQuestionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteQaQuestion, null, options, request); + } + /// + /// Deletes a QaQuestion. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteQaQuestionAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaQuestionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteQaQuestionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a QaQuestion. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteQaQuestionAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaQuestionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteQaQuestion, null, options, request); + } + /// + /// Lists QaQuestions. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsResponse ListQaQuestions(global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListQaQuestions(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists QaQuestions. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsResponse ListQaQuestions(global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListQaQuestions, null, options, request); + } + /// + /// Lists QaQuestions. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListQaQuestionsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListQaQuestionsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists QaQuestions. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListQaQuestionsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListQaQuestionsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListQaQuestions, null, options, request); + } + /// + /// Create a QaScorecard. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecard CreateQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateQaScorecard(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Create a QaScorecard. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecard CreateQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateQaScorecard, null, options, request); + } + /// + /// Create a QaScorecard. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateQaScorecardAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateQaScorecardAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Create a QaScorecard. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateQaScorecardAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateQaScorecard, null, options, request); + } + /// + /// Gets a QaScorecard. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecard GetQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetQaScorecard(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a QaScorecard. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecard GetQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetQaScorecard, null, options, request); + } + /// + /// Gets a QaScorecard. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetQaScorecardAsync(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetQaScorecardAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a QaScorecard. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetQaScorecardAsync(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetQaScorecard, null, options, request); + } + /// + /// Updates a QaScorecard. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecard UpdateQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaScorecardRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateQaScorecard(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a QaScorecard. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecard UpdateQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaScorecardRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateQaScorecard, null, options, request); + } + /// + /// Updates a QaScorecard. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateQaScorecardAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaScorecardRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateQaScorecardAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates a QaScorecard. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateQaScorecardAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateQaScorecardRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateQaScorecard, null, options, request); + } + /// + /// Deletes a QaScorecard. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteQaScorecard(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a QaScorecard. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteQaScorecard(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteQaScorecard, null, options, request); + } + /// + /// Deletes a QaScorecard. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteQaScorecardAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteQaScorecardAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a QaScorecard. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteQaScorecardAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteQaScorecard, null, options, request); + } + /// + /// Lists QaScorecards. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsResponse ListQaScorecards(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListQaScorecards(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists QaScorecards. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsResponse ListQaScorecards(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListQaScorecards, null, options, request); + } + /// + /// Lists QaScorecards. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListQaScorecardsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListQaScorecardsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists QaScorecards. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListQaScorecardsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListQaScorecards, null, options, request); + } + /// + /// Creates a QaScorecardRevision. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision CreateQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateQaScorecardRevision(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a QaScorecardRevision. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision CreateQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateQaScorecardRevision, null, options, request); + } + /// + /// Creates a QaScorecardRevision. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateQaScorecardRevisionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a QaScorecardRevision. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateQaScorecardRevision, null, options, request); + } + /// + /// Gets a QaScorecardRevision. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision GetQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetQaScorecardRevision(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a QaScorecardRevision. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision GetQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetQaScorecardRevision, null, options, request); + } + /// + /// Gets a QaScorecardRevision. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetQaScorecardRevisionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a QaScorecardRevision. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.GetQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetQaScorecardRevision, null, options, request); + } + /// + /// Fine tune one or more QaModels. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation TuneQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return TuneQaScorecardRevision(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Fine tune one or more QaModels. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation TuneQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_TuneQaScorecardRevision, null, options, request); + } + /// + /// Fine tune one or more QaModels. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall TuneQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return TuneQaScorecardRevisionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Fine tune one or more QaModels. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall TuneQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.TuneQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_TuneQaScorecardRevision, null, options, request); + } + /// + /// Deploy a QaScorecardRevision. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision DeployQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.DeployQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeployQaScorecardRevision(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deploy a QaScorecardRevision. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision DeployQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.DeployQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeployQaScorecardRevision, null, options, request); + } + /// + /// Deploy a QaScorecardRevision. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeployQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.DeployQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeployQaScorecardRevisionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deploy a QaScorecardRevision. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeployQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.DeployQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeployQaScorecardRevision, null, options, request); + } + /// + /// Undeploy a QaScorecardRevision. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision UndeployQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.UndeployQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UndeployQaScorecardRevision(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Undeploy a QaScorecardRevision. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision UndeployQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.UndeployQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UndeployQaScorecardRevision, null, options, request); + } + /// + /// Undeploy a QaScorecardRevision. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UndeployQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.UndeployQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UndeployQaScorecardRevisionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Undeploy a QaScorecardRevision. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UndeployQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.UndeployQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UndeployQaScorecardRevision, null, options, request); + } + /// + /// Deletes a QaScorecardRevision. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteQaScorecardRevision(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a QaScorecardRevision. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteQaScorecardRevision(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteQaScorecardRevision, null, options, request); + } + /// + /// Deletes a QaScorecardRevision. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRevisionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteQaScorecardRevisionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a QaScorecardRevision. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteQaScorecardRevisionAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteQaScorecardRevisionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteQaScorecardRevision, null, options, request); + } + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsResponse ListQaScorecardRevisions(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListQaScorecardRevisions(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsResponse ListQaScorecardRevisions(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListQaScorecardRevisions, null, options, request); + } + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListQaScorecardRevisionsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListQaScorecardRevisionsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all revisions under the parent QaScorecard. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListQaScorecardRevisionsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListQaScorecardRevisionsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListQaScorecardRevisions, null, options, request); + } + /// + /// Create feedback label. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel CreateFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.CreateFeedbackLabelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateFeedbackLabel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Create feedback label. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel CreateFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.CreateFeedbackLabelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateFeedbackLabel, null, options, request); + } + /// + /// Create feedback label. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateFeedbackLabelAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateFeedbackLabelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateFeedbackLabelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Create feedback label. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateFeedbackLabelAsync(global::Google.Cloud.ContactCenterInsights.V1.CreateFeedbackLabelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateFeedbackLabel, null, options, request); + } + /// + /// List feedback labels. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsResponse ListFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListFeedbackLabels(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// List feedback labels. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsResponse ListFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListFeedbackLabels, null, options, request); + } + /// + /// List feedback labels. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListFeedbackLabelsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListFeedbackLabelsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// List feedback labels. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListFeedbackLabelsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListFeedbackLabelsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListFeedbackLabels, null, options, request); + } + /// + /// Get feedback label. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel GetFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.GetFeedbackLabelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetFeedbackLabel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Get feedback label. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel GetFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.GetFeedbackLabelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetFeedbackLabel, null, options, request); + } + /// + /// Get feedback label. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetFeedbackLabelAsync(global::Google.Cloud.ContactCenterInsights.V1.GetFeedbackLabelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetFeedbackLabelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Get feedback label. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetFeedbackLabelAsync(global::Google.Cloud.ContactCenterInsights.V1.GetFeedbackLabelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetFeedbackLabel, null, options, request); + } + /// + /// Update feedback label. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel UpdateFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.UpdateFeedbackLabelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateFeedbackLabel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Update feedback label. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel UpdateFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.UpdateFeedbackLabelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateFeedbackLabel, null, options, request); + } + /// + /// Update feedback label. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateFeedbackLabelAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateFeedbackLabelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateFeedbackLabelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Update feedback label. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateFeedbackLabelAsync(global::Google.Cloud.ContactCenterInsights.V1.UpdateFeedbackLabelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateFeedbackLabel, null, options, request); + } + /// + /// Delete feedback label. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.DeleteFeedbackLabelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteFeedbackLabel(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Delete feedback label. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteFeedbackLabel(global::Google.Cloud.ContactCenterInsights.V1.DeleteFeedbackLabelRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteFeedbackLabel, null, options, request); + } + /// + /// Delete feedback label. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteFeedbackLabelAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteFeedbackLabelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteFeedbackLabelAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Delete feedback label. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteFeedbackLabelAsync(global::Google.Cloud.ContactCenterInsights.V1.DeleteFeedbackLabelRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteFeedbackLabel, null, options, request); + } + /// + /// List all feedback labels by project number. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsResponse ListAllFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListAllFeedbackLabels(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// List all feedback labels by project number. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsResponse ListAllFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListAllFeedbackLabels, null, options, request); + } + /// + /// List all feedback labels by project number. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListAllFeedbackLabelsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListAllFeedbackLabelsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// List all feedback labels by project number. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListAllFeedbackLabelsAsync(global::Google.Cloud.ContactCenterInsights.V1.ListAllFeedbackLabelsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListAllFeedbackLabels, null, options, request); + } + /// + /// Upload feedback labels in bulk. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation BulkUploadFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return BulkUploadFeedbackLabels(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Upload feedback labels in bulk. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation BulkUploadFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_BulkUploadFeedbackLabels, null, options, request); + } + /// + /// Upload feedback labels in bulk. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall BulkUploadFeedbackLabelsAsync(global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return BulkUploadFeedbackLabelsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Upload feedback labels in bulk. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall BulkUploadFeedbackLabelsAsync(global::Google.Cloud.ContactCenterInsights.V1.BulkUploadFeedbackLabelsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_BulkUploadFeedbackLabels, null, options, request); + } + /// + /// Download feedback labels in bulk. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation BulkDownloadFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return BulkDownloadFeedbackLabels(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Download feedback labels in bulk. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation BulkDownloadFeedbackLabels(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_BulkDownloadFeedbackLabels, null, options, request); + } + /// + /// Download feedback labels in bulk. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall BulkDownloadFeedbackLabelsAsync(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return BulkDownloadFeedbackLabelsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Download feedback labels in bulk. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall BulkDownloadFeedbackLabelsAsync(global::Google.Cloud.ContactCenterInsights.V1.BulkDownloadFeedbackLabelsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_BulkDownloadFeedbackLabels, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override ContactCenterInsightsClient NewInstance(ClientBaseConfiguration configuration) + { + return new ContactCenterInsightsClient(configuration); + } + } + + /// Creates service definition that can be registered with a server + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static grpc::ServerServiceDefinition BindService(ContactCenterInsightsBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_CreateConversation, serviceImpl.CreateConversation) + .AddMethod(__Method_UploadConversation, serviceImpl.UploadConversation) + .AddMethod(__Method_UpdateConversation, serviceImpl.UpdateConversation) + .AddMethod(__Method_GetConversation, serviceImpl.GetConversation) + .AddMethod(__Method_ListConversations, serviceImpl.ListConversations) + .AddMethod(__Method_DeleteConversation, serviceImpl.DeleteConversation) + .AddMethod(__Method_CreateAnalysis, serviceImpl.CreateAnalysis) + .AddMethod(__Method_GetAnalysis, serviceImpl.GetAnalysis) + .AddMethod(__Method_ListAnalyses, serviceImpl.ListAnalyses) + .AddMethod(__Method_DeleteAnalysis, serviceImpl.DeleteAnalysis) + .AddMethod(__Method_BulkAnalyzeConversations, serviceImpl.BulkAnalyzeConversations) + .AddMethod(__Method_BulkDeleteConversations, serviceImpl.BulkDeleteConversations) + .AddMethod(__Method_IngestConversations, serviceImpl.IngestConversations) + .AddMethod(__Method_ExportInsightsData, serviceImpl.ExportInsightsData) + .AddMethod(__Method_CreateIssueModel, serviceImpl.CreateIssueModel) + .AddMethod(__Method_UpdateIssueModel, serviceImpl.UpdateIssueModel) + .AddMethod(__Method_GetIssueModel, serviceImpl.GetIssueModel) + .AddMethod(__Method_ListIssueModels, serviceImpl.ListIssueModels) + .AddMethod(__Method_DeleteIssueModel, serviceImpl.DeleteIssueModel) + .AddMethod(__Method_DeployIssueModel, serviceImpl.DeployIssueModel) + .AddMethod(__Method_UndeployIssueModel, serviceImpl.UndeployIssueModel) + .AddMethod(__Method_ExportIssueModel, serviceImpl.ExportIssueModel) + .AddMethod(__Method_ImportIssueModel, serviceImpl.ImportIssueModel) + .AddMethod(__Method_GetIssue, serviceImpl.GetIssue) + .AddMethod(__Method_ListIssues, serviceImpl.ListIssues) + .AddMethod(__Method_UpdateIssue, serviceImpl.UpdateIssue) + .AddMethod(__Method_DeleteIssue, serviceImpl.DeleteIssue) + .AddMethod(__Method_CalculateIssueModelStats, serviceImpl.CalculateIssueModelStats) + .AddMethod(__Method_CreatePhraseMatcher, serviceImpl.CreatePhraseMatcher) + .AddMethod(__Method_GetPhraseMatcher, serviceImpl.GetPhraseMatcher) + .AddMethod(__Method_ListPhraseMatchers, serviceImpl.ListPhraseMatchers) + .AddMethod(__Method_DeletePhraseMatcher, serviceImpl.DeletePhraseMatcher) + .AddMethod(__Method_UpdatePhraseMatcher, serviceImpl.UpdatePhraseMatcher) + .AddMethod(__Method_CalculateStats, serviceImpl.CalculateStats) + .AddMethod(__Method_GetSettings, serviceImpl.GetSettings) + .AddMethod(__Method_UpdateSettings, serviceImpl.UpdateSettings) + .AddMethod(__Method_CreateAnalysisRule, serviceImpl.CreateAnalysisRule) + .AddMethod(__Method_GetAnalysisRule, serviceImpl.GetAnalysisRule) + .AddMethod(__Method_ListAnalysisRules, serviceImpl.ListAnalysisRules) + .AddMethod(__Method_UpdateAnalysisRule, serviceImpl.UpdateAnalysisRule) + .AddMethod(__Method_DeleteAnalysisRule, serviceImpl.DeleteAnalysisRule) + .AddMethod(__Method_GetEncryptionSpec, serviceImpl.GetEncryptionSpec) + .AddMethod(__Method_InitializeEncryptionSpec, serviceImpl.InitializeEncryptionSpec) + .AddMethod(__Method_CreateView, serviceImpl.CreateView) + .AddMethod(__Method_GetView, serviceImpl.GetView) + .AddMethod(__Method_ListViews, serviceImpl.ListViews) + .AddMethod(__Method_UpdateView, serviceImpl.UpdateView) + .AddMethod(__Method_DeleteView, serviceImpl.DeleteView) + .AddMethod(__Method_QueryMetrics, serviceImpl.QueryMetrics) + .AddMethod(__Method_CreateQaQuestion, serviceImpl.CreateQaQuestion) + .AddMethod(__Method_GetQaQuestion, serviceImpl.GetQaQuestion) + .AddMethod(__Method_UpdateQaQuestion, serviceImpl.UpdateQaQuestion) + .AddMethod(__Method_DeleteQaQuestion, serviceImpl.DeleteQaQuestion) + .AddMethod(__Method_ListQaQuestions, serviceImpl.ListQaQuestions) + .AddMethod(__Method_CreateQaScorecard, serviceImpl.CreateQaScorecard) + .AddMethod(__Method_GetQaScorecard, serviceImpl.GetQaScorecard) + .AddMethod(__Method_UpdateQaScorecard, serviceImpl.UpdateQaScorecard) + .AddMethod(__Method_DeleteQaScorecard, serviceImpl.DeleteQaScorecard) + .AddMethod(__Method_ListQaScorecards, serviceImpl.ListQaScorecards) + .AddMethod(__Method_CreateQaScorecardRevision, serviceImpl.CreateQaScorecardRevision) + .AddMethod(__Method_GetQaScorecardRevision, serviceImpl.GetQaScorecardRevision) + .AddMethod(__Method_TuneQaScorecardRevision, serviceImpl.TuneQaScorecardRevision) + .AddMethod(__Method_DeployQaScorecardRevision, serviceImpl.DeployQaScorecardRevision) + .AddMethod(__Method_UndeployQaScorecardRevision, serviceImpl.UndeployQaScorecardRevision) + .AddMethod(__Method_DeleteQaScorecardRevision, serviceImpl.DeleteQaScorecardRevision) + .AddMethod(__Method_ListQaScorecardRevisions, serviceImpl.ListQaScorecardRevisions) + .AddMethod(__Method_CreateFeedbackLabel, serviceImpl.CreateFeedbackLabel) + .AddMethod(__Method_ListFeedbackLabels, serviceImpl.ListFeedbackLabels) + .AddMethod(__Method_GetFeedbackLabel, serviceImpl.GetFeedbackLabel) + .AddMethod(__Method_UpdateFeedbackLabel, serviceImpl.UpdateFeedbackLabel) + .AddMethod(__Method_DeleteFeedbackLabel, serviceImpl.DeleteFeedbackLabel) + .AddMethod(__Method_ListAllFeedbackLabels, serviceImpl.ListAllFeedbackLabels) + .AddMethod(__Method_BulkUploadFeedbackLabels, serviceImpl.BulkUploadFeedbackLabels) + .AddMethod(__Method_BulkDownloadFeedbackLabels, serviceImpl.BulkDownloadFeedbackLabels).Build(); + } + + /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. + /// Note: this method is part of an experimental API that can change or be removed without any prior notice. + /// Service methods will be bound by calling AddMethod on this object. + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static void BindService(grpc::ServiceBinderBase serviceBinder, ContactCenterInsightsBase serviceImpl) + { + serviceBinder.AddMethod(__Method_CreateConversation, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateConversation)); + serviceBinder.AddMethod(__Method_UploadConversation, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UploadConversation)); + serviceBinder.AddMethod(__Method_UpdateConversation, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateConversation)); + serviceBinder.AddMethod(__Method_GetConversation, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetConversation)); + serviceBinder.AddMethod(__Method_ListConversations, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListConversations)); + serviceBinder.AddMethod(__Method_DeleteConversation, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteConversation)); + serviceBinder.AddMethod(__Method_CreateAnalysis, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateAnalysis)); + serviceBinder.AddMethod(__Method_GetAnalysis, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetAnalysis)); + serviceBinder.AddMethod(__Method_ListAnalyses, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListAnalyses)); + serviceBinder.AddMethod(__Method_DeleteAnalysis, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteAnalysis)); + serviceBinder.AddMethod(__Method_BulkAnalyzeConversations, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.BulkAnalyzeConversations)); + serviceBinder.AddMethod(__Method_BulkDeleteConversations, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.BulkDeleteConversations)); + serviceBinder.AddMethod(__Method_IngestConversations, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.IngestConversations)); + serviceBinder.AddMethod(__Method_ExportInsightsData, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ExportInsightsData)); + serviceBinder.AddMethod(__Method_CreateIssueModel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateIssueModel)); + serviceBinder.AddMethod(__Method_UpdateIssueModel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateIssueModel)); + serviceBinder.AddMethod(__Method_GetIssueModel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetIssueModel)); + serviceBinder.AddMethod(__Method_ListIssueModels, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListIssueModels)); + serviceBinder.AddMethod(__Method_DeleteIssueModel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteIssueModel)); + serviceBinder.AddMethod(__Method_DeployIssueModel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeployIssueModel)); + serviceBinder.AddMethod(__Method_UndeployIssueModel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UndeployIssueModel)); + serviceBinder.AddMethod(__Method_ExportIssueModel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ExportIssueModel)); + serviceBinder.AddMethod(__Method_ImportIssueModel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ImportIssueModel)); + serviceBinder.AddMethod(__Method_GetIssue, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetIssue)); + serviceBinder.AddMethod(__Method_ListIssues, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListIssues)); + serviceBinder.AddMethod(__Method_UpdateIssue, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateIssue)); + serviceBinder.AddMethod(__Method_DeleteIssue, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteIssue)); + serviceBinder.AddMethod(__Method_CalculateIssueModelStats, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CalculateIssueModelStats)); + serviceBinder.AddMethod(__Method_CreatePhraseMatcher, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreatePhraseMatcher)); + serviceBinder.AddMethod(__Method_GetPhraseMatcher, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetPhraseMatcher)); + serviceBinder.AddMethod(__Method_ListPhraseMatchers, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListPhraseMatchers)); + serviceBinder.AddMethod(__Method_DeletePhraseMatcher, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeletePhraseMatcher)); + serviceBinder.AddMethod(__Method_UpdatePhraseMatcher, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdatePhraseMatcher)); + serviceBinder.AddMethod(__Method_CalculateStats, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CalculateStats)); + serviceBinder.AddMethod(__Method_GetSettings, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetSettings)); + serviceBinder.AddMethod(__Method_UpdateSettings, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateSettings)); + serviceBinder.AddMethod(__Method_CreateAnalysisRule, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateAnalysisRule)); + serviceBinder.AddMethod(__Method_GetAnalysisRule, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetAnalysisRule)); + serviceBinder.AddMethod(__Method_ListAnalysisRules, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListAnalysisRules)); + serviceBinder.AddMethod(__Method_UpdateAnalysisRule, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateAnalysisRule)); + serviceBinder.AddMethod(__Method_DeleteAnalysisRule, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteAnalysisRule)); + serviceBinder.AddMethod(__Method_GetEncryptionSpec, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetEncryptionSpec)); + serviceBinder.AddMethod(__Method_InitializeEncryptionSpec, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.InitializeEncryptionSpec)); + serviceBinder.AddMethod(__Method_CreateView, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateView)); + serviceBinder.AddMethod(__Method_GetView, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetView)); + serviceBinder.AddMethod(__Method_ListViews, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListViews)); + serviceBinder.AddMethod(__Method_UpdateView, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateView)); + serviceBinder.AddMethod(__Method_DeleteView, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteView)); + serviceBinder.AddMethod(__Method_QueryMetrics, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.QueryMetrics)); + serviceBinder.AddMethod(__Method_CreateQaQuestion, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateQaQuestion)); + serviceBinder.AddMethod(__Method_GetQaQuestion, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetQaQuestion)); + serviceBinder.AddMethod(__Method_UpdateQaQuestion, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateQaQuestion)); + serviceBinder.AddMethod(__Method_DeleteQaQuestion, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteQaQuestion)); + serviceBinder.AddMethod(__Method_ListQaQuestions, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListQaQuestions)); + serviceBinder.AddMethod(__Method_CreateQaScorecard, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateQaScorecard)); + serviceBinder.AddMethod(__Method_GetQaScorecard, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetQaScorecard)); + serviceBinder.AddMethod(__Method_UpdateQaScorecard, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateQaScorecard)); + serviceBinder.AddMethod(__Method_DeleteQaScorecard, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteQaScorecard)); + serviceBinder.AddMethod(__Method_ListQaScorecards, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListQaScorecards)); + serviceBinder.AddMethod(__Method_CreateQaScorecardRevision, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateQaScorecardRevision)); + serviceBinder.AddMethod(__Method_GetQaScorecardRevision, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetQaScorecardRevision)); + serviceBinder.AddMethod(__Method_TuneQaScorecardRevision, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.TuneQaScorecardRevision)); + serviceBinder.AddMethod(__Method_DeployQaScorecardRevision, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeployQaScorecardRevision)); + serviceBinder.AddMethod(__Method_UndeployQaScorecardRevision, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UndeployQaScorecardRevision)); + serviceBinder.AddMethod(__Method_DeleteQaScorecardRevision, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteQaScorecardRevision)); + serviceBinder.AddMethod(__Method_ListQaScorecardRevisions, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListQaScorecardRevisions)); + serviceBinder.AddMethod(__Method_CreateFeedbackLabel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateFeedbackLabel)); + serviceBinder.AddMethod(__Method_ListFeedbackLabels, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListFeedbackLabels)); + serviceBinder.AddMethod(__Method_GetFeedbackLabel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetFeedbackLabel)); + serviceBinder.AddMethod(__Method_UpdateFeedbackLabel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateFeedbackLabel)); + serviceBinder.AddMethod(__Method_DeleteFeedbackLabel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteFeedbackLabel)); + serviceBinder.AddMethod(__Method_ListAllFeedbackLabels, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListAllFeedbackLabels)); + serviceBinder.AddMethod(__Method_BulkUploadFeedbackLabels, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.BulkUploadFeedbackLabels)); + serviceBinder.AddMethod(__Method_BulkDownloadFeedbackLabels, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.BulkDownloadFeedbackLabels)); + } + + } +} +#endregion diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsResourceNames.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsResourceNames.g.cs new file mode 100755 index 000000000000..f3323b697f17 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ContactCenterInsightsResourceNames.g.cs @@ -0,0 +1,859 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gagr = Google.Api.Gax.ResourceNames; +using gccv = Google.Cloud.ContactCenterInsights.V1; + +namespace Google.Cloud.ContactCenterInsights.V1 +{ + public partial class CalculateStatsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName LocationAsLocationName + { + get => string.IsNullOrEmpty(Location) ? null : gagr::LocationName.Parse(Location, allowUnparsed: true); + set => Location = value?.ToString() ?? ""; + } + } + + public partial class CreateAnalysisOperationMetadata + { + /// + /// -typed view over the resource name property. + /// + public ConversationName ConversationAsConversationName + { + get => string.IsNullOrEmpty(Conversation) ? null : ConversationName.Parse(Conversation, allowUnparsed: true); + set => Conversation = value?.ToString() ?? ""; + } + } + + public partial class CreateConversationRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class UploadConversationRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class ListConversationsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetConversationRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::ConversationName ConversationName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::ConversationName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class DeleteConversationRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::ConversationName ConversationName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::ConversationName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class IngestConversationsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class CreateAnalysisRequest + { + /// + /// -typed view over the resource name property. + /// + public ConversationName ParentAsConversationName + { + get => string.IsNullOrEmpty(Parent) ? null : ConversationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class ListAnalysesRequest + { + /// + /// -typed view over the resource name property. + /// + public ConversationName ParentAsConversationName + { + get => string.IsNullOrEmpty(Parent) ? null : ConversationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetAnalysisRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::AnalysisName AnalysisName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::AnalysisName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class DeleteAnalysisRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::AnalysisName AnalysisName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::AnalysisName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class BulkAnalyzeConversationsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class BulkDeleteConversationsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class ExportInsightsDataRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class CreateIssueModelRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class ListIssueModelsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetIssueModelRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::IssueModelName IssueModelName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::IssueModelName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class DeleteIssueModelRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::IssueModelName IssueModelName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::IssueModelName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class DeployIssueModelRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::IssueModelName IssueModelName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::IssueModelName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class UndeployIssueModelRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::IssueModelName IssueModelName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::IssueModelName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class ExportIssueModelRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::IssueModelName IssueModelName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::IssueModelName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class ImportIssueModelRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetIssueRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::IssueName IssueName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::IssueName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class ListIssuesRequest + { + /// + /// -typed view over the resource name property. + /// + public IssueModelName ParentAsIssueModelName + { + get => string.IsNullOrEmpty(Parent) ? null : IssueModelName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class DeleteIssueRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::IssueName IssueName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::IssueName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class CalculateIssueModelStatsRequest + { + /// + /// -typed view over the resource name property. + /// + public IssueModelName IssueModelAsIssueModelName + { + get => string.IsNullOrEmpty(IssueModel) ? null : IssueModelName.Parse(IssueModel, allowUnparsed: true); + set => IssueModel = value?.ToString() ?? ""; + } + } + + public partial class CreatePhraseMatcherRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class ListPhraseMatchersRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetPhraseMatcherRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::PhraseMatcherName PhraseMatcherName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::PhraseMatcherName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class DeletePhraseMatcherRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::PhraseMatcherName PhraseMatcherName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::PhraseMatcherName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class GetSettingsRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::SettingsName SettingsName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::SettingsName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class CreateAnalysisRuleRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetAnalysisRuleRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::AnalysisRuleName AnalysisRuleName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::AnalysisRuleName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class DeleteAnalysisRuleRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::AnalysisRuleName AnalysisRuleName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::AnalysisRuleName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class ListAnalysisRulesRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetEncryptionSpecRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::EncryptionSpecName EncryptionSpecName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::EncryptionSpecName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class CreateViewRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetViewRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::ViewName ViewName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::ViewName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class ListViewsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class DeleteViewRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::ViewName ViewName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::ViewName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class Dimension + { + public partial class Types + { + public partial class IssueDimensionMetadata + { + /// + /// -typed view over the resource name property. + /// + public IssueName IssueIdAsIssueName + { + get => string.IsNullOrEmpty(IssueId) ? null : IssueName.Parse(IssueId, allowUnparsed: true); + set => IssueId = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name property. + /// + public IssueModelName IssueModelIdAsIssueModelName + { + get => string.IsNullOrEmpty(IssueModelId) ? null : IssueModelName.Parse(IssueModelId, allowUnparsed: true); + set => IssueModelId = value?.ToString() ?? ""; + } + } + } + } + + public partial class QueryMetricsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName LocationAsLocationName + { + get => string.IsNullOrEmpty(Location) ? null : gagr::LocationName.Parse(Location, allowUnparsed: true); + set => Location = value?.ToString() ?? ""; + } + } + + public partial class QueryMetricsResponse + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName LocationAsLocationName + { + get => string.IsNullOrEmpty(Location) ? null : gagr::LocationName.Parse(Location, allowUnparsed: true); + set => Location = value?.ToString() ?? ""; + } + } + + public partial class CreateQaQuestionRequest + { + /// + /// -typed view over the resource name property. + /// + public QaScorecardRevisionName ParentAsQaScorecardRevisionName + { + get => string.IsNullOrEmpty(Parent) ? null : QaScorecardRevisionName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetQaQuestionRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaQuestionName QaQuestionName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaQuestionName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class ListQaQuestionsRequest + { + /// + /// -typed view over the resource name property. + /// + public QaScorecardRevisionName ParentAsQaScorecardRevisionName + { + get => string.IsNullOrEmpty(Parent) ? null : QaScorecardRevisionName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class DeleteQaQuestionRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaQuestionName QaQuestionName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaQuestionName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class CreateQaScorecardRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetQaScorecardRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaScorecardName QaScorecardName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaScorecardName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class DeleteQaScorecardRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaScorecardName QaScorecardName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaScorecardName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class CreateQaScorecardRevisionRequest + { + /// + /// -typed view over the resource name property. + /// + public QaScorecardName ParentAsQaScorecardName + { + get => string.IsNullOrEmpty(Parent) ? null : QaScorecardName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetQaScorecardRevisionRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaScorecardRevisionName QaScorecardRevisionName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaScorecardRevisionName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class TuneQaScorecardRevisionRequest + { + /// + /// -typed view over the resource name property. + /// + public QaScorecardRevisionName ParentAsQaScorecardRevisionName + { + get => string.IsNullOrEmpty(Parent) ? null : QaScorecardRevisionName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class TuneQaScorecardRevisionMetadata + { + public partial class Types + { + public partial class QaQuestionDatasetValidationResult + { + /// + /// -typed view over the resource name property. + /// + public QaQuestionName QuestionAsQaQuestionName + { + get => string.IsNullOrEmpty(Question) ? null : QaQuestionName.Parse(Question, allowUnparsed: true); + set => Question = value?.ToString() ?? ""; + } + } + + public partial class QaQuestionDatasetTuningMetrics + { + /// + /// -typed view over the resource name property. + /// + public QaQuestionName QuestionAsQaQuestionName + { + get => string.IsNullOrEmpty(Question) ? null : QaQuestionName.Parse(Question, allowUnparsed: true); + set => Question = value?.ToString() ?? ""; + } + } + } + } + + public partial class DeployQaScorecardRevisionRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaScorecardRevisionName QaScorecardRevisionName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaScorecardRevisionName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class UndeployQaScorecardRevisionRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaScorecardRevisionName QaScorecardRevisionName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaScorecardRevisionName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class DeleteQaScorecardRevisionRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaScorecardRevisionName QaScorecardRevisionName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaScorecardRevisionName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class ListQaScorecardsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class ListQaScorecardRevisionsRequest + { + /// + /// -typed view over the resource name property. + /// + public QaScorecardName ParentAsQaScorecardName + { + get => string.IsNullOrEmpty(Parent) ? null : QaScorecardName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class CreateFeedbackLabelRequest + { + /// + /// -typed view over the resource name property. + /// + public ConversationName ParentAsConversationName + { + get => string.IsNullOrEmpty(Parent) ? null : ConversationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class ListFeedbackLabelsRequest + { + /// + /// -typed view over the resource name property. + /// + public ConversationName ParentAsConversationName + { + get => string.IsNullOrEmpty(Parent) ? null : ConversationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetFeedbackLabelRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::FeedbackLabelName FeedbackLabelName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::FeedbackLabelName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class DeleteFeedbackLabelRequest + { + /// + /// -typed view over the resource name property. + /// + public gccv::FeedbackLabelName FeedbackLabelName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::FeedbackLabelName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class ListAllFeedbackLabelsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class BulkUploadFeedbackLabelsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class BulkDownloadFeedbackLabelsRequest + { + /// + /// -typed view over the resource name property. + /// + public gagr::LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : gagr::LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.csproj b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.csproj new file mode 100755 index 000000000000..a49f73a0966a --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.csproj @@ -0,0 +1,49 @@ + + + + + + 1.0.0-alpha01 + + + + + + + + + netstandard2.0;net462 + latest + true + true + true + + + + + + + + + + + + \ No newline at end of file diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/PackageApiMetadata.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/PackageApiMetadata.g.cs new file mode 100755 index 000000000000..787499c6e559 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/PackageApiMetadata.g.cs @@ -0,0 +1,62 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gaxgrpc = Google.Api.Gax.Grpc; +using gciv = Google.Cloud.Iam.V1; +using gpr = Google.Protobuf.Reflection; +using lro = Google.LongRunning; +using proto = Google.Protobuf; +using scg = System.Collections.Generic; + +namespace Google.Cloud.ContactCenterInsights.V1 +{ + /// Static class to provide common access to package-wide API metadata. + internal static class PackageApiMetadata + { + /// The for services in this package. + internal static gaxgrpc::ApiMetadata ApiMetadata { get; } = new gaxgrpc::ApiMetadata("Google.Cloud.ContactCenterInsights.V1", GetFileDescriptors) + .WithRequestNumericEnumJsonEncoding(true) + .WithHttpRuleOverrides(new scg::Dictionary + { + { + "google.longrunning.Operations.CancelOperation", + // { "post": "/v1/{name=projects/*/locations/*/operations/*}:cancel" } + proto::ByteString.FromBase64("IjUvdjEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9vcGVyYXRpb25zLyp9OmNhbmNlbA==") + }, + { + "google.longrunning.Operations.GetOperation", + // { "get": "/v1/{name=projects/*/locations/*/operations/*}" } + proto::ByteString.FromBase64("Ei4vdjEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9vcGVyYXRpb25zLyp9") + }, + { + "google.longrunning.Operations.ListOperations", + // { "get": "/v1/{name=projects/*/locations/*}/operations" } + proto::ByteString.FromBase64("EiwvdjEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKn0vb3BlcmF0aW9ucw==") + }, + }); + + private static scg::IEnumerable GetFileDescriptors() + { + yield return ContactCenterInsightsReflection.Descriptor; + yield return ResourcesReflection.Descriptor; + yield return gciv::IamPolicyReflection.Descriptor; + yield return gciv::OptionsReflection.Descriptor; + yield return gciv::PolicyReflection.Descriptor; + yield return lro::OperationsReflection.Descriptor; + } + } +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/Resources.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/Resources.g.cs new file mode 100755 index 000000000000..8a6ceb1c7aa0 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/Resources.g.cs @@ -0,0 +1,27538 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/contactcenterinsights/v1/resources.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.ContactCenterInsights.V1 { + + /// Holder for reflection information generated from google/cloud/contactcenterinsights/v1/resources.proto + public static partial class ResourcesReflection { + + #region Descriptor + /// File descriptor for google/cloud/contactcenterinsights/v1/resources.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ResourcesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjVnb29nbGUvY2xvdWQvY29udGFjdGNlbnRlcmluc2lnaHRzL3YxL3Jlc291", + "cmNlcy5wcm90bxIlZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy52MRofZ29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90bxoZZ29vZ2xl", + "L2FwaS9yZXNvdXJjZS5wcm90bxoeZ29vZ2xlL3Byb3RvYnVmL2R1cmF0aW9u", + "LnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvIuMZCgxD", + "b252ZXJzYXRpb24SWQoNY2FsbF9tZXRhZGF0YRgHIAEoCzJALmdvb2dsZS5j", + "bG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQ29udmVyc2F0aW9uLkNh", + "bGxNZXRhZGF0YUgAEjEKC2V4cGlyZV90aW1lGA8gASgLMhouZ29vZ2xlLnBy", + "b3RvYnVmLlRpbWVzdGFtcEgBEi0KA3R0bBgQIAEoCzIZLmdvb2dsZS5wcm90", + "b2J1Zi5EdXJhdGlvbkID4EEESAESEQoEbmFtZRgBIAEoCUID4EEFElIKC2Rh", + "dGFfc291cmNlGAIgASgLMj0uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy52MS5Db252ZXJzYXRpb25EYXRhU291cmNlEjQKC2NyZWF0ZV90", + "aW1lGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjQK", + "C3VwZGF0ZV90aW1lGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFt", + "cEID4EEDEi4KCnN0YXJ0X3RpbWUYESABKAsyGi5nb29nbGUucHJvdG9idWYu", + "VGltZXN0YW1wEhUKDWxhbmd1YWdlX2NvZGUYDiABKAkSEAoIYWdlbnRfaWQY", + "BSABKAkSTwoGbGFiZWxzGAYgAygLMj8uZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5Db252ZXJzYXRpb24uTGFiZWxzRW50cnkSXQoQ", + "cXVhbGl0eV9tZXRhZGF0YRgYIAEoCzJDLmdvb2dsZS5jbG91ZC5jb250YWN0", + "Y2VudGVyaW5zaWdodHMudjEuQ29udmVyc2F0aW9uLlF1YWxpdHlNZXRhZGF0", + "YRIaCg1tZXRhZGF0YV9qc29uGBkgASgJQgPgQQQSVwoKdHJhbnNjcmlwdBgI", + "IAEoCzI+Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEu", + "Q29udmVyc2F0aW9uLlRyYW5zY3JpcHRCA+BBAxJPCgZtZWRpdW0YCSABKA4y", + "Oi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkNvbnZl", + "cnNhdGlvbi5NZWRpdW1CA+BBBRIwCghkdXJhdGlvbhgKIAEoCzIZLmdvb2ds", + "ZS5wcm90b2J1Zi5EdXJhdGlvbkID4EEDEhcKCnR1cm5fY291bnQYCyABKAVC", + "A+BBAxJNCg9sYXRlc3RfYW5hbHlzaXMYDCABKAsyLy5nb29nbGUuY2xvdWQu", + "Y29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkFuYWx5c2lzQgPgQQMSawoObGF0", + "ZXN0X3N1bW1hcnkYFCABKAsyTi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRl", + "cmluc2lnaHRzLnYxLkNvbnZlcnNhdGlvblN1bW1hcml6YXRpb25TdWdnZXN0", + "aW9uRGF0YUID4EEDEloKE3J1bnRpbWVfYW5ub3RhdGlvbnMYDSADKAsyOC5n", + "b29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlJ1bnRpbWVB", + "bm5vdGF0aW9uQgPgQQMSawoSZGlhbG9nZmxvd19pbnRlbnRzGBIgAygLMkou", + "Z29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5Db252ZXJz", + "YXRpb24uRGlhbG9nZmxvd0ludGVudHNFbnRyeUID4EEDEhoKEm9iZnVzY2F0", + "ZWRfdXNlcl9pZBgVIAEoCRo/CgxDYWxsTWV0YWRhdGESGAoQY3VzdG9tZXJf", + "Y2hhbm5lbBgBIAEoBRIVCg1hZ2VudF9jaGFubmVsGAIgASgFGpYDCg9RdWFs", + "aXR5TWV0YWRhdGESJAocY3VzdG9tZXJfc2F0aXNmYWN0aW9uX3JhdGluZxgB", + "IAEoBRIwCg13YWl0X2R1cmF0aW9uGAIgASgLMhkuZ29vZ2xlLnByb3RvYnVm", + "LkR1cmF0aW9uEhEKCW1lbnVfcGF0aBgDIAEoCRJhCgphZ2VudF9pbmZvGAQg", + "AygLMk0uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5D", + "b252ZXJzYXRpb24uUXVhbGl0eU1ldGFkYXRhLkFnZW50SW5mbxq0AQoJQWdl", + "bnRJbmZvEhAKCGFnZW50X2lkGAEgASgJEhQKDGRpc3BsYXlfbmFtZRgCIAEo", + "CRIMCgR0ZWFtGAMgASgJEhgKEGRpc3Bvc2l0aW9uX2NvZGUYBCABKAkSVwoK", + "YWdlbnRfdHlwZRgFIAEoDjJDLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVy", + "aW5zaWdodHMudjEuQ29udmVyc2F0aW9uUGFydGljaXBhbnQuUm9sZRqGBwoK", + "VHJhbnNjcmlwdBJtChN0cmFuc2NyaXB0X3NlZ21lbnRzGAEgAygLMlAuZ29v", + "Z2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5Db252ZXJzYXRp", + "b24uVHJhbnNjcmlwdC5UcmFuc2NyaXB0U2VnbWVudBqIBgoRVHJhbnNjcmlw", + "dFNlZ21lbnQSMAoMbWVzc2FnZV90aW1lGAYgASgLMhouZ29vZ2xlLnByb3Rv", + "YnVmLlRpbWVzdGFtcBIMCgR0ZXh0GAEgASgJEhIKCmNvbmZpZGVuY2UYAiAB", + "KAISaAoFd29yZHMYAyADKAsyWS5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRl", + "cmluc2lnaHRzLnYxLkNvbnZlcnNhdGlvbi5UcmFuc2NyaXB0LlRyYW5zY3Jp", + "cHRTZWdtZW50LldvcmRJbmZvEhUKDWxhbmd1YWdlX2NvZGUYBCABKAkSEwoL", + "Y2hhbm5lbF90YWcYBSABKAUSWwoTc2VnbWVudF9wYXJ0aWNpcGFudBgJIAEo", + "CzI+Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQ29u", + "dmVyc2F0aW9uUGFydGljaXBhbnQSjwEKG2RpYWxvZ2Zsb3dfc2VnbWVudF9t", + "ZXRhZGF0YRgKIAEoCzJqLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5z", + "aWdodHMudjEuQ29udmVyc2F0aW9uLlRyYW5zY3JpcHQuVHJhbnNjcmlwdFNl", + "Z21lbnQuRGlhbG9nZmxvd1NlZ21lbnRNZXRhZGF0YRJHCglzZW50aW1lbnQY", + "CyABKAsyNC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYx", + "LlNlbnRpbWVudERhdGEajAEKCFdvcmRJbmZvEi8KDHN0YXJ0X29mZnNldBgB", + "IAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbhItCgplbmRfb2Zmc2V0", + "GAIgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEgwKBHdvcmQYAyAB", + "KAkSEgoKY29uZmlkZW5jZRgEIAEoAhpCChlEaWFsb2dmbG93U2VnbWVudE1l", + "dGFkYXRhEiUKHXNtYXJ0X3JlcGx5X2FsbG93bGlzdF9jb3ZlcmVkGAEgASgI", + "Gi0KC0xhYmVsc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToC", + "OAEacQoWRGlhbG9nZmxvd0ludGVudHNFbnRyeRILCgNrZXkYASABKAkSRgoF", + "dmFsdWUYAiABKAsyNy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2ln", + "aHRzLnYxLkRpYWxvZ2Zsb3dJbnRlbnQ6AjgBIjoKBk1lZGl1bRIWChJNRURJ", + "VU1fVU5TUEVDSUZJRUQQABIOCgpQSE9ORV9DQUxMEAESCAoEQ0hBVBACOqwC", + "6kGoAgoxY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL0Nv", + "bnZlcnNhdGlvbhJEcHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9j", + "YXRpb259L2NvbnZlcnNhdGlvbnMve2NvbnZlcnNhdGlvbn0SjwFwcm9qZWN0", + "cy97cHJvamVjdH0vbG9jYXRpb25zL3tsb2NhdGlvbn0vYXV0aG9yaXplZFZp", + "ZXdTZXRzL3thdXRob3JpemVkX3ZpZXdfc2V0fS9hdXRob3JpemVkVmlld3Mv", + "e2F1dGhvcml6ZWRfdmlld30vY29udmVyc2F0aW9ucy97Y29udmVyc2F0aW9u", + "fSoNY29udmVyc2F0aW9uczIMY29udmVyc2F0aW9uQgoKCG1ldGFkYXRhQgwK", + "CmV4cGlyYXRpb24i/wQKCEFuYWx5c2lzEhEKBG5hbWUYASABKAlCA+BBBRI1", + "CgxyZXF1ZXN0X3RpbWUYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0", + "YW1wQgPgQQMSNAoLY3JlYXRlX3RpbWUYAyABKAsyGi5nb29nbGUucHJvdG9i", + "dWYuVGltZXN0YW1wQgPgQQMSUwoPYW5hbHlzaXNfcmVzdWx0GAcgASgLMjUu", + "Z29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5BbmFseXNp", + "c1Jlc3VsdEID4EEDElQKEmFubm90YXRvcl9zZWxlY3RvchgIIAEoCzI4Lmdv", + "b2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQW5ub3RhdG9y", + "U2VsZWN0b3I6xwLqQcMCCi1jb250YWN0Y2VudGVyaW5zaWdodHMuZ29vZ2xl", + "YXBpcy5jb20vQW5hbHlzaXMSWHByb2plY3RzL3twcm9qZWN0fS9sb2NhdGlv", + "bnMve2xvY2F0aW9ufS9jb252ZXJzYXRpb25zL3tjb252ZXJzYXRpb259L2Fu", + "YWx5c2VzL3thbmFseXNpc30SowFwcm9qZWN0cy97cHJvamVjdH0vbG9jYXRp", + "b25zL3tsb2NhdGlvbn0vYXV0aG9yaXplZFZpZXdTZXRzL3thdXRob3JpemVk", + "X3ZpZXdfc2V0fS9hdXRob3JpemVkVmlld3Mve2F1dGhvcml6ZWRfdmlld30v", + "Y29udmVyc2F0aW9ucy97Y29udmVyc2F0aW9ufS9hbmFseXNlcy97YW5hbHlz", + "aXN9KghhbmFseXNlczIIYW5hbHlzaXMiwAEKFkNvbnZlcnNhdGlvbkRhdGFT", + "b3VyY2USRgoKZ2NzX3NvdXJjZRgBIAEoCzIwLmdvb2dsZS5jbG91ZC5jb250", + "YWN0Y2VudGVyaW5zaWdodHMudjEuR2NzU291cmNlSAASVAoRZGlhbG9nZmxv", + "d19zb3VyY2UYAyABKAsyNy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmlu", + "c2lnaHRzLnYxLkRpYWxvZ2Zsb3dTb3VyY2VIAEIICgZzb3VyY2UiOwoJR2Nz", + "U291cmNlEhEKCWF1ZGlvX3VyaRgBIAEoCRIbCg50cmFuc2NyaXB0X3VyaRgC", + "IAEoCUID4EEFIksKEERpYWxvZ2Zsb3dTb3VyY2USJAoXZGlhbG9nZmxvd19j", + "b252ZXJzYXRpb24YASABKAlCA+BBAxIRCglhdWRpb191cmkYAyABKAki8AkK", + "DkFuYWx5c2lzUmVzdWx0EmwKFmNhbGxfYW5hbHlzaXNfbWV0YWRhdGEYAiAB", + "KAsySi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkFu", + "YWx5c2lzUmVzdWx0LkNhbGxBbmFseXNpc01ldGFkYXRhSAASLAoIZW5kX3Rp", + "bWUYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wGrUIChRDYWxs", + "QW5hbHlzaXNNZXRhZGF0YRJKCgthbm5vdGF0aW9ucxgCIAMoCzI1Lmdvb2ds", + "ZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQ2FsbEFubm90YXRp", + "b24SagoIZW50aXRpZXMYAyADKAsyWC5nb29nbGUuY2xvdWQuY29udGFjdGNl", + "bnRlcmluc2lnaHRzLnYxLkFuYWx5c2lzUmVzdWx0LkNhbGxBbmFseXNpc01l", + "dGFkYXRhLkVudGl0aWVzRW50cnkSVQoKc2VudGltZW50cxgEIAMoCzJBLmdv", + "b2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQ29udmVyc2F0", + "aW9uTGV2ZWxTZW50aW1lbnQSUAoHc2lsZW5jZRgLIAEoCzI/Lmdvb2dsZS5j", + "bG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQ29udmVyc2F0aW9uTGV2", + "ZWxTaWxlbmNlEmgKB2ludGVudHMYBiADKAsyVy5nb29nbGUuY2xvdWQuY29u", + "dGFjdGNlbnRlcmluc2lnaHRzLnYxLkFuYWx5c2lzUmVzdWx0LkNhbGxBbmFs", + "eXNpc01ldGFkYXRhLkludGVudHNFbnRyeRJ3Cg9waHJhc2VfbWF0Y2hlcnMY", + "ByADKAsyXi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYx", + "LkFuYWx5c2lzUmVzdWx0LkNhbGxBbmFseXNpc01ldGFkYXRhLlBocmFzZU1h", + "dGNoZXJzRW50cnkSUwoSaXNzdWVfbW9kZWxfcmVzdWx0GAggASgLMjcuZ29v", + "Z2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5Jc3N1ZU1vZGVs", + "UmVzdWx0ElYKFHFhX3Njb3JlY2FyZF9yZXN1bHRzGAogAygLMjguZ29vZ2xl", + "LmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5RYVNjb3JlY2FyZFJl", + "c3VsdBpeCg1FbnRpdGllc0VudHJ5EgsKA2tleRgBIAEoCRI8CgV2YWx1ZRgC", + "IAEoCzItLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEu", + "RW50aXR5OgI4ARpdCgxJbnRlbnRzRW50cnkSCwoDa2V5GAEgASgJEjwKBXZh", + "bHVlGAIgASgLMi0uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy52MS5JbnRlbnQ6AjgBGm0KE1BocmFzZU1hdGNoZXJzRW50cnkSCwoDa2V5", + "GAEgASgJEkUKBXZhbHVlGAIgASgLMjYuZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5QaHJhc2VNYXRjaERhdGE6AjgBQgoKCG1ldGFk", + "YXRhIqUBChBJc3N1ZU1vZGVsUmVzdWx0EkkKC2lzc3VlX21vZGVsGAEgASgJ", + "QjT6QTEKL2NvbnRhY3RjZW50ZXJpbnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9J", + "c3N1ZU1vZGVsEkYKBmlzc3VlcxgCIAMoCzI2Lmdvb2dsZS5jbG91ZC5jb250", + "YWN0Y2VudGVyaW5zaWdodHMudjEuSXNzdWVBc3NpZ25tZW50IpEFCg1GZWVk", + "YmFja0xhYmVsEg8KBWxhYmVsGAQgASgJSAASVgoPcWFfYW5zd2VyX2xhYmVs", + "GAcgASgLMjsuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52", + "MS5RYUFuc3dlci5BbnN3ZXJWYWx1ZUgAEhEKBG5hbWUYASABKAlCA+BBBRIY", + "ChBsYWJlbGVkX3Jlc291cmNlGAMgASgJEjQKC2NyZWF0ZV90aW1lGAUgASgL", + "MhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjQKC3VwZGF0ZV90", + "aW1lGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDOu8C", + "6kHrAgoyY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL0Zl", + "ZWRiYWNrTGFiZWwSZHByb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xv", + "Y2F0aW9ufS9jb252ZXJzYXRpb25zL3tjb252ZXJzYXRpb259L2ZlZWRiYWNr", + "TGFiZWxzL3tmZWVkYmFja19sYWJlbH0SrwFwcm9qZWN0cy97cHJvamVjdH0v", + "bG9jYXRpb25zL3tsb2NhdGlvbn0vYXV0aG9yaXplZFZpZXdTZXRzL3thdXRo", + "b3JpemVkX3ZpZXdfc2V0fS9hdXRob3JpemVkVmlld3Mve2F1dGhvcml6ZWRf", + "dmlld30vY29udmVyc2F0aW9ucy97Y29udmVyc2F0aW9ufS9mZWVkYmFja0xh", + "YmVscy97ZmVlZGJhY2tfbGFiZWx9Kg5mZWVkYmFja0xhYmVsczINZmVlZGJh", + "Y2tMYWJlbEIMCgpsYWJlbF90eXBlIn8KGkNvbnZlcnNhdGlvbkxldmVsU2Vu", + "dGltZW50EhMKC2NoYW5uZWxfdGFnGAEgASgFEkwKDnNlbnRpbWVudF9kYXRh", + "GAIgASgLMjQuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52", + "MS5TZW50aW1lbnREYXRhImsKGENvbnZlcnNhdGlvbkxldmVsU2lsZW5jZRIz", + "ChBzaWxlbmNlX2R1cmF0aW9uGAEgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1", + "cmF0aW9uEhoKEnNpbGVuY2VfcGVyY2VudGFnZRgCIAEoAiJKCg9Jc3N1ZUFz", + "c2lnbm1lbnQSDQoFaXNzdWUYASABKAkSDQoFc2NvcmUYAiABKAESGQoMZGlz", + "cGxheV9uYW1lGAMgASgJQgPgQQUi9QYKDkNhbGxBbm5vdGF0aW9uElQKEWlu", + "dGVycnVwdGlvbl9kYXRhGAogASgLMjcuZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5JbnRlcnJ1cHRpb25EYXRhSAASTgoOc2VudGlt", + "ZW50X2RhdGEYCyABKAsyNC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmlu", + "c2lnaHRzLnYxLlNlbnRpbWVudERhdGFIABJKCgxzaWxlbmNlX2RhdGEYDCAB", + "KAsyMi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlNp", + "bGVuY2VEYXRhSAASRAoJaG9sZF9kYXRhGA0gASgLMi8uZ29vZ2xlLmNsb3Vk", + "LmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5Ib2xkRGF0YUgAElcKE2VudGl0", + "eV9tZW50aW9uX2RhdGEYDyABKAsyOC5nb29nbGUuY2xvdWQuY29udGFjdGNl", + "bnRlcmluc2lnaHRzLnYxLkVudGl0eU1lbnRpb25EYXRhSAASUwoRaW50ZW50", + "X21hdGNoX2RhdGEYECABKAsyNi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRl", + "cmluc2lnaHRzLnYxLkludGVudE1hdGNoRGF0YUgAElMKEXBocmFzZV9tYXRj", + "aF9kYXRhGBEgASgLMjYuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNp", + "Z2h0cy52MS5QaHJhc2VNYXRjaERhdGFIABJRChBpc3N1ZV9tYXRjaF9kYXRh", + "GBIgASgLMjUuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52", + "MS5Jc3N1ZU1hdGNoRGF0YUgAEhMKC2NoYW5uZWxfdGFnGAEgASgFElwKGWFu", + "bm90YXRpb25fc3RhcnRfYm91bmRhcnkYBCABKAsyOS5nb29nbGUuY2xvdWQu", + "Y29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkFubm90YXRpb25Cb3VuZGFyeRJa", + "Chdhbm5vdGF0aW9uX2VuZF9ib3VuZGFyeRgFIAEoCzI5Lmdvb2dsZS5jbG91", + "ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQW5ub3RhdGlvbkJvdW5kYXJ5", + "QgYKBGRhdGEiWQoSQW5ub3RhdGlvbkJvdW5kYXJ5EhQKCndvcmRfaW5kZXgY", + "AyABKAVIABIYChB0cmFuc2NyaXB0X2luZGV4GAEgASgFQhMKEWRldGFpbGVk", + "X2JvdW5kYXJ5IoAECgZFbnRpdHkSFAoMZGlzcGxheV9uYW1lGAEgASgJEkAK", + "BHR5cGUYAiABKA4yMi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2ln", + "aHRzLnYxLkVudGl0eS5UeXBlEk0KCG1ldGFkYXRhGAMgAygLMjsuZ29vZ2xl", + "LmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5FbnRpdHkuTWV0YWRh", + "dGFFbnRyeRIQCghzYWxpZW5jZRgEIAEoAhJHCglzZW50aW1lbnQYBSABKAsy", + "NC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlNlbnRp", + "bWVudERhdGEaLwoNTWV0YWRhdGFFbnRyeRILCgNrZXkYASABKAkSDQoFdmFs", + "dWUYAiABKAk6AjgBIsIBCgRUeXBlEhQKEFRZUEVfVU5TUEVDSUZJRUQQABIK", + "CgZQRVJTT04QARIMCghMT0NBVElPThACEhAKDE9SR0FOSVpBVElPThADEgkK", + "BUVWRU5UEAQSDwoLV09SS19PRl9BUlQQBRIRCg1DT05TVU1FUl9HT09EEAYS", + "CQoFT1RIRVIQBxIQCgxQSE9ORV9OVU1CRVIQCRILCgdBRERSRVNTEAoSCAoE", + "REFURRALEgoKBk5VTUJFUhAMEgkKBVBSSUNFEA0iKgoGSW50ZW50EgoKAmlk", + "GAEgASgJEhQKDGRpc3BsYXlfbmFtZRgCIAEoCSI/Cg9QaHJhc2VNYXRjaERh", + "dGESFgoOcGhyYXNlX21hdGNoZXIYASABKAkSFAoMZGlzcGxheV9uYW1lGAIg", + "ASgJIigKEERpYWxvZ2Zsb3dJbnRlbnQSFAoMZGlzcGxheV9uYW1lGAEgASgJ", + "IhIKEEludGVycnVwdGlvbkRhdGEiDQoLU2lsZW5jZURhdGEiCgoISG9sZERh", + "dGEijwIKEUVudGl0eU1lbnRpb25EYXRhEhgKEGVudGl0eV91bmlxdWVfaWQY", + "ASABKAkSUgoEdHlwZRgCIAEoDjJELmdvb2dsZS5jbG91ZC5jb250YWN0Y2Vu", + "dGVyaW5zaWdodHMudjEuRW50aXR5TWVudGlvbkRhdGEuTWVudGlvblR5cGUS", + "RwoJc2VudGltZW50GAMgASgLMjQuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50", + "ZXJpbnNpZ2h0cy52MS5TZW50aW1lbnREYXRhIkMKC01lbnRpb25UeXBlEhwK", + "GE1FTlRJT05fVFlQRV9VTlNQRUNJRklFRBAAEgoKBlBST1BFUhABEgoKBkNP", + "TU1PThACIisKD0ludGVudE1hdGNoRGF0YRIYChBpbnRlbnRfdW5pcXVlX2lk", + "GAEgASgJIjEKDVNlbnRpbWVudERhdGESEQoJbWFnbml0dWRlGAEgASgCEg0K", + "BXNjb3JlGAIgASgCImIKDklzc3VlTWF0Y2hEYXRhElAKEGlzc3VlX2Fzc2ln", + "bm1lbnQYASABKAsyNi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2ln", + "aHRzLnYxLklzc3VlQXNzaWdubWVudCLyBwoKSXNzdWVNb2RlbBIRCgRuYW1l", + "GAEgASgJQgPgQQUSFAoMZGlzcGxheV9uYW1lGAIgASgJEjQKC2NyZWF0ZV90", + "aW1lGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjQK", + "C3VwZGF0ZV90aW1lGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFt", + "cEID4EEDEhgKC2lzc3VlX2NvdW50GAggASgDQgPgQQMSSwoFc3RhdGUYBSAB", + "KA4yNy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLklz", + "c3VlTW9kZWwuU3RhdGVCA+BBAxJcChFpbnB1dF9kYXRhX2NvbmZpZxgGIAEo", + "CzJBLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuSXNz", + "dWVNb2RlbC5JbnB1dERhdGFDb25maWcSWwoOdHJhaW5pbmdfc3RhdHMYByAB", + "KAsyOy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLklz", + "c3VlTW9kZWxMYWJlbFN0YXRzQgbgQQPgQQUSTwoKbW9kZWxfdHlwZRgJIAEo", + "DjI7Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuSXNz", + "dWVNb2RlbC5Nb2RlbFR5cGUSFQoNbGFuZ3VhZ2VfY29kZRgKIAEoCRqcAQoP", + "SW5wdXREYXRhQ29uZmlnEk4KBm1lZGl1bRgBIAEoDjI6Lmdvb2dsZS5jbG91", + "ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQ29udmVyc2F0aW9uLk1lZGl1", + "bUICGAESKQocdHJhaW5pbmdfY29udmVyc2F0aW9uc19jb3VudBgCIAEoA0ID", + "4EEDEg4KBmZpbHRlchgDIAEoCSJqCgVTdGF0ZRIVChFTVEFURV9VTlNQRUNJ", + "RklFRBAAEg4KClVOREVQTE9ZRUQQARINCglERVBMT1lJTkcQAhIMCghERVBM", + "T1lFRBADEg8KC1VOREVQTE9ZSU5HEAQSDAoIREVMRVRJTkcQBSJBCglNb2Rl", + "bFR5cGUSGgoWTU9ERUxfVFlQRV9VTlNQRUNJRklFRBAAEgsKB1RZUEVfVjEQ", + "ARILCgdUWVBFX1YyEAI6d+pBdAovY29udGFjdGNlbnRlcmluc2lnaHRzLmdv", + "b2dsZWFwaXMuY29tL0lzc3VlTW9kZWwSQXByb2plY3RzL3twcm9qZWN0fS9s", + "b2NhdGlvbnMve2xvY2F0aW9ufS9pc3N1ZU1vZGVscy97aXNzdWVfbW9kZWx9", + "It0CCgVJc3N1ZRIRCgRuYW1lGAEgASgJQgPgQQUSFAoMZGlzcGxheV9uYW1l", + "GAIgASgJEjQKC2NyZWF0ZV90aW1lGAMgASgLMhouZ29vZ2xlLnByb3RvYnVm", + "LlRpbWVzdGFtcEID4EEDEjQKC3VwZGF0ZV90aW1lGAQgASgLMhouZ29vZ2xl", + "LnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEh4KEXNhbXBsZV91dHRlcmFuY2Vz", + "GAYgAygJQgPgQQMSGwoTZGlzcGxheV9kZXNjcmlwdGlvbhgOIAEoCTqBAepB", + "fgoqY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL0lzc3Vl", + "ElBwcm9qZWN0cy97cHJvamVjdH0vbG9jYXRpb25zL3tsb2NhdGlvbn0vaXNz", + "dWVNb2RlbHMve2lzc3VlX21vZGVsfS9pc3N1ZXMve2lzc3VlfSKbAwoUSXNz", + "dWVNb2RlbExhYmVsU3RhdHMSJAocYW5hbHl6ZWRfY29udmVyc2F0aW9uc19j", + "b3VudBgBIAEoAxIoCiB1bmNsYXNzaWZpZWRfY29udmVyc2F0aW9uc19jb3Vu", + "dBgCIAEoAxJgCgtpc3N1ZV9zdGF0cxgDIAMoCzJLLmdvb2dsZS5jbG91ZC5j", + "b250YWN0Y2VudGVyaW5zaWdodHMudjEuSXNzdWVNb2RlbExhYmVsU3RhdHMu", + "SXNzdWVTdGF0c0VudHJ5GlYKCklzc3VlU3RhdHMSDQoFaXNzdWUYASABKAkS", + "IwobbGFiZWxlZF9jb252ZXJzYXRpb25zX2NvdW50GAIgASgDEhQKDGRpc3Bs", + "YXlfbmFtZRgDIAEoCRp5Cg9Jc3N1ZVN0YXRzRW50cnkSCwoDa2V5GAEgASgJ", + "ElUKBXZhbHVlGAIgASgLMkYuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy52MS5Jc3N1ZU1vZGVsTGFiZWxTdGF0cy5Jc3N1ZVN0YXRzOgI4", + "ASKTBgoNUGhyYXNlTWF0Y2hlchIMCgRuYW1lGAEgASgJEhsKC3JldmlzaW9u", + "X2lkGAIgASgJQgbgQQXgQQMSEwoLdmVyc2lvbl90YWcYAyABKAkSPQoUcmV2", + "aXNpb25fY3JlYXRlX3RpbWUYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGlt", + "ZXN0YW1wQgPgQQMSFAoMZGlzcGxheV9uYW1lGAUgASgJElkKBHR5cGUYBiAB", + "KA4yRi5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlBo", + "cmFzZU1hdGNoZXIuUGhyYXNlTWF0Y2hlclR5cGVCA+BBAhIOCgZhY3RpdmUY", + "ByABKAgSXQoYcGhyYXNlX21hdGNoX3J1bGVfZ3JvdXBzGAggAygLMjsuZ29v", + "Z2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5QaHJhc2VNYXRj", + "aFJ1bGVHcm91cBI/ChZhY3RpdmF0aW9uX3VwZGF0ZV90aW1lGAkgASgLMhou", + "Z29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDElcKCnJvbGVfbWF0Y2gY", + "CiABKA4yQy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYx", + "LkNvbnZlcnNhdGlvblBhcnRpY2lwYW50LlJvbGUSNAoLdXBkYXRlX3RpbWUY", + "CyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPgQQMiUAoRUGhy", + "YXNlTWF0Y2hlclR5cGUSIwofUEhSQVNFX01BVENIRVJfVFlQRV9VTlNQRUNJ", + "RklFRBAAEgoKBkFMTF9PRhABEgoKBkFOWV9PRhACOoAB6kF9CjJjb250YWN0", + "Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBpcy5jb20vUGhyYXNlTWF0Y2hlchJH", + "cHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L3BocmFz", + "ZU1hdGNoZXJzL3twaHJhc2VfbWF0Y2hlcn0itQIKFFBocmFzZU1hdGNoUnVs", + "ZUdyb3VwEmcKBHR5cGUYASABKA4yVC5nb29nbGUuY2xvdWQuY29udGFjdGNl", + "bnRlcmluc2lnaHRzLnYxLlBocmFzZU1hdGNoUnVsZUdyb3VwLlBocmFzZU1h", + "dGNoUnVsZUdyb3VwVHlwZUID4EECElIKEnBocmFzZV9tYXRjaF9ydWxlcxgC", + "IAMoCzI2Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEu", + "UGhyYXNlTWF0Y2hSdWxlImAKGFBocmFzZU1hdGNoUnVsZUdyb3VwVHlwZRIs", + "CihQSFJBU0VfTUFUQ0hfUlVMRV9HUk9VUF9UWVBFX1VOU1BFQ0lGSUVEEAAS", + "CgoGQUxMX09GEAESCgoGQU5ZX09GEAIihAEKD1BocmFzZU1hdGNoUnVsZRIS", + "CgVxdWVyeRgBIAEoCUID4EECEg8KB25lZ2F0ZWQYAiABKAgSTAoGY29uZmln", + "GAMgASgLMjwuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52", + "MS5QaHJhc2VNYXRjaFJ1bGVDb25maWcieAoVUGhyYXNlTWF0Y2hSdWxlQ29u", + "ZmlnElUKEmV4YWN0X21hdGNoX2NvbmZpZxgBIAEoCzI3Lmdvb2dsZS5jbG91", + "ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuRXhhY3RNYXRjaENvbmZpZ0gA", + "QggKBmNvbmZpZyIqChBFeGFjdE1hdGNoQ29uZmlnEhYKDmNhc2Vfc2Vuc2l0", + "aXZlGAEgASgIIrwHCghTZXR0aW5ncxIRCgRuYW1lGAEgASgJQgPgQQUSNAoL", + "Y3JlYXRlX3RpbWUYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1w", + "QgPgQQMSNAoLdXBkYXRlX3RpbWUYAyABKAsyGi5nb29nbGUucHJvdG9idWYu", + "VGltZXN0YW1wQgPgQQMSFQoNbGFuZ3VhZ2VfY29kZRgEIAEoCRIzChBjb252", + "ZXJzYXRpb25fdHRsGAUgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9u", + "EnUKHHB1YnN1Yl9ub3RpZmljYXRpb25fc2V0dGluZ3MYBiADKAsyTy5nb29n", + "bGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlNldHRpbmdzLlB1", + "YnN1Yk5vdGlmaWNhdGlvblNldHRpbmdzRW50cnkSVwoPYW5hbHlzaXNfY29u", + "ZmlnGAcgASgLMj4uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy52MS5TZXR0aW5ncy5BbmFseXNpc0NvbmZpZxJQChByZWRhY3Rpb25fY29u", + "ZmlnGAogASgLMjYuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy52MS5SZWRhY3Rpb25Db25maWcSTwoNc3BlZWNoX2NvbmZpZxgLIAEoCzIz", + "Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuU3BlZWNo", + "Q29uZmlnQgPgQQEayAEKDkFuYWx5c2lzQ29uZmlnEi8KJ3J1bnRpbWVfaW50", + "ZWdyYXRpb25fYW5hbHlzaXNfcGVyY2VudGFnZRgBIAEoARIvCid1cGxvYWRf", + "Y29udmVyc2F0aW9uX2FuYWx5c2lzX3BlcmNlbnRhZ2UYBiABKAESVAoSYW5u", + "b3RhdG9yX3NlbGVjdG9yGAUgASgLMjguZ29vZ2xlLmNsb3VkLmNvbnRhY3Rj", + "ZW50ZXJpbnNpZ2h0cy52MS5Bbm5vdGF0b3JTZWxlY3RvchpBCh9QdWJzdWJO", + "b3RpZmljYXRpb25TZXR0aW5nc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1", + "ZRgCIAEoCToCOAE6ZOpBYQotY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2ds", + "ZWFwaXMuY29tL1NldHRpbmdzEjBwcm9qZWN0cy97cHJvamVjdH0vbG9jYXRp", + "b25zL3tsb2NhdGlvbn0vc2V0dGluZ3Mi9wMKDEFuYWx5c2lzUnVsZRIRCgRu", + "YW1lGAEgASgJQgPgQQgSNAoLY3JlYXRlX3RpbWUYAiABKAsyGi5nb29nbGUu", + "cHJvdG9idWYuVGltZXN0YW1wQgPgQQMSNAoLdXBkYXRlX3RpbWUYAyABKAsy", + "Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPgQQMSGQoMZGlzcGxheV9u", + "YW1lGAQgASgJSACIAQESGwoTY29udmVyc2F0aW9uX2ZpbHRlchgFIAEoCRJU", + "ChJhbm5vdGF0b3Jfc2VsZWN0b3IYBiABKAsyOC5nb29nbGUuY2xvdWQuY29u", + "dGFjdGNlbnRlcmluc2lnaHRzLnYxLkFubm90YXRvclNlbGVjdG9yEhsKE2Fu", + "YWx5c2lzX3BlcmNlbnRhZ2UYByABKAESDgoGYWN0aXZlGAggASgIOpsB6kGX", + "AQoxY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL0FuYWx5", + "c2lzUnVsZRJFcHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRp", + "b259L2FuYWx5c2lzUnVsZXMve2FuYWx5c2lzX3J1bGV9Kg1hbmFseXNpc1J1", + "bGVzMgxhbmFseXNpc1J1bGVCDwoNX2Rpc3BsYXlfbmFtZSKrAQoORW5jcnlw", + "dGlvblNwZWMSEQoEbmFtZRgBIAEoCUID4EEFEhQKB2ttc19rZXkYAiABKAlC", + "A+BBAjpw6kFtCjNjb250YWN0Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBpcy5j", + "b20vRW5jcnlwdGlvblNwZWMSNnByb2plY3RzL3twcm9qZWN0fS9sb2NhdGlv", + "bnMve2xvY2F0aW9ufS9lbmNyeXB0aW9uU3BlYyJICg9SZWRhY3Rpb25Db25m", + "aWcSGwoTZGVpZGVudGlmeV90ZW1wbGF0ZRgBIAEoCRIYChBpbnNwZWN0X3Rl", + "bXBsYXRlGAIgASgJIlAKDFNwZWVjaENvbmZpZxJAChFzcGVlY2hfcmVjb2du", + "aXplchgBIAEoCUIl+kEiCiBzcGVlY2guZ29vZ2xlYXBpcy5jb20vUmVjb2du", + "aXplciLfCQoRUnVudGltZUFubm90YXRpb24SWgoSYXJ0aWNsZV9zdWdnZXN0", + "aW9uGAYgASgLMjwuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy52MS5BcnRpY2xlU3VnZ2VzdGlvbkRhdGFIABJKCgpmYXFfYW5zd2VyGAcg", + "ASgLMjQuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5G", + "YXFBbnN3ZXJEYXRhSAASTAoLc21hcnRfcmVwbHkYCCABKAsyNS5nb29nbGUu", + "Y2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlNtYXJ0UmVwbHlEYXRh", + "SAASZQoYc21hcnRfY29tcG9zZV9zdWdnZXN0aW9uGAkgASgLMkEuZ29vZ2xl", + "LmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5TbWFydENvbXBvc2VT", + "dWdnZXN0aW9uRGF0YUgAEmIKFmRpYWxvZ2Zsb3dfaW50ZXJhY3Rpb24YCiAB", + "KAsyQC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLkRp", + "YWxvZ2Zsb3dJbnRlcmFjdGlvbkRhdGFIABJ/CiVjb252ZXJzYXRpb25fc3Vt", + "bWFyaXphdGlvbl9zdWdnZXN0aW9uGAwgASgLMk4uZ29vZ2xlLmNsb3VkLmNv", + "bnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5Db252ZXJzYXRpb25TdW1tYXJpemF0", + "aW9uU3VnZ2VzdGlvbkRhdGFIABIVCg1hbm5vdGF0aW9uX2lkGAEgASgJEi8K", + "C2NyZWF0ZV90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFt", + "cBJRCg5zdGFydF9ib3VuZGFyeRgDIAEoCzI5Lmdvb2dsZS5jbG91ZC5jb250", + "YWN0Y2VudGVyaW5zaWdodHMudjEuQW5ub3RhdGlvbkJvdW5kYXJ5Ek8KDGVu", + "ZF9ib3VuZGFyeRgEIAEoCzI5Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVy", + "aW5zaWdodHMudjEuQW5ub3RhdGlvbkJvdW5kYXJ5Ek4KD2Fuc3dlcl9mZWVk", + "YmFjaxgFIAEoCzI1Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdo", + "dHMudjEuQW5zd2VyRmVlZGJhY2sSVgoKdXNlcl9pbnB1dBgQIAEoCzJCLmdv", + "b2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuUnVudGltZUFu", + "bm90YXRpb24uVXNlcklucHV0GusBCglVc2VySW5wdXQSDQoFcXVlcnkYASAB", + "KAkSFgoOZ2VuZXJhdG9yX25hbWUYAiABKAkSZAoMcXVlcnlfc291cmNlGAMg", + "ASgOMk4uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5S", + "dW50aW1lQW5ub3RhdGlvbi5Vc2VySW5wdXQuUXVlcnlTb3VyY2UiUQoLUXVl", + "cnlTb3VyY2USHAoYUVVFUllfU09VUkNFX1VOU1BFQ0lGSUVEEAASDwoLQUdF", + "TlRfUVVFUlkQARITCg9TVUdHRVNURURfUVVFUlkQAkIGCgRkYXRhIokCCg5B", + "bnN3ZXJGZWVkYmFjaxJhChFjb3JyZWN0bmVzc19sZXZlbBgBIAEoDjJGLmdv", + "b2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQW5zd2VyRmVl", + "ZGJhY2suQ29ycmVjdG5lc3NMZXZlbBIPCgdjbGlja2VkGAIgASgIEhEKCWRp", + "c3BsYXllZBgDIAEoCCJwChBDb3JyZWN0bmVzc0xldmVsEiEKHUNPUlJFQ1RO", + "RVNTX0xFVkVMX1VOU1BFQ0lGSUVEEAASDwoLTk9UX0NPUlJFQ1QQARIVChFQ", + "QVJUSUFMTFlfQ09SUkVDVBACEhEKDUZVTExZX0NPUlJFQ1QQAyKCAgoVQXJ0", + "aWNsZVN1Z2dlc3Rpb25EYXRhEg0KBXRpdGxlGAEgASgJEgsKA3VyaRgCIAEo", + "CRIYChBjb25maWRlbmNlX3Njb3JlGAMgASgCElwKCG1ldGFkYXRhGAQgAygL", + "MkouZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5BcnRp", + "Y2xlU3VnZ2VzdGlvbkRhdGEuTWV0YWRhdGFFbnRyeRIUCgxxdWVyeV9yZWNv", + "cmQYBSABKAkSDgoGc291cmNlGAYgASgJGi8KDU1ldGFkYXRhRW50cnkSCwoD", + "a2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASL4AQoNRmFxQW5zd2VyRGF0", + "YRIOCgZhbnN3ZXIYASABKAkSGAoQY29uZmlkZW5jZV9zY29yZRgCIAEoAhIQ", + "CghxdWVzdGlvbhgDIAEoCRJUCghtZXRhZGF0YRgEIAMoCzJCLmdvb2dsZS5j", + "bG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuRmFxQW5zd2VyRGF0YS5N", + "ZXRhZGF0YUVudHJ5EhQKDHF1ZXJ5X3JlY29yZBgFIAEoCRIOCgZzb3VyY2UY", + "BiABKAkaLwoNTWV0YWRhdGFFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUY", + "AiABKAk6AjgBItcBCg5TbWFydFJlcGx5RGF0YRINCgVyZXBseRgBIAEoCRIY", + "ChBjb25maWRlbmNlX3Njb3JlGAIgASgBElUKCG1ldGFkYXRhGAMgAygLMkMu", + "Z29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5TbWFydFJl", + "cGx5RGF0YS5NZXRhZGF0YUVudHJ5EhQKDHF1ZXJ5X3JlY29yZBgEIAEoCRov", + "Cg1NZXRhZGF0YUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToC", + "OAEi9AEKGlNtYXJ0Q29tcG9zZVN1Z2dlc3Rpb25EYXRhEhIKCnN1Z2dlc3Rp", + "b24YASABKAkSGAoQY29uZmlkZW5jZV9zY29yZRgCIAEoARJhCghtZXRhZGF0", + "YRgDIAMoCzJPLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMu", + "djEuU21hcnRDb21wb3NlU3VnZ2VzdGlvbkRhdGEuTWV0YWRhdGFFbnRyeRIU", + "CgxxdWVyeV9yZWNvcmQYBCABKAkaLwoNTWV0YWRhdGFFbnRyeRILCgNrZXkY", + "ASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIk0KGURpYWxvZ2Zsb3dJbnRlcmFj", + "dGlvbkRhdGESHAoUZGlhbG9nZmxvd19pbnRlbnRfaWQYASABKAkSEgoKY29u", + "ZmlkZW5jZRgCIAEoAiLNAwonQ29udmVyc2F0aW9uU3VtbWFyaXphdGlvblN1", + "Z2dlc3Rpb25EYXRhEgwKBHRleHQYASABKAkSdwoNdGV4dF9zZWN0aW9ucxgF", + "IAMoCzJgLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEu", + "Q29udmVyc2F0aW9uU3VtbWFyaXphdGlvblN1Z2dlc3Rpb25EYXRhLlRleHRT", + "ZWN0aW9uc0VudHJ5EhIKCmNvbmZpZGVuY2UYAiABKAISbgoIbWV0YWRhdGEY", + "AyADKAsyXC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYx", + "LkNvbnZlcnNhdGlvblN1bW1hcml6YXRpb25TdWdnZXN0aW9uRGF0YS5NZXRh", + "ZGF0YUVudHJ5EhUKDWFuc3dlcl9yZWNvcmQYBCABKAkSGgoSY29udmVyc2F0", + "aW9uX21vZGVsGAYgASgJGjMKEVRleHRTZWN0aW9uc0VudHJ5EgsKA2tleRgB", + "IAEoCRINCgV2YWx1ZRgCIAEoCToCOAEaLwoNTWV0YWRhdGFFbnRyeRILCgNr", + "ZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIosDChdDb252ZXJzYXRpb25Q", + "YXJ0aWNpcGFudBJRChtkaWFsb2dmbG93X3BhcnRpY2lwYW50X25hbWUYBSAB", + "KAlCKvpBJwolZGlhbG9nZmxvdy5nb29nbGVhcGlzLmNvbS9QYXJ0aWNpcGFu", + "dEgAEhEKB3VzZXJfaWQYBiABKAlIABIiChZkaWFsb2dmbG93X3BhcnRpY2lw", + "YW50GAEgASgJQgIYARIjChtvYmZ1c2NhdGVkX2V4dGVybmFsX3VzZXJfaWQY", + "AyABKAkSUQoEcm9sZRgCIAEoDjJDLmdvb2dsZS5jbG91ZC5jb250YWN0Y2Vu", + "dGVyaW5zaWdodHMudjEuQ29udmVyc2F0aW9uUGFydGljaXBhbnQuUm9sZSJf", + "CgRSb2xlEhQKEFJPTEVfVU5TUEVDSUZJRUQQABIPCgtIVU1BTl9BR0VOVBAB", + "EhMKD0FVVE9NQVRFRF9BR0VOVBACEgwKCEVORF9VU0VSEAMSDQoJQU5ZX0FH", + "RU5UEARCDQoLcGFydGljaXBhbnQikAIKBFZpZXcSEQoEbmFtZRgBIAEoCUID", + "4EEFEhQKDGRpc3BsYXlfbmFtZRgCIAEoCRI0CgtjcmVhdGVfdGltZRgDIAEo", + "CzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCA+BBAxI0Cgt1cGRhdGVf", + "dGltZRgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCA+BBAxIN", + "CgV2YWx1ZRgFIAEoCTpk6kFhCiljb250YWN0Y2VudGVyaW5zaWdodHMuZ29v", + "Z2xlYXBpcy5jb20vVmlldxI0cHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9u", + "cy97bG9jYXRpb259L3ZpZXdzL3t2aWV3fSL7CQoRQW5ub3RhdG9yU2VsZWN0", + "b3ISIgoacnVuX2ludGVycnVwdGlvbl9hbm5vdGF0b3IYASABKAgSHQoVcnVu", + "X3NpbGVuY2VfYW5ub3RhdG9yGAIgASgIEiQKHHJ1bl9waHJhc2VfbWF0Y2hl", + "cl9hbm5vdGF0b3IYAyABKAgSUAoPcGhyYXNlX21hdGNoZXJzGAQgAygJQjf6", + "QTQKMmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9QaHJh", + "c2VNYXRjaGVyEh8KF3J1bl9zZW50aW1lbnRfYW5ub3RhdG9yGAUgASgIEhwK", + "FHJ1bl9lbnRpdHlfYW5ub3RhdG9yGAYgASgIEhwKFHJ1bl9pbnRlbnRfYW5u", + "b3RhdG9yGAcgASgIEiEKGXJ1bl9pc3N1ZV9tb2RlbF9hbm5vdGF0b3IYCCAB", + "KAgSSgoMaXNzdWVfbW9kZWxzGAogAygJQjT6QTEKL2NvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy5nb29nbGVhcGlzLmNvbS9Jc3N1ZU1vZGVsEiMKG3J1bl9zdW1t", + "YXJpemF0aW9uX2Fubm90YXRvchgJIAEoCBJqChRzdW1tYXJpemF0aW9uX2Nv", + "bmZpZxgLIAEoCzJMLmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdo", + "dHMudjEuQW5ub3RhdG9yU2VsZWN0b3IuU3VtbWFyaXphdGlvbkNvbmZpZxIY", + "ChBydW5fcWFfYW5ub3RhdG9yGAwgASgIElQKCXFhX2NvbmZpZxgNIAEoCzJB", + "Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuQW5ub3Rh", + "dG9yU2VsZWN0b3IuUWFDb25maWca4QIKE1N1bW1hcml6YXRpb25Db25maWcS", + "UgoUY29udmVyc2F0aW9uX3Byb2ZpbGUYASABKAlCMvpBLwotZGlhbG9nZmxv", + "dy5nb29nbGVhcGlzLmNvbS9Db252ZXJzYXRpb25Qcm9maWxlSAASfgoTc3Vt", + "bWFyaXphdGlvbl9tb2RlbBgCIAEoDjJfLmdvb2dsZS5jbG91ZC5jb250YWN0", + "Y2VudGVyaW5zaWdodHMudjEuQW5ub3RhdG9yU2VsZWN0b3IuU3VtbWFyaXph", + "dGlvbkNvbmZpZy5TdW1tYXJpemF0aW9uTW9kZWxIACJmChJTdW1tYXJpemF0", + "aW9uTW9kZWwSIwofU1VNTUFSSVpBVElPTl9NT0RFTF9VTlNQRUNJRklFRBAA", + "EhIKDkJBU0VMSU5FX01PREVMEAESFwoTQkFTRUxJTkVfTU9ERUxfVjJfMBAC", + "Qg4KDG1vZGVsX3NvdXJjZRr5AQoIUWFDb25maWcSaQoOc2NvcmVjYXJkX2xp", + "c3QYASABKAsyTy5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRz", + "LnYxLkFubm90YXRvclNlbGVjdG9yLlFhQ29uZmlnLlNjb3JlY2FyZExpc3RI", + "ABpuCg1TY29yZWNhcmRMaXN0El0KFnFhX3Njb3JlY2FyZF9yZXZpc2lvbnMY", + "ASADKAlCPfpBOgo4Y29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMu", + "Y29tL1FhU2NvcmVjYXJkUmV2aXNpb25CEgoQc2NvcmVjYXJkX3NvdXJjZSKh", + "CAoKUWFRdWVzdGlvbhIRCgRuYW1lGAEgASgJQgPgQQgSFAoMYWJicmV2aWF0", + "aW9uGAIgASgJEjQKC2NyZWF0ZV90aW1lGAMgASgLMhouZ29vZ2xlLnByb3Rv", + "YnVmLlRpbWVzdGFtcEID4EEDEjQKC3VwZGF0ZV90aW1lGAQgASgLMhouZ29v", + "Z2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEhUKDXF1ZXN0aW9uX2JvZHkY", + "BSABKAkSGwoTYW5zd2VyX2luc3RydWN0aW9ucxgJIAEoCRJWCg5hbnN3ZXJf", + "Y2hvaWNlcxgGIAMoCzI+Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5z", + "aWdodHMudjEuUWFRdWVzdGlvbi5BbnN3ZXJDaG9pY2USDAoEdGFncxgHIAMo", + "CRINCgVvcmRlchgIIAEoBRJKCgdtZXRyaWNzGAogASgLMjkuZ29vZ2xlLmNs", + "b3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5RYVF1ZXN0aW9uLk1ldHJp", + "Y3MSWQoPdHVuaW5nX21ldGFkYXRhGAsgASgLMkAuZ29vZ2xlLmNsb3VkLmNv", + "bnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5RYVF1ZXN0aW9uLlR1bmluZ01ldGFk", + "YXRhGpYBCgxBbnN3ZXJDaG9pY2USEwoJc3RyX3ZhbHVlGAIgASgJSAASEwoJ", + "bnVtX3ZhbHVlGAMgASgBSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEhIKCG5h", + "X3ZhbHVlGAUgASgISAASCwoDa2V5GAEgASgJEhIKBXNjb3JlGAYgASgBSAGI", + "AQFCBwoFdmFsdWVCCAoGX3Njb3JlGiAKB01ldHJpY3MSFQoIYWNjdXJhY3kY", + "ASABKAFCA+BBAxqtAQoOVHVuaW5nTWV0YWRhdGESHwoXdG90YWxfdmFsaWRf", + "bGFiZWxfY291bnQYASABKAMSZAobZGF0YXNldF92YWxpZGF0aW9uX3dhcm5p", + "bmdzGAIgAygOMj8uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy52MS5EYXRhc2V0VmFsaWRhdGlvbldhcm5pbmcSFAoMdHVuaW5nX2Vycm9y", + "GAMgASgJOsIB6kG+AQovY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFw", + "aXMuY29tL1FhUXVlc3Rpb24ScnByb2plY3RzL3twcm9qZWN0fS9sb2NhdGlv", + "bnMve2xvY2F0aW9ufS9xYVNjb3JlY2FyZHMve3FhX3Njb3JlY2FyZH0vcmV2", + "aXNpb25zL3tyZXZpc2lvbn0vcWFRdWVzdGlvbnMve3FhX3F1ZXN0aW9ufSoL", + "cWFRdWVzdGlvbnMyCnFhUXVlc3Rpb24i0AIKC1FhU2NvcmVjYXJkEhEKBG5h", + "bWUYASABKAlCA+BBCBIUCgxkaXNwbGF5X25hbWUYByABKAkSEwoLZGVzY3Jp", + "cHRpb24YAiABKAkSNAoLY3JlYXRlX3RpbWUYAyABKAsyGi5nb29nbGUucHJv", + "dG9idWYuVGltZXN0YW1wQgPgQQMSNAoLdXBkYXRlX3RpbWUYBCABKAsyGi5n", + "b29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPgQQM6lgHqQZIBCjBjb250YWN0", + "Y2VudGVyaW5zaWdodHMuZ29vZ2xlYXBpcy5jb20vUWFTY29yZWNhcmQSQ3By", + "b2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0aW9ufS9xYVNjb3Jl", + "Y2FyZHMve3FhX3Njb3JlY2FyZH0qDHFhU2NvcmVjYXJkczILcWFTY29yZWNh", + "cmQi3wQKE1FhU2NvcmVjYXJkUmV2aXNpb24SEQoEbmFtZRgBIAEoCUID4EEI", + "EkQKCHNuYXBzaG90GAIgASgLMjIuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50", + "ZXJpbnNpZ2h0cy52MS5RYVNjb3JlY2FyZBI0CgtjcmVhdGVfdGltZRgDIAEo", + "CzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCA+BBAxIaCg1hbHRlcm5h", + "dGVfaWRzGAQgAygJQgPgQQMSVAoFc3RhdGUYBSABKA4yQC5nb29nbGUuY2xv", + "dWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxLlFhU2NvcmVjYXJkUmV2aXNp", + "b24uU3RhdGVCA+BBAyKAAQoFU3RhdGUSFQoRU1RBVEVfVU5TUEVDSUZJRUQQ", + "ABIMCghFRElUQUJMRRAMEgwKCFRSQUlOSU5HEAISEwoPVFJBSU5JTkdfRkFJ", + "TEVEEAkSCQoFUkVBRFkQCxIMCghERUxFVElORxAHEhYKElRSQUlOSU5HX0NB", + "TkNFTExFRBAOOsMB6kG/AQo4Y29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2ds", + "ZWFwaXMuY29tL1FhU2NvcmVjYXJkUmV2aXNpb24SWHByb2plY3RzL3twcm9q", + "ZWN0fS9sb2NhdGlvbnMve2xvY2F0aW9ufS9xYVNjb3JlY2FyZHMve3FhX3Nj", + "b3JlY2FyZH0vcmV2aXNpb25zL3tyZXZpc2lvbn0qFHFhU2NvcmVjYXJkUmV2", + "aXNpb25zMhNxYVNjb3JlY2FyZFJldmlzaW9uIpIHCghRYUFuc3dlchJJCgtx", + "YV9xdWVzdGlvbhgHIAEoCUI0+kExCi9jb250YWN0Y2VudGVyaW5zaWdodHMu", + "Z29vZ2xlYXBpcy5jb20vUWFRdWVzdGlvbhJMCgxjb252ZXJzYXRpb24YAiAB", + "KAlCNvpBMwoxY29udGFjdGNlbnRlcmluc2lnaHRzLmdvb2dsZWFwaXMuY29t", + "L0NvbnZlcnNhdGlvbhIVCg1xdWVzdGlvbl9ib2R5GAYgASgJElEKDGFuc3dl", + "cl92YWx1ZRgDIAEoCzI7Lmdvb2dsZS5jbG91ZC5jb250YWN0Y2VudGVyaW5z", + "aWdodHMudjEuUWFBbnN3ZXIuQW5zd2VyVmFsdWUSDAoEdGFncxgFIAMoCRJU", + "Cg5hbnN3ZXJfc291cmNlcxgIIAMoCzI8Lmdvb2dsZS5jbG91ZC5jb250YWN0", + "Y2VudGVyaW5zaWdodHMudjEuUWFBbnN3ZXIuQW5zd2VyU291cmNlGooCCgtB", + "bnN3ZXJWYWx1ZRITCglzdHJfdmFsdWUYAiABKAlIABITCgludW1fdmFsdWUY", + "AyABKAFIABIUCgpib29sX3ZhbHVlGAQgASgISAASEgoIbmFfdmFsdWUYBSAB", + "KAhIABILCgNrZXkYASABKAkSFwoFc2NvcmUYBiABKAFCA+BBA0gBiAEBEiEK", + "D3BvdGVudGlhbF9zY29yZRgHIAEoAUID4EEDSAKIAQESIgoQbm9ybWFsaXpl", + "ZF9zY29yZRgIIAEoAUID4EEDSAOIAQFCBwoFdmFsdWVCCAoGX3Njb3JlQhIK", + "EF9wb3RlbnRpYWxfc2NvcmVCEwoRX25vcm1hbGl6ZWRfc2NvcmUakQIKDEFu", + "c3dlclNvdXJjZRJcCgtzb3VyY2VfdHlwZRgBIAEoDjJHLmdvb2dsZS5jbG91", + "ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuUWFBbnN3ZXIuQW5zd2VyU291", + "cmNlLlNvdXJjZVR5cGUSUQoMYW5zd2VyX3ZhbHVlGAIgASgLMjsuZ29vZ2xl", + "LmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0cy52MS5RYUFuc3dlci5BbnN3", + "ZXJWYWx1ZSJQCgpTb3VyY2VUeXBlEhsKF1NPVVJDRV9UWVBFX1VOU1BFQ0lG", + "SUVEEAASFAoQU1lTVEVNX0dFTkVSQVRFRBABEg8KC01BTlVBTF9FRElUEAIi", + "sAsKEVFhU2NvcmVjYXJkUmVzdWx0EhEKBG5hbWUYASABKAlCA+BBCBJcChVx", + "YV9zY29yZWNhcmRfcmV2aXNpb24YAiABKAlCPfpBOgo4Y29udGFjdGNlbnRl", + "cmluc2lnaHRzLmdvb2dsZWFwaXMuY29tL1FhU2NvcmVjYXJkUmV2aXNpb24S", + "TAoMY29udmVyc2F0aW9uGAMgASgJQjb6QTMKMWNvbnRhY3RjZW50ZXJpbnNp", + "Z2h0cy5nb29nbGVhcGlzLmNvbS9Db252ZXJzYXRpb24SNAoLY3JlYXRlX3Rp", + "bWUYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPgQQMSEAoI", + "YWdlbnRfaWQYBSABKAkSQwoKcWFfYW5zd2VycxgGIAMoCzIvLmdvb2dsZS5j", + "bG91ZC5jb250YWN0Y2VudGVyaW5zaWdodHMudjEuUWFBbnN3ZXISEgoFc2Nv", + "cmUYByABKAFIAIgBARIcCg9wb3RlbnRpYWxfc2NvcmUYCCABKAFIAYgBARId", + "ChBub3JtYWxpemVkX3Njb3JlGAkgASgBSAKIAQESXAoOcWFfdGFnX3Jlc3Vs", + "dHMYCiADKAsyRC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRz", + "LnYxLlFhU2NvcmVjYXJkUmVzdWx0LlFhVGFnUmVzdWx0ElsKDXNjb3JlX3Nv", + "dXJjZXMYCyADKAsyRC5nb29nbGUuY2xvdWQuY29udGFjdGNlbnRlcmluc2ln", + "aHRzLnYxLlFhU2NvcmVjYXJkUmVzdWx0LlNjb3JlU291cmNlGp4BCgtRYVRh", + "Z1Jlc3VsdBILCgN0YWcYASABKAkSEgoFc2NvcmUYAiABKAFIAIgBARIcCg9w", + "b3RlbnRpYWxfc2NvcmUYAyABKAFIAYgBARIdChBub3JtYWxpemVkX3Njb3Jl", + "GAQgASgBSAKIAQFCCAoGX3Njb3JlQhIKEF9wb3RlbnRpYWxfc2NvcmVCEwoR", + "X25vcm1hbGl6ZWRfc2NvcmUatgMKC1Njb3JlU291cmNlEmQKC3NvdXJjZV90", + "eXBlGAEgASgOMk8uZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy52MS5RYVNjb3JlY2FyZFJlc3VsdC5TY29yZVNvdXJjZS5Tb3VyY2VUeXBl", + "EhIKBXNjb3JlGAIgASgBSACIAQESHAoPcG90ZW50aWFsX3Njb3JlGAMgASgB", + "SAGIAQESHQoQbm9ybWFsaXplZF9zY29yZRgEIAEoAUgCiAEBElwKDnFhX3Rh", + "Z19yZXN1bHRzGAUgAygLMkQuZ29vZ2xlLmNsb3VkLmNvbnRhY3RjZW50ZXJp", + "bnNpZ2h0cy52MS5RYVNjb3JlY2FyZFJlc3VsdC5RYVRhZ1Jlc3VsdCJfCgpT", + "b3VyY2VUeXBlEhsKF1NPVVJDRV9UWVBFX1VOU1BFQ0lGSUVEEAASGQoVU1lT", + "VEVNX0dFTkVSQVRFRF9PTkxZEAESGQoVSU5DTFVERVNfTUFOVUFMX0VESVRT", + "EAJCCAoGX3Njb3JlQhIKEF9wb3RlbnRpYWxfc2NvcmVCEwoRX25vcm1hbGl6", + "ZWRfc2NvcmU6tQHqQbEBCjZjb250YWN0Y2VudGVyaW5zaWdodHMuZ29vZ2xl", + "YXBpcy5jb20vUWFTY29yZWNhcmRSZXN1bHQSUHByb2plY3RzL3twcm9qZWN0", + "fS9sb2NhdGlvbnMve2xvY2F0aW9ufS9xYVNjb3JlY2FyZFJlc3VsdHMve3Fh", + "X3Njb3JlY2FyZF9yZXN1bHR9KhJxYVNjb3JlY2FyZFJlc3VsdHMyEXFhU2Nv", + "cmVjYXJkUmVzdWx0QggKBl9zY29yZUISChBfcG90ZW50aWFsX3Njb3JlQhMK", + "EV9ub3JtYWxpemVkX3Njb3JlKukBChhEYXRhc2V0VmFsaWRhdGlvbldhcm5p", + "bmcSKgomREFUQVNFVF9WQUxJREFUSU9OX1dBUk5JTkdfVU5TUEVDSUZJRUQQ", + "ABIkCiBUT09fTUFOWV9JTlZBTElEX0ZFRURCQUNLX0xBQkVMUxABEiAKHElO", + "U1VGRklDSUVOVF9GRUVEQkFDS19MQUJFTFMQAhIrCidJTlNVRkZJQ0lFTlRf", + "RkVFREJBQ0tfTEFCRUxTX1BFUl9BTlNXRVIQAxIsCihBTExfRkVFREJBQ0tf", + "TEFCRUxTX0hBVkVfVEhFX1NBTUVfQU5TV0VSEARC4AUKKWNvbS5nb29nbGUu", + "Y2xvdWQuY29udGFjdGNlbnRlcmluc2lnaHRzLnYxQg5SZXNvdXJjZXNQcm90", + "b1ABWl9jbG91ZC5nb29nbGUuY29tL2dvL2NvbnRhY3RjZW50ZXJpbnNpZ2h0", + "cy9hcGl2MS9jb250YWN0Y2VudGVyaW5zaWdodHNwYjtjb250YWN0Y2VudGVy", + "aW5zaWdodHNwYqoCJUdvb2dsZS5DbG91ZC5Db250YWN0Q2VudGVySW5zaWdo", + "dHMuVjHKAiVHb29nbGVcQ2xvdWRcQ29udGFjdENlbnRlckluc2lnaHRzXFYx", + "6gIoR29vZ2xlOjpDbG91ZDo6Q29udGFjdENlbnRlckluc2lnaHRzOjpWMepB", + "hAEKLWRpYWxvZ2Zsb3cuZ29vZ2xlYXBpcy5jb20vQ29udmVyc2F0aW9uUHJv", + "ZmlsZRJTcHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259", + "L2NvbnZlcnNhdGlvblByb2ZpbGVzL3tjb252ZXJzYXRpb25fcHJvZmlsZX3q", + "QdQBCiVkaWFsb2dmbG93Lmdvb2dsZWFwaXMuY29tL1BhcnRpY2lwYW50Ekpw", + "cm9qZWN0cy97cHJvamVjdH0vY29udmVyc2F0aW9ucy97Y29udmVyc2F0aW9u", + "fS9wYXJ0aWNpcGFudHMve3BhcnRpY2lwYW50fRJfcHJvamVjdHMve3Byb2pl", + "Y3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2NvbnZlcnNhdGlvbnMve2NvbnZl", + "cnNhdGlvbn0vcGFydGljaXBhbnRzL3twYXJ0aWNpcGFudH3qQWQKIHNwZWVj", + "aC5nb29nbGVhcGlzLmNvbS9SZWNvZ25pemVyEkBwcm9qZWN0cy97cHJvamVj", + "dH0vbG9jYXRpb25zL3tsb2NhdGlvbn0vcmVjb2duaXplcnMve3JlY29nbml6", + "ZXJ9YgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.ContactCenterInsights.V1.DatasetValidationWarning), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Conversation), global::Google.Cloud.ContactCenterInsights.V1.Conversation.Parser, new[]{ "CallMetadata", "ExpireTime", "Ttl", "Name", "DataSource", "CreateTime", "UpdateTime", "StartTime", "LanguageCode", "AgentId", "Labels", "QualityMetadata", "MetadataJson", "Transcript", "Medium", "Duration", "TurnCount", "LatestAnalysis", "LatestSummary", "RuntimeAnnotations", "DialogflowIntents", "ObfuscatedUserId" }, new[]{ "Metadata", "Expiration" }, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.CallMetadata), global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.CallMetadata.Parser, new[]{ "CustomerChannel", "AgentChannel" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.QualityMetadata), global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.QualityMetadata.Parser, new[]{ "CustomerSatisfactionRating", "WaitDuration", "MenuPath", "AgentInfo" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.QualityMetadata.Types.AgentInfo), global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.QualityMetadata.Types.AgentInfo.Parser, new[]{ "AgentId", "DisplayName", "Team", "DispositionCode", "AgentType" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript), global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Parser, new[]{ "TranscriptSegments" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment), global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Parser, new[]{ "MessageTime", "Text", "Confidence", "Words", "LanguageCode", "ChannelTag", "SegmentParticipant", "DialogflowSegmentMetadata", "Sentiment" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Types.WordInfo), global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Types.WordInfo.Parser, new[]{ "StartOffset", "EndOffset", "Word", "Confidence" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata), global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata.Parser, new[]{ "SmartReplyAllowlistCovered" }, null, null, null, null)})}), + null, null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Analysis), global::Google.Cloud.ContactCenterInsights.V1.Analysis.Parser, new[]{ "Name", "RequestTime", "CreateTime", "AnalysisResult", "AnnotatorSelector" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ConversationDataSource), global::Google.Cloud.ContactCenterInsights.V1.ConversationDataSource.Parser, new[]{ "GcsSource", "DialogflowSource" }, new[]{ "Source" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.GcsSource), global::Google.Cloud.ContactCenterInsights.V1.GcsSource.Parser, new[]{ "AudioUri", "TranscriptUri" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DialogflowSource), global::Google.Cloud.ContactCenterInsights.V1.DialogflowSource.Parser, new[]{ "DialogflowConversation", "AudioUri" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult), global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult.Parser, new[]{ "CallAnalysisMetadata", "EndTime" }, new[]{ "Metadata" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult.Types.CallAnalysisMetadata), global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult.Types.CallAnalysisMetadata.Parser, new[]{ "Annotations", "Entities", "Sentiments", "Silence", "Intents", "PhraseMatchers", "IssueModelResult", "QaScorecardResults" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, null, })}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IssueModelResult), global::Google.Cloud.ContactCenterInsights.V1.IssueModelResult.Parser, new[]{ "IssueModel", "Issues" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel), global::Google.Cloud.ContactCenterInsights.V1.FeedbackLabel.Parser, new[]{ "Label", "QaAnswerLabel", "Name", "LabeledResource", "CreateTime", "UpdateTime" }, new[]{ "LabelType" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ConversationLevelSentiment), global::Google.Cloud.ContactCenterInsights.V1.ConversationLevelSentiment.Parser, new[]{ "ChannelTag", "SentimentData" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ConversationLevelSilence), global::Google.Cloud.ContactCenterInsights.V1.ConversationLevelSilence.Parser, new[]{ "SilenceDuration", "SilencePercentage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IssueAssignment), global::Google.Cloud.ContactCenterInsights.V1.IssueAssignment.Parser, new[]{ "Issue", "Score", "DisplayName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.CallAnnotation), global::Google.Cloud.ContactCenterInsights.V1.CallAnnotation.Parser, new[]{ "InterruptionData", "SentimentData", "SilenceData", "HoldData", "EntityMentionData", "IntentMatchData", "PhraseMatchData", "IssueMatchData", "ChannelTag", "AnnotationStartBoundary", "AnnotationEndBoundary" }, new[]{ "Data" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary), global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary.Parser, new[]{ "WordIndex", "TranscriptIndex" }, new[]{ "DetailedBoundary" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Entity), global::Google.Cloud.ContactCenterInsights.V1.Entity.Parser, new[]{ "DisplayName", "Type", "Metadata", "Salience", "Sentiment" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.Entity.Types.Type) }, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Intent), global::Google.Cloud.ContactCenterInsights.V1.Intent.Parser, new[]{ "Id", "DisplayName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchData), global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchData.Parser, new[]{ "PhraseMatcher", "DisplayName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DialogflowIntent), global::Google.Cloud.ContactCenterInsights.V1.DialogflowIntent.Parser, new[]{ "DisplayName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.InterruptionData), global::Google.Cloud.ContactCenterInsights.V1.InterruptionData.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.SilenceData), global::Google.Cloud.ContactCenterInsights.V1.SilenceData.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.HoldData), global::Google.Cloud.ContactCenterInsights.V1.HoldData.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData), global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Parser, new[]{ "EntityUniqueId", "Type", "Sentiment" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Types.MentionType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IntentMatchData), global::Google.Cloud.ContactCenterInsights.V1.IntentMatchData.Parser, new[]{ "IntentUniqueId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.SentimentData), global::Google.Cloud.ContactCenterInsights.V1.SentimentData.Parser, new[]{ "Magnitude", "Score" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IssueMatchData), global::Google.Cloud.ContactCenterInsights.V1.IssueMatchData.Parser, new[]{ "IssueAssignment" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IssueModel), global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Parser, new[]{ "Name", "DisplayName", "CreateTime", "UpdateTime", "IssueCount", "State", "InputDataConfig", "TrainingStats", "ModelType", "LanguageCode" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.State), typeof(global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.ModelType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.InputDataConfig), global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.InputDataConfig.Parser, new[]{ "Medium", "TrainingConversationsCount", "Filter" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Issue), global::Google.Cloud.ContactCenterInsights.V1.Issue.Parser, new[]{ "Name", "DisplayName", "CreateTime", "UpdateTime", "SampleUtterances", "DisplayDescription" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats), global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats.Parser, new[]{ "AnalyzedConversationsCount", "UnclassifiedConversationsCount", "IssueStats" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats.Types.IssueStats), global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats.Types.IssueStats.Parser, new[]{ "Issue", "LabeledConversationsCount", "DisplayName" }, null, null, null, null), + null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher), global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Parser, new[]{ "Name", "RevisionId", "VersionTag", "RevisionCreateTime", "DisplayName", "Type", "Active", "PhraseMatchRuleGroups", "ActivationUpdateTime", "RoleMatch", "UpdateTime" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Types.PhraseMatcherType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup), global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Parser, new[]{ "Type", "PhraseMatchRules" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Types.PhraseMatchRuleGroupType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRule), global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRule.Parser, new[]{ "Query", "Negated", "Config" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleConfig), global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleConfig.Parser, new[]{ "ExactMatchConfig" }, new[]{ "Config" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ExactMatchConfig), global::Google.Cloud.ContactCenterInsights.V1.ExactMatchConfig.Parser, new[]{ "CaseSensitive" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Settings), global::Google.Cloud.ContactCenterInsights.V1.Settings.Parser, new[]{ "Name", "CreateTime", "UpdateTime", "LanguageCode", "ConversationTtl", "PubsubNotificationSettings", "AnalysisConfig", "RedactionConfig", "SpeechConfig" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.Settings.Types.AnalysisConfig), global::Google.Cloud.ContactCenterInsights.V1.Settings.Types.AnalysisConfig.Parser, new[]{ "RuntimeIntegrationAnalysisPercentage", "UploadConversationAnalysisPercentage", "AnnotatorSelector" }, null, null, null, null), + null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule), global::Google.Cloud.ContactCenterInsights.V1.AnalysisRule.Parser, new[]{ "Name", "CreateTime", "UpdateTime", "DisplayName", "ConversationFilter", "AnnotatorSelector", "AnalysisPercentage", "Active" }, new[]{ "DisplayName" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.EncryptionSpec), global::Google.Cloud.ContactCenterInsights.V1.EncryptionSpec.Parser, new[]{ "Name", "KmsKey" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig), global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig.Parser, new[]{ "DeidentifyTemplate", "InspectTemplate" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig), global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig.Parser, new[]{ "SpeechRecognizer" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation), global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Parser, new[]{ "ArticleSuggestion", "FaqAnswer", "SmartReply", "SmartComposeSuggestion", "DialogflowInteraction", "ConversationSummarizationSuggestion", "AnnotationId", "CreateTime", "StartBoundary", "EndBoundary", "AnswerFeedback", "UserInput" }, new[]{ "Data" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput), global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Parser, new[]{ "Query", "GeneratorName", "QuerySource" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Types.QuerySource) }, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback), global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Parser, new[]{ "CorrectnessLevel", "Clicked", "Displayed" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Types.CorrectnessLevel) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ArticleSuggestionData), global::Google.Cloud.ContactCenterInsights.V1.ArticleSuggestionData.Parser, new[]{ "Title", "Uri", "ConfidenceScore", "Metadata", "QueryRecord", "Source" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.FaqAnswerData), global::Google.Cloud.ContactCenterInsights.V1.FaqAnswerData.Parser, new[]{ "Answer", "ConfidenceScore", "Question", "Metadata", "QueryRecord", "Source" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.SmartReplyData), global::Google.Cloud.ContactCenterInsights.V1.SmartReplyData.Parser, new[]{ "Reply", "ConfidenceScore", "Metadata", "QueryRecord" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.SmartComposeSuggestionData), global::Google.Cloud.ContactCenterInsights.V1.SmartComposeSuggestionData.Parser, new[]{ "Suggestion", "ConfidenceScore", "Metadata", "QueryRecord" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.DialogflowInteractionData), global::Google.Cloud.ContactCenterInsights.V1.DialogflowInteractionData.Parser, new[]{ "DialogflowIntentId", "Confidence" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData), global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData.Parser, new[]{ "Text", "TextSections", "Confidence", "Metadata", "AnswerRecord", "ConversationModel" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant), global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Parser, new[]{ "DialogflowParticipantName", "UserId", "DialogflowParticipant", "ObfuscatedExternalUserId", "Role" }, new[]{ "Participant" }, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.View), global::Google.Cloud.ContactCenterInsights.V1.View.Parser, new[]{ "Name", "DisplayName", "CreateTime", "UpdateTime", "Value" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector), global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Parser, new[]{ "RunInterruptionAnnotator", "RunSilenceAnnotator", "RunPhraseMatcherAnnotator", "PhraseMatchers", "RunSentimentAnnotator", "RunEntityAnnotator", "RunIntentAnnotator", "RunIssueModelAnnotator", "IssueModels", "RunSummarizationAnnotator", "SummarizationConfig", "RunQaAnnotator", "QaConfig" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.SummarizationConfig), global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.SummarizationConfig.Parser, new[]{ "ConversationProfile", "SummarizationModel" }, new[]{ "ModelSource" }, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.SummarizationConfig.Types.SummarizationModel) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig), global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig.Parser, new[]{ "ScorecardList" }, new[]{ "ScorecardSource" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig.Types.ScorecardList), global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig.Types.ScorecardList.Parser, new[]{ "QaScorecardRevisions" }, null, null, null, null)})}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaQuestion), global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Parser, new[]{ "Name", "Abbreviation", "CreateTime", "UpdateTime", "QuestionBody", "AnswerInstructions", "AnswerChoices", "Tags", "Order", "Metrics", "TuningMetadata" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice), global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice.Parser, new[]{ "StrValue", "NumValue", "BoolValue", "NaValue", "Key", "Score" }, new[]{ "Value", "Score" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.Metrics), global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.Metrics.Parser, new[]{ "Accuracy" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.TuningMetadata), global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.TuningMetadata.Parser, new[]{ "TotalValidLabelCount", "DatasetValidationWarnings", "TuningError" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaScorecard), global::Google.Cloud.ContactCenterInsights.V1.QaScorecard.Parser, new[]{ "Name", "DisplayName", "Description", "CreateTime", "UpdateTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision), global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Parser, new[]{ "Name", "Snapshot", "CreateTime", "AlternateIds", "State" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Types.State) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaAnswer), global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Parser, new[]{ "QaQuestion", "Conversation", "QuestionBody", "AnswerValue", "Tags", "AnswerSources" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue), global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue.Parser, new[]{ "StrValue", "NumValue", "BoolValue", "NaValue", "Key", "Score", "PotentialScore", "NormalizedScore" }, new[]{ "Value", "Score", "PotentialScore", "NormalizedScore" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource), global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Parser, new[]{ "SourceType", "AnswerValue" }, null, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Types.SourceType) }, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult), global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Parser, new[]{ "Name", "QaScorecardRevision", "Conversation", "CreateTime", "AgentId", "QaAnswers", "Score", "PotentialScore", "NormalizedScore", "QaTagResults", "ScoreSources" }, new[]{ "Score", "PotentialScore", "NormalizedScore" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.QaTagResult), global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.QaTagResult.Parser, new[]{ "Tag", "Score", "PotentialScore", "NormalizedScore" }, new[]{ "Score", "PotentialScore", "NormalizedScore" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource), global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Parser, new[]{ "SourceType", "Score", "PotentialScore", "NormalizedScore", "QaTagResults" }, new[]{ "Score", "PotentialScore", "NormalizedScore" }, new[]{ typeof(global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Types.SourceType) }, null, null)}) + })); + } + #endregion + + } + #region Enums + /// + /// Enum for the different types of issues a tuning dataset can have. + /// These warnings are currentlyraised when trying to validate a dataset for + /// tuning a scorecard. + /// + public enum DatasetValidationWarning { + /// + /// Unspecified data validation warning. + /// + [pbr::OriginalName("DATASET_VALIDATION_WARNING_UNSPECIFIED")] Unspecified = 0, + /// + /// A non-trivial percentage of the feedback labels are invalid. + /// + [pbr::OriginalName("TOO_MANY_INVALID_FEEDBACK_LABELS")] TooManyInvalidFeedbackLabels = 1, + /// + /// The quantity of valid feedback labels provided is less than the + /// recommended minimum. + /// + [pbr::OriginalName("INSUFFICIENT_FEEDBACK_LABELS")] InsufficientFeedbackLabels = 2, + /// + /// One or more of the answers have less than the recommended minimum of + /// feedback labels. + /// + [pbr::OriginalName("INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER")] InsufficientFeedbackLabelsPerAnswer = 3, + /// + /// All the labels in the dataset come from a single answer choice. + /// + [pbr::OriginalName("ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER")] AllFeedbackLabelsHaveTheSameAnswer = 4, + } + + #endregion + + #region Messages + /// + /// The conversation resource. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Conversation : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Conversation()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Conversation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Conversation(Conversation other) : this() { + name_ = other.name_; + dataSource_ = other.dataSource_ != null ? other.dataSource_.Clone() : null; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + startTime_ = other.startTime_ != null ? other.startTime_.Clone() : null; + languageCode_ = other.languageCode_; + agentId_ = other.agentId_; + labels_ = other.labels_.Clone(); + qualityMetadata_ = other.qualityMetadata_ != null ? other.qualityMetadata_.Clone() : null; + metadataJson_ = other.metadataJson_; + transcript_ = other.transcript_ != null ? other.transcript_.Clone() : null; + medium_ = other.medium_; + duration_ = other.duration_ != null ? other.duration_.Clone() : null; + turnCount_ = other.turnCount_; + latestAnalysis_ = other.latestAnalysis_ != null ? other.latestAnalysis_.Clone() : null; + latestSummary_ = other.latestSummary_ != null ? other.latestSummary_.Clone() : null; + runtimeAnnotations_ = other.runtimeAnnotations_.Clone(); + dialogflowIntents_ = other.dialogflowIntents_.Clone(); + obfuscatedUserId_ = other.obfuscatedUserId_; + switch (other.MetadataCase) { + case MetadataOneofCase.CallMetadata: + CallMetadata = other.CallMetadata.Clone(); + break; + } + + switch (other.ExpirationCase) { + case ExpirationOneofCase.ExpireTime: + ExpireTime = other.ExpireTime.Clone(); + break; + case ExpirationOneofCase.Ttl: + Ttl = other.Ttl.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Conversation Clone() { + return new Conversation(this); + } + + /// Field number for the "call_metadata" field. + public const int CallMetadataFieldNumber = 7; + /// + /// Call-specific metadata. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.CallMetadata CallMetadata { + get { return metadataCase_ == MetadataOneofCase.CallMetadata ? (global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.CallMetadata) metadata_ : null; } + set { + metadata_ = value; + metadataCase_ = value == null ? MetadataOneofCase.None : MetadataOneofCase.CallMetadata; + } + } + + /// Field number for the "expire_time" field. + public const int ExpireTimeFieldNumber = 15; + /// + /// The time at which this conversation should expire. After this time, the + /// conversation data and any associated analyses will be deleted. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp ExpireTime { + get { return expirationCase_ == ExpirationOneofCase.ExpireTime ? (global::Google.Protobuf.WellKnownTypes.Timestamp) expiration_ : null; } + set { + expiration_ = value; + expirationCase_ = value == null ? ExpirationOneofCase.None : ExpirationOneofCase.ExpireTime; + } + } + + /// Field number for the "ttl" field. + public const int TtlFieldNumber = 16; + /// + /// Input only. The TTL for this resource. If specified, then this TTL will + /// be used to calculate the expire time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Duration Ttl { + get { return expirationCase_ == ExpirationOneofCase.Ttl ? (global::Google.Protobuf.WellKnownTypes.Duration) expiration_ : null; } + set { + expiration_ = value; + expirationCase_ = value == null ? ExpirationOneofCase.None : ExpirationOneofCase.Ttl; + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. The resource name of the conversation. + /// Format: + /// projects/{project}/locations/{location}/conversations/{conversation} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "data_source" field. + public const int DataSourceFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.ConversationDataSource dataSource_; + /// + /// The source of the audio and transcription for the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ConversationDataSource DataSource { + get { return dataSource_; } + set { + dataSource_ = value; + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time at which the conversation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 4; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. The most recent time at which the conversation was updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + /// Field number for the "start_time" field. + public const int StartTimeFieldNumber = 17; + private global::Google.Protobuf.WellKnownTypes.Timestamp startTime_; + /// + /// The time at which the conversation started. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp StartTime { + get { return startTime_; } + set { + startTime_ = value; + } + } + + /// Field number for the "language_code" field. + public const int LanguageCodeFieldNumber = 14; + private string languageCode_ = ""; + /// + /// A user-specified language code for the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LanguageCode { + get { return languageCode_; } + set { + languageCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 5; + private string agentId_ = ""; + /// + /// An opaque, user-specified string representing the human agent who handled + /// the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AgentId { + get { return agentId_; } + set { + agentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "labels" field. + public const int LabelsFieldNumber = 6; + private static readonly pbc::MapField.Codec _map_labels_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 50); + private readonly pbc::MapField labels_ = new pbc::MapField(); + /// + /// A map for the user to specify any custom fields. A maximum of 100 labels + /// per conversation is allowed, with a maximum of 256 characters per entry. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Labels { + get { return labels_; } + } + + /// Field number for the "quality_metadata" field. + public const int QualityMetadataFieldNumber = 24; + private global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.QualityMetadata qualityMetadata_; + /// + /// Conversation metadata related to quality management. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.QualityMetadata QualityMetadata { + get { return qualityMetadata_; } + set { + qualityMetadata_ = value; + } + } + + /// Field number for the "metadata_json" field. + public const int MetadataJsonFieldNumber = 25; + private string metadataJson_ = ""; + /// + /// Input only. JSON metadata encoded as a string. + /// This field is primarily used by Insights integrations with various telphony + /// systems and must be in one of Insight's supported formats. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MetadataJson { + get { return metadataJson_; } + set { + metadataJson_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "transcript" field. + public const int TranscriptFieldNumber = 8; + private global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript transcript_; + /// + /// Output only. The conversation transcript. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript Transcript { + get { return transcript_; } + set { + transcript_ = value; + } + } + + /// Field number for the "medium" field. + public const int MediumFieldNumber = 9; + private global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium medium_ = global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified; + /// + /// Immutable. The conversation medium, if unspecified will default to + /// PHONE_CALL. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium Medium { + get { return medium_; } + set { + medium_ = value; + } + } + + /// Field number for the "duration" field. + public const int DurationFieldNumber = 10; + private global::Google.Protobuf.WellKnownTypes.Duration duration_; + /// + /// Output only. The duration of the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Duration Duration { + get { return duration_; } + set { + duration_ = value; + } + } + + /// Field number for the "turn_count" field. + public const int TurnCountFieldNumber = 11; + private int turnCount_; + /// + /// Output only. The number of turns in the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TurnCount { + get { return turnCount_; } + set { + turnCount_ = value; + } + } + + /// Field number for the "latest_analysis" field. + public const int LatestAnalysisFieldNumber = 12; + private global::Google.Cloud.ContactCenterInsights.V1.Analysis latestAnalysis_; + /// + /// Output only. The conversation's latest analysis, if one exists. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Analysis LatestAnalysis { + get { return latestAnalysis_; } + set { + latestAnalysis_ = value; + } + } + + /// Field number for the "latest_summary" field. + public const int LatestSummaryFieldNumber = 20; + private global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData latestSummary_; + /// + /// Output only. Latest summary of the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData LatestSummary { + get { return latestSummary_; } + set { + latestSummary_ = value; + } + } + + /// Field number for the "runtime_annotations" field. + public const int RuntimeAnnotationsFieldNumber = 13; + private static readonly pb::FieldCodec _repeated_runtimeAnnotations_codec + = pb::FieldCodec.ForMessage(106, global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Parser); + private readonly pbc::RepeatedField runtimeAnnotations_ = new pbc::RepeatedField(); + /// + /// Output only. The annotations that were generated during the customer and + /// agent interaction. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RuntimeAnnotations { + get { return runtimeAnnotations_; } + } + + /// Field number for the "dialogflow_intents" field. + public const int DialogflowIntentsFieldNumber = 18; + private static readonly pbc::MapField.Codec _map_dialogflowIntents_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Cloud.ContactCenterInsights.V1.DialogflowIntent.Parser), 146); + private readonly pbc::MapField dialogflowIntents_ = new pbc::MapField(); + /// + /// Output only. All the matched Dialogflow intents in the call. The key + /// corresponds to a Dialogflow intent, format: + /// projects/{project}/agent/{agent}/intents/{intent} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField DialogflowIntents { + get { return dialogflowIntents_; } + } + + /// Field number for the "obfuscated_user_id" field. + public const int ObfuscatedUserIdFieldNumber = 21; + private string obfuscatedUserId_ = ""; + /// + /// Obfuscated user ID which the customer sent to us. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ObfuscatedUserId { + get { return obfuscatedUserId_; } + set { + obfuscatedUserId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + private object metadata_; + /// Enum of possible cases for the "metadata" oneof. + public enum MetadataOneofCase { + None = 0, + CallMetadata = 7, + } + private MetadataOneofCase metadataCase_ = MetadataOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MetadataOneofCase MetadataCase { + get { return metadataCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMetadata() { + metadataCase_ = MetadataOneofCase.None; + metadata_ = null; + } + + private object expiration_; + /// Enum of possible cases for the "expiration" oneof. + public enum ExpirationOneofCase { + None = 0, + ExpireTime = 15, + Ttl = 16, + } + private ExpirationOneofCase expirationCase_ = ExpirationOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExpirationOneofCase ExpirationCase { + get { return expirationCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExpiration() { + expirationCase_ = ExpirationOneofCase.None; + expiration_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Conversation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Conversation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CallMetadata, other.CallMetadata)) return false; + if (!object.Equals(ExpireTime, other.ExpireTime)) return false; + if (!object.Equals(Ttl, other.Ttl)) return false; + if (Name != other.Name) return false; + if (!object.Equals(DataSource, other.DataSource)) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + if (!object.Equals(StartTime, other.StartTime)) return false; + if (LanguageCode != other.LanguageCode) return false; + if (AgentId != other.AgentId) return false; + if (!Labels.Equals(other.Labels)) return false; + if (!object.Equals(QualityMetadata, other.QualityMetadata)) return false; + if (MetadataJson != other.MetadataJson) return false; + if (!object.Equals(Transcript, other.Transcript)) return false; + if (Medium != other.Medium) return false; + if (!object.Equals(Duration, other.Duration)) return false; + if (TurnCount != other.TurnCount) return false; + if (!object.Equals(LatestAnalysis, other.LatestAnalysis)) return false; + if (!object.Equals(LatestSummary, other.LatestSummary)) return false; + if(!runtimeAnnotations_.Equals(other.runtimeAnnotations_)) return false; + if (!DialogflowIntents.Equals(other.DialogflowIntents)) return false; + if (ObfuscatedUserId != other.ObfuscatedUserId) return false; + if (MetadataCase != other.MetadataCase) return false; + if (ExpirationCase != other.ExpirationCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (metadataCase_ == MetadataOneofCase.CallMetadata) hash ^= CallMetadata.GetHashCode(); + if (expirationCase_ == ExpirationOneofCase.ExpireTime) hash ^= ExpireTime.GetHashCode(); + if (expirationCase_ == ExpirationOneofCase.Ttl) hash ^= Ttl.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (dataSource_ != null) hash ^= DataSource.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (startTime_ != null) hash ^= StartTime.GetHashCode(); + if (LanguageCode.Length != 0) hash ^= LanguageCode.GetHashCode(); + if (AgentId.Length != 0) hash ^= AgentId.GetHashCode(); + hash ^= Labels.GetHashCode(); + if (qualityMetadata_ != null) hash ^= QualityMetadata.GetHashCode(); + if (MetadataJson.Length != 0) hash ^= MetadataJson.GetHashCode(); + if (transcript_ != null) hash ^= Transcript.GetHashCode(); + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) hash ^= Medium.GetHashCode(); + if (duration_ != null) hash ^= Duration.GetHashCode(); + if (TurnCount != 0) hash ^= TurnCount.GetHashCode(); + if (latestAnalysis_ != null) hash ^= LatestAnalysis.GetHashCode(); + if (latestSummary_ != null) hash ^= LatestSummary.GetHashCode(); + hash ^= runtimeAnnotations_.GetHashCode(); + hash ^= DialogflowIntents.GetHashCode(); + if (ObfuscatedUserId.Length != 0) hash ^= ObfuscatedUserId.GetHashCode(); + hash ^= (int) metadataCase_; + hash ^= (int) expirationCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (dataSource_ != null) { + output.WriteRawTag(18); + output.WriteMessage(DataSource); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + if (AgentId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AgentId); + } + labels_.WriteTo(output, _map_labels_codec); + if (metadataCase_ == MetadataOneofCase.CallMetadata) { + output.WriteRawTag(58); + output.WriteMessage(CallMetadata); + } + if (transcript_ != null) { + output.WriteRawTag(66); + output.WriteMessage(Transcript); + } + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + output.WriteRawTag(72); + output.WriteEnum((int) Medium); + } + if (duration_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Duration); + } + if (TurnCount != 0) { + output.WriteRawTag(88); + output.WriteInt32(TurnCount); + } + if (latestAnalysis_ != null) { + output.WriteRawTag(98); + output.WriteMessage(LatestAnalysis); + } + runtimeAnnotations_.WriteTo(output, _repeated_runtimeAnnotations_codec); + if (LanguageCode.Length != 0) { + output.WriteRawTag(114); + output.WriteString(LanguageCode); + } + if (expirationCase_ == ExpirationOneofCase.ExpireTime) { + output.WriteRawTag(122); + output.WriteMessage(ExpireTime); + } + if (expirationCase_ == ExpirationOneofCase.Ttl) { + output.WriteRawTag(130, 1); + output.WriteMessage(Ttl); + } + if (startTime_ != null) { + output.WriteRawTag(138, 1); + output.WriteMessage(StartTime); + } + dialogflowIntents_.WriteTo(output, _map_dialogflowIntents_codec); + if (latestSummary_ != null) { + output.WriteRawTag(162, 1); + output.WriteMessage(LatestSummary); + } + if (ObfuscatedUserId.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(ObfuscatedUserId); + } + if (qualityMetadata_ != null) { + output.WriteRawTag(194, 1); + output.WriteMessage(QualityMetadata); + } + if (MetadataJson.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(MetadataJson); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (dataSource_ != null) { + output.WriteRawTag(18); + output.WriteMessage(DataSource); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + if (AgentId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AgentId); + } + labels_.WriteTo(ref output, _map_labels_codec); + if (metadataCase_ == MetadataOneofCase.CallMetadata) { + output.WriteRawTag(58); + output.WriteMessage(CallMetadata); + } + if (transcript_ != null) { + output.WriteRawTag(66); + output.WriteMessage(Transcript); + } + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + output.WriteRawTag(72); + output.WriteEnum((int) Medium); + } + if (duration_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Duration); + } + if (TurnCount != 0) { + output.WriteRawTag(88); + output.WriteInt32(TurnCount); + } + if (latestAnalysis_ != null) { + output.WriteRawTag(98); + output.WriteMessage(LatestAnalysis); + } + runtimeAnnotations_.WriteTo(ref output, _repeated_runtimeAnnotations_codec); + if (LanguageCode.Length != 0) { + output.WriteRawTag(114); + output.WriteString(LanguageCode); + } + if (expirationCase_ == ExpirationOneofCase.ExpireTime) { + output.WriteRawTag(122); + output.WriteMessage(ExpireTime); + } + if (expirationCase_ == ExpirationOneofCase.Ttl) { + output.WriteRawTag(130, 1); + output.WriteMessage(Ttl); + } + if (startTime_ != null) { + output.WriteRawTag(138, 1); + output.WriteMessage(StartTime); + } + dialogflowIntents_.WriteTo(ref output, _map_dialogflowIntents_codec); + if (latestSummary_ != null) { + output.WriteRawTag(162, 1); + output.WriteMessage(LatestSummary); + } + if (ObfuscatedUserId.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(ObfuscatedUserId); + } + if (qualityMetadata_ != null) { + output.WriteRawTag(194, 1); + output.WriteMessage(QualityMetadata); + } + if (MetadataJson.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(MetadataJson); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (metadataCase_ == MetadataOneofCase.CallMetadata) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CallMetadata); + } + if (expirationCase_ == ExpirationOneofCase.ExpireTime) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExpireTime); + } + if (expirationCase_ == ExpirationOneofCase.Ttl) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Ttl); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (dataSource_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DataSource); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (startTime_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StartTime); + } + if (LanguageCode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LanguageCode); + } + if (AgentId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AgentId); + } + size += labels_.CalculateSize(_map_labels_codec); + if (qualityMetadata_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(QualityMetadata); + } + if (MetadataJson.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(MetadataJson); + } + if (transcript_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Transcript); + } + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Medium); + } + if (duration_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Duration); + } + if (TurnCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TurnCount); + } + if (latestAnalysis_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(LatestAnalysis); + } + if (latestSummary_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(LatestSummary); + } + size += runtimeAnnotations_.CalculateSize(_repeated_runtimeAnnotations_codec); + size += dialogflowIntents_.CalculateSize(_map_dialogflowIntents_codec); + if (ObfuscatedUserId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ObfuscatedUserId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Conversation other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.dataSource_ != null) { + if (dataSource_ == null) { + DataSource = new global::Google.Cloud.ContactCenterInsights.V1.ConversationDataSource(); + } + DataSource.MergeFrom(other.DataSource); + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + if (other.startTime_ != null) { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + StartTime.MergeFrom(other.StartTime); + } + if (other.LanguageCode.Length != 0) { + LanguageCode = other.LanguageCode; + } + if (other.AgentId.Length != 0) { + AgentId = other.AgentId; + } + labels_.MergeFrom(other.labels_); + if (other.qualityMetadata_ != null) { + if (qualityMetadata_ == null) { + QualityMetadata = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.QualityMetadata(); + } + QualityMetadata.MergeFrom(other.QualityMetadata); + } + if (other.MetadataJson.Length != 0) { + MetadataJson = other.MetadataJson; + } + if (other.transcript_ != null) { + if (transcript_ == null) { + Transcript = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript(); + } + Transcript.MergeFrom(other.Transcript); + } + if (other.Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + Medium = other.Medium; + } + if (other.duration_ != null) { + if (duration_ == null) { + Duration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + Duration.MergeFrom(other.Duration); + } + if (other.TurnCount != 0) { + TurnCount = other.TurnCount; + } + if (other.latestAnalysis_ != null) { + if (latestAnalysis_ == null) { + LatestAnalysis = new global::Google.Cloud.ContactCenterInsights.V1.Analysis(); + } + LatestAnalysis.MergeFrom(other.LatestAnalysis); + } + if (other.latestSummary_ != null) { + if (latestSummary_ == null) { + LatestSummary = new global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData(); + } + LatestSummary.MergeFrom(other.LatestSummary); + } + runtimeAnnotations_.Add(other.runtimeAnnotations_); + dialogflowIntents_.MergeFrom(other.dialogflowIntents_); + if (other.ObfuscatedUserId.Length != 0) { + ObfuscatedUserId = other.ObfuscatedUserId; + } + switch (other.MetadataCase) { + case MetadataOneofCase.CallMetadata: + if (CallMetadata == null) { + CallMetadata = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.CallMetadata(); + } + CallMetadata.MergeFrom(other.CallMetadata); + break; + } + + switch (other.ExpirationCase) { + case ExpirationOneofCase.ExpireTime: + if (ExpireTime == null) { + ExpireTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + ExpireTime.MergeFrom(other.ExpireTime); + break; + case ExpirationOneofCase.Ttl: + if (Ttl == null) { + Ttl = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + Ttl.MergeFrom(other.Ttl); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (dataSource_ == null) { + DataSource = new global::Google.Cloud.ContactCenterInsights.V1.ConversationDataSource(); + } + input.ReadMessage(DataSource); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 42: { + AgentId = input.ReadString(); + break; + } + case 50: { + labels_.AddEntriesFrom(input, _map_labels_codec); + break; + } + case 58: { + global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.CallMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.CallMetadata(); + if (metadataCase_ == MetadataOneofCase.CallMetadata) { + subBuilder.MergeFrom(CallMetadata); + } + input.ReadMessage(subBuilder); + CallMetadata = subBuilder; + break; + } + case 66: { + if (transcript_ == null) { + Transcript = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript(); + } + input.ReadMessage(Transcript); + break; + } + case 72: { + Medium = (global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium) input.ReadEnum(); + break; + } + case 82: { + if (duration_ == null) { + Duration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(Duration); + break; + } + case 88: { + TurnCount = input.ReadInt32(); + break; + } + case 98: { + if (latestAnalysis_ == null) { + LatestAnalysis = new global::Google.Cloud.ContactCenterInsights.V1.Analysis(); + } + input.ReadMessage(LatestAnalysis); + break; + } + case 106: { + runtimeAnnotations_.AddEntriesFrom(input, _repeated_runtimeAnnotations_codec); + break; + } + case 114: { + LanguageCode = input.ReadString(); + break; + } + case 122: { + global::Google.Protobuf.WellKnownTypes.Timestamp subBuilder = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + if (expirationCase_ == ExpirationOneofCase.ExpireTime) { + subBuilder.MergeFrom(ExpireTime); + } + input.ReadMessage(subBuilder); + ExpireTime = subBuilder; + break; + } + case 130: { + global::Google.Protobuf.WellKnownTypes.Duration subBuilder = new global::Google.Protobuf.WellKnownTypes.Duration(); + if (expirationCase_ == ExpirationOneofCase.Ttl) { + subBuilder.MergeFrom(Ttl); + } + input.ReadMessage(subBuilder); + Ttl = subBuilder; + break; + } + case 138: { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(StartTime); + break; + } + case 146: { + dialogflowIntents_.AddEntriesFrom(input, _map_dialogflowIntents_codec); + break; + } + case 162: { + if (latestSummary_ == null) { + LatestSummary = new global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData(); + } + input.ReadMessage(LatestSummary); + break; + } + case 170: { + ObfuscatedUserId = input.ReadString(); + break; + } + case 194: { + if (qualityMetadata_ == null) { + QualityMetadata = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.QualityMetadata(); + } + input.ReadMessage(QualityMetadata); + break; + } + case 202: { + MetadataJson = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (dataSource_ == null) { + DataSource = new global::Google.Cloud.ContactCenterInsights.V1.ConversationDataSource(); + } + input.ReadMessage(DataSource); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 42: { + AgentId = input.ReadString(); + break; + } + case 50: { + labels_.AddEntriesFrom(ref input, _map_labels_codec); + break; + } + case 58: { + global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.CallMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.CallMetadata(); + if (metadataCase_ == MetadataOneofCase.CallMetadata) { + subBuilder.MergeFrom(CallMetadata); + } + input.ReadMessage(subBuilder); + CallMetadata = subBuilder; + break; + } + case 66: { + if (transcript_ == null) { + Transcript = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript(); + } + input.ReadMessage(Transcript); + break; + } + case 72: { + Medium = (global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium) input.ReadEnum(); + break; + } + case 82: { + if (duration_ == null) { + Duration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(Duration); + break; + } + case 88: { + TurnCount = input.ReadInt32(); + break; + } + case 98: { + if (latestAnalysis_ == null) { + LatestAnalysis = new global::Google.Cloud.ContactCenterInsights.V1.Analysis(); + } + input.ReadMessage(LatestAnalysis); + break; + } + case 106: { + runtimeAnnotations_.AddEntriesFrom(ref input, _repeated_runtimeAnnotations_codec); + break; + } + case 114: { + LanguageCode = input.ReadString(); + break; + } + case 122: { + global::Google.Protobuf.WellKnownTypes.Timestamp subBuilder = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + if (expirationCase_ == ExpirationOneofCase.ExpireTime) { + subBuilder.MergeFrom(ExpireTime); + } + input.ReadMessage(subBuilder); + ExpireTime = subBuilder; + break; + } + case 130: { + global::Google.Protobuf.WellKnownTypes.Duration subBuilder = new global::Google.Protobuf.WellKnownTypes.Duration(); + if (expirationCase_ == ExpirationOneofCase.Ttl) { + subBuilder.MergeFrom(Ttl); + } + input.ReadMessage(subBuilder); + Ttl = subBuilder; + break; + } + case 138: { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(StartTime); + break; + } + case 146: { + dialogflowIntents_.AddEntriesFrom(ref input, _map_dialogflowIntents_codec); + break; + } + case 162: { + if (latestSummary_ == null) { + LatestSummary = new global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData(); + } + input.ReadMessage(LatestSummary); + break; + } + case 170: { + ObfuscatedUserId = input.ReadString(); + break; + } + case 194: { + if (qualityMetadata_ == null) { + QualityMetadata = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.QualityMetadata(); + } + input.ReadMessage(QualityMetadata); + break; + } + case 202: { + MetadataJson = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Conversation message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Possible media for the conversation. + /// + public enum Medium { + /// + /// Default value, if unspecified will default to PHONE_CALL. + /// + [pbr::OriginalName("MEDIUM_UNSPECIFIED")] Unspecified = 0, + /// + /// The format for conversations that took place over the phone. + /// + [pbr::OriginalName("PHONE_CALL")] PhoneCall = 1, + /// + /// The format for conversations that took place over chat. + /// + [pbr::OriginalName("CHAT")] Chat = 2, + } + + /// + /// Call-specific metadata. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CallMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CallMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Conversation.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CallMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CallMetadata(CallMetadata other) : this() { + customerChannel_ = other.customerChannel_; + agentChannel_ = other.agentChannel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CallMetadata Clone() { + return new CallMetadata(this); + } + + /// Field number for the "customer_channel" field. + public const int CustomerChannelFieldNumber = 1; + private int customerChannel_; + /// + /// The audio channel that contains the customer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CustomerChannel { + get { return customerChannel_; } + set { + customerChannel_ = value; + } + } + + /// Field number for the "agent_channel" field. + public const int AgentChannelFieldNumber = 2; + private int agentChannel_; + /// + /// The audio channel that contains the agent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AgentChannel { + get { return agentChannel_; } + set { + agentChannel_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CallMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CallMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CustomerChannel != other.CustomerChannel) return false; + if (AgentChannel != other.AgentChannel) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (CustomerChannel != 0) hash ^= CustomerChannel.GetHashCode(); + if (AgentChannel != 0) hash ^= AgentChannel.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (CustomerChannel != 0) { + output.WriteRawTag(8); + output.WriteInt32(CustomerChannel); + } + if (AgentChannel != 0) { + output.WriteRawTag(16); + output.WriteInt32(AgentChannel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CustomerChannel != 0) { + output.WriteRawTag(8); + output.WriteInt32(CustomerChannel); + } + if (AgentChannel != 0) { + output.WriteRawTag(16); + output.WriteInt32(AgentChannel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (CustomerChannel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CustomerChannel); + } + if (AgentChannel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AgentChannel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CallMetadata other) { + if (other == null) { + return; + } + if (other.CustomerChannel != 0) { + CustomerChannel = other.CustomerChannel; + } + if (other.AgentChannel != 0) { + AgentChannel = other.AgentChannel; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + CustomerChannel = input.ReadInt32(); + break; + } + case 16: { + AgentChannel = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + CustomerChannel = input.ReadInt32(); + break; + } + case 16: { + AgentChannel = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + /// Conversation metadata related to quality management. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QualityMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QualityMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Conversation.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QualityMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QualityMetadata(QualityMetadata other) : this() { + customerSatisfactionRating_ = other.customerSatisfactionRating_; + waitDuration_ = other.waitDuration_ != null ? other.waitDuration_.Clone() : null; + menuPath_ = other.menuPath_; + agentInfo_ = other.agentInfo_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QualityMetadata Clone() { + return new QualityMetadata(this); + } + + /// Field number for the "customer_satisfaction_rating" field. + public const int CustomerSatisfactionRatingFieldNumber = 1; + private int customerSatisfactionRating_; + /// + /// An arbitrary integer value indicating the customer's satisfaction rating. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CustomerSatisfactionRating { + get { return customerSatisfactionRating_; } + set { + customerSatisfactionRating_ = value; + } + } + + /// Field number for the "wait_duration" field. + public const int WaitDurationFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Duration waitDuration_; + /// + /// The amount of time the customer waited to connect with an agent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Duration WaitDuration { + get { return waitDuration_; } + set { + waitDuration_ = value; + } + } + + /// Field number for the "menu_path" field. + public const int MenuPathFieldNumber = 3; + private string menuPath_ = ""; + /// + /// An arbitrary string value specifying the menu path the customer took. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MenuPath { + get { return menuPath_; } + set { + menuPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "agent_info" field. + public const int AgentInfoFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_agentInfo_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.QualityMetadata.Types.AgentInfo.Parser); + private readonly pbc::RepeatedField agentInfo_ = new pbc::RepeatedField(); + /// + /// Information about agents involved in the call. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AgentInfo { + get { return agentInfo_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QualityMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QualityMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CustomerSatisfactionRating != other.CustomerSatisfactionRating) return false; + if (!object.Equals(WaitDuration, other.WaitDuration)) return false; + if (MenuPath != other.MenuPath) return false; + if(!agentInfo_.Equals(other.agentInfo_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (CustomerSatisfactionRating != 0) hash ^= CustomerSatisfactionRating.GetHashCode(); + if (waitDuration_ != null) hash ^= WaitDuration.GetHashCode(); + if (MenuPath.Length != 0) hash ^= MenuPath.GetHashCode(); + hash ^= agentInfo_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (CustomerSatisfactionRating != 0) { + output.WriteRawTag(8); + output.WriteInt32(CustomerSatisfactionRating); + } + if (waitDuration_ != null) { + output.WriteRawTag(18); + output.WriteMessage(WaitDuration); + } + if (MenuPath.Length != 0) { + output.WriteRawTag(26); + output.WriteString(MenuPath); + } + agentInfo_.WriteTo(output, _repeated_agentInfo_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CustomerSatisfactionRating != 0) { + output.WriteRawTag(8); + output.WriteInt32(CustomerSatisfactionRating); + } + if (waitDuration_ != null) { + output.WriteRawTag(18); + output.WriteMessage(WaitDuration); + } + if (MenuPath.Length != 0) { + output.WriteRawTag(26); + output.WriteString(MenuPath); + } + agentInfo_.WriteTo(ref output, _repeated_agentInfo_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (CustomerSatisfactionRating != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CustomerSatisfactionRating); + } + if (waitDuration_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(WaitDuration); + } + if (MenuPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MenuPath); + } + size += agentInfo_.CalculateSize(_repeated_agentInfo_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QualityMetadata other) { + if (other == null) { + return; + } + if (other.CustomerSatisfactionRating != 0) { + CustomerSatisfactionRating = other.CustomerSatisfactionRating; + } + if (other.waitDuration_ != null) { + if (waitDuration_ == null) { + WaitDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + WaitDuration.MergeFrom(other.WaitDuration); + } + if (other.MenuPath.Length != 0) { + MenuPath = other.MenuPath; + } + agentInfo_.Add(other.agentInfo_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + CustomerSatisfactionRating = input.ReadInt32(); + break; + } + case 18: { + if (waitDuration_ == null) { + WaitDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(WaitDuration); + break; + } + case 26: { + MenuPath = input.ReadString(); + break; + } + case 34: { + agentInfo_.AddEntriesFrom(input, _repeated_agentInfo_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + CustomerSatisfactionRating = input.ReadInt32(); + break; + } + case 18: { + if (waitDuration_ == null) { + WaitDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(WaitDuration); + break; + } + case 26: { + MenuPath = input.ReadString(); + break; + } + case 34: { + agentInfo_.AddEntriesFrom(ref input, _repeated_agentInfo_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the QualityMetadata message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Information about an agent involved in the conversation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.QualityMetadata.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentInfo(AgentInfo other) : this() { + agentId_ = other.agentId_; + displayName_ = other.displayName_; + team_ = other.team_; + dispositionCode_ = other.dispositionCode_; + agentType_ = other.agentType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentInfo Clone() { + return new AgentInfo(this); + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 1; + private string agentId_ = ""; + /// + /// A user-specified string representing the agent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AgentId { + get { return agentId_; } + set { + agentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 2; + private string displayName_ = ""; + /// + /// The agent's name. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "team" field. + public const int TeamFieldNumber = 3; + private string team_ = ""; + /// + /// A user-specified string representing the agent's team. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Team { + get { return team_; } + set { + team_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "disposition_code" field. + public const int DispositionCodeFieldNumber = 4; + private string dispositionCode_ = ""; + /// + /// A user-provided string indicating the outcome of the agent's segment of + /// the call. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DispositionCode { + get { return dispositionCode_; } + set { + dispositionCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "agent_type" field. + public const int AgentTypeFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role agentType_ = global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified; + /// + /// The agent type, e.g. HUMAN_AGENT. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role AgentType { + get { return agentType_; } + set { + agentType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AgentInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AgentId != other.AgentId) return false; + if (DisplayName != other.DisplayName) return false; + if (Team != other.Team) return false; + if (DispositionCode != other.DispositionCode) return false; + if (AgentType != other.AgentType) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (AgentId.Length != 0) hash ^= AgentId.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (Team.Length != 0) hash ^= Team.GetHashCode(); + if (DispositionCode.Length != 0) hash ^= DispositionCode.GetHashCode(); + if (AgentType != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) hash ^= AgentType.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (AgentId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AgentId); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (Team.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Team); + } + if (DispositionCode.Length != 0) { + output.WriteRawTag(34); + output.WriteString(DispositionCode); + } + if (AgentType != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) AgentType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AgentId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AgentId); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (Team.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Team); + } + if (DispositionCode.Length != 0) { + output.WriteRawTag(34); + output.WriteString(DispositionCode); + } + if (AgentType != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) AgentType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (AgentId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AgentId); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (Team.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Team); + } + if (DispositionCode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DispositionCode); + } + if (AgentType != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AgentType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentInfo other) { + if (other == null) { + return; + } + if (other.AgentId.Length != 0) { + AgentId = other.AgentId; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + if (other.Team.Length != 0) { + Team = other.Team; + } + if (other.DispositionCode.Length != 0) { + DispositionCode = other.DispositionCode; + } + if (other.AgentType != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + AgentType = other.AgentType; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + AgentId = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 26: { + Team = input.ReadString(); + break; + } + case 34: { + DispositionCode = input.ReadString(); + break; + } + case 40: { + AgentType = (global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + AgentId = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 26: { + Team = input.ReadString(); + break; + } + case 34: { + DispositionCode = input.ReadString(); + break; + } + case 40: { + AgentType = (global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// A message representing the transcript of a conversation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Transcript : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Transcript()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Conversation.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Transcript() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Transcript(Transcript other) : this() { + transcriptSegments_ = other.transcriptSegments_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Transcript Clone() { + return new Transcript(this); + } + + /// Field number for the "transcript_segments" field. + public const int TranscriptSegmentsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_transcriptSegments_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Parser); + private readonly pbc::RepeatedField transcriptSegments_ = new pbc::RepeatedField(); + /// + /// A list of sequential transcript segments that comprise the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField TranscriptSegments { + get { return transcriptSegments_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Transcript); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Transcript other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!transcriptSegments_.Equals(other.transcriptSegments_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= transcriptSegments_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + transcriptSegments_.WriteTo(output, _repeated_transcriptSegments_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + transcriptSegments_.WriteTo(ref output, _repeated_transcriptSegments_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += transcriptSegments_.CalculateSize(_repeated_transcriptSegments_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Transcript other) { + if (other == null) { + return; + } + transcriptSegments_.Add(other.transcriptSegments_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + transcriptSegments_.AddEntriesFrom(input, _repeated_transcriptSegments_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + transcriptSegments_.AddEntriesFrom(ref input, _repeated_transcriptSegments_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Transcript message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// A segment of a full transcript. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TranscriptSegment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TranscriptSegment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TranscriptSegment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TranscriptSegment(TranscriptSegment other) : this() { + messageTime_ = other.messageTime_ != null ? other.messageTime_.Clone() : null; + text_ = other.text_; + confidence_ = other.confidence_; + words_ = other.words_.Clone(); + languageCode_ = other.languageCode_; + channelTag_ = other.channelTag_; + segmentParticipant_ = other.segmentParticipant_ != null ? other.segmentParticipant_.Clone() : null; + dialogflowSegmentMetadata_ = other.dialogflowSegmentMetadata_ != null ? other.dialogflowSegmentMetadata_.Clone() : null; + sentiment_ = other.sentiment_ != null ? other.sentiment_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TranscriptSegment Clone() { + return new TranscriptSegment(this); + } + + /// Field number for the "message_time" field. + public const int MessageTimeFieldNumber = 6; + private global::Google.Protobuf.WellKnownTypes.Timestamp messageTime_; + /// + /// The time that the message occurred, if provided. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp MessageTime { + get { return messageTime_; } + set { + messageTime_ = value; + } + } + + /// Field number for the "text" field. + public const int TextFieldNumber = 1; + private string text_ = ""; + /// + /// The text of this segment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Text { + get { return text_; } + set { + text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "confidence" field. + public const int ConfidenceFieldNumber = 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Confidence { + get { return confidence_; } + set { + confidence_ = value; + } + } + + /// Field number for the "words" field. + public const int WordsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_words_codec + = pb::FieldCodec.ForMessage(26, global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Types.WordInfo.Parser); + private readonly pbc::RepeatedField words_ = new pbc::RepeatedField(); + /// + /// A list of the word-specific information for each word in the segment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Words { + get { return words_; } + } + + /// Field number for the "language_code" field. + public const int LanguageCodeFieldNumber = 4; + private string languageCode_ = ""; + /// + /// The language code of this segment as a + /// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + /// Example: "en-US". + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LanguageCode { + get { return languageCode_; } + set { + languageCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "channel_tag" field. + public const int ChannelTagFieldNumber = 5; + private int channelTag_; + /// + /// For conversations derived from multi-channel audio, this is the channel + /// number corresponding to the audio from that channel. For + /// audioChannelCount = N, its output values can range from '1' to 'N'. A + /// channel tag of 0 indicates that the audio is mono. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ChannelTag { + get { return channelTag_; } + set { + channelTag_ = value; + } + } + + /// Field number for the "segment_participant" field. + public const int SegmentParticipantFieldNumber = 9; + private global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant segmentParticipant_; + /// + /// The participant of this segment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant SegmentParticipant { + get { return segmentParticipant_; } + set { + segmentParticipant_ = value; + } + } + + /// Field number for the "dialogflow_segment_metadata" field. + public const int DialogflowSegmentMetadataFieldNumber = 10; + private global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata dialogflowSegmentMetadata_; + /// + /// CCAI metadata relating to the current transcript segment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata DialogflowSegmentMetadata { + get { return dialogflowSegmentMetadata_; } + set { + dialogflowSegmentMetadata_ = value; + } + } + + /// Field number for the "sentiment" field. + public const int SentimentFieldNumber = 11; + private global::Google.Cloud.ContactCenterInsights.V1.SentimentData sentiment_; + /// + /// The sentiment for this transcript segment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.SentimentData Sentiment { + get { return sentiment_; } + set { + sentiment_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TranscriptSegment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TranscriptSegment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(MessageTime, other.MessageTime)) return false; + if (Text != other.Text) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Confidence, other.Confidence)) return false; + if(!words_.Equals(other.words_)) return false; + if (LanguageCode != other.LanguageCode) return false; + if (ChannelTag != other.ChannelTag) return false; + if (!object.Equals(SegmentParticipant, other.SegmentParticipant)) return false; + if (!object.Equals(DialogflowSegmentMetadata, other.DialogflowSegmentMetadata)) return false; + if (!object.Equals(Sentiment, other.Sentiment)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (messageTime_ != null) hash ^= MessageTime.GetHashCode(); + if (Text.Length != 0) hash ^= Text.GetHashCode(); + if (Confidence != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Confidence); + hash ^= words_.GetHashCode(); + if (LanguageCode.Length != 0) hash ^= LanguageCode.GetHashCode(); + if (ChannelTag != 0) hash ^= ChannelTag.GetHashCode(); + if (segmentParticipant_ != null) hash ^= SegmentParticipant.GetHashCode(); + if (dialogflowSegmentMetadata_ != null) hash ^= DialogflowSegmentMetadata.GetHashCode(); + if (sentiment_ != null) hash ^= Sentiment.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Text.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Text); + } + if (Confidence != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Confidence); + } + words_.WriteTo(output, _repeated_words_codec); + if (LanguageCode.Length != 0) { + output.WriteRawTag(34); + output.WriteString(LanguageCode); + } + if (ChannelTag != 0) { + output.WriteRawTag(40); + output.WriteInt32(ChannelTag); + } + if (messageTime_ != null) { + output.WriteRawTag(50); + output.WriteMessage(MessageTime); + } + if (segmentParticipant_ != null) { + output.WriteRawTag(74); + output.WriteMessage(SegmentParticipant); + } + if (dialogflowSegmentMetadata_ != null) { + output.WriteRawTag(82); + output.WriteMessage(DialogflowSegmentMetadata); + } + if (sentiment_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Sentiment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Text.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Text); + } + if (Confidence != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Confidence); + } + words_.WriteTo(ref output, _repeated_words_codec); + if (LanguageCode.Length != 0) { + output.WriteRawTag(34); + output.WriteString(LanguageCode); + } + if (ChannelTag != 0) { + output.WriteRawTag(40); + output.WriteInt32(ChannelTag); + } + if (messageTime_ != null) { + output.WriteRawTag(50); + output.WriteMessage(MessageTime); + } + if (segmentParticipant_ != null) { + output.WriteRawTag(74); + output.WriteMessage(SegmentParticipant); + } + if (dialogflowSegmentMetadata_ != null) { + output.WriteRawTag(82); + output.WriteMessage(DialogflowSegmentMetadata); + } + if (sentiment_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Sentiment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (messageTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageTime); + } + if (Text.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + } + if (Confidence != 0F) { + size += 1 + 4; + } + size += words_.CalculateSize(_repeated_words_codec); + if (LanguageCode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LanguageCode); + } + if (ChannelTag != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChannelTag); + } + if (segmentParticipant_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SegmentParticipant); + } + if (dialogflowSegmentMetadata_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DialogflowSegmentMetadata); + } + if (sentiment_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sentiment); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TranscriptSegment other) { + if (other == null) { + return; + } + if (other.messageTime_ != null) { + if (messageTime_ == null) { + MessageTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + MessageTime.MergeFrom(other.MessageTime); + } + if (other.Text.Length != 0) { + Text = other.Text; + } + if (other.Confidence != 0F) { + Confidence = other.Confidence; + } + words_.Add(other.words_); + if (other.LanguageCode.Length != 0) { + LanguageCode = other.LanguageCode; + } + if (other.ChannelTag != 0) { + ChannelTag = other.ChannelTag; + } + if (other.segmentParticipant_ != null) { + if (segmentParticipant_ == null) { + SegmentParticipant = new global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant(); + } + SegmentParticipant.MergeFrom(other.SegmentParticipant); + } + if (other.dialogflowSegmentMetadata_ != null) { + if (dialogflowSegmentMetadata_ == null) { + DialogflowSegmentMetadata = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata(); + } + DialogflowSegmentMetadata.MergeFrom(other.DialogflowSegmentMetadata); + } + if (other.sentiment_ != null) { + if (sentiment_ == null) { + Sentiment = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + Sentiment.MergeFrom(other.Sentiment); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Text = input.ReadString(); + break; + } + case 21: { + Confidence = input.ReadFloat(); + break; + } + case 26: { + words_.AddEntriesFrom(input, _repeated_words_codec); + break; + } + case 34: { + LanguageCode = input.ReadString(); + break; + } + case 40: { + ChannelTag = input.ReadInt32(); + break; + } + case 50: { + if (messageTime_ == null) { + MessageTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(MessageTime); + break; + } + case 74: { + if (segmentParticipant_ == null) { + SegmentParticipant = new global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant(); + } + input.ReadMessage(SegmentParticipant); + break; + } + case 82: { + if (dialogflowSegmentMetadata_ == null) { + DialogflowSegmentMetadata = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata(); + } + input.ReadMessage(DialogflowSegmentMetadata); + break; + } + case 90: { + if (sentiment_ == null) { + Sentiment = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + input.ReadMessage(Sentiment); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Text = input.ReadString(); + break; + } + case 21: { + Confidence = input.ReadFloat(); + break; + } + case 26: { + words_.AddEntriesFrom(ref input, _repeated_words_codec); + break; + } + case 34: { + LanguageCode = input.ReadString(); + break; + } + case 40: { + ChannelTag = input.ReadInt32(); + break; + } + case 50: { + if (messageTime_ == null) { + MessageTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(MessageTime); + break; + } + case 74: { + if (segmentParticipant_ == null) { + SegmentParticipant = new global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant(); + } + input.ReadMessage(SegmentParticipant); + break; + } + case 82: { + if (dialogflowSegmentMetadata_ == null) { + DialogflowSegmentMetadata = new global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata(); + } + input.ReadMessage(DialogflowSegmentMetadata); + break; + } + case 90: { + if (sentiment_ == null) { + Sentiment = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + input.ReadMessage(Sentiment); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the TranscriptSegment message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Word-level info for words in a transcript. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WordInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WordInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WordInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WordInfo(WordInfo other) : this() { + startOffset_ = other.startOffset_ != null ? other.startOffset_.Clone() : null; + endOffset_ = other.endOffset_ != null ? other.endOffset_.Clone() : null; + word_ = other.word_; + confidence_ = other.confidence_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WordInfo Clone() { + return new WordInfo(this); + } + + /// Field number for the "start_offset" field. + public const int StartOffsetFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Duration startOffset_; + /// + /// Time offset of the start of this word relative to the beginning of + /// the total conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Duration StartOffset { + get { return startOffset_; } + set { + startOffset_ = value; + } + } + + /// Field number for the "end_offset" field. + public const int EndOffsetFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Duration endOffset_; + /// + /// Time offset of the end of this word relative to the beginning of the + /// total conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Duration EndOffset { + get { return endOffset_; } + set { + endOffset_ = value; + } + } + + /// Field number for the "word" field. + public const int WordFieldNumber = 3; + private string word_ = ""; + /// + /// The word itself. Includes punctuation marks that surround the word. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Word { + get { return word_; } + set { + word_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "confidence" field. + public const int ConfidenceFieldNumber = 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Confidence { + get { return confidence_; } + set { + confidence_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as WordInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WordInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(StartOffset, other.StartOffset)) return false; + if (!object.Equals(EndOffset, other.EndOffset)) return false; + if (Word != other.Word) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Confidence, other.Confidence)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (startOffset_ != null) hash ^= StartOffset.GetHashCode(); + if (endOffset_ != null) hash ^= EndOffset.GetHashCode(); + if (Word.Length != 0) hash ^= Word.GetHashCode(); + if (Confidence != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Confidence); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (startOffset_ != null) { + output.WriteRawTag(10); + output.WriteMessage(StartOffset); + } + if (endOffset_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndOffset); + } + if (Word.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Word); + } + if (Confidence != 0F) { + output.WriteRawTag(37); + output.WriteFloat(Confidence); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (startOffset_ != null) { + output.WriteRawTag(10); + output.WriteMessage(StartOffset); + } + if (endOffset_ != null) { + output.WriteRawTag(18); + output.WriteMessage(EndOffset); + } + if (Word.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Word); + } + if (Confidence != 0F) { + output.WriteRawTag(37); + output.WriteFloat(Confidence); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (startOffset_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StartOffset); + } + if (endOffset_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndOffset); + } + if (Word.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Word); + } + if (Confidence != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WordInfo other) { + if (other == null) { + return; + } + if (other.startOffset_ != null) { + if (startOffset_ == null) { + StartOffset = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + StartOffset.MergeFrom(other.StartOffset); + } + if (other.endOffset_ != null) { + if (endOffset_ == null) { + EndOffset = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + EndOffset.MergeFrom(other.EndOffset); + } + if (other.Word.Length != 0) { + Word = other.Word; + } + if (other.Confidence != 0F) { + Confidence = other.Confidence; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (startOffset_ == null) { + StartOffset = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(StartOffset); + break; + } + case 18: { + if (endOffset_ == null) { + EndOffset = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(EndOffset); + break; + } + case 26: { + Word = input.ReadString(); + break; + } + case 37: { + Confidence = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (startOffset_ == null) { + StartOffset = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(StartOffset); + break; + } + case 18: { + if (endOffset_ == null) { + EndOffset = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(EndOffset); + break; + } + case 26: { + Word = input.ReadString(); + break; + } + case 37: { + Confidence = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + + /// + /// Metadata from Dialogflow relating to the current transcript segment. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DialogflowSegmentMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DialogflowSegmentMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Transcript.Types.TranscriptSegment.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowSegmentMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowSegmentMetadata(DialogflowSegmentMetadata other) : this() { + smartReplyAllowlistCovered_ = other.smartReplyAllowlistCovered_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowSegmentMetadata Clone() { + return new DialogflowSegmentMetadata(this); + } + + /// Field number for the "smart_reply_allowlist_covered" field. + public const int SmartReplyAllowlistCoveredFieldNumber = 1; + private bool smartReplyAllowlistCovered_; + /// + /// Whether the transcript segment was covered under the configured smart + /// reply allowlist in Agent Assist. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SmartReplyAllowlistCovered { + get { return smartReplyAllowlistCovered_; } + set { + smartReplyAllowlistCovered_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DialogflowSegmentMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DialogflowSegmentMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SmartReplyAllowlistCovered != other.SmartReplyAllowlistCovered) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (SmartReplyAllowlistCovered != false) hash ^= SmartReplyAllowlistCovered.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (SmartReplyAllowlistCovered != false) { + output.WriteRawTag(8); + output.WriteBool(SmartReplyAllowlistCovered); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SmartReplyAllowlistCovered != false) { + output.WriteRawTag(8); + output.WriteBool(SmartReplyAllowlistCovered); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (SmartReplyAllowlistCovered != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DialogflowSegmentMetadata other) { + if (other == null) { + return; + } + if (other.SmartReplyAllowlistCovered != false) { + SmartReplyAllowlistCovered = other.SmartReplyAllowlistCovered; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + SmartReplyAllowlistCovered = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + SmartReplyAllowlistCovered = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// The analysis resource. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Analysis : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Analysis()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Analysis() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Analysis(Analysis other) : this() { + name_ = other.name_; + requestTime_ = other.requestTime_ != null ? other.requestTime_.Clone() : null; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + analysisResult_ = other.analysisResult_ != null ? other.analysisResult_.Clone() : null; + annotatorSelector_ = other.annotatorSelector_ != null ? other.annotatorSelector_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Analysis Clone() { + return new Analysis(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. The resource name of the analysis. + /// Format: + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "request_time" field. + public const int RequestTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp requestTime_; + /// + /// Output only. The time at which the analysis was requested. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp RequestTime { + get { return requestTime_; } + set { + requestTime_ = value; + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time at which the analysis was created, which occurs when + /// the long-running operation completes. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "analysis_result" field. + public const int AnalysisResultFieldNumber = 7; + private global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult analysisResult_; + /// + /// Output only. The result of the analysis, which is populated when the + /// analysis finishes. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult AnalysisResult { + get { return analysisResult_; } + set { + analysisResult_ = value; + } + } + + /// Field number for the "annotator_selector" field. + public const int AnnotatorSelectorFieldNumber = 8; + private global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector annotatorSelector_; + /// + /// To select the annotators to run and the phrase matchers to use + /// (if any). If not specified, all annotators will be run. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector AnnotatorSelector { + get { return annotatorSelector_; } + set { + annotatorSelector_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Analysis); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Analysis other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (!object.Equals(RequestTime, other.RequestTime)) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(AnalysisResult, other.AnalysisResult)) return false; + if (!object.Equals(AnnotatorSelector, other.AnnotatorSelector)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (requestTime_ != null) hash ^= RequestTime.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (analysisResult_ != null) hash ^= AnalysisResult.GetHashCode(); + if (annotatorSelector_ != null) hash ^= AnnotatorSelector.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (requestTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(RequestTime); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (analysisResult_ != null) { + output.WriteRawTag(58); + output.WriteMessage(AnalysisResult); + } + if (annotatorSelector_ != null) { + output.WriteRawTag(66); + output.WriteMessage(AnnotatorSelector); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (requestTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(RequestTime); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (analysisResult_ != null) { + output.WriteRawTag(58); + output.WriteMessage(AnalysisResult); + } + if (annotatorSelector_ != null) { + output.WriteRawTag(66); + output.WriteMessage(AnnotatorSelector); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (requestTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestTime); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (analysisResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnalysisResult); + } + if (annotatorSelector_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnnotatorSelector); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Analysis other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.requestTime_ != null) { + if (requestTime_ == null) { + RequestTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + RequestTime.MergeFrom(other.RequestTime); + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.analysisResult_ != null) { + if (analysisResult_ == null) { + AnalysisResult = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult(); + } + AnalysisResult.MergeFrom(other.AnalysisResult); + } + if (other.annotatorSelector_ != null) { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + AnnotatorSelector.MergeFrom(other.AnnotatorSelector); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (requestTime_ == null) { + RequestTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(RequestTime); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 58: { + if (analysisResult_ == null) { + AnalysisResult = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult(); + } + input.ReadMessage(AnalysisResult); + break; + } + case 66: { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + input.ReadMessage(AnnotatorSelector); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (requestTime_ == null) { + RequestTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(RequestTime); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 58: { + if (analysisResult_ == null) { + AnalysisResult = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult(); + } + input.ReadMessage(AnalysisResult); + break; + } + case 66: { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + input.ReadMessage(AnnotatorSelector); + break; + } + } + } + } + #endif + + } + + /// + /// The conversation source, which is a combination of transcript and audio. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConversationDataSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConversationDataSource()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationDataSource() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationDataSource(ConversationDataSource other) : this() { + switch (other.SourceCase) { + case SourceOneofCase.GcsSource: + GcsSource = other.GcsSource.Clone(); + break; + case SourceOneofCase.DialogflowSource: + DialogflowSource = other.DialogflowSource.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationDataSource Clone() { + return new ConversationDataSource(this); + } + + /// Field number for the "gcs_source" field. + public const int GcsSourceFieldNumber = 1; + /// + /// A Cloud Storage location specification for the audio and transcript. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.GcsSource GcsSource { + get { return sourceCase_ == SourceOneofCase.GcsSource ? (global::Google.Cloud.ContactCenterInsights.V1.GcsSource) source_ : null; } + set { + source_ = value; + sourceCase_ = value == null ? SourceOneofCase.None : SourceOneofCase.GcsSource; + } + } + + /// Field number for the "dialogflow_source" field. + public const int DialogflowSourceFieldNumber = 3; + /// + /// The source when the conversation comes from Dialogflow. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.DialogflowSource DialogflowSource { + get { return sourceCase_ == SourceOneofCase.DialogflowSource ? (global::Google.Cloud.ContactCenterInsights.V1.DialogflowSource) source_ : null; } + set { + source_ = value; + sourceCase_ = value == null ? SourceOneofCase.None : SourceOneofCase.DialogflowSource; + } + } + + private object source_; + /// Enum of possible cases for the "source" oneof. + public enum SourceOneofCase { + None = 0, + GcsSource = 1, + DialogflowSource = 3, + } + private SourceOneofCase sourceCase_ = SourceOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SourceOneofCase SourceCase { + get { return sourceCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSource() { + sourceCase_ = SourceOneofCase.None; + source_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConversationDataSource); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConversationDataSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GcsSource, other.GcsSource)) return false; + if (!object.Equals(DialogflowSource, other.DialogflowSource)) return false; + if (SourceCase != other.SourceCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (sourceCase_ == SourceOneofCase.GcsSource) hash ^= GcsSource.GetHashCode(); + if (sourceCase_ == SourceOneofCase.DialogflowSource) hash ^= DialogflowSource.GetHashCode(); + hash ^= (int) sourceCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (sourceCase_ == SourceOneofCase.GcsSource) { + output.WriteRawTag(10); + output.WriteMessage(GcsSource); + } + if (sourceCase_ == SourceOneofCase.DialogflowSource) { + output.WriteRawTag(26); + output.WriteMessage(DialogflowSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (sourceCase_ == SourceOneofCase.GcsSource) { + output.WriteRawTag(10); + output.WriteMessage(GcsSource); + } + if (sourceCase_ == SourceOneofCase.DialogflowSource) { + output.WriteRawTag(26); + output.WriteMessage(DialogflowSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (sourceCase_ == SourceOneofCase.GcsSource) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GcsSource); + } + if (sourceCase_ == SourceOneofCase.DialogflowSource) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DialogflowSource); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConversationDataSource other) { + if (other == null) { + return; + } + switch (other.SourceCase) { + case SourceOneofCase.GcsSource: + if (GcsSource == null) { + GcsSource = new global::Google.Cloud.ContactCenterInsights.V1.GcsSource(); + } + GcsSource.MergeFrom(other.GcsSource); + break; + case SourceOneofCase.DialogflowSource: + if (DialogflowSource == null) { + DialogflowSource = new global::Google.Cloud.ContactCenterInsights.V1.DialogflowSource(); + } + DialogflowSource.MergeFrom(other.DialogflowSource); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + global::Google.Cloud.ContactCenterInsights.V1.GcsSource subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.GcsSource(); + if (sourceCase_ == SourceOneofCase.GcsSource) { + subBuilder.MergeFrom(GcsSource); + } + input.ReadMessage(subBuilder); + GcsSource = subBuilder; + break; + } + case 26: { + global::Google.Cloud.ContactCenterInsights.V1.DialogflowSource subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.DialogflowSource(); + if (sourceCase_ == SourceOneofCase.DialogflowSource) { + subBuilder.MergeFrom(DialogflowSource); + } + input.ReadMessage(subBuilder); + DialogflowSource = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::Google.Cloud.ContactCenterInsights.V1.GcsSource subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.GcsSource(); + if (sourceCase_ == SourceOneofCase.GcsSource) { + subBuilder.MergeFrom(GcsSource); + } + input.ReadMessage(subBuilder); + GcsSource = subBuilder; + break; + } + case 26: { + global::Google.Cloud.ContactCenterInsights.V1.DialogflowSource subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.DialogflowSource(); + if (sourceCase_ == SourceOneofCase.DialogflowSource) { + subBuilder.MergeFrom(DialogflowSource); + } + input.ReadMessage(subBuilder); + DialogflowSource = subBuilder; + break; + } + } + } + } + #endif + + } + + /// + /// A Cloud Storage source of conversation data. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GcsSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GcsSource()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource(GcsSource other) : this() { + audioUri_ = other.audioUri_; + transcriptUri_ = other.transcriptUri_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GcsSource Clone() { + return new GcsSource(this); + } + + /// Field number for the "audio_uri" field. + public const int AudioUriFieldNumber = 1; + private string audioUri_ = ""; + /// + /// Cloud Storage URI that points to a file that contains the conversation + /// audio. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AudioUri { + get { return audioUri_; } + set { + audioUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "transcript_uri" field. + public const int TranscriptUriFieldNumber = 2; + private string transcriptUri_ = ""; + /// + /// Immutable. Cloud Storage URI that points to a file that contains the + /// conversation transcript. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TranscriptUri { + get { return transcriptUri_; } + set { + transcriptUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GcsSource); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GcsSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AudioUri != other.AudioUri) return false; + if (TranscriptUri != other.TranscriptUri) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (AudioUri.Length != 0) hash ^= AudioUri.GetHashCode(); + if (TranscriptUri.Length != 0) hash ^= TranscriptUri.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (AudioUri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AudioUri); + } + if (TranscriptUri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TranscriptUri); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AudioUri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AudioUri); + } + if (TranscriptUri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TranscriptUri); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (AudioUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AudioUri); + } + if (TranscriptUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TranscriptUri); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GcsSource other) { + if (other == null) { + return; + } + if (other.AudioUri.Length != 0) { + AudioUri = other.AudioUri; + } + if (other.TranscriptUri.Length != 0) { + TranscriptUri = other.TranscriptUri; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + AudioUri = input.ReadString(); + break; + } + case 18: { + TranscriptUri = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + AudioUri = input.ReadString(); + break; + } + case 18: { + TranscriptUri = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// A Dialogflow source of conversation data. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DialogflowSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DialogflowSource()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowSource() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowSource(DialogflowSource other) : this() { + dialogflowConversation_ = other.dialogflowConversation_; + audioUri_ = other.audioUri_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowSource Clone() { + return new DialogflowSource(this); + } + + /// Field number for the "dialogflow_conversation" field. + public const int DialogflowConversationFieldNumber = 1; + private string dialogflowConversation_ = ""; + /// + /// Output only. The name of the Dialogflow conversation that this conversation + /// resource is derived from. Format: + /// projects/{project}/locations/{location}/conversations/{conversation} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DialogflowConversation { + get { return dialogflowConversation_; } + set { + dialogflowConversation_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "audio_uri" field. + public const int AudioUriFieldNumber = 3; + private string audioUri_ = ""; + /// + /// Cloud Storage URI that points to a file that contains the conversation + /// audio. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AudioUri { + get { return audioUri_; } + set { + audioUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DialogflowSource); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DialogflowSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DialogflowConversation != other.DialogflowConversation) return false; + if (AudioUri != other.AudioUri) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (DialogflowConversation.Length != 0) hash ^= DialogflowConversation.GetHashCode(); + if (AudioUri.Length != 0) hash ^= AudioUri.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (DialogflowConversation.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DialogflowConversation); + } + if (AudioUri.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AudioUri); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DialogflowConversation.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DialogflowConversation); + } + if (AudioUri.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AudioUri); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (DialogflowConversation.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DialogflowConversation); + } + if (AudioUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AudioUri); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DialogflowSource other) { + if (other == null) { + return; + } + if (other.DialogflowConversation.Length != 0) { + DialogflowConversation = other.DialogflowConversation; + } + if (other.AudioUri.Length != 0) { + AudioUri = other.AudioUri; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + DialogflowConversation = input.ReadString(); + break; + } + case 26: { + AudioUri = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + DialogflowConversation = input.ReadString(); + break; + } + case 26: { + AudioUri = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The result of an analysis. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AnalysisResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnalysisResult()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnalysisResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnalysisResult(AnalysisResult other) : this() { + endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; + switch (other.MetadataCase) { + case MetadataOneofCase.CallAnalysisMetadata: + CallAnalysisMetadata = other.CallAnalysisMetadata.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnalysisResult Clone() { + return new AnalysisResult(this); + } + + /// Field number for the "call_analysis_metadata" field. + public const int CallAnalysisMetadataFieldNumber = 2; + /// + /// Call-specific metadata created by the analysis. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult.Types.CallAnalysisMetadata CallAnalysisMetadata { + get { return metadataCase_ == MetadataOneofCase.CallAnalysisMetadata ? (global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult.Types.CallAnalysisMetadata) metadata_ : null; } + set { + metadata_ = value; + metadataCase_ = value == null ? MetadataOneofCase.None : MetadataOneofCase.CallAnalysisMetadata; + } + } + + /// Field number for the "end_time" field. + public const int EndTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp endTime_; + /// + /// The time at which the analysis ended. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + private object metadata_; + /// Enum of possible cases for the "metadata" oneof. + public enum MetadataOneofCase { + None = 0, + CallAnalysisMetadata = 2, + } + private MetadataOneofCase metadataCase_ = MetadataOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MetadataOneofCase MetadataCase { + get { return metadataCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMetadata() { + metadataCase_ = MetadataOneofCase.None; + metadata_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AnalysisResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AnalysisResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CallAnalysisMetadata, other.CallAnalysisMetadata)) return false; + if (!object.Equals(EndTime, other.EndTime)) return false; + if (MetadataCase != other.MetadataCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (metadataCase_ == MetadataOneofCase.CallAnalysisMetadata) hash ^= CallAnalysisMetadata.GetHashCode(); + if (endTime_ != null) hash ^= EndTime.GetHashCode(); + hash ^= (int) metadataCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (endTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EndTime); + } + if (metadataCase_ == MetadataOneofCase.CallAnalysisMetadata) { + output.WriteRawTag(18); + output.WriteMessage(CallAnalysisMetadata); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (endTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(EndTime); + } + if (metadataCase_ == MetadataOneofCase.CallAnalysisMetadata) { + output.WriteRawTag(18); + output.WriteMessage(CallAnalysisMetadata); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (metadataCase_ == MetadataOneofCase.CallAnalysisMetadata) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CallAnalysisMetadata); + } + if (endTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AnalysisResult other) { + if (other == null) { + return; + } + if (other.endTime_ != null) { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + EndTime.MergeFrom(other.EndTime); + } + switch (other.MetadataCase) { + case MetadataOneofCase.CallAnalysisMetadata: + if (CallAnalysisMetadata == null) { + CallAnalysisMetadata = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult.Types.CallAnalysisMetadata(); + } + CallAnalysisMetadata.MergeFrom(other.CallAnalysisMetadata); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult.Types.CallAnalysisMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult.Types.CallAnalysisMetadata(); + if (metadataCase_ == MetadataOneofCase.CallAnalysisMetadata) { + subBuilder.MergeFrom(CallAnalysisMetadata); + } + input.ReadMessage(subBuilder); + CallAnalysisMetadata = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (endTime_ == null) { + EndTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(EndTime); + break; + } + case 18: { + global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult.Types.CallAnalysisMetadata subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult.Types.CallAnalysisMetadata(); + if (metadataCase_ == MetadataOneofCase.CallAnalysisMetadata) { + subBuilder.MergeFrom(CallAnalysisMetadata); + } + input.ReadMessage(subBuilder); + CallAnalysisMetadata = subBuilder; + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AnalysisResult message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Call-specific metadata created during analysis. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CallAnalysisMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CallAnalysisMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.AnalysisResult.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CallAnalysisMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CallAnalysisMetadata(CallAnalysisMetadata other) : this() { + annotations_ = other.annotations_.Clone(); + entities_ = other.entities_.Clone(); + sentiments_ = other.sentiments_.Clone(); + silence_ = other.silence_ != null ? other.silence_.Clone() : null; + intents_ = other.intents_.Clone(); + phraseMatchers_ = other.phraseMatchers_.Clone(); + issueModelResult_ = other.issueModelResult_ != null ? other.issueModelResult_.Clone() : null; + qaScorecardResults_ = other.qaScorecardResults_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CallAnalysisMetadata Clone() { + return new CallAnalysisMetadata(this); + } + + /// Field number for the "annotations" field. + public const int AnnotationsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_annotations_codec + = pb::FieldCodec.ForMessage(18, global::Google.Cloud.ContactCenterInsights.V1.CallAnnotation.Parser); + private readonly pbc::RepeatedField annotations_ = new pbc::RepeatedField(); + /// + /// A list of call annotations that apply to this call. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Annotations { + get { return annotations_; } + } + + /// Field number for the "entities" field. + public const int EntitiesFieldNumber = 3; + private static readonly pbc::MapField.Codec _map_entities_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Cloud.ContactCenterInsights.V1.Entity.Parser), 26); + private readonly pbc::MapField entities_ = new pbc::MapField(); + /// + /// All the entities in the call. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Entities { + get { return entities_; } + } + + /// Field number for the "sentiments" field. + public const int SentimentsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_sentiments_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.ContactCenterInsights.V1.ConversationLevelSentiment.Parser); + private readonly pbc::RepeatedField sentiments_ = new pbc::RepeatedField(); + /// + /// Overall conversation-level sentiment for each channel of the call. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Sentiments { + get { return sentiments_; } + } + + /// Field number for the "silence" field. + public const int SilenceFieldNumber = 11; + private global::Google.Cloud.ContactCenterInsights.V1.ConversationLevelSilence silence_; + /// + /// Overall conversation-level silence during the call. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ConversationLevelSilence Silence { + get { return silence_; } + set { + silence_ = value; + } + } + + /// Field number for the "intents" field. + public const int IntentsFieldNumber = 6; + private static readonly pbc::MapField.Codec _map_intents_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Cloud.ContactCenterInsights.V1.Intent.Parser), 50); + private readonly pbc::MapField intents_ = new pbc::MapField(); + /// + /// All the matched intents in the call. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Intents { + get { return intents_; } + } + + /// Field number for the "phrase_matchers" field. + public const int PhraseMatchersFieldNumber = 7; + private static readonly pbc::MapField.Codec _map_phraseMatchers_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchData.Parser), 58); + private readonly pbc::MapField phraseMatchers_ = new pbc::MapField(); + /// + /// All the matched phrase matchers in the call. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField PhraseMatchers { + get { return phraseMatchers_; } + } + + /// Field number for the "issue_model_result" field. + public const int IssueModelResultFieldNumber = 8; + private global::Google.Cloud.ContactCenterInsights.V1.IssueModelResult issueModelResult_; + /// + /// Overall conversation-level issue modeling result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IssueModelResult IssueModelResult { + get { return issueModelResult_; } + set { + issueModelResult_ = value; + } + } + + /// Field number for the "qa_scorecard_results" field. + public const int QaScorecardResultsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_qaScorecardResults_codec + = pb::FieldCodec.ForMessage(82, global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Parser); + private readonly pbc::RepeatedField qaScorecardResults_ = new pbc::RepeatedField(); + /// + /// Results of scoring QaScorecards. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QaScorecardResults { + get { return qaScorecardResults_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CallAnalysisMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CallAnalysisMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!annotations_.Equals(other.annotations_)) return false; + if (!Entities.Equals(other.Entities)) return false; + if(!sentiments_.Equals(other.sentiments_)) return false; + if (!object.Equals(Silence, other.Silence)) return false; + if (!Intents.Equals(other.Intents)) return false; + if (!PhraseMatchers.Equals(other.PhraseMatchers)) return false; + if (!object.Equals(IssueModelResult, other.IssueModelResult)) return false; + if(!qaScorecardResults_.Equals(other.qaScorecardResults_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= annotations_.GetHashCode(); + hash ^= Entities.GetHashCode(); + hash ^= sentiments_.GetHashCode(); + if (silence_ != null) hash ^= Silence.GetHashCode(); + hash ^= Intents.GetHashCode(); + hash ^= PhraseMatchers.GetHashCode(); + if (issueModelResult_ != null) hash ^= IssueModelResult.GetHashCode(); + hash ^= qaScorecardResults_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + annotations_.WriteTo(output, _repeated_annotations_codec); + entities_.WriteTo(output, _map_entities_codec); + sentiments_.WriteTo(output, _repeated_sentiments_codec); + intents_.WriteTo(output, _map_intents_codec); + phraseMatchers_.WriteTo(output, _map_phraseMatchers_codec); + if (issueModelResult_ != null) { + output.WriteRawTag(66); + output.WriteMessage(IssueModelResult); + } + qaScorecardResults_.WriteTo(output, _repeated_qaScorecardResults_codec); + if (silence_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Silence); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + annotations_.WriteTo(ref output, _repeated_annotations_codec); + entities_.WriteTo(ref output, _map_entities_codec); + sentiments_.WriteTo(ref output, _repeated_sentiments_codec); + intents_.WriteTo(ref output, _map_intents_codec); + phraseMatchers_.WriteTo(ref output, _map_phraseMatchers_codec); + if (issueModelResult_ != null) { + output.WriteRawTag(66); + output.WriteMessage(IssueModelResult); + } + qaScorecardResults_.WriteTo(ref output, _repeated_qaScorecardResults_codec); + if (silence_ != null) { + output.WriteRawTag(90); + output.WriteMessage(Silence); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += annotations_.CalculateSize(_repeated_annotations_codec); + size += entities_.CalculateSize(_map_entities_codec); + size += sentiments_.CalculateSize(_repeated_sentiments_codec); + if (silence_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Silence); + } + size += intents_.CalculateSize(_map_intents_codec); + size += phraseMatchers_.CalculateSize(_map_phraseMatchers_codec); + if (issueModelResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IssueModelResult); + } + size += qaScorecardResults_.CalculateSize(_repeated_qaScorecardResults_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CallAnalysisMetadata other) { + if (other == null) { + return; + } + annotations_.Add(other.annotations_); + entities_.MergeFrom(other.entities_); + sentiments_.Add(other.sentiments_); + if (other.silence_ != null) { + if (silence_ == null) { + Silence = new global::Google.Cloud.ContactCenterInsights.V1.ConversationLevelSilence(); + } + Silence.MergeFrom(other.Silence); + } + intents_.MergeFrom(other.intents_); + phraseMatchers_.MergeFrom(other.phraseMatchers_); + if (other.issueModelResult_ != null) { + if (issueModelResult_ == null) { + IssueModelResult = new global::Google.Cloud.ContactCenterInsights.V1.IssueModelResult(); + } + IssueModelResult.MergeFrom(other.IssueModelResult); + } + qaScorecardResults_.Add(other.qaScorecardResults_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + annotations_.AddEntriesFrom(input, _repeated_annotations_codec); + break; + } + case 26: { + entities_.AddEntriesFrom(input, _map_entities_codec); + break; + } + case 34: { + sentiments_.AddEntriesFrom(input, _repeated_sentiments_codec); + break; + } + case 50: { + intents_.AddEntriesFrom(input, _map_intents_codec); + break; + } + case 58: { + phraseMatchers_.AddEntriesFrom(input, _map_phraseMatchers_codec); + break; + } + case 66: { + if (issueModelResult_ == null) { + IssueModelResult = new global::Google.Cloud.ContactCenterInsights.V1.IssueModelResult(); + } + input.ReadMessage(IssueModelResult); + break; + } + case 82: { + qaScorecardResults_.AddEntriesFrom(input, _repeated_qaScorecardResults_codec); + break; + } + case 90: { + if (silence_ == null) { + Silence = new global::Google.Cloud.ContactCenterInsights.V1.ConversationLevelSilence(); + } + input.ReadMessage(Silence); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + annotations_.AddEntriesFrom(ref input, _repeated_annotations_codec); + break; + } + case 26: { + entities_.AddEntriesFrom(ref input, _map_entities_codec); + break; + } + case 34: { + sentiments_.AddEntriesFrom(ref input, _repeated_sentiments_codec); + break; + } + case 50: { + intents_.AddEntriesFrom(ref input, _map_intents_codec); + break; + } + case 58: { + phraseMatchers_.AddEntriesFrom(ref input, _map_phraseMatchers_codec); + break; + } + case 66: { + if (issueModelResult_ == null) { + IssueModelResult = new global::Google.Cloud.ContactCenterInsights.V1.IssueModelResult(); + } + input.ReadMessage(IssueModelResult); + break; + } + case 82: { + qaScorecardResults_.AddEntriesFrom(ref input, _repeated_qaScorecardResults_codec); + break; + } + case 90: { + if (silence_ == null) { + Silence = new global::Google.Cloud.ContactCenterInsights.V1.ConversationLevelSilence(); + } + input.ReadMessage(Silence); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Issue Modeling result on a conversation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IssueModelResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IssueModelResult()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueModelResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueModelResult(IssueModelResult other) : this() { + issueModel_ = other.issueModel_; + issues_ = other.issues_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueModelResult Clone() { + return new IssueModelResult(this); + } + + /// Field number for the "issue_model" field. + public const int IssueModelFieldNumber = 1; + private string issueModel_ = ""; + /// + /// Issue model that generates the result. + /// Format: projects/{project}/locations/{location}/issueModels/{issue_model} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IssueModel { + get { return issueModel_; } + set { + issueModel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "issues" field. + public const int IssuesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_issues_codec + = pb::FieldCodec.ForMessage(18, global::Google.Cloud.ContactCenterInsights.V1.IssueAssignment.Parser); + private readonly pbc::RepeatedField issues_ = new pbc::RepeatedField(); + /// + /// All the matched issues. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Issues { + get { return issues_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IssueModelResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IssueModelResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IssueModel != other.IssueModel) return false; + if(!issues_.Equals(other.issues_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (IssueModel.Length != 0) hash ^= IssueModel.GetHashCode(); + hash ^= issues_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IssueModel.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IssueModel); + } + issues_.WriteTo(output, _repeated_issues_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IssueModel.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IssueModel); + } + issues_.WriteTo(ref output, _repeated_issues_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (IssueModel.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IssueModel); + } + size += issues_.CalculateSize(_repeated_issues_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IssueModelResult other) { + if (other == null) { + return; + } + if (other.IssueModel.Length != 0) { + IssueModel = other.IssueModel; + } + issues_.Add(other.issues_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + IssueModel = input.ReadString(); + break; + } + case 18: { + issues_.AddEntriesFrom(input, _repeated_issues_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + IssueModel = input.ReadString(); + break; + } + case 18: { + issues_.AddEntriesFrom(ref input, _repeated_issues_codec); + break; + } + } + } + } + #endif + + } + + /// + /// Represents a conversation, resource, and label provided by the user. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FeedbackLabel : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FeedbackLabel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FeedbackLabel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FeedbackLabel(FeedbackLabel other) : this() { + name_ = other.name_; + labeledResource_ = other.labeledResource_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + switch (other.LabelTypeCase) { + case LabelTypeOneofCase.Label: + Label = other.Label; + break; + case LabelTypeOneofCase.QaAnswerLabel: + QaAnswerLabel = other.QaAnswerLabel.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FeedbackLabel Clone() { + return new FeedbackLabel(this); + } + + /// Field number for the "label" field. + public const int LabelFieldNumber = 4; + /// + /// String label. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Label { + get { return HasLabel ? (string) labelType_ : ""; } + set { + labelType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + labelTypeCase_ = LabelTypeOneofCase.Label; + } + } + /// Gets whether the "label" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLabel { + get { return labelTypeCase_ == LabelTypeOneofCase.Label; } + } + /// Clears the value of the oneof if it's currently set to "label" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLabel() { + if (HasLabel) { + ClearLabelType(); + } + } + + /// Field number for the "qa_answer_label" field. + public const int QaAnswerLabelFieldNumber = 7; + /// + /// QaAnswer label. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue QaAnswerLabel { + get { return labelTypeCase_ == LabelTypeOneofCase.QaAnswerLabel ? (global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue) labelType_ : null; } + set { + labelType_ = value; + labelTypeCase_ = value == null ? LabelTypeOneofCase.None : LabelTypeOneofCase.QaAnswerLabel; + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. Resource name of the FeedbackLabel. + /// Format: + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "labeled_resource" field. + public const int LabeledResourceFieldNumber = 3; + private string labeledResource_ = ""; + /// + /// Resource name of the resource to be labeled. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LabeledResource { + get { return labeledResource_; } + set { + labeledResource_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 5; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. Create time of the label. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 6; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. Update time of the label. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + private object labelType_; + /// Enum of possible cases for the "label_type" oneof. + public enum LabelTypeOneofCase { + None = 0, + Label = 4, + QaAnswerLabel = 7, + } + private LabelTypeOneofCase labelTypeCase_ = LabelTypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LabelTypeOneofCase LabelTypeCase { + get { return labelTypeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLabelType() { + labelTypeCase_ = LabelTypeOneofCase.None; + labelType_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FeedbackLabel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FeedbackLabel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Label != other.Label) return false; + if (!object.Equals(QaAnswerLabel, other.QaAnswerLabel)) return false; + if (Name != other.Name) return false; + if (LabeledResource != other.LabeledResource) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + if (LabelTypeCase != other.LabelTypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasLabel) hash ^= Label.GetHashCode(); + if (labelTypeCase_ == LabelTypeOneofCase.QaAnswerLabel) hash ^= QaAnswerLabel.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (LabeledResource.Length != 0) hash ^= LabeledResource.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + hash ^= (int) labelTypeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (LabeledResource.Length != 0) { + output.WriteRawTag(26); + output.WriteString(LabeledResource); + } + if (HasLabel) { + output.WriteRawTag(34); + output.WriteString(Label); + } + if (createTime_ != null) { + output.WriteRawTag(42); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(50); + output.WriteMessage(UpdateTime); + } + if (labelTypeCase_ == LabelTypeOneofCase.QaAnswerLabel) { + output.WriteRawTag(58); + output.WriteMessage(QaAnswerLabel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (LabeledResource.Length != 0) { + output.WriteRawTag(26); + output.WriteString(LabeledResource); + } + if (HasLabel) { + output.WriteRawTag(34); + output.WriteString(Label); + } + if (createTime_ != null) { + output.WriteRawTag(42); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(50); + output.WriteMessage(UpdateTime); + } + if (labelTypeCase_ == LabelTypeOneofCase.QaAnswerLabel) { + output.WriteRawTag(58); + output.WriteMessage(QaAnswerLabel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasLabel) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Label); + } + if (labelTypeCase_ == LabelTypeOneofCase.QaAnswerLabel) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(QaAnswerLabel); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (LabeledResource.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LabeledResource); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FeedbackLabel other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.LabeledResource.Length != 0) { + LabeledResource = other.LabeledResource; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + switch (other.LabelTypeCase) { + case LabelTypeOneofCase.Label: + Label = other.Label; + break; + case LabelTypeOneofCase.QaAnswerLabel: + if (QaAnswerLabel == null) { + QaAnswerLabel = new global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue(); + } + QaAnswerLabel.MergeFrom(other.QaAnswerLabel); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 26: { + LabeledResource = input.ReadString(); + break; + } + case 34: { + Label = input.ReadString(); + break; + } + case 42: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 50: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 58: { + global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue(); + if (labelTypeCase_ == LabelTypeOneofCase.QaAnswerLabel) { + subBuilder.MergeFrom(QaAnswerLabel); + } + input.ReadMessage(subBuilder); + QaAnswerLabel = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 26: { + LabeledResource = input.ReadString(); + break; + } + case 34: { + Label = input.ReadString(); + break; + } + case 42: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 50: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 58: { + global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue(); + if (labelTypeCase_ == LabelTypeOneofCase.QaAnswerLabel) { + subBuilder.MergeFrom(QaAnswerLabel); + } + input.ReadMessage(subBuilder); + QaAnswerLabel = subBuilder; + break; + } + } + } + } + #endif + + } + + /// + /// One channel of conversation-level sentiment data. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConversationLevelSentiment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConversationLevelSentiment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationLevelSentiment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationLevelSentiment(ConversationLevelSentiment other) : this() { + channelTag_ = other.channelTag_; + sentimentData_ = other.sentimentData_ != null ? other.sentimentData_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationLevelSentiment Clone() { + return new ConversationLevelSentiment(this); + } + + /// Field number for the "channel_tag" field. + public const int ChannelTagFieldNumber = 1; + private int channelTag_; + /// + /// The channel of the audio that the data applies to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ChannelTag { + get { return channelTag_; } + set { + channelTag_ = value; + } + } + + /// Field number for the "sentiment_data" field. + public const int SentimentDataFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.SentimentData sentimentData_; + /// + /// Data specifying sentiment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.SentimentData SentimentData { + get { return sentimentData_; } + set { + sentimentData_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConversationLevelSentiment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConversationLevelSentiment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ChannelTag != other.ChannelTag) return false; + if (!object.Equals(SentimentData, other.SentimentData)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ChannelTag != 0) hash ^= ChannelTag.GetHashCode(); + if (sentimentData_ != null) hash ^= SentimentData.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ChannelTag != 0) { + output.WriteRawTag(8); + output.WriteInt32(ChannelTag); + } + if (sentimentData_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SentimentData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ChannelTag != 0) { + output.WriteRawTag(8); + output.WriteInt32(ChannelTag); + } + if (sentimentData_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SentimentData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ChannelTag != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChannelTag); + } + if (sentimentData_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SentimentData); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConversationLevelSentiment other) { + if (other == null) { + return; + } + if (other.ChannelTag != 0) { + ChannelTag = other.ChannelTag; + } + if (other.sentimentData_ != null) { + if (sentimentData_ == null) { + SentimentData = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + SentimentData.MergeFrom(other.SentimentData); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ChannelTag = input.ReadInt32(); + break; + } + case 18: { + if (sentimentData_ == null) { + SentimentData = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + input.ReadMessage(SentimentData); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ChannelTag = input.ReadInt32(); + break; + } + case 18: { + if (sentimentData_ == null) { + SentimentData = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + input.ReadMessage(SentimentData); + break; + } + } + } + } + #endif + + } + + /// + /// Conversation-level silence data. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConversationLevelSilence : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConversationLevelSilence()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationLevelSilence() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationLevelSilence(ConversationLevelSilence other) : this() { + silenceDuration_ = other.silenceDuration_ != null ? other.silenceDuration_.Clone() : null; + silencePercentage_ = other.silencePercentage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationLevelSilence Clone() { + return new ConversationLevelSilence(this); + } + + /// Field number for the "silence_duration" field. + public const int SilenceDurationFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Duration silenceDuration_; + /// + /// Amount of time calculated to be in silence. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Duration SilenceDuration { + get { return silenceDuration_; } + set { + silenceDuration_ = value; + } + } + + /// Field number for the "silence_percentage" field. + public const int SilencePercentageFieldNumber = 2; + private float silencePercentage_; + /// + /// Percentage of the total conversation spent in silence. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float SilencePercentage { + get { return silencePercentage_; } + set { + silencePercentage_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConversationLevelSilence); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConversationLevelSilence other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(SilenceDuration, other.SilenceDuration)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SilencePercentage, other.SilencePercentage)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (silenceDuration_ != null) hash ^= SilenceDuration.GetHashCode(); + if (SilencePercentage != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SilencePercentage); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (silenceDuration_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SilenceDuration); + } + if (SilencePercentage != 0F) { + output.WriteRawTag(21); + output.WriteFloat(SilencePercentage); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (silenceDuration_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SilenceDuration); + } + if (SilencePercentage != 0F) { + output.WriteRawTag(21); + output.WriteFloat(SilencePercentage); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (silenceDuration_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SilenceDuration); + } + if (SilencePercentage != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConversationLevelSilence other) { + if (other == null) { + return; + } + if (other.silenceDuration_ != null) { + if (silenceDuration_ == null) { + SilenceDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + SilenceDuration.MergeFrom(other.SilenceDuration); + } + if (other.SilencePercentage != 0F) { + SilencePercentage = other.SilencePercentage; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (silenceDuration_ == null) { + SilenceDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(SilenceDuration); + break; + } + case 21: { + SilencePercentage = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (silenceDuration_ == null) { + SilenceDuration = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(SilenceDuration); + break; + } + case 21: { + SilencePercentage = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + + /// + /// Information about the issue. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IssueAssignment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IssueAssignment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueAssignment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueAssignment(IssueAssignment other) : this() { + issue_ = other.issue_; + score_ = other.score_; + displayName_ = other.displayName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueAssignment Clone() { + return new IssueAssignment(this); + } + + /// Field number for the "issue" field. + public const int IssueFieldNumber = 1; + private string issue_ = ""; + /// + /// Resource name of the assigned issue. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Issue { + get { return issue_; } + set { + issue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "score" field. + public const int ScoreFieldNumber = 2; + private double score_; + /// + /// Score indicating the likelihood of the issue assignment. + /// currently bounded on [0,1]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Score { + get { return score_; } + set { + score_ = value; + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 3; + private string displayName_ = ""; + /// + /// Immutable. Display name of the assigned issue. This field is set at time of + /// analyis and immutable since then. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IssueAssignment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IssueAssignment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Issue != other.Issue) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Score, other.Score)) return false; + if (DisplayName != other.DisplayName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Issue.Length != 0) hash ^= Issue.GetHashCode(); + if (Score != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Score); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Issue.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Issue); + } + if (Score != 0D) { + output.WriteRawTag(17); + output.WriteDouble(Score); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Issue.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Issue); + } + if (Score != 0D) { + output.WriteRawTag(17); + output.WriteDouble(Score); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Issue.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Issue); + } + if (Score != 0D) { + size += 1 + 8; + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IssueAssignment other) { + if (other == null) { + return; + } + if (other.Issue.Length != 0) { + Issue = other.Issue; + } + if (other.Score != 0D) { + Score = other.Score; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Issue = input.ReadString(); + break; + } + case 17: { + Score = input.ReadDouble(); + break; + } + case 26: { + DisplayName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Issue = input.ReadString(); + break; + } + case 17: { + Score = input.ReadDouble(); + break; + } + case 26: { + DisplayName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// A piece of metadata that applies to a window of a call. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CallAnnotation : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CallAnnotation()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CallAnnotation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CallAnnotation(CallAnnotation other) : this() { + channelTag_ = other.channelTag_; + annotationStartBoundary_ = other.annotationStartBoundary_ != null ? other.annotationStartBoundary_.Clone() : null; + annotationEndBoundary_ = other.annotationEndBoundary_ != null ? other.annotationEndBoundary_.Clone() : null; + switch (other.DataCase) { + case DataOneofCase.InterruptionData: + InterruptionData = other.InterruptionData.Clone(); + break; + case DataOneofCase.SentimentData: + SentimentData = other.SentimentData.Clone(); + break; + case DataOneofCase.SilenceData: + SilenceData = other.SilenceData.Clone(); + break; + case DataOneofCase.HoldData: + HoldData = other.HoldData.Clone(); + break; + case DataOneofCase.EntityMentionData: + EntityMentionData = other.EntityMentionData.Clone(); + break; + case DataOneofCase.IntentMatchData: + IntentMatchData = other.IntentMatchData.Clone(); + break; + case DataOneofCase.PhraseMatchData: + PhraseMatchData = other.PhraseMatchData.Clone(); + break; + case DataOneofCase.IssueMatchData: + IssueMatchData = other.IssueMatchData.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CallAnnotation Clone() { + return new CallAnnotation(this); + } + + /// Field number for the "interruption_data" field. + public const int InterruptionDataFieldNumber = 10; + /// + /// Data specifying an interruption. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.InterruptionData InterruptionData { + get { return dataCase_ == DataOneofCase.InterruptionData ? (global::Google.Cloud.ContactCenterInsights.V1.InterruptionData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.InterruptionData; + } + } + + /// Field number for the "sentiment_data" field. + public const int SentimentDataFieldNumber = 11; + /// + /// Data specifying sentiment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.SentimentData SentimentData { + get { return dataCase_ == DataOneofCase.SentimentData ? (global::Google.Cloud.ContactCenterInsights.V1.SentimentData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.SentimentData; + } + } + + /// Field number for the "silence_data" field. + public const int SilenceDataFieldNumber = 12; + /// + /// Data specifying silence. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.SilenceData SilenceData { + get { return dataCase_ == DataOneofCase.SilenceData ? (global::Google.Cloud.ContactCenterInsights.V1.SilenceData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.SilenceData; + } + } + + /// Field number for the "hold_data" field. + public const int HoldDataFieldNumber = 13; + /// + /// Data specifying a hold. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.HoldData HoldData { + get { return dataCase_ == DataOneofCase.HoldData ? (global::Google.Cloud.ContactCenterInsights.V1.HoldData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.HoldData; + } + } + + /// Field number for the "entity_mention_data" field. + public const int EntityMentionDataFieldNumber = 15; + /// + /// Data specifying an entity mention. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData EntityMentionData { + get { return dataCase_ == DataOneofCase.EntityMentionData ? (global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.EntityMentionData; + } + } + + /// Field number for the "intent_match_data" field. + public const int IntentMatchDataFieldNumber = 16; + /// + /// Data specifying an intent match. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IntentMatchData IntentMatchData { + get { return dataCase_ == DataOneofCase.IntentMatchData ? (global::Google.Cloud.ContactCenterInsights.V1.IntentMatchData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.IntentMatchData; + } + } + + /// Field number for the "phrase_match_data" field. + public const int PhraseMatchDataFieldNumber = 17; + /// + /// Data specifying a phrase match. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchData PhraseMatchData { + get { return dataCase_ == DataOneofCase.PhraseMatchData ? (global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.PhraseMatchData; + } + } + + /// Field number for the "issue_match_data" field. + public const int IssueMatchDataFieldNumber = 18; + /// + /// Data specifying an issue match. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IssueMatchData IssueMatchData { + get { return dataCase_ == DataOneofCase.IssueMatchData ? (global::Google.Cloud.ContactCenterInsights.V1.IssueMatchData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.IssueMatchData; + } + } + + /// Field number for the "channel_tag" field. + public const int ChannelTagFieldNumber = 1; + private int channelTag_; + /// + /// The channel of the audio where the annotation occurs. For single-channel + /// audio, this field is not populated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ChannelTag { + get { return channelTag_; } + set { + channelTag_ = value; + } + } + + /// Field number for the "annotation_start_boundary" field. + public const int AnnotationStartBoundaryFieldNumber = 4; + private global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary annotationStartBoundary_; + /// + /// The boundary in the conversation where the annotation starts, inclusive. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary AnnotationStartBoundary { + get { return annotationStartBoundary_; } + set { + annotationStartBoundary_ = value; + } + } + + /// Field number for the "annotation_end_boundary" field. + public const int AnnotationEndBoundaryFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary annotationEndBoundary_; + /// + /// The boundary in the conversation where the annotation ends, inclusive. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary AnnotationEndBoundary { + get { return annotationEndBoundary_; } + set { + annotationEndBoundary_ = value; + } + } + + private object data_; + /// Enum of possible cases for the "data" oneof. + public enum DataOneofCase { + None = 0, + InterruptionData = 10, + SentimentData = 11, + SilenceData = 12, + HoldData = 13, + EntityMentionData = 15, + IntentMatchData = 16, + PhraseMatchData = 17, + IssueMatchData = 18, + } + private DataOneofCase dataCase_ = DataOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataOneofCase DataCase { + get { return dataCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearData() { + dataCase_ = DataOneofCase.None; + data_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CallAnnotation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CallAnnotation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(InterruptionData, other.InterruptionData)) return false; + if (!object.Equals(SentimentData, other.SentimentData)) return false; + if (!object.Equals(SilenceData, other.SilenceData)) return false; + if (!object.Equals(HoldData, other.HoldData)) return false; + if (!object.Equals(EntityMentionData, other.EntityMentionData)) return false; + if (!object.Equals(IntentMatchData, other.IntentMatchData)) return false; + if (!object.Equals(PhraseMatchData, other.PhraseMatchData)) return false; + if (!object.Equals(IssueMatchData, other.IssueMatchData)) return false; + if (ChannelTag != other.ChannelTag) return false; + if (!object.Equals(AnnotationStartBoundary, other.AnnotationStartBoundary)) return false; + if (!object.Equals(AnnotationEndBoundary, other.AnnotationEndBoundary)) return false; + if (DataCase != other.DataCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (dataCase_ == DataOneofCase.InterruptionData) hash ^= InterruptionData.GetHashCode(); + if (dataCase_ == DataOneofCase.SentimentData) hash ^= SentimentData.GetHashCode(); + if (dataCase_ == DataOneofCase.SilenceData) hash ^= SilenceData.GetHashCode(); + if (dataCase_ == DataOneofCase.HoldData) hash ^= HoldData.GetHashCode(); + if (dataCase_ == DataOneofCase.EntityMentionData) hash ^= EntityMentionData.GetHashCode(); + if (dataCase_ == DataOneofCase.IntentMatchData) hash ^= IntentMatchData.GetHashCode(); + if (dataCase_ == DataOneofCase.PhraseMatchData) hash ^= PhraseMatchData.GetHashCode(); + if (dataCase_ == DataOneofCase.IssueMatchData) hash ^= IssueMatchData.GetHashCode(); + if (ChannelTag != 0) hash ^= ChannelTag.GetHashCode(); + if (annotationStartBoundary_ != null) hash ^= AnnotationStartBoundary.GetHashCode(); + if (annotationEndBoundary_ != null) hash ^= AnnotationEndBoundary.GetHashCode(); + hash ^= (int) dataCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ChannelTag != 0) { + output.WriteRawTag(8); + output.WriteInt32(ChannelTag); + } + if (annotationStartBoundary_ != null) { + output.WriteRawTag(34); + output.WriteMessage(AnnotationStartBoundary); + } + if (annotationEndBoundary_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AnnotationEndBoundary); + } + if (dataCase_ == DataOneofCase.InterruptionData) { + output.WriteRawTag(82); + output.WriteMessage(InterruptionData); + } + if (dataCase_ == DataOneofCase.SentimentData) { + output.WriteRawTag(90); + output.WriteMessage(SentimentData); + } + if (dataCase_ == DataOneofCase.SilenceData) { + output.WriteRawTag(98); + output.WriteMessage(SilenceData); + } + if (dataCase_ == DataOneofCase.HoldData) { + output.WriteRawTag(106); + output.WriteMessage(HoldData); + } + if (dataCase_ == DataOneofCase.EntityMentionData) { + output.WriteRawTag(122); + output.WriteMessage(EntityMentionData); + } + if (dataCase_ == DataOneofCase.IntentMatchData) { + output.WriteRawTag(130, 1); + output.WriteMessage(IntentMatchData); + } + if (dataCase_ == DataOneofCase.PhraseMatchData) { + output.WriteRawTag(138, 1); + output.WriteMessage(PhraseMatchData); + } + if (dataCase_ == DataOneofCase.IssueMatchData) { + output.WriteRawTag(146, 1); + output.WriteMessage(IssueMatchData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ChannelTag != 0) { + output.WriteRawTag(8); + output.WriteInt32(ChannelTag); + } + if (annotationStartBoundary_ != null) { + output.WriteRawTag(34); + output.WriteMessage(AnnotationStartBoundary); + } + if (annotationEndBoundary_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AnnotationEndBoundary); + } + if (dataCase_ == DataOneofCase.InterruptionData) { + output.WriteRawTag(82); + output.WriteMessage(InterruptionData); + } + if (dataCase_ == DataOneofCase.SentimentData) { + output.WriteRawTag(90); + output.WriteMessage(SentimentData); + } + if (dataCase_ == DataOneofCase.SilenceData) { + output.WriteRawTag(98); + output.WriteMessage(SilenceData); + } + if (dataCase_ == DataOneofCase.HoldData) { + output.WriteRawTag(106); + output.WriteMessage(HoldData); + } + if (dataCase_ == DataOneofCase.EntityMentionData) { + output.WriteRawTag(122); + output.WriteMessage(EntityMentionData); + } + if (dataCase_ == DataOneofCase.IntentMatchData) { + output.WriteRawTag(130, 1); + output.WriteMessage(IntentMatchData); + } + if (dataCase_ == DataOneofCase.PhraseMatchData) { + output.WriteRawTag(138, 1); + output.WriteMessage(PhraseMatchData); + } + if (dataCase_ == DataOneofCase.IssueMatchData) { + output.WriteRawTag(146, 1); + output.WriteMessage(IssueMatchData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (dataCase_ == DataOneofCase.InterruptionData) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InterruptionData); + } + if (dataCase_ == DataOneofCase.SentimentData) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SentimentData); + } + if (dataCase_ == DataOneofCase.SilenceData) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SilenceData); + } + if (dataCase_ == DataOneofCase.HoldData) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(HoldData); + } + if (dataCase_ == DataOneofCase.EntityMentionData) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EntityMentionData); + } + if (dataCase_ == DataOneofCase.IntentMatchData) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(IntentMatchData); + } + if (dataCase_ == DataOneofCase.PhraseMatchData) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(PhraseMatchData); + } + if (dataCase_ == DataOneofCase.IssueMatchData) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(IssueMatchData); + } + if (ChannelTag != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChannelTag); + } + if (annotationStartBoundary_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnnotationStartBoundary); + } + if (annotationEndBoundary_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnnotationEndBoundary); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CallAnnotation other) { + if (other == null) { + return; + } + if (other.ChannelTag != 0) { + ChannelTag = other.ChannelTag; + } + if (other.annotationStartBoundary_ != null) { + if (annotationStartBoundary_ == null) { + AnnotationStartBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + AnnotationStartBoundary.MergeFrom(other.AnnotationStartBoundary); + } + if (other.annotationEndBoundary_ != null) { + if (annotationEndBoundary_ == null) { + AnnotationEndBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + AnnotationEndBoundary.MergeFrom(other.AnnotationEndBoundary); + } + switch (other.DataCase) { + case DataOneofCase.InterruptionData: + if (InterruptionData == null) { + InterruptionData = new global::Google.Cloud.ContactCenterInsights.V1.InterruptionData(); + } + InterruptionData.MergeFrom(other.InterruptionData); + break; + case DataOneofCase.SentimentData: + if (SentimentData == null) { + SentimentData = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + SentimentData.MergeFrom(other.SentimentData); + break; + case DataOneofCase.SilenceData: + if (SilenceData == null) { + SilenceData = new global::Google.Cloud.ContactCenterInsights.V1.SilenceData(); + } + SilenceData.MergeFrom(other.SilenceData); + break; + case DataOneofCase.HoldData: + if (HoldData == null) { + HoldData = new global::Google.Cloud.ContactCenterInsights.V1.HoldData(); + } + HoldData.MergeFrom(other.HoldData); + break; + case DataOneofCase.EntityMentionData: + if (EntityMentionData == null) { + EntityMentionData = new global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData(); + } + EntityMentionData.MergeFrom(other.EntityMentionData); + break; + case DataOneofCase.IntentMatchData: + if (IntentMatchData == null) { + IntentMatchData = new global::Google.Cloud.ContactCenterInsights.V1.IntentMatchData(); + } + IntentMatchData.MergeFrom(other.IntentMatchData); + break; + case DataOneofCase.PhraseMatchData: + if (PhraseMatchData == null) { + PhraseMatchData = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchData(); + } + PhraseMatchData.MergeFrom(other.PhraseMatchData); + break; + case DataOneofCase.IssueMatchData: + if (IssueMatchData == null) { + IssueMatchData = new global::Google.Cloud.ContactCenterInsights.V1.IssueMatchData(); + } + IssueMatchData.MergeFrom(other.IssueMatchData); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ChannelTag = input.ReadInt32(); + break; + } + case 34: { + if (annotationStartBoundary_ == null) { + AnnotationStartBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + input.ReadMessage(AnnotationStartBoundary); + break; + } + case 42: { + if (annotationEndBoundary_ == null) { + AnnotationEndBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + input.ReadMessage(AnnotationEndBoundary); + break; + } + case 82: { + global::Google.Cloud.ContactCenterInsights.V1.InterruptionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.InterruptionData(); + if (dataCase_ == DataOneofCase.InterruptionData) { + subBuilder.MergeFrom(InterruptionData); + } + input.ReadMessage(subBuilder); + InterruptionData = subBuilder; + break; + } + case 90: { + global::Google.Cloud.ContactCenterInsights.V1.SentimentData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + if (dataCase_ == DataOneofCase.SentimentData) { + subBuilder.MergeFrom(SentimentData); + } + input.ReadMessage(subBuilder); + SentimentData = subBuilder; + break; + } + case 98: { + global::Google.Cloud.ContactCenterInsights.V1.SilenceData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.SilenceData(); + if (dataCase_ == DataOneofCase.SilenceData) { + subBuilder.MergeFrom(SilenceData); + } + input.ReadMessage(subBuilder); + SilenceData = subBuilder; + break; + } + case 106: { + global::Google.Cloud.ContactCenterInsights.V1.HoldData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.HoldData(); + if (dataCase_ == DataOneofCase.HoldData) { + subBuilder.MergeFrom(HoldData); + } + input.ReadMessage(subBuilder); + HoldData = subBuilder; + break; + } + case 122: { + global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData(); + if (dataCase_ == DataOneofCase.EntityMentionData) { + subBuilder.MergeFrom(EntityMentionData); + } + input.ReadMessage(subBuilder); + EntityMentionData = subBuilder; + break; + } + case 130: { + global::Google.Cloud.ContactCenterInsights.V1.IntentMatchData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.IntentMatchData(); + if (dataCase_ == DataOneofCase.IntentMatchData) { + subBuilder.MergeFrom(IntentMatchData); + } + input.ReadMessage(subBuilder); + IntentMatchData = subBuilder; + break; + } + case 138: { + global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchData(); + if (dataCase_ == DataOneofCase.PhraseMatchData) { + subBuilder.MergeFrom(PhraseMatchData); + } + input.ReadMessage(subBuilder); + PhraseMatchData = subBuilder; + break; + } + case 146: { + global::Google.Cloud.ContactCenterInsights.V1.IssueMatchData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.IssueMatchData(); + if (dataCase_ == DataOneofCase.IssueMatchData) { + subBuilder.MergeFrom(IssueMatchData); + } + input.ReadMessage(subBuilder); + IssueMatchData = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ChannelTag = input.ReadInt32(); + break; + } + case 34: { + if (annotationStartBoundary_ == null) { + AnnotationStartBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + input.ReadMessage(AnnotationStartBoundary); + break; + } + case 42: { + if (annotationEndBoundary_ == null) { + AnnotationEndBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + input.ReadMessage(AnnotationEndBoundary); + break; + } + case 82: { + global::Google.Cloud.ContactCenterInsights.V1.InterruptionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.InterruptionData(); + if (dataCase_ == DataOneofCase.InterruptionData) { + subBuilder.MergeFrom(InterruptionData); + } + input.ReadMessage(subBuilder); + InterruptionData = subBuilder; + break; + } + case 90: { + global::Google.Cloud.ContactCenterInsights.V1.SentimentData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + if (dataCase_ == DataOneofCase.SentimentData) { + subBuilder.MergeFrom(SentimentData); + } + input.ReadMessage(subBuilder); + SentimentData = subBuilder; + break; + } + case 98: { + global::Google.Cloud.ContactCenterInsights.V1.SilenceData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.SilenceData(); + if (dataCase_ == DataOneofCase.SilenceData) { + subBuilder.MergeFrom(SilenceData); + } + input.ReadMessage(subBuilder); + SilenceData = subBuilder; + break; + } + case 106: { + global::Google.Cloud.ContactCenterInsights.V1.HoldData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.HoldData(); + if (dataCase_ == DataOneofCase.HoldData) { + subBuilder.MergeFrom(HoldData); + } + input.ReadMessage(subBuilder); + HoldData = subBuilder; + break; + } + case 122: { + global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData(); + if (dataCase_ == DataOneofCase.EntityMentionData) { + subBuilder.MergeFrom(EntityMentionData); + } + input.ReadMessage(subBuilder); + EntityMentionData = subBuilder; + break; + } + case 130: { + global::Google.Cloud.ContactCenterInsights.V1.IntentMatchData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.IntentMatchData(); + if (dataCase_ == DataOneofCase.IntentMatchData) { + subBuilder.MergeFrom(IntentMatchData); + } + input.ReadMessage(subBuilder); + IntentMatchData = subBuilder; + break; + } + case 138: { + global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchData(); + if (dataCase_ == DataOneofCase.PhraseMatchData) { + subBuilder.MergeFrom(PhraseMatchData); + } + input.ReadMessage(subBuilder); + PhraseMatchData = subBuilder; + break; + } + case 146: { + global::Google.Cloud.ContactCenterInsights.V1.IssueMatchData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.IssueMatchData(); + if (dataCase_ == DataOneofCase.IssueMatchData) { + subBuilder.MergeFrom(IssueMatchData); + } + input.ReadMessage(subBuilder); + IssueMatchData = subBuilder; + break; + } + } + } + } + #endif + + } + + /// + /// A point in a conversation that marks the start or the end of an annotation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AnnotationBoundary : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnnotationBoundary()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[12]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnnotationBoundary() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnnotationBoundary(AnnotationBoundary other) : this() { + transcriptIndex_ = other.transcriptIndex_; + switch (other.DetailedBoundaryCase) { + case DetailedBoundaryOneofCase.WordIndex: + WordIndex = other.WordIndex; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnnotationBoundary Clone() { + return new AnnotationBoundary(this); + } + + /// Field number for the "word_index" field. + public const int WordIndexFieldNumber = 3; + /// + /// The word index of this boundary with respect to the first word in the + /// transcript piece. This index starts at zero. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WordIndex { + get { return HasWordIndex ? (int) detailedBoundary_ : 0; } + set { + detailedBoundary_ = value; + detailedBoundaryCase_ = DetailedBoundaryOneofCase.WordIndex; + } + } + /// Gets whether the "word_index" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWordIndex { + get { return detailedBoundaryCase_ == DetailedBoundaryOneofCase.WordIndex; } + } + /// Clears the value of the oneof if it's currently set to "word_index" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWordIndex() { + if (HasWordIndex) { + ClearDetailedBoundary(); + } + } + + /// Field number for the "transcript_index" field. + public const int TranscriptIndexFieldNumber = 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TranscriptIndex { + get { return transcriptIndex_; } + set { + transcriptIndex_ = value; + } + } + + private object detailedBoundary_; + /// Enum of possible cases for the "detailed_boundary" oneof. + public enum DetailedBoundaryOneofCase { + None = 0, + WordIndex = 3, + } + private DetailedBoundaryOneofCase detailedBoundaryCase_ = DetailedBoundaryOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DetailedBoundaryOneofCase DetailedBoundaryCase { + get { return detailedBoundaryCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDetailedBoundary() { + detailedBoundaryCase_ = DetailedBoundaryOneofCase.None; + detailedBoundary_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AnnotationBoundary); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AnnotationBoundary other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (WordIndex != other.WordIndex) return false; + if (TranscriptIndex != other.TranscriptIndex) return false; + if (DetailedBoundaryCase != other.DetailedBoundaryCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasWordIndex) hash ^= WordIndex.GetHashCode(); + if (TranscriptIndex != 0) hash ^= TranscriptIndex.GetHashCode(); + hash ^= (int) detailedBoundaryCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (TranscriptIndex != 0) { + output.WriteRawTag(8); + output.WriteInt32(TranscriptIndex); + } + if (HasWordIndex) { + output.WriteRawTag(24); + output.WriteInt32(WordIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (TranscriptIndex != 0) { + output.WriteRawTag(8); + output.WriteInt32(TranscriptIndex); + } + if (HasWordIndex) { + output.WriteRawTag(24); + output.WriteInt32(WordIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasWordIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WordIndex); + } + if (TranscriptIndex != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TranscriptIndex); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AnnotationBoundary other) { + if (other == null) { + return; + } + if (other.TranscriptIndex != 0) { + TranscriptIndex = other.TranscriptIndex; + } + switch (other.DetailedBoundaryCase) { + case DetailedBoundaryOneofCase.WordIndex: + WordIndex = other.WordIndex; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + TranscriptIndex = input.ReadInt32(); + break; + } + case 24: { + WordIndex = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + TranscriptIndex = input.ReadInt32(); + break; + } + case 24: { + WordIndex = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + /// The data for an entity annotation. + /// Represents a phrase in the conversation that is a known entity, such + /// as a person, an organization, or location. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Entity : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Entity()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[13]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Entity() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Entity(Entity other) : this() { + displayName_ = other.displayName_; + type_ = other.type_; + metadata_ = other.metadata_.Clone(); + salience_ = other.salience_; + sentiment_ = other.sentiment_ != null ? other.sentiment_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Entity Clone() { + return new Entity(this); + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 1; + private string displayName_ = ""; + /// + /// The representative name for the entity. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.Entity.Types.Type type_ = global::Google.Cloud.ContactCenterInsights.V1.Entity.Types.Type.Unspecified; + /// + /// The entity type. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Entity.Types.Type Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "metadata" field. + public const int MetadataFieldNumber = 3; + private static readonly pbc::MapField.Codec _map_metadata_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 26); + private readonly pbc::MapField metadata_ = new pbc::MapField(); + /// + /// Metadata associated with the entity. + /// + /// For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) + /// and Knowledge Graph MID (`mid`), if they are available. For the metadata + /// associated with other entity types, see the Type table below. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Metadata { + get { return metadata_; } + } + + /// Field number for the "salience" field. + public const int SalienceFieldNumber = 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 + /// importance or centrality of that entity to the entire document text. + /// Scores closer to 0 are less salient, while scores closer to 1.0 are highly + /// salient. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Salience { + get { return salience_; } + set { + salience_ = value; + } + } + + /// Field number for the "sentiment" field. + public const int SentimentFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.SentimentData sentiment_; + /// + /// The aggregate sentiment expressed for this entity in the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.SentimentData Sentiment { + get { return sentiment_; } + set { + sentiment_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Entity); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Entity other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DisplayName != other.DisplayName) return false; + if (Type != other.Type) return false; + if (!Metadata.Equals(other.Metadata)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Salience, other.Salience)) return false; + if (!object.Equals(Sentiment, other.Sentiment)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (Type != global::Google.Cloud.ContactCenterInsights.V1.Entity.Types.Type.Unspecified) hash ^= Type.GetHashCode(); + hash ^= Metadata.GetHashCode(); + if (Salience != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Salience); + if (sentiment_ != null) hash ^= Sentiment.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (DisplayName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DisplayName); + } + if (Type != global::Google.Cloud.ContactCenterInsights.V1.Entity.Types.Type.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) Type); + } + metadata_.WriteTo(output, _map_metadata_codec); + if (Salience != 0F) { + output.WriteRawTag(37); + output.WriteFloat(Salience); + } + if (sentiment_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Sentiment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DisplayName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DisplayName); + } + if (Type != global::Google.Cloud.ContactCenterInsights.V1.Entity.Types.Type.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) Type); + } + metadata_.WriteTo(ref output, _map_metadata_codec); + if (Salience != 0F) { + output.WriteRawTag(37); + output.WriteFloat(Salience); + } + if (sentiment_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Sentiment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (Type != global::Google.Cloud.ContactCenterInsights.V1.Entity.Types.Type.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + size += metadata_.CalculateSize(_map_metadata_codec); + if (Salience != 0F) { + size += 1 + 4; + } + if (sentiment_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sentiment); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Entity other) { + if (other == null) { + return; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + if (other.Type != global::Google.Cloud.ContactCenterInsights.V1.Entity.Types.Type.Unspecified) { + Type = other.Type; + } + metadata_.MergeFrom(other.metadata_); + if (other.Salience != 0F) { + Salience = other.Salience; + } + if (other.sentiment_ != null) { + if (sentiment_ == null) { + Sentiment = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + Sentiment.MergeFrom(other.Sentiment); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + DisplayName = input.ReadString(); + break; + } + case 16: { + Type = (global::Google.Cloud.ContactCenterInsights.V1.Entity.Types.Type) input.ReadEnum(); + break; + } + case 26: { + metadata_.AddEntriesFrom(input, _map_metadata_codec); + break; + } + case 37: { + Salience = input.ReadFloat(); + break; + } + case 42: { + if (sentiment_ == null) { + Sentiment = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + input.ReadMessage(Sentiment); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + DisplayName = input.ReadString(); + break; + } + case 16: { + Type = (global::Google.Cloud.ContactCenterInsights.V1.Entity.Types.Type) input.ReadEnum(); + break; + } + case 26: { + metadata_.AddEntriesFrom(ref input, _map_metadata_codec); + break; + } + case 37: { + Salience = input.ReadFloat(); + break; + } + case 42: { + if (sentiment_ == null) { + Sentiment = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + input.ReadMessage(Sentiment); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Entity message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// 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 + /// below lists the associated fields for entities that have different + /// metadata. + /// + public enum Type { + /// + /// Unspecified. + /// + [pbr::OriginalName("TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Person. + /// + [pbr::OriginalName("PERSON")] Person = 1, + /// + /// Location. + /// + [pbr::OriginalName("LOCATION")] Location = 2, + /// + /// Organization. + /// + [pbr::OriginalName("ORGANIZATION")] Organization = 3, + /// + /// Event. + /// + [pbr::OriginalName("EVENT")] Event = 4, + /// + /// Artwork. + /// + [pbr::OriginalName("WORK_OF_ART")] WorkOfArt = 5, + /// + /// Consumer product. + /// + [pbr::OriginalName("CONSUMER_GOOD")] ConsumerGood = 6, + /// + /// Other types of entities. + /// + [pbr::OriginalName("OTHER")] Other = 7, + /// + /// Phone number. + /// + /// The metadata lists the phone number (formatted according to local + /// convention), plus whichever additional elements appear in the text: + /// + /// * `number` - The actual number, broken down into sections according to + /// local convention. + /// * `national_prefix` - Country code, if detected. + /// * `area_code` - Region or area code, if detected. + /// * `extension` - Phone extension (to be dialed after connection), if + /// detected. + /// + [pbr::OriginalName("PHONE_NUMBER")] PhoneNumber = 9, + /// + /// Address. + /// + /// The metadata identifies the street number and locality plus whichever + /// additional elements appear in the text: + /// + /// * `street_number` - Street number. + /// * `locality` - City or town. + /// * `street_name` - Street/route name, if detected. + /// * `postal_code` - Postal code, if detected. + /// * `country` - Country, if detected. + /// * `broad_region` - Administrative area, such as the state, if detected. + /// * `narrow_region` - Smaller administrative area, such as county, if + /// detected. + /// * `sublocality` - Used in Asian addresses to demark a district within a + /// city, if detected. + /// + [pbr::OriginalName("ADDRESS")] Address = 10, + /// + /// Date. + /// + /// The metadata identifies the components of the date: + /// + /// * `year` - Four digit year, if detected. + /// * `month` - Two digit month number, if detected. + /// * `day` - Two digit day number, if detected. + /// + [pbr::OriginalName("DATE")] Date = 11, + /// + /// Number. + /// + /// The metadata is the number itself. + /// + [pbr::OriginalName("NUMBER")] Number = 12, + /// + /// Price. + /// + /// The metadata identifies the `value` and `currency`. + /// + [pbr::OriginalName("PRICE")] Price = 13, + } + + } + #endregion + + } + + /// + /// The data for an intent. + /// Represents a detected intent in the conversation, for example MAKES_PROMISE. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Intent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Intent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[14]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Intent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Intent(Intent other) : this() { + id_ = other.id_; + displayName_ = other.displayName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Intent Clone() { + return new Intent(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + /// + /// The unique identifier of the intent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 2; + private string displayName_ = ""; + /// + /// The human-readable name of the intent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Intent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Intent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (DisplayName != other.DisplayName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Id.Length != 0) hash ^= Id.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Id.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Id.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Id.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Intent other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The data for a matched phrase matcher. + /// Represents information identifying a phrase matcher for a given match. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PhraseMatchData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PhraseMatchData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[15]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchData(PhraseMatchData other) : this() { + phraseMatcher_ = other.phraseMatcher_; + displayName_ = other.displayName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchData Clone() { + return new PhraseMatchData(this); + } + + /// Field number for the "phrase_matcher" field. + public const int PhraseMatcherFieldNumber = 1; + private string phraseMatcher_ = ""; + /// + /// The unique identifier (the resource name) of the phrase matcher. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PhraseMatcher { + get { return phraseMatcher_; } + set { + phraseMatcher_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 2; + private string displayName_ = ""; + /// + /// The human-readable name of the phrase matcher. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PhraseMatchData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PhraseMatchData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PhraseMatcher != other.PhraseMatcher) return false; + if (DisplayName != other.DisplayName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (PhraseMatcher.Length != 0) hash ^= PhraseMatcher.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (PhraseMatcher.Length != 0) { + output.WriteRawTag(10); + output.WriteString(PhraseMatcher); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PhraseMatcher.Length != 0) { + output.WriteRawTag(10); + output.WriteString(PhraseMatcher); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (PhraseMatcher.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PhraseMatcher); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PhraseMatchData other) { + if (other == null) { + return; + } + if (other.PhraseMatcher.Length != 0) { + PhraseMatcher = other.PhraseMatcher; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + PhraseMatcher = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + PhraseMatcher = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The data for a Dialogflow intent. + /// Represents a detected intent in the conversation, e.g. MAKES_PROMISE. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DialogflowIntent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DialogflowIntent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[16]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowIntent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowIntent(DialogflowIntent other) : this() { + displayName_ = other.displayName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowIntent Clone() { + return new DialogflowIntent(this); + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 1; + private string displayName_ = ""; + /// + /// The human-readable name of the intent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DialogflowIntent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DialogflowIntent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DisplayName != other.DisplayName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (DisplayName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DisplayName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DialogflowIntent other) { + if (other == null) { + return; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + DisplayName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + DisplayName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The data for an interruption annotation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InterruptionData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InterruptionData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[17]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InterruptionData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InterruptionData(InterruptionData other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InterruptionData Clone() { + return new InterruptionData(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InterruptionData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InterruptionData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InterruptionData other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// The data for a silence annotation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SilenceData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SilenceData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[18]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SilenceData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SilenceData(SilenceData other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SilenceData Clone() { + return new SilenceData(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SilenceData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SilenceData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SilenceData other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// The data for a hold annotation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HoldData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HoldData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[19]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HoldData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HoldData(HoldData other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HoldData Clone() { + return new HoldData(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as HoldData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HoldData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HoldData other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// The data for an entity mention annotation. + /// This represents a mention of an `Entity` in the conversation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EntityMentionData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EntityMentionData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[20]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityMentionData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityMentionData(EntityMentionData other) : this() { + entityUniqueId_ = other.entityUniqueId_; + type_ = other.type_; + sentiment_ = other.sentiment_ != null ? other.sentiment_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EntityMentionData Clone() { + return new EntityMentionData(this); + } + + /// Field number for the "entity_unique_id" field. + public const int EntityUniqueIdFieldNumber = 1; + private string entityUniqueId_ = ""; + /// + /// The key of this entity in conversation entities. + /// Can be used to retrieve the exact `Entity` this mention is attached to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EntityUniqueId { + get { return entityUniqueId_; } + set { + entityUniqueId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Types.MentionType type_ = global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Types.MentionType.Unspecified; + /// + /// The type of the entity mention. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Types.MentionType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "sentiment" field. + public const int SentimentFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.SentimentData sentiment_; + /// + /// Sentiment expressed for this mention of the entity. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.SentimentData Sentiment { + get { return sentiment_; } + set { + sentiment_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EntityMentionData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EntityMentionData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EntityUniqueId != other.EntityUniqueId) return false; + if (Type != other.Type) return false; + if (!object.Equals(Sentiment, other.Sentiment)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (EntityUniqueId.Length != 0) hash ^= EntityUniqueId.GetHashCode(); + if (Type != global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Types.MentionType.Unspecified) hash ^= Type.GetHashCode(); + if (sentiment_ != null) hash ^= Sentiment.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (EntityUniqueId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(EntityUniqueId); + } + if (Type != global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Types.MentionType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) Type); + } + if (sentiment_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Sentiment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (EntityUniqueId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(EntityUniqueId); + } + if (Type != global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Types.MentionType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) Type); + } + if (sentiment_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Sentiment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (EntityUniqueId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EntityUniqueId); + } + if (Type != global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Types.MentionType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + if (sentiment_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Sentiment); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EntityMentionData other) { + if (other == null) { + return; + } + if (other.EntityUniqueId.Length != 0) { + EntityUniqueId = other.EntityUniqueId; + } + if (other.Type != global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Types.MentionType.Unspecified) { + Type = other.Type; + } + if (other.sentiment_ != null) { + if (sentiment_ == null) { + Sentiment = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + Sentiment.MergeFrom(other.Sentiment); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + EntityUniqueId = input.ReadString(); + break; + } + case 16: { + Type = (global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Types.MentionType) input.ReadEnum(); + break; + } + case 26: { + if (sentiment_ == null) { + Sentiment = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + input.ReadMessage(Sentiment); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + EntityUniqueId = input.ReadString(); + break; + } + case 16: { + Type = (global::Google.Cloud.ContactCenterInsights.V1.EntityMentionData.Types.MentionType) input.ReadEnum(); + break; + } + case 26: { + if (sentiment_ == null) { + Sentiment = new global::Google.Cloud.ContactCenterInsights.V1.SentimentData(); + } + input.ReadMessage(Sentiment); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the EntityMentionData message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The supported types of mentions. + /// + public enum MentionType { + /// + /// Unspecified. + /// + [pbr::OriginalName("MENTION_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Proper noun. + /// + [pbr::OriginalName("PROPER")] Proper = 1, + /// + /// Common noun (or noun compound). + /// + [pbr::OriginalName("COMMON")] Common = 2, + } + + } + #endregion + + } + + /// + /// The data for an intent match. + /// Represents an intent match for a text segment in the conversation. A text + /// segment can be part of a sentence, a complete sentence, or an utterance + /// with multiple sentences. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IntentMatchData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IntentMatchData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[21]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IntentMatchData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IntentMatchData(IntentMatchData other) : this() { + intentUniqueId_ = other.intentUniqueId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IntentMatchData Clone() { + return new IntentMatchData(this); + } + + /// Field number for the "intent_unique_id" field. + public const int IntentUniqueIdFieldNumber = 1; + private string intentUniqueId_ = ""; + /// + /// The id of the matched intent. + /// Can be used to retrieve the corresponding intent information. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IntentUniqueId { + get { return intentUniqueId_; } + set { + intentUniqueId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IntentMatchData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IntentMatchData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IntentUniqueId != other.IntentUniqueId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (IntentUniqueId.Length != 0) hash ^= IntentUniqueId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IntentUniqueId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IntentUniqueId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IntentUniqueId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IntentUniqueId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (IntentUniqueId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IntentUniqueId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IntentMatchData other) { + if (other == null) { + return; + } + if (other.IntentUniqueId.Length != 0) { + IntentUniqueId = other.IntentUniqueId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + IntentUniqueId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + IntentUniqueId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The data for a sentiment annotation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SentimentData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SentimentData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[22]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentimentData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentimentData(SentimentData other) : this() { + magnitude_ = other.magnitude_; + score_ = other.score_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SentimentData Clone() { + return new SentimentData(this); + } + + /// Field number for the "magnitude" field. + public const int MagnitudeFieldNumber = 1; + private float magnitude_; + /// + /// A non-negative number from 0 to infinity which represents the abolute + /// magnitude of sentiment regardless of score. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Magnitude { + get { return magnitude_; } + set { + magnitude_ = value; + } + } + + /// Field number for the "score" field. + public const int ScoreFieldNumber = 2; + private float score_; + /// + /// The sentiment score between -1.0 (negative) and 1.0 (positive). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Score { + get { return score_; } + set { + score_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SentimentData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SentimentData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Magnitude, other.Magnitude)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Score, other.Score)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Magnitude != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Magnitude); + if (Score != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Score); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Magnitude != 0F) { + output.WriteRawTag(13); + output.WriteFloat(Magnitude); + } + if (Score != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Score); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Magnitude != 0F) { + output.WriteRawTag(13); + output.WriteFloat(Magnitude); + } + if (Score != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Score); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Magnitude != 0F) { + size += 1 + 4; + } + if (Score != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SentimentData other) { + if (other == null) { + return; + } + if (other.Magnitude != 0F) { + Magnitude = other.Magnitude; + } + if (other.Score != 0F) { + Score = other.Score; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Magnitude = input.ReadFloat(); + break; + } + case 21: { + Score = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Magnitude = input.ReadFloat(); + break; + } + case 21: { + Score = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + + /// + /// The data for an issue match annotation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IssueMatchData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IssueMatchData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[23]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueMatchData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueMatchData(IssueMatchData other) : this() { + issueAssignment_ = other.issueAssignment_ != null ? other.issueAssignment_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueMatchData Clone() { + return new IssueMatchData(this); + } + + /// Field number for the "issue_assignment" field. + public const int IssueAssignmentFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.IssueAssignment issueAssignment_; + /// + /// Information about the issue's assignment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IssueAssignment IssueAssignment { + get { return issueAssignment_; } + set { + issueAssignment_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IssueMatchData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IssueMatchData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(IssueAssignment, other.IssueAssignment)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (issueAssignment_ != null) hash ^= IssueAssignment.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (issueAssignment_ != null) { + output.WriteRawTag(10); + output.WriteMessage(IssueAssignment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (issueAssignment_ != null) { + output.WriteRawTag(10); + output.WriteMessage(IssueAssignment); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (issueAssignment_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IssueAssignment); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IssueMatchData other) { + if (other == null) { + return; + } + if (other.issueAssignment_ != null) { + if (issueAssignment_ == null) { + IssueAssignment = new global::Google.Cloud.ContactCenterInsights.V1.IssueAssignment(); + } + IssueAssignment.MergeFrom(other.IssueAssignment); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (issueAssignment_ == null) { + IssueAssignment = new global::Google.Cloud.ContactCenterInsights.V1.IssueAssignment(); + } + input.ReadMessage(IssueAssignment); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (issueAssignment_ == null) { + IssueAssignment = new global::Google.Cloud.ContactCenterInsights.V1.IssueAssignment(); + } + input.ReadMessage(IssueAssignment); + break; + } + } + } + } + #endif + + } + + /// + /// The issue model resource. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IssueModel : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IssueModel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[24]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueModel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueModel(IssueModel other) : this() { + name_ = other.name_; + displayName_ = other.displayName_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + issueCount_ = other.issueCount_; + state_ = other.state_; + inputDataConfig_ = other.inputDataConfig_ != null ? other.inputDataConfig_.Clone() : null; + trainingStats_ = other.trainingStats_ != null ? other.trainingStats_.Clone() : null; + modelType_ = other.modelType_; + languageCode_ = other.languageCode_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueModel Clone() { + return new IssueModel(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. The resource name of the issue model. + /// Format: + /// projects/{project}/locations/{location}/issueModels/{issue_model} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 2; + private string displayName_ = ""; + /// + /// The representative name for the issue model. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time at which this issue model was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 4; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. The most recent time at which the issue model was updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + /// Field number for the "issue_count" field. + public const int IssueCountFieldNumber = 8; + private long issueCount_; + /// + /// Output only. Number of issues in this issue model. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long IssueCount { + get { return issueCount_; } + set { + issueCount_ = value; + } + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.State state_ = global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.State.Unspecified; + /// + /// Output only. State of the model. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.State State { + get { return state_; } + set { + state_ = value; + } + } + + /// Field number for the "input_data_config" field. + public const int InputDataConfigFieldNumber = 6; + private global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.InputDataConfig inputDataConfig_; + /// + /// Configs for the input data that used to create the issue model. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.InputDataConfig InputDataConfig { + get { return inputDataConfig_; } + set { + inputDataConfig_ = value; + } + } + + /// Field number for the "training_stats" field. + public const int TrainingStatsFieldNumber = 7; + private global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats trainingStats_; + /// + /// Output only. Immutable. The issue model's label statistics on its training + /// data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats TrainingStats { + get { return trainingStats_; } + set { + trainingStats_ = value; + } + } + + /// Field number for the "model_type" field. + public const int ModelTypeFieldNumber = 9; + private global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.ModelType modelType_ = global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.ModelType.Unspecified; + /// + /// Type of the model. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.ModelType ModelType { + get { return modelType_; } + set { + modelType_ = value; + } + } + + /// Field number for the "language_code" field. + public const int LanguageCodeFieldNumber = 10; + private string languageCode_ = ""; + /// + /// Language of the model. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LanguageCode { + get { return languageCode_; } + set { + languageCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IssueModel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IssueModel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (DisplayName != other.DisplayName) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + if (IssueCount != other.IssueCount) return false; + if (State != other.State) return false; + if (!object.Equals(InputDataConfig, other.InputDataConfig)) return false; + if (!object.Equals(TrainingStats, other.TrainingStats)) return false; + if (ModelType != other.ModelType) return false; + if (LanguageCode != other.LanguageCode) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (IssueCount != 0L) hash ^= IssueCount.GetHashCode(); + if (State != global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.State.Unspecified) hash ^= State.GetHashCode(); + if (inputDataConfig_ != null) hash ^= InputDataConfig.GetHashCode(); + if (trainingStats_ != null) hash ^= TrainingStats.GetHashCode(); + if (ModelType != global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.ModelType.Unspecified) hash ^= ModelType.GetHashCode(); + if (LanguageCode.Length != 0) hash ^= LanguageCode.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + if (State != global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.State.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) State); + } + if (inputDataConfig_ != null) { + output.WriteRawTag(50); + output.WriteMessage(InputDataConfig); + } + if (trainingStats_ != null) { + output.WriteRawTag(58); + output.WriteMessage(TrainingStats); + } + if (IssueCount != 0L) { + output.WriteRawTag(64); + output.WriteInt64(IssueCount); + } + if (ModelType != global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.ModelType.Unspecified) { + output.WriteRawTag(72); + output.WriteEnum((int) ModelType); + } + if (LanguageCode.Length != 0) { + output.WriteRawTag(82); + output.WriteString(LanguageCode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + if (State != global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.State.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) State); + } + if (inputDataConfig_ != null) { + output.WriteRawTag(50); + output.WriteMessage(InputDataConfig); + } + if (trainingStats_ != null) { + output.WriteRawTag(58); + output.WriteMessage(TrainingStats); + } + if (IssueCount != 0L) { + output.WriteRawTag(64); + output.WriteInt64(IssueCount); + } + if (ModelType != global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.ModelType.Unspecified) { + output.WriteRawTag(72); + output.WriteEnum((int) ModelType); + } + if (LanguageCode.Length != 0) { + output.WriteRawTag(82); + output.WriteString(LanguageCode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (IssueCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(IssueCount); + } + if (State != global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.State.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State); + } + if (inputDataConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InputDataConfig); + } + if (trainingStats_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TrainingStats); + } + if (ModelType != global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.ModelType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ModelType); + } + if (LanguageCode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LanguageCode); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IssueModel other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + if (other.IssueCount != 0L) { + IssueCount = other.IssueCount; + } + if (other.State != global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.State.Unspecified) { + State = other.State; + } + if (other.inputDataConfig_ != null) { + if (inputDataConfig_ == null) { + InputDataConfig = new global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.InputDataConfig(); + } + InputDataConfig.MergeFrom(other.InputDataConfig); + } + if (other.trainingStats_ != null) { + if (trainingStats_ == null) { + TrainingStats = new global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats(); + } + TrainingStats.MergeFrom(other.TrainingStats); + } + if (other.ModelType != global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.ModelType.Unspecified) { + ModelType = other.ModelType; + } + if (other.LanguageCode.Length != 0) { + LanguageCode = other.LanguageCode; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 40: { + State = (global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.State) input.ReadEnum(); + break; + } + case 50: { + if (inputDataConfig_ == null) { + InputDataConfig = new global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.InputDataConfig(); + } + input.ReadMessage(InputDataConfig); + break; + } + case 58: { + if (trainingStats_ == null) { + TrainingStats = new global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats(); + } + input.ReadMessage(TrainingStats); + break; + } + case 64: { + IssueCount = input.ReadInt64(); + break; + } + case 72: { + ModelType = (global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.ModelType) input.ReadEnum(); + break; + } + case 82: { + LanguageCode = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 40: { + State = (global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.State) input.ReadEnum(); + break; + } + case 50: { + if (inputDataConfig_ == null) { + InputDataConfig = new global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.InputDataConfig(); + } + input.ReadMessage(InputDataConfig); + break; + } + case 58: { + if (trainingStats_ == null) { + TrainingStats = new global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats(); + } + input.ReadMessage(TrainingStats); + break; + } + case 64: { + IssueCount = input.ReadInt64(); + break; + } + case 72: { + ModelType = (global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Types.ModelType) input.ReadEnum(); + break; + } + case 82: { + LanguageCode = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the IssueModel message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// State of the model. + /// + public enum State { + /// + /// Unspecified. + /// + [pbr::OriginalName("STATE_UNSPECIFIED")] Unspecified = 0, + /// + /// Model is not deployed but is ready to deploy. + /// + [pbr::OriginalName("UNDEPLOYED")] Undeployed = 1, + /// + /// Model is being deployed. + /// + [pbr::OriginalName("DEPLOYING")] 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. + /// + [pbr::OriginalName("DEPLOYED")] Deployed = 3, + /// + /// Model is being undeployed. + /// + [pbr::OriginalName("UNDEPLOYING")] Undeploying = 4, + /// + /// Model is being deleted. + /// + [pbr::OriginalName("DELETING")] Deleting = 5, + } + + /// + /// Type of the model. + /// + public enum ModelType { + /// + /// Unspecified model type. + /// + [pbr::OriginalName("MODEL_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Type V1. + /// + [pbr::OriginalName("TYPE_V1")] TypeV1 = 1, + /// + /// Type V2. + /// + [pbr::OriginalName("TYPE_V2")] TypeV2 = 2, + } + + /// + /// Configs for the input data used to create the issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InputDataConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InputDataConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.IssueModel.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InputDataConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InputDataConfig(InputDataConfig other) : this() { + medium_ = other.medium_; + trainingConversationsCount_ = other.trainingConversationsCount_; + filter_ = other.filter_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InputDataConfig Clone() { + return new InputDataConfig(this); + } + + /// Field number for the "medium" field. + public const int MediumFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium medium_ = global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified; + /// + /// 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`. + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium Medium { + get { return medium_; } + set { + medium_ = value; + } + } + + /// Field number for the "training_conversations_count" field. + public const int TrainingConversationsCountFieldNumber = 2; + private long trainingConversationsCount_; + /// + /// Output only. Number of conversations used in training. Output only. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TrainingConversationsCount { + get { return trainingConversationsCount_; } + set { + trainingConversationsCount_ = value; + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 3; + private string filter_ = ""; + /// + /// A filter to reduce the conversations used for training the model to a + /// specific subset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InputDataConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InputDataConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Medium != other.Medium) return false; + if (TrainingConversationsCount != other.TrainingConversationsCount) return false; + if (Filter != other.Filter) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) hash ^= Medium.GetHashCode(); + if (TrainingConversationsCount != 0L) hash ^= TrainingConversationsCount.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Medium); + } + if (TrainingConversationsCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(TrainingConversationsCount); + } + if (Filter.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Medium); + } + if (TrainingConversationsCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(TrainingConversationsCount); + } + if (Filter.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Medium); + } + if (TrainingConversationsCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TrainingConversationsCount); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InputDataConfig other) { + if (other == null) { + return; + } + if (other.Medium != global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium.Unspecified) { + Medium = other.Medium; + } + if (other.TrainingConversationsCount != 0L) { + TrainingConversationsCount = other.TrainingConversationsCount; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Medium = (global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium) input.ReadEnum(); + break; + } + case 16: { + TrainingConversationsCount = input.ReadInt64(); + break; + } + case 26: { + Filter = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Medium = (global::Google.Cloud.ContactCenterInsights.V1.Conversation.Types.Medium) input.ReadEnum(); + break; + } + case 16: { + TrainingConversationsCount = input.ReadInt64(); + break; + } + case 26: { + Filter = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// The issue resource. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Issue : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Issue()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[25]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Issue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Issue(Issue other) : this() { + name_ = other.name_; + displayName_ = other.displayName_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + sampleUtterances_ = other.sampleUtterances_.Clone(); + displayDescription_ = other.displayDescription_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Issue Clone() { + return new Issue(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. The resource name of the issue. + /// Format: + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 2; + private string displayName_ = ""; + /// + /// The representative name for the issue. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time at which this issue was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 4; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. The most recent time that this issue was updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + /// Field number for the "sample_utterances" field. + public const int SampleUtterancesFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_sampleUtterances_codec + = pb::FieldCodec.ForString(50); + private readonly pbc::RepeatedField sampleUtterances_ = new pbc::RepeatedField(); + /// + /// Output only. Resource names of the sample representative utterances that + /// match to this issue. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SampleUtterances { + get { return sampleUtterances_; } + } + + /// Field number for the "display_description" field. + public const int DisplayDescriptionFieldNumber = 14; + private string displayDescription_ = ""; + /// + /// Representative description of the issue. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayDescription { + get { return displayDescription_; } + set { + displayDescription_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Issue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Issue other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (DisplayName != other.DisplayName) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + if(!sampleUtterances_.Equals(other.sampleUtterances_)) return false; + if (DisplayDescription != other.DisplayDescription) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + hash ^= sampleUtterances_.GetHashCode(); + if (DisplayDescription.Length != 0) hash ^= DisplayDescription.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + sampleUtterances_.WriteTo(output, _repeated_sampleUtterances_codec); + if (DisplayDescription.Length != 0) { + output.WriteRawTag(114); + output.WriteString(DisplayDescription); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + sampleUtterances_.WriteTo(ref output, _repeated_sampleUtterances_codec); + if (DisplayDescription.Length != 0) { + output.WriteRawTag(114); + output.WriteString(DisplayDescription); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + size += sampleUtterances_.CalculateSize(_repeated_sampleUtterances_codec); + if (DisplayDescription.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayDescription); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Issue other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + sampleUtterances_.Add(other.sampleUtterances_); + if (other.DisplayDescription.Length != 0) { + DisplayDescription = other.DisplayDescription; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 50: { + sampleUtterances_.AddEntriesFrom(input, _repeated_sampleUtterances_codec); + break; + } + case 114: { + DisplayDescription = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 50: { + sampleUtterances_.AddEntriesFrom(ref input, _repeated_sampleUtterances_codec); + break; + } + case 114: { + DisplayDescription = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Aggregated statistics about an issue model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IssueModelLabelStats : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IssueModelLabelStats()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[26]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueModelLabelStats() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueModelLabelStats(IssueModelLabelStats other) : this() { + analyzedConversationsCount_ = other.analyzedConversationsCount_; + unclassifiedConversationsCount_ = other.unclassifiedConversationsCount_; + issueStats_ = other.issueStats_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueModelLabelStats Clone() { + return new IssueModelLabelStats(this); + } + + /// Field number for the "analyzed_conversations_count" field. + public const int AnalyzedConversationsCountFieldNumber = 1; + private long analyzedConversationsCount_; + /// + /// Number of conversations the issue model has analyzed at this point in time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long AnalyzedConversationsCount { + get { return analyzedConversationsCount_; } + set { + analyzedConversationsCount_ = value; + } + } + + /// Field number for the "unclassified_conversations_count" field. + public const int UnclassifiedConversationsCountFieldNumber = 2; + private long unclassifiedConversationsCount_; + /// + /// Number of analyzed conversations for which no issue was applicable at this + /// point in time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long UnclassifiedConversationsCount { + get { return unclassifiedConversationsCount_; } + set { + unclassifiedConversationsCount_ = value; + } + } + + /// Field number for the "issue_stats" field. + public const int IssueStatsFieldNumber = 3; + private static readonly pbc::MapField.Codec _map_issueStats_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats.Types.IssueStats.Parser), 26); + private readonly pbc::MapField issueStats_ = new pbc::MapField(); + /// + /// Statistics on each issue. Key is the issue's resource name. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField IssueStats { + get { return issueStats_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IssueModelLabelStats); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IssueModelLabelStats other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AnalyzedConversationsCount != other.AnalyzedConversationsCount) return false; + if (UnclassifiedConversationsCount != other.UnclassifiedConversationsCount) return false; + if (!IssueStats.Equals(other.IssueStats)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (AnalyzedConversationsCount != 0L) hash ^= AnalyzedConversationsCount.GetHashCode(); + if (UnclassifiedConversationsCount != 0L) hash ^= UnclassifiedConversationsCount.GetHashCode(); + hash ^= IssueStats.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (AnalyzedConversationsCount != 0L) { + output.WriteRawTag(8); + output.WriteInt64(AnalyzedConversationsCount); + } + if (UnclassifiedConversationsCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(UnclassifiedConversationsCount); + } + issueStats_.WriteTo(output, _map_issueStats_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AnalyzedConversationsCount != 0L) { + output.WriteRawTag(8); + output.WriteInt64(AnalyzedConversationsCount); + } + if (UnclassifiedConversationsCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(UnclassifiedConversationsCount); + } + issueStats_.WriteTo(ref output, _map_issueStats_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (AnalyzedConversationsCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(AnalyzedConversationsCount); + } + if (UnclassifiedConversationsCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(UnclassifiedConversationsCount); + } + size += issueStats_.CalculateSize(_map_issueStats_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IssueModelLabelStats other) { + if (other == null) { + return; + } + if (other.AnalyzedConversationsCount != 0L) { + AnalyzedConversationsCount = other.AnalyzedConversationsCount; + } + if (other.UnclassifiedConversationsCount != 0L) { + UnclassifiedConversationsCount = other.UnclassifiedConversationsCount; + } + issueStats_.MergeFrom(other.issueStats_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + AnalyzedConversationsCount = input.ReadInt64(); + break; + } + case 16: { + UnclassifiedConversationsCount = input.ReadInt64(); + break; + } + case 26: { + issueStats_.AddEntriesFrom(input, _map_issueStats_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + AnalyzedConversationsCount = input.ReadInt64(); + break; + } + case 16: { + UnclassifiedConversationsCount = input.ReadInt64(); + break; + } + case 26: { + issueStats_.AddEntriesFrom(ref input, _map_issueStats_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the IssueModelLabelStats message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Aggregated statistics about an issue. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IssueStats : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IssueStats()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.IssueModelLabelStats.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueStats() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueStats(IssueStats other) : this() { + issue_ = other.issue_; + labeledConversationsCount_ = other.labeledConversationsCount_; + displayName_ = other.displayName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IssueStats Clone() { + return new IssueStats(this); + } + + /// Field number for the "issue" field. + public const int IssueFieldNumber = 1; + private string issue_ = ""; + /// + /// Issue resource. + /// Format: + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Issue { + get { return issue_; } + set { + issue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "labeled_conversations_count" field. + public const int LabeledConversationsCountFieldNumber = 2; + private long labeledConversationsCount_; + /// + /// Number of conversations attached to the issue at this point in time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LabeledConversationsCount { + get { return labeledConversationsCount_; } + set { + labeledConversationsCount_ = value; + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 3; + private string displayName_ = ""; + /// + /// Display name of the issue. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IssueStats); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IssueStats other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Issue != other.Issue) return false; + if (LabeledConversationsCount != other.LabeledConversationsCount) return false; + if (DisplayName != other.DisplayName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Issue.Length != 0) hash ^= Issue.GetHashCode(); + if (LabeledConversationsCount != 0L) hash ^= LabeledConversationsCount.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Issue.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Issue); + } + if (LabeledConversationsCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(LabeledConversationsCount); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Issue.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Issue); + } + if (LabeledConversationsCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(LabeledConversationsCount); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Issue.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Issue); + } + if (LabeledConversationsCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LabeledConversationsCount); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IssueStats other) { + if (other == null) { + return; + } + if (other.Issue.Length != 0) { + Issue = other.Issue; + } + if (other.LabeledConversationsCount != 0L) { + LabeledConversationsCount = other.LabeledConversationsCount; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Issue = input.ReadString(); + break; + } + case 16: { + LabeledConversationsCount = input.ReadInt64(); + break; + } + case 26: { + DisplayName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Issue = input.ReadString(); + break; + } + case 16: { + LabeledConversationsCount = input.ReadInt64(); + break; + } + case 26: { + DisplayName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// The phrase matcher resource. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PhraseMatcher : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PhraseMatcher()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[27]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatcher() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatcher(PhraseMatcher other) : this() { + name_ = other.name_; + revisionId_ = other.revisionId_; + versionTag_ = other.versionTag_; + revisionCreateTime_ = other.revisionCreateTime_ != null ? other.revisionCreateTime_.Clone() : null; + displayName_ = other.displayName_; + type_ = other.type_; + active_ = other.active_; + phraseMatchRuleGroups_ = other.phraseMatchRuleGroups_.Clone(); + activationUpdateTime_ = other.activationUpdateTime_ != null ? other.activationUpdateTime_.Clone() : null; + roleMatch_ = other.roleMatch_; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatcher Clone() { + return new PhraseMatcher(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// The resource name of the phrase matcher. + /// Format: + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "revision_id" field. + public const int RevisionIdFieldNumber = 2; + private string revisionId_ = ""; + /// + /// Output only. Immutable. The revision ID of the phrase matcher. + /// A new revision is committed whenever the matcher is changed, except when it + /// is activated or deactivated. A server generated random ID will be used. + /// Example: locations/global/phraseMatchers/my-first-matcher@1234567 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RevisionId { + get { return revisionId_; } + set { + revisionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "version_tag" field. + public const int VersionTagFieldNumber = 3; + private string versionTag_ = ""; + /// + /// The customized version tag to use for the phrase matcher. If not specified, + /// it will default to `revision_id`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string VersionTag { + get { return versionTag_; } + set { + versionTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "revision_create_time" field. + public const int RevisionCreateTimeFieldNumber = 4; + private global::Google.Protobuf.WellKnownTypes.Timestamp revisionCreateTime_; + /// + /// Output only. The timestamp of when the revision was created. It is also the + /// create time when a new matcher is added. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp RevisionCreateTime { + get { return revisionCreateTime_; } + set { + revisionCreateTime_ = value; + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 5; + private string displayName_ = ""; + /// + /// The human-readable name of the phrase matcher. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 6; + private global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Types.PhraseMatcherType type_ = global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Types.PhraseMatcherType.Unspecified; + /// + /// Required. The type of this phrase matcher. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Types.PhraseMatcherType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "active" field. + public const int ActiveFieldNumber = 7; + private bool active_; + /// + /// Applies the phrase matcher only when it is active. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Active { + get { return active_; } + set { + active_ = value; + } + } + + /// Field number for the "phrase_match_rule_groups" field. + public const int PhraseMatchRuleGroupsFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_phraseMatchRuleGroups_codec + = pb::FieldCodec.ForMessage(66, global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Parser); + private readonly pbc::RepeatedField phraseMatchRuleGroups_ = new pbc::RepeatedField(); + /// + /// A list of phase match rule groups that are included in this matcher. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PhraseMatchRuleGroups { + get { return phraseMatchRuleGroups_; } + } + + /// Field number for the "activation_update_time" field. + public const int ActivationUpdateTimeFieldNumber = 9; + private global::Google.Protobuf.WellKnownTypes.Timestamp activationUpdateTime_; + /// + /// Output only. The most recent time at which the activation status was + /// updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp ActivationUpdateTime { + get { return activationUpdateTime_; } + set { + activationUpdateTime_ = value; + } + } + + /// Field number for the "role_match" field. + public const int RoleMatchFieldNumber = 10; + private global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role roleMatch_ = global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified; + /// + /// 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. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role RoleMatch { + get { return roleMatch_; } + set { + roleMatch_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 11; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. The most recent time at which the phrase matcher was updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PhraseMatcher); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PhraseMatcher other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (RevisionId != other.RevisionId) return false; + if (VersionTag != other.VersionTag) return false; + if (!object.Equals(RevisionCreateTime, other.RevisionCreateTime)) return false; + if (DisplayName != other.DisplayName) return false; + if (Type != other.Type) return false; + if (Active != other.Active) return false; + if(!phraseMatchRuleGroups_.Equals(other.phraseMatchRuleGroups_)) return false; + if (!object.Equals(ActivationUpdateTime, other.ActivationUpdateTime)) return false; + if (RoleMatch != other.RoleMatch) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (RevisionId.Length != 0) hash ^= RevisionId.GetHashCode(); + if (VersionTag.Length != 0) hash ^= VersionTag.GetHashCode(); + if (revisionCreateTime_ != null) hash ^= RevisionCreateTime.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (Type != global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Types.PhraseMatcherType.Unspecified) hash ^= Type.GetHashCode(); + if (Active != false) hash ^= Active.GetHashCode(); + hash ^= phraseMatchRuleGroups_.GetHashCode(); + if (activationUpdateTime_ != null) hash ^= ActivationUpdateTime.GetHashCode(); + if (RoleMatch != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) hash ^= RoleMatch.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (RevisionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(RevisionId); + } + if (VersionTag.Length != 0) { + output.WriteRawTag(26); + output.WriteString(VersionTag); + } + if (revisionCreateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(RevisionCreateTime); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(42); + output.WriteString(DisplayName); + } + if (Type != global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Types.PhraseMatcherType.Unspecified) { + output.WriteRawTag(48); + output.WriteEnum((int) Type); + } + if (Active != false) { + output.WriteRawTag(56); + output.WriteBool(Active); + } + phraseMatchRuleGroups_.WriteTo(output, _repeated_phraseMatchRuleGroups_codec); + if (activationUpdateTime_ != null) { + output.WriteRawTag(74); + output.WriteMessage(ActivationUpdateTime); + } + if (RoleMatch != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + output.WriteRawTag(80); + output.WriteEnum((int) RoleMatch); + } + if (updateTime_ != null) { + output.WriteRawTag(90); + output.WriteMessage(UpdateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (RevisionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(RevisionId); + } + if (VersionTag.Length != 0) { + output.WriteRawTag(26); + output.WriteString(VersionTag); + } + if (revisionCreateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(RevisionCreateTime); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(42); + output.WriteString(DisplayName); + } + if (Type != global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Types.PhraseMatcherType.Unspecified) { + output.WriteRawTag(48); + output.WriteEnum((int) Type); + } + if (Active != false) { + output.WriteRawTag(56); + output.WriteBool(Active); + } + phraseMatchRuleGroups_.WriteTo(ref output, _repeated_phraseMatchRuleGroups_codec); + if (activationUpdateTime_ != null) { + output.WriteRawTag(74); + output.WriteMessage(ActivationUpdateTime); + } + if (RoleMatch != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + output.WriteRawTag(80); + output.WriteEnum((int) RoleMatch); + } + if (updateTime_ != null) { + output.WriteRawTag(90); + output.WriteMessage(UpdateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (RevisionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RevisionId); + } + if (VersionTag.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(VersionTag); + } + if (revisionCreateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RevisionCreateTime); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (Type != global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Types.PhraseMatcherType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + if (Active != false) { + size += 1 + 1; + } + size += phraseMatchRuleGroups_.CalculateSize(_repeated_phraseMatchRuleGroups_codec); + if (activationUpdateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ActivationUpdateTime); + } + if (RoleMatch != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RoleMatch); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PhraseMatcher other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.RevisionId.Length != 0) { + RevisionId = other.RevisionId; + } + if (other.VersionTag.Length != 0) { + VersionTag = other.VersionTag; + } + if (other.revisionCreateTime_ != null) { + if (revisionCreateTime_ == null) { + RevisionCreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + RevisionCreateTime.MergeFrom(other.RevisionCreateTime); + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + if (other.Type != global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Types.PhraseMatcherType.Unspecified) { + Type = other.Type; + } + if (other.Active != false) { + Active = other.Active; + } + phraseMatchRuleGroups_.Add(other.phraseMatchRuleGroups_); + if (other.activationUpdateTime_ != null) { + if (activationUpdateTime_ == null) { + ActivationUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + ActivationUpdateTime.MergeFrom(other.ActivationUpdateTime); + } + if (other.RoleMatch != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + RoleMatch = other.RoleMatch; + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + RevisionId = input.ReadString(); + break; + } + case 26: { + VersionTag = input.ReadString(); + break; + } + case 34: { + if (revisionCreateTime_ == null) { + RevisionCreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(RevisionCreateTime); + break; + } + case 42: { + DisplayName = input.ReadString(); + break; + } + case 48: { + Type = (global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Types.PhraseMatcherType) input.ReadEnum(); + break; + } + case 56: { + Active = input.ReadBool(); + break; + } + case 66: { + phraseMatchRuleGroups_.AddEntriesFrom(input, _repeated_phraseMatchRuleGroups_codec); + break; + } + case 74: { + if (activationUpdateTime_ == null) { + ActivationUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(ActivationUpdateTime); + break; + } + case 80: { + RoleMatch = (global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role) input.ReadEnum(); + break; + } + case 90: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + RevisionId = input.ReadString(); + break; + } + case 26: { + VersionTag = input.ReadString(); + break; + } + case 34: { + if (revisionCreateTime_ == null) { + RevisionCreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(RevisionCreateTime); + break; + } + case 42: { + DisplayName = input.ReadString(); + break; + } + case 48: { + Type = (global::Google.Cloud.ContactCenterInsights.V1.PhraseMatcher.Types.PhraseMatcherType) input.ReadEnum(); + break; + } + case 56: { + Active = input.ReadBool(); + break; + } + case 66: { + phraseMatchRuleGroups_.AddEntriesFrom(ref input, _repeated_phraseMatchRuleGroups_codec); + break; + } + case 74: { + if (activationUpdateTime_ == null) { + ActivationUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(ActivationUpdateTime); + break; + } + case 80: { + RoleMatch = (global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role) input.ReadEnum(); + break; + } + case 90: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the PhraseMatcher message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Specifies how to combine each phrase match rule group to determine whether + /// there is a match. + /// + public enum PhraseMatcherType { + /// + /// Unspecified. + /// + [pbr::OriginalName("PHRASE_MATCHER_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Must meet all phrase match rule groups or there is no match. + /// + [pbr::OriginalName("ALL_OF")] AllOf = 1, + /// + /// If any of the phrase match rule groups are met, there is a match. + /// + [pbr::OriginalName("ANY_OF")] AnyOf = 2, + } + + } + #endregion + + } + + /// + /// A message representing a rule in the phrase matcher. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PhraseMatchRuleGroup : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PhraseMatchRuleGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[28]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchRuleGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchRuleGroup(PhraseMatchRuleGroup other) : this() { + type_ = other.type_; + phraseMatchRules_ = other.phraseMatchRules_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchRuleGroup Clone() { + return new PhraseMatchRuleGroup(this); + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Types.PhraseMatchRuleGroupType type_ = global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Types.PhraseMatchRuleGroupType.Unspecified; + /// + /// Required. The type of this phrase match rule group. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Types.PhraseMatchRuleGroupType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "phrase_match_rules" field. + public const int PhraseMatchRulesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_phraseMatchRules_codec + = pb::FieldCodec.ForMessage(18, global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRule.Parser); + private readonly pbc::RepeatedField phraseMatchRules_ = new pbc::RepeatedField(); + /// + /// A list of phrase match rules that are included in this group. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PhraseMatchRules { + get { return phraseMatchRules_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PhraseMatchRuleGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PhraseMatchRuleGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Type != other.Type) return false; + if(!phraseMatchRules_.Equals(other.phraseMatchRules_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Type != global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Types.PhraseMatchRuleGroupType.Unspecified) hash ^= Type.GetHashCode(); + hash ^= phraseMatchRules_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Type != global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Types.PhraseMatchRuleGroupType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Type); + } + phraseMatchRules_.WriteTo(output, _repeated_phraseMatchRules_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Type != global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Types.PhraseMatchRuleGroupType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Type); + } + phraseMatchRules_.WriteTo(ref output, _repeated_phraseMatchRules_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Type != global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Types.PhraseMatchRuleGroupType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + size += phraseMatchRules_.CalculateSize(_repeated_phraseMatchRules_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PhraseMatchRuleGroup other) { + if (other == null) { + return; + } + if (other.Type != global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Types.PhraseMatchRuleGroupType.Unspecified) { + Type = other.Type; + } + phraseMatchRules_.Add(other.phraseMatchRules_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Type = (global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Types.PhraseMatchRuleGroupType) input.ReadEnum(); + break; + } + case 18: { + phraseMatchRules_.AddEntriesFrom(input, _repeated_phraseMatchRules_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Type = (global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleGroup.Types.PhraseMatchRuleGroupType) input.ReadEnum(); + break; + } + case 18: { + phraseMatchRules_.AddEntriesFrom(ref input, _repeated_phraseMatchRules_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the PhraseMatchRuleGroup message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Specifies how to combine each phrase match rule for whether there is a + /// match. + /// + public enum PhraseMatchRuleGroupType { + /// + /// Unspecified. + /// + [pbr::OriginalName("PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Must meet all phrase match rules or there is no match. + /// + [pbr::OriginalName("ALL_OF")] AllOf = 1, + /// + /// If any of the phrase match rules are met, there is a match. + /// + [pbr::OriginalName("ANY_OF")] AnyOf = 2, + } + + } + #endregion + + } + + /// + /// The data for a phrase match rule. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PhraseMatchRule : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PhraseMatchRule()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[29]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchRule() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchRule(PhraseMatchRule other) : this() { + query_ = other.query_; + negated_ = other.negated_; + config_ = other.config_ != null ? other.config_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchRule Clone() { + return new PhraseMatchRule(this); + } + + /// Field number for the "query" field. + public const int QueryFieldNumber = 1; + private string query_ = ""; + /// + /// Required. The phrase to be matched. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Query { + get { return query_; } + set { + query_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "negated" field. + public const int NegatedFieldNumber = 2; + private bool negated_; + /// + /// Specifies whether the phrase must be missing from the transcript segment or + /// present in the transcript segment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Negated { + get { return negated_; } + set { + negated_ = value; + } + } + + /// Field number for the "config" field. + public const int ConfigFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleConfig config_; + /// + /// Provides additional information about the rule that specifies how to apply + /// the rule. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleConfig Config { + get { return config_; } + set { + config_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PhraseMatchRule); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PhraseMatchRule other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Query != other.Query) return false; + if (Negated != other.Negated) return false; + if (!object.Equals(Config, other.Config)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Query.Length != 0) hash ^= Query.GetHashCode(); + if (Negated != false) hash ^= Negated.GetHashCode(); + if (config_ != null) hash ^= Config.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Query.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Query); + } + if (Negated != false) { + output.WriteRawTag(16); + output.WriteBool(Negated); + } + if (config_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Config); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Query.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Query); + } + if (Negated != false) { + output.WriteRawTag(16); + output.WriteBool(Negated); + } + if (config_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Config); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Query.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Query); + } + if (Negated != false) { + size += 1 + 1; + } + if (config_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Config); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PhraseMatchRule other) { + if (other == null) { + return; + } + if (other.Query.Length != 0) { + Query = other.Query; + } + if (other.Negated != false) { + Negated = other.Negated; + } + if (other.config_ != null) { + if (config_ == null) { + Config = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleConfig(); + } + Config.MergeFrom(other.Config); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Query = input.ReadString(); + break; + } + case 16: { + Negated = input.ReadBool(); + break; + } + case 26: { + if (config_ == null) { + Config = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleConfig(); + } + input.ReadMessage(Config); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Query = input.ReadString(); + break; + } + case 16: { + Negated = input.ReadBool(); + break; + } + case 26: { + if (config_ == null) { + Config = new global::Google.Cloud.ContactCenterInsights.V1.PhraseMatchRuleConfig(); + } + input.ReadMessage(Config); + break; + } + } + } + } + #endif + + } + + /// + /// Configuration information of a phrase match rule. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PhraseMatchRuleConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PhraseMatchRuleConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[30]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchRuleConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchRuleConfig(PhraseMatchRuleConfig other) : this() { + switch (other.ConfigCase) { + case ConfigOneofCase.ExactMatchConfig: + ExactMatchConfig = other.ExactMatchConfig.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhraseMatchRuleConfig Clone() { + return new PhraseMatchRuleConfig(this); + } + + /// Field number for the "exact_match_config" field. + public const int ExactMatchConfigFieldNumber = 1; + /// + /// The configuration for the exact match rule. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ExactMatchConfig ExactMatchConfig { + get { return configCase_ == ConfigOneofCase.ExactMatchConfig ? (global::Google.Cloud.ContactCenterInsights.V1.ExactMatchConfig) config_ : null; } + set { + config_ = value; + configCase_ = value == null ? ConfigOneofCase.None : ConfigOneofCase.ExactMatchConfig; + } + } + + private object config_; + /// Enum of possible cases for the "config" oneof. + public enum ConfigOneofCase { + None = 0, + ExactMatchConfig = 1, + } + private ConfigOneofCase configCase_ = ConfigOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConfigOneofCase ConfigCase { + get { return configCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearConfig() { + configCase_ = ConfigOneofCase.None; + config_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PhraseMatchRuleConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PhraseMatchRuleConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ExactMatchConfig, other.ExactMatchConfig)) return false; + if (ConfigCase != other.ConfigCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (configCase_ == ConfigOneofCase.ExactMatchConfig) hash ^= ExactMatchConfig.GetHashCode(); + hash ^= (int) configCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (configCase_ == ConfigOneofCase.ExactMatchConfig) { + output.WriteRawTag(10); + output.WriteMessage(ExactMatchConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (configCase_ == ConfigOneofCase.ExactMatchConfig) { + output.WriteRawTag(10); + output.WriteMessage(ExactMatchConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (configCase_ == ConfigOneofCase.ExactMatchConfig) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExactMatchConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PhraseMatchRuleConfig other) { + if (other == null) { + return; + } + switch (other.ConfigCase) { + case ConfigOneofCase.ExactMatchConfig: + if (ExactMatchConfig == null) { + ExactMatchConfig = new global::Google.Cloud.ContactCenterInsights.V1.ExactMatchConfig(); + } + ExactMatchConfig.MergeFrom(other.ExactMatchConfig); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + global::Google.Cloud.ContactCenterInsights.V1.ExactMatchConfig subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ExactMatchConfig(); + if (configCase_ == ConfigOneofCase.ExactMatchConfig) { + subBuilder.MergeFrom(ExactMatchConfig); + } + input.ReadMessage(subBuilder); + ExactMatchConfig = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::Google.Cloud.ContactCenterInsights.V1.ExactMatchConfig subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ExactMatchConfig(); + if (configCase_ == ConfigOneofCase.ExactMatchConfig) { + subBuilder.MergeFrom(ExactMatchConfig); + } + input.ReadMessage(subBuilder); + ExactMatchConfig = subBuilder; + break; + } + } + } + } + #endif + + } + + /// + /// Exact match configuration. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExactMatchConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExactMatchConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[31]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExactMatchConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExactMatchConfig(ExactMatchConfig other) : this() { + caseSensitive_ = other.caseSensitive_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExactMatchConfig Clone() { + return new ExactMatchConfig(this); + } + + /// Field number for the "case_sensitive" field. + public const int CaseSensitiveFieldNumber = 1; + private bool caseSensitive_; + /// + /// Whether to consider case sensitivity when performing an exact match. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CaseSensitive { + get { return caseSensitive_; } + set { + caseSensitive_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExactMatchConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExactMatchConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CaseSensitive != other.CaseSensitive) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (CaseSensitive != false) hash ^= CaseSensitive.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (CaseSensitive != false) { + output.WriteRawTag(8); + output.WriteBool(CaseSensitive); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CaseSensitive != false) { + output.WriteRawTag(8); + output.WriteBool(CaseSensitive); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (CaseSensitive != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExactMatchConfig other) { + if (other == null) { + return; + } + if (other.CaseSensitive != false) { + CaseSensitive = other.CaseSensitive; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + CaseSensitive = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + CaseSensitive = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// The CCAI Insights project wide settings. + /// Use these settings to configure the behavior of Insights. + /// View these settings with + /// [`getsettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/getSettings) + /// and change the settings with + /// [`updateSettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/updateSettings). + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Settings : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Settings()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[32]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Settings() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Settings(Settings other) : this() { + name_ = other.name_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + languageCode_ = other.languageCode_; + conversationTtl_ = other.conversationTtl_ != null ? other.conversationTtl_.Clone() : null; + pubsubNotificationSettings_ = other.pubsubNotificationSettings_.Clone(); + analysisConfig_ = other.analysisConfig_ != null ? other.analysisConfig_.Clone() : null; + redactionConfig_ = other.redactionConfig_ != null ? other.redactionConfig_.Clone() : null; + speechConfig_ = other.speechConfig_ != null ? other.speechConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Settings Clone() { + return new Settings(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. The resource name of the settings resource. + /// Format: + /// projects/{project}/locations/{location}/settings + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time at which the settings was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. The time at which the settings were last updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + /// Field number for the "language_code" field. + public const int LanguageCodeFieldNumber = 4; + private string 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 + /// is neither specified on the segment nor here. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LanguageCode { + get { return languageCode_; } + set { + languageCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "conversation_ttl" field. + public const int ConversationTtlFieldNumber = 5; + private global::Google.Protobuf.WellKnownTypes.Duration conversationTtl_; + /// + /// The default TTL for newly-created conversations. If a conversation has a + /// specified expiration, that value will be used instead. Changing this + /// value will not change the expiration of existing conversations. + /// Conversations with no expire time persist until they are deleted. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Duration ConversationTtl { + get { return conversationTtl_; } + set { + conversationTtl_ = value; + } + } + + /// Field number for the "pubsub_notification_settings" field. + public const int PubsubNotificationSettingsFieldNumber = 6; + private static readonly pbc::MapField.Codec _map_pubsubNotificationSettings_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 50); + private readonly pbc::MapField pubsubNotificationSettings_ = new pbc::MapField(); + /// + /// 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 + /// topic. + /// + /// Keys are notification triggers. Supported keys are: + /// + /// * "all-triggers": Notify each time any of the supported triggers occurs. + /// * "create-analysis": Notify each time an analysis is created. + /// * "create-conversation": Notify each time a conversation is created. + /// * "export-insights-data": Notify each time an export is complete. + /// * "ingest-conversations": Notify each time an IngestConversations LRO is + /// complete. + /// * "update-conversation": Notify each time a conversation is updated via + /// UpdateConversation. + /// * "upload-conversation": Notify when an UploadConversation LRO is complete. + /// + /// Values are Pub/Sub topics. The format of each Pub/Sub topic is: + /// projects/{project}/topics/{topic} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField PubsubNotificationSettings { + get { return pubsubNotificationSettings_; } + } + + /// Field number for the "analysis_config" field. + public const int AnalysisConfigFieldNumber = 7; + private global::Google.Cloud.ContactCenterInsights.V1.Settings.Types.AnalysisConfig analysisConfig_; + /// + /// Default analysis settings. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.Settings.Types.AnalysisConfig AnalysisConfig { + get { return analysisConfig_; } + set { + analysisConfig_ = value; + } + } + + /// Field number for the "redaction_config" field. + public const int RedactionConfigFieldNumber = 10; + private global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig redactionConfig_; + /// + /// Default DLP redaction resources to be applied while ingesting + /// conversations. This applies to conversations ingested from the + /// `UploadConversation` and `IngestConversations` endpoints, including + /// conversations coming from CCAI Platform. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig RedactionConfig { + get { return redactionConfig_; } + set { + redactionConfig_ = value; + } + } + + /// Field number for the "speech_config" field. + public const int SpeechConfigFieldNumber = 11; + private global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig speechConfig_; + /// + /// Optional. Default Speech-to-Text resources to use while ingesting audio + /// files. Optional, CCAI Insights will create a default if not provided. This + /// applies to conversations ingested from the `UploadConversation` and + /// `IngestConversations` endpoints, including conversations coming from CCAI + /// Platform. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig SpeechConfig { + get { return speechConfig_; } + set { + speechConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Settings); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Settings other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + if (LanguageCode != other.LanguageCode) return false; + if (!object.Equals(ConversationTtl, other.ConversationTtl)) return false; + if (!PubsubNotificationSettings.Equals(other.PubsubNotificationSettings)) return false; + if (!object.Equals(AnalysisConfig, other.AnalysisConfig)) return false; + if (!object.Equals(RedactionConfig, other.RedactionConfig)) return false; + if (!object.Equals(SpeechConfig, other.SpeechConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (LanguageCode.Length != 0) hash ^= LanguageCode.GetHashCode(); + if (conversationTtl_ != null) hash ^= ConversationTtl.GetHashCode(); + hash ^= PubsubNotificationSettings.GetHashCode(); + if (analysisConfig_ != null) hash ^= AnalysisConfig.GetHashCode(); + if (redactionConfig_ != null) hash ^= RedactionConfig.GetHashCode(); + if (speechConfig_ != null) hash ^= SpeechConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (createTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(UpdateTime); + } + if (LanguageCode.Length != 0) { + output.WriteRawTag(34); + output.WriteString(LanguageCode); + } + if (conversationTtl_ != null) { + output.WriteRawTag(42); + output.WriteMessage(ConversationTtl); + } + pubsubNotificationSettings_.WriteTo(output, _map_pubsubNotificationSettings_codec); + if (analysisConfig_ != null) { + output.WriteRawTag(58); + output.WriteMessage(AnalysisConfig); + } + if (redactionConfig_ != null) { + output.WriteRawTag(82); + output.WriteMessage(RedactionConfig); + } + if (speechConfig_ != null) { + output.WriteRawTag(90); + output.WriteMessage(SpeechConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (createTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(UpdateTime); + } + if (LanguageCode.Length != 0) { + output.WriteRawTag(34); + output.WriteString(LanguageCode); + } + if (conversationTtl_ != null) { + output.WriteRawTag(42); + output.WriteMessage(ConversationTtl); + } + pubsubNotificationSettings_.WriteTo(ref output, _map_pubsubNotificationSettings_codec); + if (analysisConfig_ != null) { + output.WriteRawTag(58); + output.WriteMessage(AnalysisConfig); + } + if (redactionConfig_ != null) { + output.WriteRawTag(82); + output.WriteMessage(RedactionConfig); + } + if (speechConfig_ != null) { + output.WriteRawTag(90); + output.WriteMessage(SpeechConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (LanguageCode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LanguageCode); + } + if (conversationTtl_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConversationTtl); + } + size += pubsubNotificationSettings_.CalculateSize(_map_pubsubNotificationSettings_codec); + if (analysisConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnalysisConfig); + } + if (redactionConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RedactionConfig); + } + if (speechConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpeechConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Settings other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + if (other.LanguageCode.Length != 0) { + LanguageCode = other.LanguageCode; + } + if (other.conversationTtl_ != null) { + if (conversationTtl_ == null) { + ConversationTtl = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + ConversationTtl.MergeFrom(other.ConversationTtl); + } + pubsubNotificationSettings_.MergeFrom(other.pubsubNotificationSettings_); + if (other.analysisConfig_ != null) { + if (analysisConfig_ == null) { + AnalysisConfig = new global::Google.Cloud.ContactCenterInsights.V1.Settings.Types.AnalysisConfig(); + } + AnalysisConfig.MergeFrom(other.AnalysisConfig); + } + if (other.redactionConfig_ != null) { + if (redactionConfig_ == null) { + RedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + RedactionConfig.MergeFrom(other.RedactionConfig); + } + if (other.speechConfig_ != null) { + if (speechConfig_ == null) { + SpeechConfig = new global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig(); + } + SpeechConfig.MergeFrom(other.SpeechConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 26: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 34: { + LanguageCode = input.ReadString(); + break; + } + case 42: { + if (conversationTtl_ == null) { + ConversationTtl = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(ConversationTtl); + break; + } + case 50: { + pubsubNotificationSettings_.AddEntriesFrom(input, _map_pubsubNotificationSettings_codec); + break; + } + case 58: { + if (analysisConfig_ == null) { + AnalysisConfig = new global::Google.Cloud.ContactCenterInsights.V1.Settings.Types.AnalysisConfig(); + } + input.ReadMessage(AnalysisConfig); + break; + } + case 82: { + if (redactionConfig_ == null) { + RedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + input.ReadMessage(RedactionConfig); + break; + } + case 90: { + if (speechConfig_ == null) { + SpeechConfig = new global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig(); + } + input.ReadMessage(SpeechConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 26: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 34: { + LanguageCode = input.ReadString(); + break; + } + case 42: { + if (conversationTtl_ == null) { + ConversationTtl = new global::Google.Protobuf.WellKnownTypes.Duration(); + } + input.ReadMessage(ConversationTtl); + break; + } + case 50: { + pubsubNotificationSettings_.AddEntriesFrom(ref input, _map_pubsubNotificationSettings_codec); + break; + } + case 58: { + if (analysisConfig_ == null) { + AnalysisConfig = new global::Google.Cloud.ContactCenterInsights.V1.Settings.Types.AnalysisConfig(); + } + input.ReadMessage(AnalysisConfig); + break; + } + case 82: { + if (redactionConfig_ == null) { + RedactionConfig = new global::Google.Cloud.ContactCenterInsights.V1.RedactionConfig(); + } + input.ReadMessage(RedactionConfig); + break; + } + case 90: { + if (speechConfig_ == null) { + SpeechConfig = new global::Google.Cloud.ContactCenterInsights.V1.SpeechConfig(); + } + input.ReadMessage(SpeechConfig); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Settings message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Default configuration when creating Analyses in Insights. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AnalysisConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnalysisConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.Settings.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnalysisConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnalysisConfig(AnalysisConfig other) : this() { + runtimeIntegrationAnalysisPercentage_ = other.runtimeIntegrationAnalysisPercentage_; + uploadConversationAnalysisPercentage_ = other.uploadConversationAnalysisPercentage_; + annotatorSelector_ = other.annotatorSelector_ != null ? other.annotatorSelector_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnalysisConfig Clone() { + return new AnalysisConfig(this); + } + + /// Field number for the "runtime_integration_analysis_percentage" field. + public const int RuntimeIntegrationAnalysisPercentageFieldNumber = 1; + private double runtimeIntegrationAnalysisPercentage_; + /// + /// Percentage of conversations created using Dialogflow runtime integration + /// to analyze automatically, between [0, 100]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double RuntimeIntegrationAnalysisPercentage { + get { return runtimeIntegrationAnalysisPercentage_; } + set { + runtimeIntegrationAnalysisPercentage_ = value; + } + } + + /// Field number for the "upload_conversation_analysis_percentage" field. + public const int UploadConversationAnalysisPercentageFieldNumber = 6; + private double uploadConversationAnalysisPercentage_; + /// + /// Percentage of conversations created using the UploadConversation endpoint + /// to analyze automatically, between [0, 100]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double UploadConversationAnalysisPercentage { + get { return uploadConversationAnalysisPercentage_; } + set { + uploadConversationAnalysisPercentage_ = value; + } + } + + /// Field number for the "annotator_selector" field. + public const int AnnotatorSelectorFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector annotatorSelector_; + /// + /// To select the annotators to run and the phrase matchers to use + /// (if any). If not specified, all annotators will be run. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector AnnotatorSelector { + get { return annotatorSelector_; } + set { + annotatorSelector_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AnalysisConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AnalysisConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(RuntimeIntegrationAnalysisPercentage, other.RuntimeIntegrationAnalysisPercentage)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(UploadConversationAnalysisPercentage, other.UploadConversationAnalysisPercentage)) return false; + if (!object.Equals(AnnotatorSelector, other.AnnotatorSelector)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (RuntimeIntegrationAnalysisPercentage != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(RuntimeIntegrationAnalysisPercentage); + if (UploadConversationAnalysisPercentage != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(UploadConversationAnalysisPercentage); + if (annotatorSelector_ != null) hash ^= AnnotatorSelector.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (RuntimeIntegrationAnalysisPercentage != 0D) { + output.WriteRawTag(9); + output.WriteDouble(RuntimeIntegrationAnalysisPercentage); + } + if (annotatorSelector_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AnnotatorSelector); + } + if (UploadConversationAnalysisPercentage != 0D) { + output.WriteRawTag(49); + output.WriteDouble(UploadConversationAnalysisPercentage); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (RuntimeIntegrationAnalysisPercentage != 0D) { + output.WriteRawTag(9); + output.WriteDouble(RuntimeIntegrationAnalysisPercentage); + } + if (annotatorSelector_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AnnotatorSelector); + } + if (UploadConversationAnalysisPercentage != 0D) { + output.WriteRawTag(49); + output.WriteDouble(UploadConversationAnalysisPercentage); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (RuntimeIntegrationAnalysisPercentage != 0D) { + size += 1 + 8; + } + if (UploadConversationAnalysisPercentage != 0D) { + size += 1 + 8; + } + if (annotatorSelector_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnnotatorSelector); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AnalysisConfig other) { + if (other == null) { + return; + } + if (other.RuntimeIntegrationAnalysisPercentage != 0D) { + RuntimeIntegrationAnalysisPercentage = other.RuntimeIntegrationAnalysisPercentage; + } + if (other.UploadConversationAnalysisPercentage != 0D) { + UploadConversationAnalysisPercentage = other.UploadConversationAnalysisPercentage; + } + if (other.annotatorSelector_ != null) { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + AnnotatorSelector.MergeFrom(other.AnnotatorSelector); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 9: { + RuntimeIntegrationAnalysisPercentage = input.ReadDouble(); + break; + } + case 42: { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + input.ReadMessage(AnnotatorSelector); + break; + } + case 49: { + UploadConversationAnalysisPercentage = input.ReadDouble(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + RuntimeIntegrationAnalysisPercentage = input.ReadDouble(); + break; + } + case 42: { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + input.ReadMessage(AnnotatorSelector); + break; + } + case 49: { + UploadConversationAnalysisPercentage = input.ReadDouble(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// The CCAI Insights project wide analysis rule. This rule will be applied to + /// all conversations that match the filter defined in the rule. For a + /// conversation matches the filter, the annotators specified in the rule will be + /// run. If a conversation matches multiple rules, a union of all the annotators + /// will be run. One project can have multiple analysis rules. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AnalysisRule : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnalysisRule()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[33]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnalysisRule() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnalysisRule(AnalysisRule other) : this() { + name_ = other.name_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + displayName_ = other.displayName_; + conversationFilter_ = other.conversationFilter_; + annotatorSelector_ = other.annotatorSelector_ != null ? other.annotatorSelector_.Clone() : null; + analysisPercentage_ = other.analysisPercentage_; + active_ = other.active_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnalysisRule Clone() { + return new AnalysisRule(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Identifier. The resource name of the analysis rule. + /// Format: + /// projects/{project}/locations/{location}/analysisRules/{analysis_rule} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time at which this analysis rule was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. The most recent time at which this analysis rule was updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 4; + private readonly static string DisplayNameDefaultValue = ""; + + private string displayName_; + /// + /// Display Name of the analysis rule. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_ ?? DisplayNameDefaultValue; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "display_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDisplayName { + get { return displayName_ != null; } + } + /// Clears the value of the "display_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDisplayName() { + displayName_ = null; + } + + /// Field number for the "conversation_filter" field. + public const int ConversationFilterFieldNumber = 5; + private string conversationFilter_ = ""; + /// + /// Filter for the conversations that should apply this analysis + /// rule. An empty filter means this analysis rule applies to all + /// conversations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConversationFilter { + get { return conversationFilter_; } + set { + conversationFilter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "annotator_selector" field. + public const int AnnotatorSelectorFieldNumber = 6; + private global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector annotatorSelector_; + /// + /// Selector of annotators to run and the phrase matchers to use for + /// conversations that matches the conversation_filter. If not specified, NO + /// annotators will be run. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector AnnotatorSelector { + get { return annotatorSelector_; } + set { + annotatorSelector_ = value; + } + } + + /// Field number for the "analysis_percentage" field. + public const int AnalysisPercentageFieldNumber = 7; + private double analysisPercentage_; + /// + /// Percentage of conversations that we should apply this analysis setting + /// automatically, between [0, 1]. For example, 0.1 means 10%. Conversations + /// are sampled in a determenestic way. The original runtime_percentage & + /// upload percentage will be replaced by defining filters on the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double AnalysisPercentage { + get { return analysisPercentage_; } + set { + analysisPercentage_ = value; + } + } + + /// Field number for the "active" field. + public const int ActiveFieldNumber = 8; + private bool active_; + /// + /// If true, apply this rule to conversations. Otherwise, this rule is + /// inactive and saved as a draft. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Active { + get { return active_; } + set { + active_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AnalysisRule); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AnalysisRule other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + if (DisplayName != other.DisplayName) return false; + if (ConversationFilter != other.ConversationFilter) return false; + if (!object.Equals(AnnotatorSelector, other.AnnotatorSelector)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(AnalysisPercentage, other.AnalysisPercentage)) return false; + if (Active != other.Active) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (HasDisplayName) hash ^= DisplayName.GetHashCode(); + if (ConversationFilter.Length != 0) hash ^= ConversationFilter.GetHashCode(); + if (annotatorSelector_ != null) hash ^= AnnotatorSelector.GetHashCode(); + if (AnalysisPercentage != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AnalysisPercentage); + if (Active != false) hash ^= Active.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (createTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(UpdateTime); + } + if (HasDisplayName) { + output.WriteRawTag(34); + output.WriteString(DisplayName); + } + if (ConversationFilter.Length != 0) { + output.WriteRawTag(42); + output.WriteString(ConversationFilter); + } + if (annotatorSelector_ != null) { + output.WriteRawTag(50); + output.WriteMessage(AnnotatorSelector); + } + if (AnalysisPercentage != 0D) { + output.WriteRawTag(57); + output.WriteDouble(AnalysisPercentage); + } + if (Active != false) { + output.WriteRawTag(64); + output.WriteBool(Active); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (createTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(UpdateTime); + } + if (HasDisplayName) { + output.WriteRawTag(34); + output.WriteString(DisplayName); + } + if (ConversationFilter.Length != 0) { + output.WriteRawTag(42); + output.WriteString(ConversationFilter); + } + if (annotatorSelector_ != null) { + output.WriteRawTag(50); + output.WriteMessage(AnnotatorSelector); + } + if (AnalysisPercentage != 0D) { + output.WriteRawTag(57); + output.WriteDouble(AnalysisPercentage); + } + if (Active != false) { + output.WriteRawTag(64); + output.WriteBool(Active); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (HasDisplayName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (ConversationFilter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConversationFilter); + } + if (annotatorSelector_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnnotatorSelector); + } + if (AnalysisPercentage != 0D) { + size += 1 + 8; + } + if (Active != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AnalysisRule other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + if (other.HasDisplayName) { + DisplayName = other.DisplayName; + } + if (other.ConversationFilter.Length != 0) { + ConversationFilter = other.ConversationFilter; + } + if (other.annotatorSelector_ != null) { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + AnnotatorSelector.MergeFrom(other.AnnotatorSelector); + } + if (other.AnalysisPercentage != 0D) { + AnalysisPercentage = other.AnalysisPercentage; + } + if (other.Active != false) { + Active = other.Active; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 26: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 34: { + DisplayName = input.ReadString(); + break; + } + case 42: { + ConversationFilter = input.ReadString(); + break; + } + case 50: { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + input.ReadMessage(AnnotatorSelector); + break; + } + case 57: { + AnalysisPercentage = input.ReadDouble(); + break; + } + case 64: { + Active = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 26: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 34: { + DisplayName = input.ReadString(); + break; + } + case 42: { + ConversationFilter = input.ReadString(); + break; + } + case 50: { + if (annotatorSelector_ == null) { + AnnotatorSelector = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector(); + } + input.ReadMessage(AnnotatorSelector); + break; + } + case 57: { + AnalysisPercentage = input.ReadDouble(); + break; + } + case 64: { + Active = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// A customer-managed encryption key specification that can be applied to all + /// created resources (e.g. `Conversation`). + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EncryptionSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EncryptionSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[34]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EncryptionSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EncryptionSpec(EncryptionSpec other) : this() { + name_ = other.name_; + kmsKey_ = other.kmsKey_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EncryptionSpec Clone() { + return new EncryptionSpec(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. The resource name of the encryption key specification resource. + /// Format: + /// projects/{project}/locations/{location}/encryptionSpec + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "kms_key" field. + public const int KmsKeyFieldNumber = 2; + private string kmsKey_ = ""; + /// + /// Required. The name of customer-managed encryption key that is used to + /// secure a resource and its sub-resources. If empty, the resource is secured + /// by our default encryption key. Only the key in the same location as this + /// resource is allowed to be used for encryption. Format: + /// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string KmsKey { + get { return kmsKey_; } + set { + kmsKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EncryptionSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EncryptionSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (KmsKey != other.KmsKey) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (KmsKey.Length != 0) hash ^= KmsKey.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (KmsKey.Length != 0) { + output.WriteRawTag(18); + output.WriteString(KmsKey); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (KmsKey.Length != 0) { + output.WriteRawTag(18); + output.WriteString(KmsKey); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (KmsKey.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KmsKey); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EncryptionSpec other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.KmsKey.Length != 0) { + KmsKey = other.KmsKey; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + KmsKey = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + KmsKey = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// DLP resources used for redaction while ingesting conversations. + /// DLP settings are applied to conversations ingested from the + /// `UploadConversation` and `IngestConversations` endpoints, including + /// conversation coming from CCAI Platform. They are not applied to conversations + /// ingested from the `CreateConversation` endpoint or the Dialogflow / Agent + /// Assist runtime integrations. When using Dialogflow / Agent Assist runtime + /// integrations, redaction should be performed in Dialogflow / Agent Assist. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RedactionConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RedactionConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[35]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RedactionConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RedactionConfig(RedactionConfig other) : this() { + deidentifyTemplate_ = other.deidentifyTemplate_; + inspectTemplate_ = other.inspectTemplate_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RedactionConfig Clone() { + return new RedactionConfig(this); + } + + /// Field number for the "deidentify_template" field. + public const int DeidentifyTemplateFieldNumber = 1; + private string deidentifyTemplate_ = ""; + /// + /// The fully-qualified DLP deidentify template resource name. + /// Format: + /// `projects/{project}/deidentifyTemplates/{template}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DeidentifyTemplate { + get { return deidentifyTemplate_; } + set { + deidentifyTemplate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "inspect_template" field. + public const int InspectTemplateFieldNumber = 2; + private string inspectTemplate_ = ""; + /// + /// The fully-qualified DLP inspect template resource name. + /// Format: + /// `projects/{project}/locations/{location}/inspectTemplates/{template}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string InspectTemplate { + get { return inspectTemplate_; } + set { + inspectTemplate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RedactionConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RedactionConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DeidentifyTemplate != other.DeidentifyTemplate) return false; + if (InspectTemplate != other.InspectTemplate) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (DeidentifyTemplate.Length != 0) hash ^= DeidentifyTemplate.GetHashCode(); + if (InspectTemplate.Length != 0) hash ^= InspectTemplate.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (DeidentifyTemplate.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DeidentifyTemplate); + } + if (InspectTemplate.Length != 0) { + output.WriteRawTag(18); + output.WriteString(InspectTemplate); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DeidentifyTemplate.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DeidentifyTemplate); + } + if (InspectTemplate.Length != 0) { + output.WriteRawTag(18); + output.WriteString(InspectTemplate); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (DeidentifyTemplate.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DeidentifyTemplate); + } + if (InspectTemplate.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(InspectTemplate); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RedactionConfig other) { + if (other == null) { + return; + } + if (other.DeidentifyTemplate.Length != 0) { + DeidentifyTemplate = other.DeidentifyTemplate; + } + if (other.InspectTemplate.Length != 0) { + InspectTemplate = other.InspectTemplate; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + DeidentifyTemplate = input.ReadString(); + break; + } + case 18: { + InspectTemplate = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + DeidentifyTemplate = input.ReadString(); + break; + } + case 18: { + InspectTemplate = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Speech-to-Text configuration. + /// Speech-to-Text settings are applied to conversations ingested from the + /// `UploadConversation` and `IngestConversations` endpoints, including + /// conversation coming from CCAI Platform. They are not applied to conversations + /// ingested from the `CreateConversation` endpoint. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SpeechConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpeechConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[36]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpeechConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpeechConfig(SpeechConfig other) : this() { + speechRecognizer_ = other.speechRecognizer_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpeechConfig Clone() { + return new SpeechConfig(this); + } + + /// Field number for the "speech_recognizer" field. + public const int SpeechRecognizerFieldNumber = 1; + private string speechRecognizer_ = ""; + /// + /// The fully-qualified Speech Recognizer resource name. + /// Format: + /// `projects/{project_id}/locations/{location}/recognizer/{recognizer}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SpeechRecognizer { + get { return speechRecognizer_; } + set { + speechRecognizer_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SpeechConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SpeechConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SpeechRecognizer != other.SpeechRecognizer) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (SpeechRecognizer.Length != 0) hash ^= SpeechRecognizer.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (SpeechRecognizer.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SpeechRecognizer); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SpeechRecognizer.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SpeechRecognizer); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (SpeechRecognizer.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SpeechRecognizer); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SpeechConfig other) { + if (other == null) { + return; + } + if (other.SpeechRecognizer.Length != 0) { + SpeechRecognizer = other.SpeechRecognizer; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + SpeechRecognizer = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + SpeechRecognizer = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// An annotation that was generated during the customer and agent interaction. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RuntimeAnnotation : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RuntimeAnnotation()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[37]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RuntimeAnnotation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RuntimeAnnotation(RuntimeAnnotation other) : this() { + annotationId_ = other.annotationId_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + startBoundary_ = other.startBoundary_ != null ? other.startBoundary_.Clone() : null; + endBoundary_ = other.endBoundary_ != null ? other.endBoundary_.Clone() : null; + answerFeedback_ = other.answerFeedback_ != null ? other.answerFeedback_.Clone() : null; + userInput_ = other.userInput_ != null ? other.userInput_.Clone() : null; + switch (other.DataCase) { + case DataOneofCase.ArticleSuggestion: + ArticleSuggestion = other.ArticleSuggestion.Clone(); + break; + case DataOneofCase.FaqAnswer: + FaqAnswer = other.FaqAnswer.Clone(); + break; + case DataOneofCase.SmartReply: + SmartReply = other.SmartReply.Clone(); + break; + case DataOneofCase.SmartComposeSuggestion: + SmartComposeSuggestion = other.SmartComposeSuggestion.Clone(); + break; + case DataOneofCase.DialogflowInteraction: + DialogflowInteraction = other.DialogflowInteraction.Clone(); + break; + case DataOneofCase.ConversationSummarizationSuggestion: + ConversationSummarizationSuggestion = other.ConversationSummarizationSuggestion.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RuntimeAnnotation Clone() { + return new RuntimeAnnotation(this); + } + + /// Field number for the "article_suggestion" field. + public const int ArticleSuggestionFieldNumber = 6; + /// + /// Agent Assist Article Suggestion data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ArticleSuggestionData ArticleSuggestion { + get { return dataCase_ == DataOneofCase.ArticleSuggestion ? (global::Google.Cloud.ContactCenterInsights.V1.ArticleSuggestionData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.ArticleSuggestion; + } + } + + /// Field number for the "faq_answer" field. + public const int FaqAnswerFieldNumber = 7; + /// + /// Agent Assist FAQ answer data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.FaqAnswerData FaqAnswer { + get { return dataCase_ == DataOneofCase.FaqAnswer ? (global::Google.Cloud.ContactCenterInsights.V1.FaqAnswerData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.FaqAnswer; + } + } + + /// Field number for the "smart_reply" field. + public const int SmartReplyFieldNumber = 8; + /// + /// Agent Assist Smart Reply data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.SmartReplyData SmartReply { + get { return dataCase_ == DataOneofCase.SmartReply ? (global::Google.Cloud.ContactCenterInsights.V1.SmartReplyData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.SmartReply; + } + } + + /// Field number for the "smart_compose_suggestion" field. + public const int SmartComposeSuggestionFieldNumber = 9; + /// + /// Agent Assist Smart Compose suggestion data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.SmartComposeSuggestionData SmartComposeSuggestion { + get { return dataCase_ == DataOneofCase.SmartComposeSuggestion ? (global::Google.Cloud.ContactCenterInsights.V1.SmartComposeSuggestionData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.SmartComposeSuggestion; + } + } + + /// Field number for the "dialogflow_interaction" field. + public const int DialogflowInteractionFieldNumber = 10; + /// + /// Dialogflow interaction data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.DialogflowInteractionData DialogflowInteraction { + get { return dataCase_ == DataOneofCase.DialogflowInteraction ? (global::Google.Cloud.ContactCenterInsights.V1.DialogflowInteractionData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.DialogflowInteraction; + } + } + + /// Field number for the "conversation_summarization_suggestion" field. + public const int ConversationSummarizationSuggestionFieldNumber = 12; + /// + /// Conversation summarization suggestion data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData ConversationSummarizationSuggestion { + get { return dataCase_ == DataOneofCase.ConversationSummarizationSuggestion ? (global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.ConversationSummarizationSuggestion; + } + } + + /// Field number for the "annotation_id" field. + public const int AnnotationIdFieldNumber = 1; + private string annotationId_ = ""; + /// + /// The unique identifier of the annotation. + /// Format: + /// projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AnnotationId { + get { return annotationId_; } + set { + annotationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// The time at which this annotation was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "start_boundary" field. + public const int StartBoundaryFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary startBoundary_; + /// + /// The boundary in the conversation where the annotation starts, inclusive. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary StartBoundary { + get { return startBoundary_; } + set { + startBoundary_ = value; + } + } + + /// Field number for the "end_boundary" field. + public const int EndBoundaryFieldNumber = 4; + private global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary endBoundary_; + /// + /// The boundary in the conversation where the annotation ends, inclusive. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary EndBoundary { + get { return endBoundary_; } + set { + endBoundary_ = value; + } + } + + /// Field number for the "answer_feedback" field. + public const int AnswerFeedbackFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback answerFeedback_; + /// + /// The feedback that the customer has about the answer in `data`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback AnswerFeedback { + get { return answerFeedback_; } + set { + answerFeedback_ = value; + } + } + + /// Field number for the "user_input" field. + public const int UserInputFieldNumber = 16; + private global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput userInput_; + /// + /// Explicit input used for generating the answer + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput UserInput { + get { return userInput_; } + set { + userInput_ = value; + } + } + + private object data_; + /// Enum of possible cases for the "data" oneof. + public enum DataOneofCase { + None = 0, + ArticleSuggestion = 6, + FaqAnswer = 7, + SmartReply = 8, + SmartComposeSuggestion = 9, + DialogflowInteraction = 10, + ConversationSummarizationSuggestion = 12, + } + private DataOneofCase dataCase_ = DataOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataOneofCase DataCase { + get { return dataCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearData() { + dataCase_ = DataOneofCase.None; + data_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RuntimeAnnotation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RuntimeAnnotation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ArticleSuggestion, other.ArticleSuggestion)) return false; + if (!object.Equals(FaqAnswer, other.FaqAnswer)) return false; + if (!object.Equals(SmartReply, other.SmartReply)) return false; + if (!object.Equals(SmartComposeSuggestion, other.SmartComposeSuggestion)) return false; + if (!object.Equals(DialogflowInteraction, other.DialogflowInteraction)) return false; + if (!object.Equals(ConversationSummarizationSuggestion, other.ConversationSummarizationSuggestion)) return false; + if (AnnotationId != other.AnnotationId) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(StartBoundary, other.StartBoundary)) return false; + if (!object.Equals(EndBoundary, other.EndBoundary)) return false; + if (!object.Equals(AnswerFeedback, other.AnswerFeedback)) return false; + if (!object.Equals(UserInput, other.UserInput)) return false; + if (DataCase != other.DataCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (dataCase_ == DataOneofCase.ArticleSuggestion) hash ^= ArticleSuggestion.GetHashCode(); + if (dataCase_ == DataOneofCase.FaqAnswer) hash ^= FaqAnswer.GetHashCode(); + if (dataCase_ == DataOneofCase.SmartReply) hash ^= SmartReply.GetHashCode(); + if (dataCase_ == DataOneofCase.SmartComposeSuggestion) hash ^= SmartComposeSuggestion.GetHashCode(); + if (dataCase_ == DataOneofCase.DialogflowInteraction) hash ^= DialogflowInteraction.GetHashCode(); + if (dataCase_ == DataOneofCase.ConversationSummarizationSuggestion) hash ^= ConversationSummarizationSuggestion.GetHashCode(); + if (AnnotationId.Length != 0) hash ^= AnnotationId.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (startBoundary_ != null) hash ^= StartBoundary.GetHashCode(); + if (endBoundary_ != null) hash ^= EndBoundary.GetHashCode(); + if (answerFeedback_ != null) hash ^= AnswerFeedback.GetHashCode(); + if (userInput_ != null) hash ^= UserInput.GetHashCode(); + hash ^= (int) dataCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (AnnotationId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AnnotationId); + } + if (createTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(CreateTime); + } + if (startBoundary_ != null) { + output.WriteRawTag(26); + output.WriteMessage(StartBoundary); + } + if (endBoundary_ != null) { + output.WriteRawTag(34); + output.WriteMessage(EndBoundary); + } + if (answerFeedback_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AnswerFeedback); + } + if (dataCase_ == DataOneofCase.ArticleSuggestion) { + output.WriteRawTag(50); + output.WriteMessage(ArticleSuggestion); + } + if (dataCase_ == DataOneofCase.FaqAnswer) { + output.WriteRawTag(58); + output.WriteMessage(FaqAnswer); + } + if (dataCase_ == DataOneofCase.SmartReply) { + output.WriteRawTag(66); + output.WriteMessage(SmartReply); + } + if (dataCase_ == DataOneofCase.SmartComposeSuggestion) { + output.WriteRawTag(74); + output.WriteMessage(SmartComposeSuggestion); + } + if (dataCase_ == DataOneofCase.DialogflowInteraction) { + output.WriteRawTag(82); + output.WriteMessage(DialogflowInteraction); + } + if (dataCase_ == DataOneofCase.ConversationSummarizationSuggestion) { + output.WriteRawTag(98); + output.WriteMessage(ConversationSummarizationSuggestion); + } + if (userInput_ != null) { + output.WriteRawTag(130, 1); + output.WriteMessage(UserInput); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AnnotationId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AnnotationId); + } + if (createTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(CreateTime); + } + if (startBoundary_ != null) { + output.WriteRawTag(26); + output.WriteMessage(StartBoundary); + } + if (endBoundary_ != null) { + output.WriteRawTag(34); + output.WriteMessage(EndBoundary); + } + if (answerFeedback_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AnswerFeedback); + } + if (dataCase_ == DataOneofCase.ArticleSuggestion) { + output.WriteRawTag(50); + output.WriteMessage(ArticleSuggestion); + } + if (dataCase_ == DataOneofCase.FaqAnswer) { + output.WriteRawTag(58); + output.WriteMessage(FaqAnswer); + } + if (dataCase_ == DataOneofCase.SmartReply) { + output.WriteRawTag(66); + output.WriteMessage(SmartReply); + } + if (dataCase_ == DataOneofCase.SmartComposeSuggestion) { + output.WriteRawTag(74); + output.WriteMessage(SmartComposeSuggestion); + } + if (dataCase_ == DataOneofCase.DialogflowInteraction) { + output.WriteRawTag(82); + output.WriteMessage(DialogflowInteraction); + } + if (dataCase_ == DataOneofCase.ConversationSummarizationSuggestion) { + output.WriteRawTag(98); + output.WriteMessage(ConversationSummarizationSuggestion); + } + if (userInput_ != null) { + output.WriteRawTag(130, 1); + output.WriteMessage(UserInput); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (dataCase_ == DataOneofCase.ArticleSuggestion) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ArticleSuggestion); + } + if (dataCase_ == DataOneofCase.FaqAnswer) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(FaqAnswer); + } + if (dataCase_ == DataOneofCase.SmartReply) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SmartReply); + } + if (dataCase_ == DataOneofCase.SmartComposeSuggestion) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SmartComposeSuggestion); + } + if (dataCase_ == DataOneofCase.DialogflowInteraction) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DialogflowInteraction); + } + if (dataCase_ == DataOneofCase.ConversationSummarizationSuggestion) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConversationSummarizationSuggestion); + } + if (AnnotationId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AnnotationId); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (startBoundary_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StartBoundary); + } + if (endBoundary_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndBoundary); + } + if (answerFeedback_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnswerFeedback); + } + if (userInput_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(UserInput); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RuntimeAnnotation other) { + if (other == null) { + return; + } + if (other.AnnotationId.Length != 0) { + AnnotationId = other.AnnotationId; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.startBoundary_ != null) { + if (startBoundary_ == null) { + StartBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + StartBoundary.MergeFrom(other.StartBoundary); + } + if (other.endBoundary_ != null) { + if (endBoundary_ == null) { + EndBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + EndBoundary.MergeFrom(other.EndBoundary); + } + if (other.answerFeedback_ != null) { + if (answerFeedback_ == null) { + AnswerFeedback = new global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback(); + } + AnswerFeedback.MergeFrom(other.AnswerFeedback); + } + if (other.userInput_ != null) { + if (userInput_ == null) { + UserInput = new global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput(); + } + UserInput.MergeFrom(other.UserInput); + } + switch (other.DataCase) { + case DataOneofCase.ArticleSuggestion: + if (ArticleSuggestion == null) { + ArticleSuggestion = new global::Google.Cloud.ContactCenterInsights.V1.ArticleSuggestionData(); + } + ArticleSuggestion.MergeFrom(other.ArticleSuggestion); + break; + case DataOneofCase.FaqAnswer: + if (FaqAnswer == null) { + FaqAnswer = new global::Google.Cloud.ContactCenterInsights.V1.FaqAnswerData(); + } + FaqAnswer.MergeFrom(other.FaqAnswer); + break; + case DataOneofCase.SmartReply: + if (SmartReply == null) { + SmartReply = new global::Google.Cloud.ContactCenterInsights.V1.SmartReplyData(); + } + SmartReply.MergeFrom(other.SmartReply); + break; + case DataOneofCase.SmartComposeSuggestion: + if (SmartComposeSuggestion == null) { + SmartComposeSuggestion = new global::Google.Cloud.ContactCenterInsights.V1.SmartComposeSuggestionData(); + } + SmartComposeSuggestion.MergeFrom(other.SmartComposeSuggestion); + break; + case DataOneofCase.DialogflowInteraction: + if (DialogflowInteraction == null) { + DialogflowInteraction = new global::Google.Cloud.ContactCenterInsights.V1.DialogflowInteractionData(); + } + DialogflowInteraction.MergeFrom(other.DialogflowInteraction); + break; + case DataOneofCase.ConversationSummarizationSuggestion: + if (ConversationSummarizationSuggestion == null) { + ConversationSummarizationSuggestion = new global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData(); + } + ConversationSummarizationSuggestion.MergeFrom(other.ConversationSummarizationSuggestion); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + AnnotationId = input.ReadString(); + break; + } + case 18: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 26: { + if (startBoundary_ == null) { + StartBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + input.ReadMessage(StartBoundary); + break; + } + case 34: { + if (endBoundary_ == null) { + EndBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + input.ReadMessage(EndBoundary); + break; + } + case 42: { + if (answerFeedback_ == null) { + AnswerFeedback = new global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback(); + } + input.ReadMessage(AnswerFeedback); + break; + } + case 50: { + global::Google.Cloud.ContactCenterInsights.V1.ArticleSuggestionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ArticleSuggestionData(); + if (dataCase_ == DataOneofCase.ArticleSuggestion) { + subBuilder.MergeFrom(ArticleSuggestion); + } + input.ReadMessage(subBuilder); + ArticleSuggestion = subBuilder; + break; + } + case 58: { + global::Google.Cloud.ContactCenterInsights.V1.FaqAnswerData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.FaqAnswerData(); + if (dataCase_ == DataOneofCase.FaqAnswer) { + subBuilder.MergeFrom(FaqAnswer); + } + input.ReadMessage(subBuilder); + FaqAnswer = subBuilder; + break; + } + case 66: { + global::Google.Cloud.ContactCenterInsights.V1.SmartReplyData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.SmartReplyData(); + if (dataCase_ == DataOneofCase.SmartReply) { + subBuilder.MergeFrom(SmartReply); + } + input.ReadMessage(subBuilder); + SmartReply = subBuilder; + break; + } + case 74: { + global::Google.Cloud.ContactCenterInsights.V1.SmartComposeSuggestionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.SmartComposeSuggestionData(); + if (dataCase_ == DataOneofCase.SmartComposeSuggestion) { + subBuilder.MergeFrom(SmartComposeSuggestion); + } + input.ReadMessage(subBuilder); + SmartComposeSuggestion = subBuilder; + break; + } + case 82: { + global::Google.Cloud.ContactCenterInsights.V1.DialogflowInteractionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.DialogflowInteractionData(); + if (dataCase_ == DataOneofCase.DialogflowInteraction) { + subBuilder.MergeFrom(DialogflowInteraction); + } + input.ReadMessage(subBuilder); + DialogflowInteraction = subBuilder; + break; + } + case 98: { + global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData(); + if (dataCase_ == DataOneofCase.ConversationSummarizationSuggestion) { + subBuilder.MergeFrom(ConversationSummarizationSuggestion); + } + input.ReadMessage(subBuilder); + ConversationSummarizationSuggestion = subBuilder; + break; + } + case 130: { + if (userInput_ == null) { + UserInput = new global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput(); + } + input.ReadMessage(UserInput); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + AnnotationId = input.ReadString(); + break; + } + case 18: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 26: { + if (startBoundary_ == null) { + StartBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + input.ReadMessage(StartBoundary); + break; + } + case 34: { + if (endBoundary_ == null) { + EndBoundary = new global::Google.Cloud.ContactCenterInsights.V1.AnnotationBoundary(); + } + input.ReadMessage(EndBoundary); + break; + } + case 42: { + if (answerFeedback_ == null) { + AnswerFeedback = new global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback(); + } + input.ReadMessage(AnswerFeedback); + break; + } + case 50: { + global::Google.Cloud.ContactCenterInsights.V1.ArticleSuggestionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ArticleSuggestionData(); + if (dataCase_ == DataOneofCase.ArticleSuggestion) { + subBuilder.MergeFrom(ArticleSuggestion); + } + input.ReadMessage(subBuilder); + ArticleSuggestion = subBuilder; + break; + } + case 58: { + global::Google.Cloud.ContactCenterInsights.V1.FaqAnswerData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.FaqAnswerData(); + if (dataCase_ == DataOneofCase.FaqAnswer) { + subBuilder.MergeFrom(FaqAnswer); + } + input.ReadMessage(subBuilder); + FaqAnswer = subBuilder; + break; + } + case 66: { + global::Google.Cloud.ContactCenterInsights.V1.SmartReplyData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.SmartReplyData(); + if (dataCase_ == DataOneofCase.SmartReply) { + subBuilder.MergeFrom(SmartReply); + } + input.ReadMessage(subBuilder); + SmartReply = subBuilder; + break; + } + case 74: { + global::Google.Cloud.ContactCenterInsights.V1.SmartComposeSuggestionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.SmartComposeSuggestionData(); + if (dataCase_ == DataOneofCase.SmartComposeSuggestion) { + subBuilder.MergeFrom(SmartComposeSuggestion); + } + input.ReadMessage(subBuilder); + SmartComposeSuggestion = subBuilder; + break; + } + case 82: { + global::Google.Cloud.ContactCenterInsights.V1.DialogflowInteractionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.DialogflowInteractionData(); + if (dataCase_ == DataOneofCase.DialogflowInteraction) { + subBuilder.MergeFrom(DialogflowInteraction); + } + input.ReadMessage(subBuilder); + DialogflowInteraction = subBuilder; + break; + } + case 98: { + global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.ConversationSummarizationSuggestionData(); + if (dataCase_ == DataOneofCase.ConversationSummarizationSuggestion) { + subBuilder.MergeFrom(ConversationSummarizationSuggestion); + } + input.ReadMessage(subBuilder); + ConversationSummarizationSuggestion = subBuilder; + break; + } + case 130: { + if (userInput_ == null) { + UserInput = new global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput(); + } + input.ReadMessage(UserInput); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the RuntimeAnnotation message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Explicit input used for generating the answer + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UserInput : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserInput()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserInput() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserInput(UserInput other) : this() { + query_ = other.query_; + generatorName_ = other.generatorName_; + querySource_ = other.querySource_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserInput Clone() { + return new UserInput(this); + } + + /// Field number for the "query" field. + public const int QueryFieldNumber = 1; + private string query_ = ""; + /// + /// Query text. Article Search uses this to store the input query used + /// to generate the search results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Query { + get { return query_; } + set { + query_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "generator_name" field. + public const int GeneratorNameFieldNumber = 2; + private string generatorName_ = ""; + /// + /// The resource name of associated generator. Format: + /// `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string GeneratorName { + get { return generatorName_; } + set { + generatorName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "query_source" field. + public const int QuerySourceFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Types.QuerySource querySource_ = global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Types.QuerySource.Unspecified; + /// + /// Query source for the answer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Types.QuerySource QuerySource { + get { return querySource_; } + set { + querySource_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserInput); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserInput other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Query != other.Query) return false; + if (GeneratorName != other.GeneratorName) return false; + if (QuerySource != other.QuerySource) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Query.Length != 0) hash ^= Query.GetHashCode(); + if (GeneratorName.Length != 0) hash ^= GeneratorName.GetHashCode(); + if (QuerySource != global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Types.QuerySource.Unspecified) hash ^= QuerySource.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Query.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Query); + } + if (GeneratorName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(GeneratorName); + } + if (QuerySource != global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Types.QuerySource.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) QuerySource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Query.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Query); + } + if (GeneratorName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(GeneratorName); + } + if (QuerySource != global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Types.QuerySource.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) QuerySource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Query.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Query); + } + if (GeneratorName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(GeneratorName); + } + if (QuerySource != global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Types.QuerySource.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) QuerySource); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserInput other) { + if (other == null) { + return; + } + if (other.Query.Length != 0) { + Query = other.Query; + } + if (other.GeneratorName.Length != 0) { + GeneratorName = other.GeneratorName; + } + if (other.QuerySource != global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Types.QuerySource.Unspecified) { + QuerySource = other.QuerySource; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Query = input.ReadString(); + break; + } + case 18: { + GeneratorName = input.ReadString(); + break; + } + case 24: { + QuerySource = (global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Types.QuerySource) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Query = input.ReadString(); + break; + } + case 18: { + GeneratorName = input.ReadString(); + break; + } + case 24: { + QuerySource = (global::Google.Cloud.ContactCenterInsights.V1.RuntimeAnnotation.Types.UserInput.Types.QuerySource) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the UserInput message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The source of the query. + /// + public enum QuerySource { + /// + /// Unknown query source. + /// + [pbr::OriginalName("QUERY_SOURCE_UNSPECIFIED")] Unspecified = 0, + /// + /// The query is from agents. + /// + [pbr::OriginalName("AGENT_QUERY")] AgentQuery = 1, + /// + /// The query is a query from previous suggestions, e.g. from a preceding + /// SuggestKnowledgeAssist response. + /// + [pbr::OriginalName("SUGGESTED_QUERY")] SuggestedQuery = 2, + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// The feedback that the customer has about a certain answer in the + /// conversation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AnswerFeedback : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnswerFeedback()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[38]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerFeedback() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerFeedback(AnswerFeedback other) : this() { + correctnessLevel_ = other.correctnessLevel_; + clicked_ = other.clicked_; + displayed_ = other.displayed_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerFeedback Clone() { + return new AnswerFeedback(this); + } + + /// Field number for the "correctness_level" field. + public const int CorrectnessLevelFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Types.CorrectnessLevel correctnessLevel_ = global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Types.CorrectnessLevel.Unspecified; + /// + /// The correctness level of an answer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Types.CorrectnessLevel CorrectnessLevel { + get { return correctnessLevel_; } + set { + correctnessLevel_ = value; + } + } + + /// Field number for the "clicked" field. + public const int ClickedFieldNumber = 2; + private bool clicked_; + /// + /// Indicates whether an answer or item was clicked by the human agent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Clicked { + get { return clicked_; } + set { + clicked_ = value; + } + } + + /// Field number for the "displayed" field. + public const int DisplayedFieldNumber = 3; + private bool displayed_; + /// + /// Indicates whether an answer or item was displayed to the human agent in the + /// agent desktop UI. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Displayed { + get { return displayed_; } + set { + displayed_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AnswerFeedback); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AnswerFeedback other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CorrectnessLevel != other.CorrectnessLevel) return false; + if (Clicked != other.Clicked) return false; + if (Displayed != other.Displayed) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (CorrectnessLevel != global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Types.CorrectnessLevel.Unspecified) hash ^= CorrectnessLevel.GetHashCode(); + if (Clicked != false) hash ^= Clicked.GetHashCode(); + if (Displayed != false) hash ^= Displayed.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (CorrectnessLevel != global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Types.CorrectnessLevel.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) CorrectnessLevel); + } + if (Clicked != false) { + output.WriteRawTag(16); + output.WriteBool(Clicked); + } + if (Displayed != false) { + output.WriteRawTag(24); + output.WriteBool(Displayed); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CorrectnessLevel != global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Types.CorrectnessLevel.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) CorrectnessLevel); + } + if (Clicked != false) { + output.WriteRawTag(16); + output.WriteBool(Clicked); + } + if (Displayed != false) { + output.WriteRawTag(24); + output.WriteBool(Displayed); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (CorrectnessLevel != global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Types.CorrectnessLevel.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CorrectnessLevel); + } + if (Clicked != false) { + size += 1 + 1; + } + if (Displayed != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AnswerFeedback other) { + if (other == null) { + return; + } + if (other.CorrectnessLevel != global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Types.CorrectnessLevel.Unspecified) { + CorrectnessLevel = other.CorrectnessLevel; + } + if (other.Clicked != false) { + Clicked = other.Clicked; + } + if (other.Displayed != false) { + Displayed = other.Displayed; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + CorrectnessLevel = (global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Types.CorrectnessLevel) input.ReadEnum(); + break; + } + case 16: { + Clicked = input.ReadBool(); + break; + } + case 24: { + Displayed = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + CorrectnessLevel = (global::Google.Cloud.ContactCenterInsights.V1.AnswerFeedback.Types.CorrectnessLevel) input.ReadEnum(); + break; + } + case 16: { + Clicked = input.ReadBool(); + break; + } + case 24: { + Displayed = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AnswerFeedback message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The correctness level of an answer. + /// + public enum CorrectnessLevel { + /// + /// Correctness level unspecified. + /// + [pbr::OriginalName("CORRECTNESS_LEVEL_UNSPECIFIED")] Unspecified = 0, + /// + /// Answer is totally wrong. + /// + [pbr::OriginalName("NOT_CORRECT")] NotCorrect = 1, + /// + /// Answer is partially correct. + /// + [pbr::OriginalName("PARTIALLY_CORRECT")] PartiallyCorrect = 2, + /// + /// Answer is fully correct. + /// + [pbr::OriginalName("FULLY_CORRECT")] FullyCorrect = 3, + } + + } + #endregion + + } + + /// + /// Agent Assist Article Suggestion data. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ArticleSuggestionData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ArticleSuggestionData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[39]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ArticleSuggestionData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ArticleSuggestionData(ArticleSuggestionData other) : this() { + title_ = other.title_; + uri_ = other.uri_; + confidenceScore_ = other.confidenceScore_; + metadata_ = other.metadata_.Clone(); + queryRecord_ = other.queryRecord_; + source_ = other.source_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ArticleSuggestionData Clone() { + return new ArticleSuggestionData(this); + } + + /// Field number for the "title" field. + public const int TitleFieldNumber = 1; + private string title_ = ""; + /// + /// Article title. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "uri" field. + public const int UriFieldNumber = 2; + private string uri_ = ""; + /// + /// Article URI. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uri { + get { return uri_; } + set { + uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "confidence_score" field. + public const int ConfidenceScoreFieldNumber = 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 + /// certain). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ConfidenceScore { + get { return confidenceScore_; } + set { + confidenceScore_ = value; + } + } + + /// Field number for the "metadata" field. + public const int MetadataFieldNumber = 4; + private static readonly pbc::MapField.Codec _map_metadata_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 34); + private readonly pbc::MapField metadata_ = new pbc::MapField(); + /// + /// Map that contains metadata about the Article Suggestion and the document + /// that it originates from. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Metadata { + get { return metadata_; } + } + + /// Field number for the "query_record" field. + public const int QueryRecordFieldNumber = 5; + private string queryRecord_ = ""; + /// + /// The name of the answer record. + /// Format: + /// projects/{project}/locations/{location}/answerRecords/{answer_record} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QueryRecord { + get { return queryRecord_; } + set { + queryRecord_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "source" field. + public const int SourceFieldNumber = 6; + private string source_ = ""; + /// + /// The knowledge document that this answer was extracted from. + /// Format: + /// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Source { + get { return source_; } + set { + source_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ArticleSuggestionData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ArticleSuggestionData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Title != other.Title) return false; + if (Uri != other.Uri) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ConfidenceScore, other.ConfidenceScore)) return false; + if (!Metadata.Equals(other.Metadata)) return false; + if (QueryRecord != other.QueryRecord) return false; + if (Source != other.Source) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Uri.Length != 0) hash ^= Uri.GetHashCode(); + if (ConfidenceScore != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ConfidenceScore); + hash ^= Metadata.GetHashCode(); + if (QueryRecord.Length != 0) hash ^= QueryRecord.GetHashCode(); + if (Source.Length != 0) hash ^= Source.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Title.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Title); + } + if (Uri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Uri); + } + if (ConfidenceScore != 0F) { + output.WriteRawTag(29); + output.WriteFloat(ConfidenceScore); + } + metadata_.WriteTo(output, _map_metadata_codec); + if (QueryRecord.Length != 0) { + output.WriteRawTag(42); + output.WriteString(QueryRecord); + } + if (Source.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Source); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Title.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Title); + } + if (Uri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Uri); + } + if (ConfidenceScore != 0F) { + output.WriteRawTag(29); + output.WriteFloat(ConfidenceScore); + } + metadata_.WriteTo(ref output, _map_metadata_codec); + if (QueryRecord.Length != 0) { + output.WriteRawTag(42); + output.WriteString(QueryRecord); + } + if (Source.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Source); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Uri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + } + if (ConfidenceScore != 0F) { + size += 1 + 4; + } + size += metadata_.CalculateSize(_map_metadata_codec); + if (QueryRecord.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryRecord); + } + if (Source.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Source); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ArticleSuggestionData other) { + if (other == null) { + return; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Uri.Length != 0) { + Uri = other.Uri; + } + if (other.ConfidenceScore != 0F) { + ConfidenceScore = other.ConfidenceScore; + } + metadata_.MergeFrom(other.metadata_); + if (other.QueryRecord.Length != 0) { + QueryRecord = other.QueryRecord; + } + if (other.Source.Length != 0) { + Source = other.Source; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Title = input.ReadString(); + break; + } + case 18: { + Uri = input.ReadString(); + break; + } + case 29: { + ConfidenceScore = input.ReadFloat(); + break; + } + case 34: { + metadata_.AddEntriesFrom(input, _map_metadata_codec); + break; + } + case 42: { + QueryRecord = input.ReadString(); + break; + } + case 50: { + Source = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Title = input.ReadString(); + break; + } + case 18: { + Uri = input.ReadString(); + break; + } + case 29: { + ConfidenceScore = input.ReadFloat(); + break; + } + case 34: { + metadata_.AddEntriesFrom(ref input, _map_metadata_codec); + break; + } + case 42: { + QueryRecord = input.ReadString(); + break; + } + case 50: { + Source = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Agent Assist frequently-asked-question answer data. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FaqAnswerData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FaqAnswerData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[40]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FaqAnswerData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FaqAnswerData(FaqAnswerData other) : this() { + answer_ = other.answer_; + confidenceScore_ = other.confidenceScore_; + question_ = other.question_; + metadata_ = other.metadata_.Clone(); + queryRecord_ = other.queryRecord_; + source_ = other.source_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FaqAnswerData Clone() { + return new FaqAnswerData(this); + } + + /// Field number for the "answer" field. + public const int AnswerFieldNumber = 1; + private string answer_ = ""; + /// + /// The piece of text from the `source` knowledge base document. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Answer { + get { return answer_; } + set { + answer_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "confidence_score" field. + public const int ConfidenceScoreFieldNumber = 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 + /// certain). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ConfidenceScore { + get { return confidenceScore_; } + set { + confidenceScore_ = value; + } + } + + /// Field number for the "question" field. + public const int QuestionFieldNumber = 3; + private string question_ = ""; + /// + /// The corresponding FAQ question. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Question { + get { return question_; } + set { + question_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "metadata" field. + public const int MetadataFieldNumber = 4; + private static readonly pbc::MapField.Codec _map_metadata_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 34); + private readonly pbc::MapField metadata_ = new pbc::MapField(); + /// + /// Map that contains metadata about the FAQ answer and the document that + /// it originates from. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Metadata { + get { return metadata_; } + } + + /// Field number for the "query_record" field. + public const int QueryRecordFieldNumber = 5; + private string queryRecord_ = ""; + /// + /// The name of the answer record. + /// Format: + /// projects/{project}/locations/{location}/answerRecords/{answer_record} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QueryRecord { + get { return queryRecord_; } + set { + queryRecord_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "source" field. + public const int SourceFieldNumber = 6; + private string source_ = ""; + /// + /// The knowledge document that this answer was extracted from. + /// Format: + /// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Source { + get { return source_; } + set { + source_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FaqAnswerData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FaqAnswerData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Answer != other.Answer) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ConfidenceScore, other.ConfidenceScore)) return false; + if (Question != other.Question) return false; + if (!Metadata.Equals(other.Metadata)) return false; + if (QueryRecord != other.QueryRecord) return false; + if (Source != other.Source) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Answer.Length != 0) hash ^= Answer.GetHashCode(); + if (ConfidenceScore != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ConfidenceScore); + if (Question.Length != 0) hash ^= Question.GetHashCode(); + hash ^= Metadata.GetHashCode(); + if (QueryRecord.Length != 0) hash ^= QueryRecord.GetHashCode(); + if (Source.Length != 0) hash ^= Source.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Answer.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Answer); + } + if (ConfidenceScore != 0F) { + output.WriteRawTag(21); + output.WriteFloat(ConfidenceScore); + } + if (Question.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Question); + } + metadata_.WriteTo(output, _map_metadata_codec); + if (QueryRecord.Length != 0) { + output.WriteRawTag(42); + output.WriteString(QueryRecord); + } + if (Source.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Source); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Answer.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Answer); + } + if (ConfidenceScore != 0F) { + output.WriteRawTag(21); + output.WriteFloat(ConfidenceScore); + } + if (Question.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Question); + } + metadata_.WriteTo(ref output, _map_metadata_codec); + if (QueryRecord.Length != 0) { + output.WriteRawTag(42); + output.WriteString(QueryRecord); + } + if (Source.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Source); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Answer.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Answer); + } + if (ConfidenceScore != 0F) { + size += 1 + 4; + } + if (Question.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Question); + } + size += metadata_.CalculateSize(_map_metadata_codec); + if (QueryRecord.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryRecord); + } + if (Source.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Source); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FaqAnswerData other) { + if (other == null) { + return; + } + if (other.Answer.Length != 0) { + Answer = other.Answer; + } + if (other.ConfidenceScore != 0F) { + ConfidenceScore = other.ConfidenceScore; + } + if (other.Question.Length != 0) { + Question = other.Question; + } + metadata_.MergeFrom(other.metadata_); + if (other.QueryRecord.Length != 0) { + QueryRecord = other.QueryRecord; + } + if (other.Source.Length != 0) { + Source = other.Source; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Answer = input.ReadString(); + break; + } + case 21: { + ConfidenceScore = input.ReadFloat(); + break; + } + case 26: { + Question = input.ReadString(); + break; + } + case 34: { + metadata_.AddEntriesFrom(input, _map_metadata_codec); + break; + } + case 42: { + QueryRecord = input.ReadString(); + break; + } + case 50: { + Source = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Answer = input.ReadString(); + break; + } + case 21: { + ConfidenceScore = input.ReadFloat(); + break; + } + case 26: { + Question = input.ReadString(); + break; + } + case 34: { + metadata_.AddEntriesFrom(ref input, _map_metadata_codec); + break; + } + case 42: { + QueryRecord = input.ReadString(); + break; + } + case 50: { + Source = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Agent Assist Smart Reply data. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SmartReplyData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SmartReplyData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[41]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SmartReplyData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SmartReplyData(SmartReplyData other) : this() { + reply_ = other.reply_; + confidenceScore_ = other.confidenceScore_; + metadata_ = other.metadata_.Clone(); + queryRecord_ = other.queryRecord_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SmartReplyData Clone() { + return new SmartReplyData(this); + } + + /// Field number for the "reply" field. + public const int ReplyFieldNumber = 1; + private string reply_ = ""; + /// + /// The content of the reply. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Reply { + get { return reply_; } + set { + reply_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "confidence_score" field. + public const int ConfidenceScoreFieldNumber = 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 + /// certain). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double ConfidenceScore { + get { return confidenceScore_; } + set { + confidenceScore_ = value; + } + } + + /// Field number for the "metadata" field. + public const int MetadataFieldNumber = 3; + private static readonly pbc::MapField.Codec _map_metadata_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 26); + private readonly pbc::MapField metadata_ = new pbc::MapField(); + /// + /// Map that contains metadata about the Smart Reply and the document from + /// which it originates. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Metadata { + get { return metadata_; } + } + + /// Field number for the "query_record" field. + public const int QueryRecordFieldNumber = 4; + private string queryRecord_ = ""; + /// + /// The name of the answer record. + /// Format: + /// projects/{project}/locations/{location}/answerRecords/{answer_record} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QueryRecord { + get { return queryRecord_; } + set { + queryRecord_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SmartReplyData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SmartReplyData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Reply != other.Reply) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ConfidenceScore, other.ConfidenceScore)) return false; + if (!Metadata.Equals(other.Metadata)) return false; + if (QueryRecord != other.QueryRecord) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Reply.Length != 0) hash ^= Reply.GetHashCode(); + if (ConfidenceScore != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ConfidenceScore); + hash ^= Metadata.GetHashCode(); + if (QueryRecord.Length != 0) hash ^= QueryRecord.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Reply.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Reply); + } + if (ConfidenceScore != 0D) { + output.WriteRawTag(17); + output.WriteDouble(ConfidenceScore); + } + metadata_.WriteTo(output, _map_metadata_codec); + if (QueryRecord.Length != 0) { + output.WriteRawTag(34); + output.WriteString(QueryRecord); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Reply.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Reply); + } + if (ConfidenceScore != 0D) { + output.WriteRawTag(17); + output.WriteDouble(ConfidenceScore); + } + metadata_.WriteTo(ref output, _map_metadata_codec); + if (QueryRecord.Length != 0) { + output.WriteRawTag(34); + output.WriteString(QueryRecord); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Reply.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Reply); + } + if (ConfidenceScore != 0D) { + size += 1 + 8; + } + size += metadata_.CalculateSize(_map_metadata_codec); + if (QueryRecord.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryRecord); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SmartReplyData other) { + if (other == null) { + return; + } + if (other.Reply.Length != 0) { + Reply = other.Reply; + } + if (other.ConfidenceScore != 0D) { + ConfidenceScore = other.ConfidenceScore; + } + metadata_.MergeFrom(other.metadata_); + if (other.QueryRecord.Length != 0) { + QueryRecord = other.QueryRecord; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Reply = input.ReadString(); + break; + } + case 17: { + ConfidenceScore = input.ReadDouble(); + break; + } + case 26: { + metadata_.AddEntriesFrom(input, _map_metadata_codec); + break; + } + case 34: { + QueryRecord = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Reply = input.ReadString(); + break; + } + case 17: { + ConfidenceScore = input.ReadDouble(); + break; + } + case 26: { + metadata_.AddEntriesFrom(ref input, _map_metadata_codec); + break; + } + case 34: { + QueryRecord = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Agent Assist Smart Compose suggestion data. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SmartComposeSuggestionData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SmartComposeSuggestionData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[42]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SmartComposeSuggestionData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SmartComposeSuggestionData(SmartComposeSuggestionData other) : this() { + suggestion_ = other.suggestion_; + confidenceScore_ = other.confidenceScore_; + metadata_ = other.metadata_.Clone(); + queryRecord_ = other.queryRecord_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SmartComposeSuggestionData Clone() { + return new SmartComposeSuggestionData(this); + } + + /// Field number for the "suggestion" field. + public const int SuggestionFieldNumber = 1; + private string suggestion_ = ""; + /// + /// The content of the suggestion. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Suggestion { + get { return suggestion_; } + set { + suggestion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "confidence_score" field. + public const int ConfidenceScoreFieldNumber = 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 + /// certain). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double ConfidenceScore { + get { return confidenceScore_; } + set { + confidenceScore_ = value; + } + } + + /// Field number for the "metadata" field. + public const int MetadataFieldNumber = 3; + private static readonly pbc::MapField.Codec _map_metadata_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 26); + private readonly pbc::MapField metadata_ = new pbc::MapField(); + /// + /// Map that contains metadata about the Smart Compose suggestion and the + /// document from which it originates. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Metadata { + get { return metadata_; } + } + + /// Field number for the "query_record" field. + public const int QueryRecordFieldNumber = 4; + private string queryRecord_ = ""; + /// + /// The name of the answer record. + /// Format: + /// projects/{project}/locations/{location}/answerRecords/{answer_record} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QueryRecord { + get { return queryRecord_; } + set { + queryRecord_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SmartComposeSuggestionData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SmartComposeSuggestionData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Suggestion != other.Suggestion) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ConfidenceScore, other.ConfidenceScore)) return false; + if (!Metadata.Equals(other.Metadata)) return false; + if (QueryRecord != other.QueryRecord) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Suggestion.Length != 0) hash ^= Suggestion.GetHashCode(); + if (ConfidenceScore != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ConfidenceScore); + hash ^= Metadata.GetHashCode(); + if (QueryRecord.Length != 0) hash ^= QueryRecord.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Suggestion.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Suggestion); + } + if (ConfidenceScore != 0D) { + output.WriteRawTag(17); + output.WriteDouble(ConfidenceScore); + } + metadata_.WriteTo(output, _map_metadata_codec); + if (QueryRecord.Length != 0) { + output.WriteRawTag(34); + output.WriteString(QueryRecord); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Suggestion.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Suggestion); + } + if (ConfidenceScore != 0D) { + output.WriteRawTag(17); + output.WriteDouble(ConfidenceScore); + } + metadata_.WriteTo(ref output, _map_metadata_codec); + if (QueryRecord.Length != 0) { + output.WriteRawTag(34); + output.WriteString(QueryRecord); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Suggestion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Suggestion); + } + if (ConfidenceScore != 0D) { + size += 1 + 8; + } + size += metadata_.CalculateSize(_map_metadata_codec); + if (QueryRecord.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryRecord); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SmartComposeSuggestionData other) { + if (other == null) { + return; + } + if (other.Suggestion.Length != 0) { + Suggestion = other.Suggestion; + } + if (other.ConfidenceScore != 0D) { + ConfidenceScore = other.ConfidenceScore; + } + metadata_.MergeFrom(other.metadata_); + if (other.QueryRecord.Length != 0) { + QueryRecord = other.QueryRecord; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Suggestion = input.ReadString(); + break; + } + case 17: { + ConfidenceScore = input.ReadDouble(); + break; + } + case 26: { + metadata_.AddEntriesFrom(input, _map_metadata_codec); + break; + } + case 34: { + QueryRecord = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Suggestion = input.ReadString(); + break; + } + case 17: { + ConfidenceScore = input.ReadDouble(); + break; + } + case 26: { + metadata_.AddEntriesFrom(ref input, _map_metadata_codec); + break; + } + case 34: { + QueryRecord = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Dialogflow interaction data. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DialogflowInteractionData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DialogflowInteractionData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[43]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowInteractionData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowInteractionData(DialogflowInteractionData other) : this() { + dialogflowIntentId_ = other.dialogflowIntentId_; + confidence_ = other.confidence_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DialogflowInteractionData Clone() { + return new DialogflowInteractionData(this); + } + + /// Field number for the "dialogflow_intent_id" field. + public const int DialogflowIntentIdFieldNumber = 1; + private string dialogflowIntentId_ = ""; + /// + /// The Dialogflow intent resource path. Format: + /// projects/{project}/agent/{agent}/intents/{intent} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DialogflowIntentId { + get { return dialogflowIntentId_; } + set { + dialogflowIntentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "confidence" field. + public const int ConfidenceFieldNumber = 2; + private float confidence_; + /// + /// The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 + /// (completely certain). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Confidence { + get { return confidence_; } + set { + confidence_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DialogflowInteractionData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DialogflowInteractionData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DialogflowIntentId != other.DialogflowIntentId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Confidence, other.Confidence)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (DialogflowIntentId.Length != 0) hash ^= DialogflowIntentId.GetHashCode(); + if (Confidence != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Confidence); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (DialogflowIntentId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DialogflowIntentId); + } + if (Confidence != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Confidence); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DialogflowIntentId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DialogflowIntentId); + } + if (Confidence != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Confidence); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (DialogflowIntentId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DialogflowIntentId); + } + if (Confidence != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DialogflowInteractionData other) { + if (other == null) { + return; + } + if (other.DialogflowIntentId.Length != 0) { + DialogflowIntentId = other.DialogflowIntentId; + } + if (other.Confidence != 0F) { + Confidence = other.Confidence; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + DialogflowIntentId = input.ReadString(); + break; + } + case 21: { + Confidence = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + DialogflowIntentId = input.ReadString(); + break; + } + case 21: { + Confidence = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + + /// + /// Conversation summarization suggestion data. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConversationSummarizationSuggestionData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConversationSummarizationSuggestionData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[44]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationSummarizationSuggestionData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationSummarizationSuggestionData(ConversationSummarizationSuggestionData other) : this() { + text_ = other.text_; + textSections_ = other.textSections_.Clone(); + confidence_ = other.confidence_; + metadata_ = other.metadata_.Clone(); + answerRecord_ = other.answerRecord_; + conversationModel_ = other.conversationModel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationSummarizationSuggestionData Clone() { + return new ConversationSummarizationSuggestionData(this); + } + + /// Field number for the "text" field. + public const int TextFieldNumber = 1; + private string text_ = ""; + /// + /// The summarization content that is concatenated into one string. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Text { + get { return text_; } + set { + text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "text_sections" field. + public const int TextSectionsFieldNumber = 5; + private static readonly pbc::MapField.Codec _map_textSections_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 42); + private readonly pbc::MapField textSections_ = new pbc::MapField(); + /// + /// The summarization content that is divided into sections. The key is the + /// section's name and the value is the section's content. There is no + /// specific format for the key or value. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField TextSections { + get { return textSections_; } + } + + /// Field number for the "confidence" field. + public const int ConfidenceFieldNumber = 2; + private float confidence_; + /// + /// The confidence score of the summarization. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Confidence { + get { return confidence_; } + set { + confidence_ = value; + } + } + + /// Field number for the "metadata" field. + public const int MetadataFieldNumber = 3; + private static readonly pbc::MapField.Codec _map_metadata_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 26); + private readonly pbc::MapField metadata_ = new pbc::MapField(); + /// + /// A map that contains metadata about the summarization and the document + /// from which it originates. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Metadata { + get { return metadata_; } + } + + /// Field number for the "answer_record" field. + public const int AnswerRecordFieldNumber = 4; + private string answerRecord_ = ""; + /// + /// The name of the answer record. + /// Format: + /// projects/{project}/locations/{location}/answerRecords/{answer_record} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AnswerRecord { + get { return answerRecord_; } + set { + answerRecord_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "conversation_model" field. + public const int ConversationModelFieldNumber = 6; + private string conversationModel_ = ""; + /// + /// The name of the model that generates this summary. + /// Format: + /// projects/{project}/locations/{location}/conversationModels/{conversation_model} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConversationModel { + get { return conversationModel_; } + set { + conversationModel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConversationSummarizationSuggestionData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConversationSummarizationSuggestionData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Text != other.Text) return false; + if (!TextSections.Equals(other.TextSections)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Confidence, other.Confidence)) return false; + if (!Metadata.Equals(other.Metadata)) return false; + if (AnswerRecord != other.AnswerRecord) return false; + if (ConversationModel != other.ConversationModel) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Text.Length != 0) hash ^= Text.GetHashCode(); + hash ^= TextSections.GetHashCode(); + if (Confidence != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Confidence); + hash ^= Metadata.GetHashCode(); + if (AnswerRecord.Length != 0) hash ^= AnswerRecord.GetHashCode(); + if (ConversationModel.Length != 0) hash ^= ConversationModel.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Text.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Text); + } + if (Confidence != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Confidence); + } + metadata_.WriteTo(output, _map_metadata_codec); + if (AnswerRecord.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AnswerRecord); + } + textSections_.WriteTo(output, _map_textSections_codec); + if (ConversationModel.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ConversationModel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Text.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Text); + } + if (Confidence != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Confidence); + } + metadata_.WriteTo(ref output, _map_metadata_codec); + if (AnswerRecord.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AnswerRecord); + } + textSections_.WriteTo(ref output, _map_textSections_codec); + if (ConversationModel.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ConversationModel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Text.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + } + size += textSections_.CalculateSize(_map_textSections_codec); + if (Confidence != 0F) { + size += 1 + 4; + } + size += metadata_.CalculateSize(_map_metadata_codec); + if (AnswerRecord.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AnswerRecord); + } + if (ConversationModel.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConversationModel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConversationSummarizationSuggestionData other) { + if (other == null) { + return; + } + if (other.Text.Length != 0) { + Text = other.Text; + } + textSections_.MergeFrom(other.textSections_); + if (other.Confidence != 0F) { + Confidence = other.Confidence; + } + metadata_.MergeFrom(other.metadata_); + if (other.AnswerRecord.Length != 0) { + AnswerRecord = other.AnswerRecord; + } + if (other.ConversationModel.Length != 0) { + ConversationModel = other.ConversationModel; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Text = input.ReadString(); + break; + } + case 21: { + Confidence = input.ReadFloat(); + break; + } + case 26: { + metadata_.AddEntriesFrom(input, _map_metadata_codec); + break; + } + case 34: { + AnswerRecord = input.ReadString(); + break; + } + case 42: { + textSections_.AddEntriesFrom(input, _map_textSections_codec); + break; + } + case 50: { + ConversationModel = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Text = input.ReadString(); + break; + } + case 21: { + Confidence = input.ReadFloat(); + break; + } + case 26: { + metadata_.AddEntriesFrom(ref input, _map_metadata_codec); + break; + } + case 34: { + AnswerRecord = input.ReadString(); + break; + } + case 42: { + textSections_.AddEntriesFrom(ref input, _map_textSections_codec); + break; + } + case 50: { + ConversationModel = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The call participant speaking for a given utterance. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConversationParticipant : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConversationParticipant()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[45]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationParticipant() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationParticipant(ConversationParticipant other) : this() { + dialogflowParticipant_ = other.dialogflowParticipant_; + obfuscatedExternalUserId_ = other.obfuscatedExternalUserId_; + role_ = other.role_; + switch (other.ParticipantCase) { + case ParticipantOneofCase.DialogflowParticipantName: + DialogflowParticipantName = other.DialogflowParticipantName; + break; + case ParticipantOneofCase.UserId: + UserId = other.UserId; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationParticipant Clone() { + return new ConversationParticipant(this); + } + + /// Field number for the "dialogflow_participant_name" field. + public const int DialogflowParticipantNameFieldNumber = 5; + /// + /// The name of the participant provided by Dialogflow. Format: + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DialogflowParticipantName { + get { return HasDialogflowParticipantName ? (string) participant_ : ""; } + set { + participant_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + participantCase_ = ParticipantOneofCase.DialogflowParticipantName; + } + } + /// Gets whether the "dialogflow_participant_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDialogflowParticipantName { + get { return participantCase_ == ParticipantOneofCase.DialogflowParticipantName; } + } + /// Clears the value of the oneof if it's currently set to "dialogflow_participant_name" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDialogflowParticipantName() { + if (HasDialogflowParticipantName) { + ClearParticipant(); + } + } + + /// Field number for the "user_id" field. + public const int UserIdFieldNumber = 6; + /// + /// A user-specified ID representing the participant. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return HasUserId ? (string) participant_ : ""; } + set { + participant_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + participantCase_ = ParticipantOneofCase.UserId; + } + } + /// Gets whether the "user_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUserId { + get { return participantCase_ == ParticipantOneofCase.UserId; } + } + /// Clears the value of the oneof if it's currently set to "user_id" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUserId() { + if (HasUserId) { + ClearParticipant(); + } + } + + /// Field number for the "dialogflow_participant" field. + public const int DialogflowParticipantFieldNumber = 1; + private string dialogflowParticipant_ = ""; + /// + /// Deprecated. Use `dialogflow_participant_name` instead. + /// The name of the Dialogflow participant. Format: + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DialogflowParticipant { + get { return dialogflowParticipant_; } + set { + dialogflowParticipant_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "obfuscated_external_user_id" field. + public const int ObfuscatedExternalUserIdFieldNumber = 3; + private string obfuscatedExternalUserId_ = ""; + /// + /// Obfuscated user ID from Dialogflow. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ObfuscatedExternalUserId { + get { return obfuscatedExternalUserId_; } + set { + obfuscatedExternalUserId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role role_ = global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified; + /// + /// The role of the participant. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role Role { + get { return role_; } + set { + role_ = value; + } + } + + private object participant_; + /// Enum of possible cases for the "participant" oneof. + public enum ParticipantOneofCase { + None = 0, + DialogflowParticipantName = 5, + UserId = 6, + } + private ParticipantOneofCase participantCase_ = ParticipantOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParticipantOneofCase ParticipantCase { + get { return participantCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearParticipant() { + participantCase_ = ParticipantOneofCase.None; + participant_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConversationParticipant); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConversationParticipant other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DialogflowParticipantName != other.DialogflowParticipantName) return false; + if (UserId != other.UserId) return false; + if (DialogflowParticipant != other.DialogflowParticipant) return false; + if (ObfuscatedExternalUserId != other.ObfuscatedExternalUserId) return false; + if (Role != other.Role) return false; + if (ParticipantCase != other.ParticipantCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasDialogflowParticipantName) hash ^= DialogflowParticipantName.GetHashCode(); + if (HasUserId) hash ^= UserId.GetHashCode(); + if (DialogflowParticipant.Length != 0) hash ^= DialogflowParticipant.GetHashCode(); + if (ObfuscatedExternalUserId.Length != 0) hash ^= ObfuscatedExternalUserId.GetHashCode(); + if (Role != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) hash ^= Role.GetHashCode(); + hash ^= (int) participantCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (DialogflowParticipant.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DialogflowParticipant); + } + if (Role != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) Role); + } + if (ObfuscatedExternalUserId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ObfuscatedExternalUserId); + } + if (HasDialogflowParticipantName) { + output.WriteRawTag(42); + output.WriteString(DialogflowParticipantName); + } + if (HasUserId) { + output.WriteRawTag(50); + output.WriteString(UserId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DialogflowParticipant.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DialogflowParticipant); + } + if (Role != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) Role); + } + if (ObfuscatedExternalUserId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ObfuscatedExternalUserId); + } + if (HasDialogflowParticipantName) { + output.WriteRawTag(42); + output.WriteString(DialogflowParticipantName); + } + if (HasUserId) { + output.WriteRawTag(50); + output.WriteString(UserId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasDialogflowParticipantName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DialogflowParticipantName); + } + if (HasUserId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (DialogflowParticipant.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DialogflowParticipant); + } + if (ObfuscatedExternalUserId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ObfuscatedExternalUserId); + } + if (Role != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Role); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConversationParticipant other) { + if (other == null) { + return; + } + if (other.DialogflowParticipant.Length != 0) { + DialogflowParticipant = other.DialogflowParticipant; + } + if (other.ObfuscatedExternalUserId.Length != 0) { + ObfuscatedExternalUserId = other.ObfuscatedExternalUserId; + } + if (other.Role != global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role.Unspecified) { + Role = other.Role; + } + switch (other.ParticipantCase) { + case ParticipantOneofCase.DialogflowParticipantName: + DialogflowParticipantName = other.DialogflowParticipantName; + break; + case ParticipantOneofCase.UserId: + UserId = other.UserId; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + DialogflowParticipant = input.ReadString(); + break; + } + case 16: { + Role = (global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role) input.ReadEnum(); + break; + } + case 26: { + ObfuscatedExternalUserId = input.ReadString(); + break; + } + case 42: { + DialogflowParticipantName = input.ReadString(); + break; + } + case 50: { + UserId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + DialogflowParticipant = input.ReadString(); + break; + } + case 16: { + Role = (global::Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.Types.Role) input.ReadEnum(); + break; + } + case 26: { + ObfuscatedExternalUserId = input.ReadString(); + break; + } + case 42: { + DialogflowParticipantName = input.ReadString(); + break; + } + case 50: { + UserId = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ConversationParticipant message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The role of the participant. + /// + public enum Role { + /// + /// Participant's role is not set. + /// + [pbr::OriginalName("ROLE_UNSPECIFIED")] Unspecified = 0, + /// + /// Participant is a human agent. + /// + [pbr::OriginalName("HUMAN_AGENT")] HumanAgent = 1, + /// + /// Participant is an automated agent. + /// + [pbr::OriginalName("AUTOMATED_AGENT")] AutomatedAgent = 2, + /// + /// Participant is an end user who conversed with the contact center. + /// + [pbr::OriginalName("END_USER")] EndUser = 3, + /// + /// Participant is either a human or automated agent. + /// + [pbr::OriginalName("ANY_AGENT")] AnyAgent = 4, + } + + } + #endregion + + } + + /// + /// The View resource. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class View : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new View()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[46]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public View() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public View(View other) : this() { + name_ = other.name_; + displayName_ = other.displayName_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + value_ = other.value_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public View Clone() { + return new View(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. The resource name of the view. + /// Format: + /// projects/{project}/locations/{location}/views/{view} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 2; + private string displayName_ = ""; + /// + /// The human-readable display name of the view. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time at which this view was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 4; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. The most recent time at which the view was updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + /// Field number for the "value" field. + public const int ValueFieldNumber = 5; + private string value_ = ""; + /// + /// String with specific view properties, must be non-empty. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Value { + get { return value_; } + set { + value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as View); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(View other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (DisplayName != other.DisplayName) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + if (Value != other.Value) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (Value.Length != 0) hash ^= Value.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + if (Value.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Value); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + if (Value.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Value); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (Value.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(View other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + if (other.Value.Length != 0) { + Value = other.Value; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 42: { + Value = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 42: { + Value = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Selector of all available annotators and phrase matchers to run. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AnnotatorSelector : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnnotatorSelector()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[47]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnnotatorSelector() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnnotatorSelector(AnnotatorSelector other) : this() { + runInterruptionAnnotator_ = other.runInterruptionAnnotator_; + runSilenceAnnotator_ = other.runSilenceAnnotator_; + runPhraseMatcherAnnotator_ = other.runPhraseMatcherAnnotator_; + phraseMatchers_ = other.phraseMatchers_.Clone(); + runSentimentAnnotator_ = other.runSentimentAnnotator_; + runEntityAnnotator_ = other.runEntityAnnotator_; + runIntentAnnotator_ = other.runIntentAnnotator_; + runIssueModelAnnotator_ = other.runIssueModelAnnotator_; + issueModels_ = other.issueModels_.Clone(); + runSummarizationAnnotator_ = other.runSummarizationAnnotator_; + summarizationConfig_ = other.summarizationConfig_ != null ? other.summarizationConfig_.Clone() : null; + runQaAnnotator_ = other.runQaAnnotator_; + qaConfig_ = other.qaConfig_ != null ? other.qaConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnnotatorSelector Clone() { + return new AnnotatorSelector(this); + } + + /// Field number for the "run_interruption_annotator" field. + public const int RunInterruptionAnnotatorFieldNumber = 1; + private bool runInterruptionAnnotator_; + /// + /// Whether to run the interruption annotator. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RunInterruptionAnnotator { + get { return runInterruptionAnnotator_; } + set { + runInterruptionAnnotator_ = value; + } + } + + /// Field number for the "run_silence_annotator" field. + public const int RunSilenceAnnotatorFieldNumber = 2; + private bool runSilenceAnnotator_; + /// + /// Whether to run the silence annotator. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RunSilenceAnnotator { + get { return runSilenceAnnotator_; } + set { + runSilenceAnnotator_ = value; + } + } + + /// Field number for the "run_phrase_matcher_annotator" field. + public const int RunPhraseMatcherAnnotatorFieldNumber = 3; + private bool runPhraseMatcherAnnotator_; + /// + /// Whether to run the active phrase matcher annotator(s). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RunPhraseMatcherAnnotator { + get { return runPhraseMatcherAnnotator_; } + set { + runPhraseMatcherAnnotator_ = value; + } + } + + /// Field number for the "phrase_matchers" field. + public const int PhraseMatchersFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_phraseMatchers_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField phraseMatchers_ = new pbc::RepeatedField(); + /// + /// The list of phrase matchers to run. If not provided, all active phrase + /// matchers will be used. If inactive phrase matchers are provided, they will + /// not be used. Phrase matchers will be run only if + /// run_phrase_matcher_annotator is set to true. Format: + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PhraseMatchers { + get { return phraseMatchers_; } + } + + /// Field number for the "run_sentiment_annotator" field. + public const int RunSentimentAnnotatorFieldNumber = 5; + private bool runSentimentAnnotator_; + /// + /// Whether to run the sentiment annotator. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RunSentimentAnnotator { + get { return runSentimentAnnotator_; } + set { + runSentimentAnnotator_ = value; + } + } + + /// Field number for the "run_entity_annotator" field. + public const int RunEntityAnnotatorFieldNumber = 6; + private bool runEntityAnnotator_; + /// + /// Whether to run the entity annotator. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RunEntityAnnotator { + get { return runEntityAnnotator_; } + set { + runEntityAnnotator_ = value; + } + } + + /// Field number for the "run_intent_annotator" field. + public const int RunIntentAnnotatorFieldNumber = 7; + private bool runIntentAnnotator_; + /// + /// Whether to run the intent annotator. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RunIntentAnnotator { + get { return runIntentAnnotator_; } + set { + runIntentAnnotator_ = value; + } + } + + /// Field number for the "run_issue_model_annotator" field. + public const int RunIssueModelAnnotatorFieldNumber = 8; + private bool runIssueModelAnnotator_; + /// + /// Whether to run the issue model annotator. A model should have already been + /// deployed for this to take effect. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RunIssueModelAnnotator { + get { return runIssueModelAnnotator_; } + set { + runIssueModelAnnotator_ = value; + } + } + + /// Field number for the "issue_models" field. + public const int IssueModelsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_issueModels_codec + = pb::FieldCodec.ForString(82); + private readonly pbc::RepeatedField issueModels_ = new pbc::RepeatedField(); + /// + /// The issue model to run. If not provided, the most recently deployed topic + /// model will be used. The provided issue model will only be used for + /// inference if the issue model is deployed and if run_issue_model_annotator + /// is set to true. If more than one issue model is provided, only the first + /// provided issue model will be used for inference. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField IssueModels { + get { return issueModels_; } + } + + /// Field number for the "run_summarization_annotator" field. + public const int RunSummarizationAnnotatorFieldNumber = 9; + private bool runSummarizationAnnotator_; + /// + /// Whether to run the summarization annotator. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RunSummarizationAnnotator { + get { return runSummarizationAnnotator_; } + set { + runSummarizationAnnotator_ = value; + } + } + + /// Field number for the "summarization_config" field. + public const int SummarizationConfigFieldNumber = 11; + private global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.SummarizationConfig summarizationConfig_; + /// + /// Configuration for the summarization annotator. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.SummarizationConfig SummarizationConfig { + get { return summarizationConfig_; } + set { + summarizationConfig_ = value; + } + } + + /// Field number for the "run_qa_annotator" field. + public const int RunQaAnnotatorFieldNumber = 12; + private bool runQaAnnotator_; + /// + /// Whether to run the QA annotator. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RunQaAnnotator { + get { return runQaAnnotator_; } + set { + runQaAnnotator_ = value; + } + } + + /// Field number for the "qa_config" field. + public const int QaConfigFieldNumber = 13; + private global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig qaConfig_; + /// + /// Configuration for the QA annotator. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig QaConfig { + get { return qaConfig_; } + set { + qaConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AnnotatorSelector); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AnnotatorSelector other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RunInterruptionAnnotator != other.RunInterruptionAnnotator) return false; + if (RunSilenceAnnotator != other.RunSilenceAnnotator) return false; + if (RunPhraseMatcherAnnotator != other.RunPhraseMatcherAnnotator) return false; + if(!phraseMatchers_.Equals(other.phraseMatchers_)) return false; + if (RunSentimentAnnotator != other.RunSentimentAnnotator) return false; + if (RunEntityAnnotator != other.RunEntityAnnotator) return false; + if (RunIntentAnnotator != other.RunIntentAnnotator) return false; + if (RunIssueModelAnnotator != other.RunIssueModelAnnotator) return false; + if(!issueModels_.Equals(other.issueModels_)) return false; + if (RunSummarizationAnnotator != other.RunSummarizationAnnotator) return false; + if (!object.Equals(SummarizationConfig, other.SummarizationConfig)) return false; + if (RunQaAnnotator != other.RunQaAnnotator) return false; + if (!object.Equals(QaConfig, other.QaConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (RunInterruptionAnnotator != false) hash ^= RunInterruptionAnnotator.GetHashCode(); + if (RunSilenceAnnotator != false) hash ^= RunSilenceAnnotator.GetHashCode(); + if (RunPhraseMatcherAnnotator != false) hash ^= RunPhraseMatcherAnnotator.GetHashCode(); + hash ^= phraseMatchers_.GetHashCode(); + if (RunSentimentAnnotator != false) hash ^= RunSentimentAnnotator.GetHashCode(); + if (RunEntityAnnotator != false) hash ^= RunEntityAnnotator.GetHashCode(); + if (RunIntentAnnotator != false) hash ^= RunIntentAnnotator.GetHashCode(); + if (RunIssueModelAnnotator != false) hash ^= RunIssueModelAnnotator.GetHashCode(); + hash ^= issueModels_.GetHashCode(); + if (RunSummarizationAnnotator != false) hash ^= RunSummarizationAnnotator.GetHashCode(); + if (summarizationConfig_ != null) hash ^= SummarizationConfig.GetHashCode(); + if (RunQaAnnotator != false) hash ^= RunQaAnnotator.GetHashCode(); + if (qaConfig_ != null) hash ^= QaConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (RunInterruptionAnnotator != false) { + output.WriteRawTag(8); + output.WriteBool(RunInterruptionAnnotator); + } + if (RunSilenceAnnotator != false) { + output.WriteRawTag(16); + output.WriteBool(RunSilenceAnnotator); + } + if (RunPhraseMatcherAnnotator != false) { + output.WriteRawTag(24); + output.WriteBool(RunPhraseMatcherAnnotator); + } + phraseMatchers_.WriteTo(output, _repeated_phraseMatchers_codec); + if (RunSentimentAnnotator != false) { + output.WriteRawTag(40); + output.WriteBool(RunSentimentAnnotator); + } + if (RunEntityAnnotator != false) { + output.WriteRawTag(48); + output.WriteBool(RunEntityAnnotator); + } + if (RunIntentAnnotator != false) { + output.WriteRawTag(56); + output.WriteBool(RunIntentAnnotator); + } + if (RunIssueModelAnnotator != false) { + output.WriteRawTag(64); + output.WriteBool(RunIssueModelAnnotator); + } + if (RunSummarizationAnnotator != false) { + output.WriteRawTag(72); + output.WriteBool(RunSummarizationAnnotator); + } + issueModels_.WriteTo(output, _repeated_issueModels_codec); + if (summarizationConfig_ != null) { + output.WriteRawTag(90); + output.WriteMessage(SummarizationConfig); + } + if (RunQaAnnotator != false) { + output.WriteRawTag(96); + output.WriteBool(RunQaAnnotator); + } + if (qaConfig_ != null) { + output.WriteRawTag(106); + output.WriteMessage(QaConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (RunInterruptionAnnotator != false) { + output.WriteRawTag(8); + output.WriteBool(RunInterruptionAnnotator); + } + if (RunSilenceAnnotator != false) { + output.WriteRawTag(16); + output.WriteBool(RunSilenceAnnotator); + } + if (RunPhraseMatcherAnnotator != false) { + output.WriteRawTag(24); + output.WriteBool(RunPhraseMatcherAnnotator); + } + phraseMatchers_.WriteTo(ref output, _repeated_phraseMatchers_codec); + if (RunSentimentAnnotator != false) { + output.WriteRawTag(40); + output.WriteBool(RunSentimentAnnotator); + } + if (RunEntityAnnotator != false) { + output.WriteRawTag(48); + output.WriteBool(RunEntityAnnotator); + } + if (RunIntentAnnotator != false) { + output.WriteRawTag(56); + output.WriteBool(RunIntentAnnotator); + } + if (RunIssueModelAnnotator != false) { + output.WriteRawTag(64); + output.WriteBool(RunIssueModelAnnotator); + } + if (RunSummarizationAnnotator != false) { + output.WriteRawTag(72); + output.WriteBool(RunSummarizationAnnotator); + } + issueModels_.WriteTo(ref output, _repeated_issueModels_codec); + if (summarizationConfig_ != null) { + output.WriteRawTag(90); + output.WriteMessage(SummarizationConfig); + } + if (RunQaAnnotator != false) { + output.WriteRawTag(96); + output.WriteBool(RunQaAnnotator); + } + if (qaConfig_ != null) { + output.WriteRawTag(106); + output.WriteMessage(QaConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (RunInterruptionAnnotator != false) { + size += 1 + 1; + } + if (RunSilenceAnnotator != false) { + size += 1 + 1; + } + if (RunPhraseMatcherAnnotator != false) { + size += 1 + 1; + } + size += phraseMatchers_.CalculateSize(_repeated_phraseMatchers_codec); + if (RunSentimentAnnotator != false) { + size += 1 + 1; + } + if (RunEntityAnnotator != false) { + size += 1 + 1; + } + if (RunIntentAnnotator != false) { + size += 1 + 1; + } + if (RunIssueModelAnnotator != false) { + size += 1 + 1; + } + size += issueModels_.CalculateSize(_repeated_issueModels_codec); + if (RunSummarizationAnnotator != false) { + size += 1 + 1; + } + if (summarizationConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SummarizationConfig); + } + if (RunQaAnnotator != false) { + size += 1 + 1; + } + if (qaConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(QaConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AnnotatorSelector other) { + if (other == null) { + return; + } + if (other.RunInterruptionAnnotator != false) { + RunInterruptionAnnotator = other.RunInterruptionAnnotator; + } + if (other.RunSilenceAnnotator != false) { + RunSilenceAnnotator = other.RunSilenceAnnotator; + } + if (other.RunPhraseMatcherAnnotator != false) { + RunPhraseMatcherAnnotator = other.RunPhraseMatcherAnnotator; + } + phraseMatchers_.Add(other.phraseMatchers_); + if (other.RunSentimentAnnotator != false) { + RunSentimentAnnotator = other.RunSentimentAnnotator; + } + if (other.RunEntityAnnotator != false) { + RunEntityAnnotator = other.RunEntityAnnotator; + } + if (other.RunIntentAnnotator != false) { + RunIntentAnnotator = other.RunIntentAnnotator; + } + if (other.RunIssueModelAnnotator != false) { + RunIssueModelAnnotator = other.RunIssueModelAnnotator; + } + issueModels_.Add(other.issueModels_); + if (other.RunSummarizationAnnotator != false) { + RunSummarizationAnnotator = other.RunSummarizationAnnotator; + } + if (other.summarizationConfig_ != null) { + if (summarizationConfig_ == null) { + SummarizationConfig = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.SummarizationConfig(); + } + SummarizationConfig.MergeFrom(other.SummarizationConfig); + } + if (other.RunQaAnnotator != false) { + RunQaAnnotator = other.RunQaAnnotator; + } + if (other.qaConfig_ != null) { + if (qaConfig_ == null) { + QaConfig = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig(); + } + QaConfig.MergeFrom(other.QaConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + RunInterruptionAnnotator = input.ReadBool(); + break; + } + case 16: { + RunSilenceAnnotator = input.ReadBool(); + break; + } + case 24: { + RunPhraseMatcherAnnotator = input.ReadBool(); + break; + } + case 34: { + phraseMatchers_.AddEntriesFrom(input, _repeated_phraseMatchers_codec); + break; + } + case 40: { + RunSentimentAnnotator = input.ReadBool(); + break; + } + case 48: { + RunEntityAnnotator = input.ReadBool(); + break; + } + case 56: { + RunIntentAnnotator = input.ReadBool(); + break; + } + case 64: { + RunIssueModelAnnotator = input.ReadBool(); + break; + } + case 72: { + RunSummarizationAnnotator = input.ReadBool(); + break; + } + case 82: { + issueModels_.AddEntriesFrom(input, _repeated_issueModels_codec); + break; + } + case 90: { + if (summarizationConfig_ == null) { + SummarizationConfig = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.SummarizationConfig(); + } + input.ReadMessage(SummarizationConfig); + break; + } + case 96: { + RunQaAnnotator = input.ReadBool(); + break; + } + case 106: { + if (qaConfig_ == null) { + QaConfig = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig(); + } + input.ReadMessage(QaConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + RunInterruptionAnnotator = input.ReadBool(); + break; + } + case 16: { + RunSilenceAnnotator = input.ReadBool(); + break; + } + case 24: { + RunPhraseMatcherAnnotator = input.ReadBool(); + break; + } + case 34: { + phraseMatchers_.AddEntriesFrom(ref input, _repeated_phraseMatchers_codec); + break; + } + case 40: { + RunSentimentAnnotator = input.ReadBool(); + break; + } + case 48: { + RunEntityAnnotator = input.ReadBool(); + break; + } + case 56: { + RunIntentAnnotator = input.ReadBool(); + break; + } + case 64: { + RunIssueModelAnnotator = input.ReadBool(); + break; + } + case 72: { + RunSummarizationAnnotator = input.ReadBool(); + break; + } + case 82: { + issueModels_.AddEntriesFrom(ref input, _repeated_issueModels_codec); + break; + } + case 90: { + if (summarizationConfig_ == null) { + SummarizationConfig = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.SummarizationConfig(); + } + input.ReadMessage(SummarizationConfig); + break; + } + case 96: { + RunQaAnnotator = input.ReadBool(); + break; + } + case 106: { + if (qaConfig_ == null) { + QaConfig = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig(); + } + input.ReadMessage(QaConfig); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AnnotatorSelector message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Configuration for summarization. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SummarizationConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SummarizationConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SummarizationConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SummarizationConfig(SummarizationConfig other) : this() { + switch (other.ModelSourceCase) { + case ModelSourceOneofCase.ConversationProfile: + ConversationProfile = other.ConversationProfile; + break; + case ModelSourceOneofCase.SummarizationModel: + SummarizationModel = other.SummarizationModel; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SummarizationConfig Clone() { + return new SummarizationConfig(this); + } + + /// Field number for the "conversation_profile" field. + public const int ConversationProfileFieldNumber = 1; + /// + /// Resource name of the Dialogflow conversation profile. + /// Format: + /// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConversationProfile { + get { return HasConversationProfile ? (string) modelSource_ : ""; } + set { + modelSource_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + modelSourceCase_ = ModelSourceOneofCase.ConversationProfile; + } + } + /// Gets whether the "conversation_profile" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasConversationProfile { + get { return modelSourceCase_ == ModelSourceOneofCase.ConversationProfile; } + } + /// Clears the value of the oneof if it's currently set to "conversation_profile" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearConversationProfile() { + if (HasConversationProfile) { + ClearModelSource(); + } + } + + /// Field number for the "summarization_model" field. + public const int SummarizationModelFieldNumber = 2; + /// + /// Default summarization model to be used. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.SummarizationConfig.Types.SummarizationModel SummarizationModel { + get { return HasSummarizationModel ? (global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.SummarizationConfig.Types.SummarizationModel) modelSource_ : global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.SummarizationConfig.Types.SummarizationModel.Unspecified; } + set { + modelSource_ = value; + modelSourceCase_ = ModelSourceOneofCase.SummarizationModel; + } + } + /// Gets whether the "summarization_model" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSummarizationModel { + get { return modelSourceCase_ == ModelSourceOneofCase.SummarizationModel; } + } + /// Clears the value of the oneof if it's currently set to "summarization_model" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSummarizationModel() { + if (HasSummarizationModel) { + ClearModelSource(); + } + } + + private object modelSource_; + /// Enum of possible cases for the "model_source" oneof. + public enum ModelSourceOneofCase { + None = 0, + ConversationProfile = 1, + SummarizationModel = 2, + } + private ModelSourceOneofCase modelSourceCase_ = ModelSourceOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelSourceOneofCase ModelSourceCase { + get { return modelSourceCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearModelSource() { + modelSourceCase_ = ModelSourceOneofCase.None; + modelSource_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SummarizationConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SummarizationConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ConversationProfile != other.ConversationProfile) return false; + if (SummarizationModel != other.SummarizationModel) return false; + if (ModelSourceCase != other.ModelSourceCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasConversationProfile) hash ^= ConversationProfile.GetHashCode(); + if (HasSummarizationModel) hash ^= SummarizationModel.GetHashCode(); + hash ^= (int) modelSourceCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasConversationProfile) { + output.WriteRawTag(10); + output.WriteString(ConversationProfile); + } + if (HasSummarizationModel) { + output.WriteRawTag(16); + output.WriteEnum((int) SummarizationModel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasConversationProfile) { + output.WriteRawTag(10); + output.WriteString(ConversationProfile); + } + if (HasSummarizationModel) { + output.WriteRawTag(16); + output.WriteEnum((int) SummarizationModel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasConversationProfile) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConversationProfile); + } + if (HasSummarizationModel) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SummarizationModel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SummarizationConfig other) { + if (other == null) { + return; + } + switch (other.ModelSourceCase) { + case ModelSourceOneofCase.ConversationProfile: + ConversationProfile = other.ConversationProfile; + break; + case ModelSourceOneofCase.SummarizationModel: + SummarizationModel = other.SummarizationModel; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ConversationProfile = input.ReadString(); + break; + } + case 16: { + modelSource_ = input.ReadEnum(); + modelSourceCase_ = ModelSourceOneofCase.SummarizationModel; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ConversationProfile = input.ReadString(); + break; + } + case 16: { + modelSource_ = input.ReadEnum(); + modelSourceCase_ = ModelSourceOneofCase.SummarizationModel; + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the SummarizationConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Summarization model to use, if `conversation_profile` is not used. + /// + public enum SummarizationModel { + /// + /// Unspecified summarization model. + /// + [pbr::OriginalName("SUMMARIZATION_MODEL_UNSPECIFIED")] Unspecified = 0, + /// + /// The CCAI baseline model. + /// + [pbr::OriginalName("BASELINE_MODEL")] BaselineModel = 1, + /// + /// The CCAI baseline model, V2.0. + /// + [pbr::OriginalName("BASELINE_MODEL_V2_0")] BaselineModelV20 = 2, + } + + } + #endregion + + } + + /// + /// Configuration for the QA feature. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaConfig(QaConfig other) : this() { + switch (other.ScorecardSourceCase) { + case ScorecardSourceOneofCase.ScorecardList: + ScorecardList = other.ScorecardList.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaConfig Clone() { + return new QaConfig(this); + } + + /// Field number for the "scorecard_list" field. + public const int ScorecardListFieldNumber = 1; + /// + /// A manual list of scorecards to score. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig.Types.ScorecardList ScorecardList { + get { return scorecardSourceCase_ == ScorecardSourceOneofCase.ScorecardList ? (global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig.Types.ScorecardList) scorecardSource_ : null; } + set { + scorecardSource_ = value; + scorecardSourceCase_ = value == null ? ScorecardSourceOneofCase.None : ScorecardSourceOneofCase.ScorecardList; + } + } + + private object scorecardSource_; + /// Enum of possible cases for the "scorecard_source" oneof. + public enum ScorecardSourceOneofCase { + None = 0, + ScorecardList = 1, + } + private ScorecardSourceOneofCase scorecardSourceCase_ = ScorecardSourceOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScorecardSourceOneofCase ScorecardSourceCase { + get { return scorecardSourceCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearScorecardSource() { + scorecardSourceCase_ = ScorecardSourceOneofCase.None; + scorecardSource_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ScorecardList, other.ScorecardList)) return false; + if (ScorecardSourceCase != other.ScorecardSourceCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (scorecardSourceCase_ == ScorecardSourceOneofCase.ScorecardList) hash ^= ScorecardList.GetHashCode(); + hash ^= (int) scorecardSourceCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (scorecardSourceCase_ == ScorecardSourceOneofCase.ScorecardList) { + output.WriteRawTag(10); + output.WriteMessage(ScorecardList); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (scorecardSourceCase_ == ScorecardSourceOneofCase.ScorecardList) { + output.WriteRawTag(10); + output.WriteMessage(ScorecardList); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (scorecardSourceCase_ == ScorecardSourceOneofCase.ScorecardList) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ScorecardList); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaConfig other) { + if (other == null) { + return; + } + switch (other.ScorecardSourceCase) { + case ScorecardSourceOneofCase.ScorecardList: + if (ScorecardList == null) { + ScorecardList = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig.Types.ScorecardList(); + } + ScorecardList.MergeFrom(other.ScorecardList); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig.Types.ScorecardList subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig.Types.ScorecardList(); + if (scorecardSourceCase_ == ScorecardSourceOneofCase.ScorecardList) { + subBuilder.MergeFrom(ScorecardList); + } + input.ReadMessage(subBuilder); + ScorecardList = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig.Types.ScorecardList subBuilder = new global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig.Types.ScorecardList(); + if (scorecardSourceCase_ == ScorecardSourceOneofCase.ScorecardList) { + subBuilder.MergeFrom(ScorecardList); + } + input.ReadMessage(subBuilder); + ScorecardList = subBuilder; + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the QaConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Container for a list of scorecards. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ScorecardList : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScorecardList()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.AnnotatorSelector.Types.QaConfig.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScorecardList() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScorecardList(ScorecardList other) : this() { + qaScorecardRevisions_ = other.qaScorecardRevisions_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScorecardList Clone() { + return new ScorecardList(this); + } + + /// Field number for the "qa_scorecard_revisions" field. + public const int QaScorecardRevisionsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_qaScorecardRevisions_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField qaScorecardRevisions_ = new pbc::RepeatedField(); + /// + /// List of QaScorecardRevisions. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QaScorecardRevisions { + get { return qaScorecardRevisions_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ScorecardList); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ScorecardList other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!qaScorecardRevisions_.Equals(other.qaScorecardRevisions_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= qaScorecardRevisions_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + qaScorecardRevisions_.WriteTo(output, _repeated_qaScorecardRevisions_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + qaScorecardRevisions_.WriteTo(ref output, _repeated_qaScorecardRevisions_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += qaScorecardRevisions_.CalculateSize(_repeated_qaScorecardRevisions_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ScorecardList other) { + if (other == null) { + return; + } + qaScorecardRevisions_.Add(other.qaScorecardRevisions_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + qaScorecardRevisions_.AddEntriesFrom(input, _repeated_qaScorecardRevisions_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + qaScorecardRevisions_.AddEntriesFrom(ref input, _repeated_qaScorecardRevisions_codec); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// A single question to be scored by the Insights QA feature. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaQuestion : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaQuestion()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[48]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestion() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestion(QaQuestion other) : this() { + name_ = other.name_; + abbreviation_ = other.abbreviation_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + questionBody_ = other.questionBody_; + answerInstructions_ = other.answerInstructions_; + answerChoices_ = other.answerChoices_.Clone(); + tags_ = other.tags_.Clone(); + order_ = other.order_; + metrics_ = other.metrics_ != null ? other.metrics_.Clone() : null; + tuningMetadata_ = other.tuningMetadata_ != null ? other.tuningMetadata_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaQuestion Clone() { + return new QaQuestion(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Identifier. The resource name of the question. + /// Format: + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "abbreviation" field. + public const int AbbreviationFieldNumber = 2; + private string abbreviation_ = ""; + /// + /// Short, descriptive string, used in the UI where it's not practical + /// to display the full question body. E.g., "Greeting". + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Abbreviation { + get { return abbreviation_; } + set { + abbreviation_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time at which this question was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 4; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. The most recent time at which the question was updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + /// Field number for the "question_body" field. + public const int QuestionBodyFieldNumber = 5; + private string questionBody_ = ""; + /// + /// Question text. E.g., "Did the agent greet the customer?" + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QuestionBody { + get { return questionBody_; } + set { + questionBody_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "answer_instructions" field. + public const int AnswerInstructionsFieldNumber = 9; + private string answerInstructions_ = ""; + /// + /// Instructions describing how to determine the answer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AnswerInstructions { + get { return answerInstructions_; } + set { + answerInstructions_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "answer_choices" field. + public const int AnswerChoicesFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_answerChoices_codec + = pb::FieldCodec.ForMessage(50, global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.AnswerChoice.Parser); + private readonly pbc::RepeatedField answerChoices_ = new pbc::RepeatedField(); + /// + /// A list of valid answers to the question, which the LLM must choose from. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AnswerChoices { + get { return answerChoices_; } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_tags_codec + = pb::FieldCodec.ForString(58); + private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); + /// + /// User-defined list of arbitrary tags for the question. Used for + /// grouping/organization and for weighting the score of each question. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tags { + get { return tags_; } + } + + /// Field number for the "order" field. + public const int OrderFieldNumber = 8; + private int order_; + /// + /// Defines the order of the question within its parent scorecard revision. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Order { + get { return order_; } + set { + order_ = value; + } + } + + /// Field number for the "metrics" field. + public const int MetricsFieldNumber = 10; + private global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.Metrics metrics_; + /// + /// Metrics of the underlying tuned LLM over a holdout/test set while fine + /// tuning the underlying LLM for the given question. This field will only be + /// populated if and only if the question is part of a scorecard revision that + /// has been tuned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.Metrics Metrics { + get { return metrics_; } + set { + metrics_ = value; + } + } + + /// Field number for the "tuning_metadata" field. + public const int TuningMetadataFieldNumber = 11; + private global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.TuningMetadata tuningMetadata_; + /// + /// Metadata about the tuning operation for the question.This field will only + /// be populated if and only if the question is part of a scorecard revision + /// that has been tuned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.TuningMetadata TuningMetadata { + get { return tuningMetadata_; } + set { + tuningMetadata_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaQuestion); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaQuestion other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (Abbreviation != other.Abbreviation) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + if (QuestionBody != other.QuestionBody) return false; + if (AnswerInstructions != other.AnswerInstructions) return false; + if(!answerChoices_.Equals(other.answerChoices_)) return false; + if(!tags_.Equals(other.tags_)) return false; + if (Order != other.Order) return false; + if (!object.Equals(Metrics, other.Metrics)) return false; + if (!object.Equals(TuningMetadata, other.TuningMetadata)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Abbreviation.Length != 0) hash ^= Abbreviation.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (QuestionBody.Length != 0) hash ^= QuestionBody.GetHashCode(); + if (AnswerInstructions.Length != 0) hash ^= AnswerInstructions.GetHashCode(); + hash ^= answerChoices_.GetHashCode(); + hash ^= tags_.GetHashCode(); + if (Order != 0) hash ^= Order.GetHashCode(); + if (metrics_ != null) hash ^= Metrics.GetHashCode(); + if (tuningMetadata_ != null) hash ^= TuningMetadata.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Abbreviation.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Abbreviation); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + if (QuestionBody.Length != 0) { + output.WriteRawTag(42); + output.WriteString(QuestionBody); + } + answerChoices_.WriteTo(output, _repeated_answerChoices_codec); + tags_.WriteTo(output, _repeated_tags_codec); + if (Order != 0) { + output.WriteRawTag(64); + output.WriteInt32(Order); + } + if (AnswerInstructions.Length != 0) { + output.WriteRawTag(74); + output.WriteString(AnswerInstructions); + } + if (metrics_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Metrics); + } + if (tuningMetadata_ != null) { + output.WriteRawTag(90); + output.WriteMessage(TuningMetadata); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Abbreviation.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Abbreviation); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + if (QuestionBody.Length != 0) { + output.WriteRawTag(42); + output.WriteString(QuestionBody); + } + answerChoices_.WriteTo(ref output, _repeated_answerChoices_codec); + tags_.WriteTo(ref output, _repeated_tags_codec); + if (Order != 0) { + output.WriteRawTag(64); + output.WriteInt32(Order); + } + if (AnswerInstructions.Length != 0) { + output.WriteRawTag(74); + output.WriteString(AnswerInstructions); + } + if (metrics_ != null) { + output.WriteRawTag(82); + output.WriteMessage(Metrics); + } + if (tuningMetadata_ != null) { + output.WriteRawTag(90); + output.WriteMessage(TuningMetadata); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Abbreviation.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Abbreviation); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (QuestionBody.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QuestionBody); + } + if (AnswerInstructions.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AnswerInstructions); + } + size += answerChoices_.CalculateSize(_repeated_answerChoices_codec); + size += tags_.CalculateSize(_repeated_tags_codec); + if (Order != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); + } + if (metrics_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Metrics); + } + if (tuningMetadata_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TuningMetadata); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaQuestion other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Abbreviation.Length != 0) { + Abbreviation = other.Abbreviation; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + if (other.QuestionBody.Length != 0) { + QuestionBody = other.QuestionBody; + } + if (other.AnswerInstructions.Length != 0) { + AnswerInstructions = other.AnswerInstructions; + } + answerChoices_.Add(other.answerChoices_); + tags_.Add(other.tags_); + if (other.Order != 0) { + Order = other.Order; + } + if (other.metrics_ != null) { + if (metrics_ == null) { + Metrics = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.Metrics(); + } + Metrics.MergeFrom(other.Metrics); + } + if (other.tuningMetadata_ != null) { + if (tuningMetadata_ == null) { + TuningMetadata = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.TuningMetadata(); + } + TuningMetadata.MergeFrom(other.TuningMetadata); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + Abbreviation = input.ReadString(); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 42: { + QuestionBody = input.ReadString(); + break; + } + case 50: { + answerChoices_.AddEntriesFrom(input, _repeated_answerChoices_codec); + break; + } + case 58: { + tags_.AddEntriesFrom(input, _repeated_tags_codec); + break; + } + case 64: { + Order = input.ReadInt32(); + break; + } + case 74: { + AnswerInstructions = input.ReadString(); + break; + } + case 82: { + if (metrics_ == null) { + Metrics = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.Metrics(); + } + input.ReadMessage(Metrics); + break; + } + case 90: { + if (tuningMetadata_ == null) { + TuningMetadata = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.TuningMetadata(); + } + input.ReadMessage(TuningMetadata); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + Abbreviation = input.ReadString(); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 42: { + QuestionBody = input.ReadString(); + break; + } + case 50: { + answerChoices_.AddEntriesFrom(ref input, _repeated_answerChoices_codec); + break; + } + case 58: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + case 64: { + Order = input.ReadInt32(); + break; + } + case 74: { + AnswerInstructions = input.ReadString(); + break; + } + case 82: { + if (metrics_ == null) { + Metrics = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.Metrics(); + } + input.ReadMessage(Metrics); + break; + } + case 90: { + if (tuningMetadata_ == null) { + TuningMetadata = new global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Types.TuningMetadata(); + } + input.ReadMessage(TuningMetadata); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the QaQuestion message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Message representing a possible answer to the question. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AnswerChoice : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnswerChoice()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerChoice() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerChoice(AnswerChoice other) : this() { + _hasBits0 = other._hasBits0; + key_ = other.key_; + score_ = other.score_; + switch (other.ValueCase) { + case ValueOneofCase.StrValue: + StrValue = other.StrValue; + break; + case ValueOneofCase.NumValue: + NumValue = other.NumValue; + break; + case ValueOneofCase.BoolValue: + BoolValue = other.BoolValue; + break; + case ValueOneofCase.NaValue: + NaValue = other.NaValue; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerChoice Clone() { + return new AnswerChoice(this); + } + + /// Field number for the "str_value" field. + public const int StrValueFieldNumber = 2; + /// + /// String value. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StrValue { + get { return HasStrValue ? (string) value_ : ""; } + set { + value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + valueCase_ = ValueOneofCase.StrValue; + } + } + /// Gets whether the "str_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStrValue { + get { return valueCase_ == ValueOneofCase.StrValue; } + } + /// Clears the value of the oneof if it's currently set to "str_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStrValue() { + if (HasStrValue) { + ClearValue(); + } + } + + /// Field number for the "num_value" field. + public const int NumValueFieldNumber = 3; + /// + /// Numerical value. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double NumValue { + get { return HasNumValue ? (double) value_ : 0D; } + set { + value_ = value; + valueCase_ = ValueOneofCase.NumValue; + } + } + /// Gets whether the "num_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNumValue { + get { return valueCase_ == ValueOneofCase.NumValue; } + } + /// Clears the value of the oneof if it's currently set to "num_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNumValue() { + if (HasNumValue) { + ClearValue(); + } + } + + /// Field number for the "bool_value" field. + public const int BoolValueFieldNumber = 4; + /// + /// Boolean value. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool BoolValue { + get { return HasBoolValue ? (bool) value_ : false; } + set { + value_ = value; + valueCase_ = ValueOneofCase.BoolValue; + } + } + /// Gets whether the "bool_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBoolValue { + get { return valueCase_ == ValueOneofCase.BoolValue; } + } + /// Clears the value of the oneof if it's currently set to "bool_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBoolValue() { + if (HasBoolValue) { + ClearValue(); + } + } + + /// Field number for the "na_value" field. + public const int NaValueFieldNumber = 5; + /// + /// A value of "Not Applicable (N/A)". If provided, this field may only + /// be set to `true`. If a question receives this answer, it will be + /// excluded from any score calculations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool NaValue { + get { return HasNaValue ? (bool) value_ : false; } + set { + value_ = value; + valueCase_ = ValueOneofCase.NaValue; + } + } + /// Gets whether the "na_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNaValue { + get { return valueCase_ == ValueOneofCase.NaValue; } + } + /// Clears the value of the oneof if it's currently set to "na_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNaValue() { + if (HasNaValue) { + ClearValue(); + } + } + + /// Field number for the "key" field. + public const int KeyFieldNumber = 1; + private string key_ = ""; + /// + /// A short string used as an identifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Key { + get { return key_; } + set { + key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "score" field. + public const int ScoreFieldNumber = 6; + private readonly static double ScoreDefaultValue = 0D; + + private double score_; + /// + /// Numerical score of the answer, used for generating the overall score of + /// a QaScorecardResult. If the answer uses na_value, this field is unused. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Score { + get { if ((_hasBits0 & 1) != 0) { return score_; } else { return ScoreDefaultValue; } } + set { + _hasBits0 |= 1; + score_ = value; + } + } + /// Gets whether the "score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasScore { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearScore() { + _hasBits0 &= ~1; + } + + private object value_; + /// Enum of possible cases for the "value" oneof. + public enum ValueOneofCase { + None = 0, + StrValue = 2, + NumValue = 3, + BoolValue = 4, + NaValue = 5, + } + private ValueOneofCase valueCase_ = ValueOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ValueOneofCase ValueCase { + get { return valueCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearValue() { + valueCase_ = ValueOneofCase.None; + value_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AnswerChoice); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AnswerChoice other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StrValue != other.StrValue) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NumValue, other.NumValue)) return false; + if (BoolValue != other.BoolValue) return false; + if (NaValue != other.NaValue) return false; + if (Key != other.Key) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Score, other.Score)) return false; + if (ValueCase != other.ValueCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStrValue) hash ^= StrValue.GetHashCode(); + if (HasNumValue) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NumValue); + if (HasBoolValue) hash ^= BoolValue.GetHashCode(); + if (HasNaValue) hash ^= NaValue.GetHashCode(); + if (Key.Length != 0) hash ^= Key.GetHashCode(); + if (HasScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Score); + hash ^= (int) valueCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Key.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Key); + } + if (HasStrValue) { + output.WriteRawTag(18); + output.WriteString(StrValue); + } + if (HasNumValue) { + output.WriteRawTag(25); + output.WriteDouble(NumValue); + } + if (HasBoolValue) { + output.WriteRawTag(32); + output.WriteBool(BoolValue); + } + if (HasNaValue) { + output.WriteRawTag(40); + output.WriteBool(NaValue); + } + if (HasScore) { + output.WriteRawTag(49); + output.WriteDouble(Score); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Key.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Key); + } + if (HasStrValue) { + output.WriteRawTag(18); + output.WriteString(StrValue); + } + if (HasNumValue) { + output.WriteRawTag(25); + output.WriteDouble(NumValue); + } + if (HasBoolValue) { + output.WriteRawTag(32); + output.WriteBool(BoolValue); + } + if (HasNaValue) { + output.WriteRawTag(40); + output.WriteBool(NaValue); + } + if (HasScore) { + output.WriteRawTag(49); + output.WriteDouble(Score); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStrValue) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StrValue); + } + if (HasNumValue) { + size += 1 + 8; + } + if (HasBoolValue) { + size += 1 + 1; + } + if (HasNaValue) { + size += 1 + 1; + } + if (Key.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); + } + if (HasScore) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AnswerChoice other) { + if (other == null) { + return; + } + if (other.Key.Length != 0) { + Key = other.Key; + } + if (other.HasScore) { + Score = other.Score; + } + switch (other.ValueCase) { + case ValueOneofCase.StrValue: + StrValue = other.StrValue; + break; + case ValueOneofCase.NumValue: + NumValue = other.NumValue; + break; + case ValueOneofCase.BoolValue: + BoolValue = other.BoolValue; + break; + case ValueOneofCase.NaValue: + NaValue = other.NaValue; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Key = input.ReadString(); + break; + } + case 18: { + StrValue = input.ReadString(); + break; + } + case 25: { + NumValue = input.ReadDouble(); + break; + } + case 32: { + BoolValue = input.ReadBool(); + break; + } + case 40: { + NaValue = input.ReadBool(); + break; + } + case 49: { + Score = input.ReadDouble(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Key = input.ReadString(); + break; + } + case 18: { + StrValue = input.ReadString(); + break; + } + case 25: { + NumValue = input.ReadDouble(); + break; + } + case 32: { + BoolValue = input.ReadBool(); + break; + } + case 40: { + NaValue = input.ReadBool(); + break; + } + case 49: { + Score = input.ReadDouble(); + break; + } + } + } + } + #endif + + } + + /// + /// A wrapper representing metrics calculated against a test-set on a LLM that + /// was fine tuned for this question. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Metrics : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Metrics()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Metrics() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Metrics(Metrics other) : this() { + accuracy_ = other.accuracy_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Metrics Clone() { + return new Metrics(this); + } + + /// Field number for the "accuracy" field. + public const int AccuracyFieldNumber = 1; + private double accuracy_; + /// + /// Output only. Accuracy of the model. Measures the percentage of correct + /// answers the model gave on the test set. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Accuracy { + get { return accuracy_; } + set { + accuracy_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Metrics); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Metrics other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Accuracy, other.Accuracy)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Accuracy != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Accuracy); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Accuracy != 0D) { + output.WriteRawTag(9); + output.WriteDouble(Accuracy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Accuracy != 0D) { + output.WriteRawTag(9); + output.WriteDouble(Accuracy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Accuracy != 0D) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Metrics other) { + if (other == null) { + return; + } + if (other.Accuracy != 0D) { + Accuracy = other.Accuracy; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 9: { + Accuracy = input.ReadDouble(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + Accuracy = input.ReadDouble(); + break; + } + } + } + } + #endif + + } + + /// + /// Metadata about the tuning operation for the question. Will only be set if a + /// scorecard containing this question has been tuned. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TuningMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TuningMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QaQuestion.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuningMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuningMetadata(TuningMetadata other) : this() { + totalValidLabelCount_ = other.totalValidLabelCount_; + datasetValidationWarnings_ = other.datasetValidationWarnings_.Clone(); + tuningError_ = other.tuningError_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TuningMetadata Clone() { + return new TuningMetadata(this); + } + + /// Field number for the "total_valid_label_count" field. + public const int TotalValidLabelCountFieldNumber = 1; + private long totalValidLabelCount_; + /// + /// Total number of valid labels provided for the question at the time of + /// tuining. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TotalValidLabelCount { + get { return totalValidLabelCount_; } + set { + totalValidLabelCount_ = value; + } + } + + /// Field number for the "dataset_validation_warnings" field. + public const int DatasetValidationWarningsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_datasetValidationWarnings_codec + = pb::FieldCodec.ForEnum(18, x => (int) x, x => (global::Google.Cloud.ContactCenterInsights.V1.DatasetValidationWarning) x); + private readonly pbc::RepeatedField datasetValidationWarnings_ = new pbc::RepeatedField(); + /// + /// A list of any applicable data validation warnings about the question's + /// feedback labels. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DatasetValidationWarnings { + get { return datasetValidationWarnings_; } + } + + /// Field number for the "tuning_error" field. + public const int TuningErrorFieldNumber = 3; + private string tuningError_ = ""; + /// + /// Error status of the tuning operation for the question. Will only be set + /// if the tuning operation failed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TuningError { + get { return tuningError_; } + set { + tuningError_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TuningMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TuningMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TotalValidLabelCount != other.TotalValidLabelCount) return false; + if(!datasetValidationWarnings_.Equals(other.datasetValidationWarnings_)) return false; + if (TuningError != other.TuningError) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (TotalValidLabelCount != 0L) hash ^= TotalValidLabelCount.GetHashCode(); + hash ^= datasetValidationWarnings_.GetHashCode(); + if (TuningError.Length != 0) hash ^= TuningError.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (TotalValidLabelCount != 0L) { + output.WriteRawTag(8); + output.WriteInt64(TotalValidLabelCount); + } + datasetValidationWarnings_.WriteTo(output, _repeated_datasetValidationWarnings_codec); + if (TuningError.Length != 0) { + output.WriteRawTag(26); + output.WriteString(TuningError); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (TotalValidLabelCount != 0L) { + output.WriteRawTag(8); + output.WriteInt64(TotalValidLabelCount); + } + datasetValidationWarnings_.WriteTo(ref output, _repeated_datasetValidationWarnings_codec); + if (TuningError.Length != 0) { + output.WriteRawTag(26); + output.WriteString(TuningError); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (TotalValidLabelCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TotalValidLabelCount); + } + size += datasetValidationWarnings_.CalculateSize(_repeated_datasetValidationWarnings_codec); + if (TuningError.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TuningError); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TuningMetadata other) { + if (other == null) { + return; + } + if (other.TotalValidLabelCount != 0L) { + TotalValidLabelCount = other.TotalValidLabelCount; + } + datasetValidationWarnings_.Add(other.datasetValidationWarnings_); + if (other.TuningError.Length != 0) { + TuningError = other.TuningError; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + TotalValidLabelCount = input.ReadInt64(); + break; + } + case 18: + case 16: { + datasetValidationWarnings_.AddEntriesFrom(input, _repeated_datasetValidationWarnings_codec); + break; + } + case 26: { + TuningError = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + TotalValidLabelCount = input.ReadInt64(); + break; + } + case 18: + case 16: { + datasetValidationWarnings_.AddEntriesFrom(ref input, _repeated_datasetValidationWarnings_codec); + break; + } + case 26: { + TuningError = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// A QaScorecard represents a collection of questions to be scored during + /// analysis. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaScorecard : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaScorecard()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[49]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaScorecard() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaScorecard(QaScorecard other) : this() { + name_ = other.name_; + displayName_ = other.displayName_; + description_ = other.description_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaScorecard Clone() { + return new QaScorecard(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Identifier. The scorecard name. + /// Format: + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 7; + private string displayName_ = ""; + /// + /// The user-specified display name of the scorecard. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 2; + private string description_ = ""; + /// + /// A text description explaining the intent of the scorecard. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The time at which this scorecard was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 4; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. The most recent time at which the scorecard was updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaScorecard); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaScorecard other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (DisplayName != other.DisplayName) return false; + if (Description != other.Description) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (Description.Length != 0) hash ^= Description.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Description.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Description); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(58); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Description.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Description); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UpdateTime); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(58); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (Description.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaScorecard other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + if (other.Description.Length != 0) { + Description = other.Description; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + Description = input.ReadString(); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 58: { + DisplayName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + Description = input.ReadString(); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 58: { + DisplayName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// A revision of a QaScorecard. + /// + /// Modifying published scorecard fields would invalidate existing scorecard + /// results — the questions may have changed, or the score weighting will make + /// existing scores impossible to understand. So changes must create a new + /// revision, rather than modifying the existing resource. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaScorecardRevision : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaScorecardRevision()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[50]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaScorecardRevision() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaScorecardRevision(QaScorecardRevision other) : this() { + name_ = other.name_; + snapshot_ = other.snapshot_ != null ? other.snapshot_.Clone() : null; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + alternateIds_ = other.alternateIds_.Clone(); + state_ = other.state_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaScorecardRevision Clone() { + return new QaScorecardRevision(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Identifier. The name of the scorecard revision. + /// Format: + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "snapshot" field. + public const int SnapshotFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.QaScorecard snapshot_; + /// + /// The snapshot of the scorecard at the time of this revision's creation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaScorecard Snapshot { + get { return snapshot_; } + set { + snapshot_ = value; + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The timestamp that the revision was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "alternate_ids" field. + public const int AlternateIdsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_alternateIds_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField alternateIds_ = new pbc::RepeatedField(); + /// + /// Output only. Alternative IDs for this revision of the scorecard, e.g., + /// `latest`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AlternateIds { + get { return alternateIds_; } + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 5; + private global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Types.State state_ = global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Types.State.Unspecified; + /// + /// Output only. State of the scorecard revision, indicating whether it's ready + /// to be used in analysis. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Types.State State { + get { return state_; } + set { + state_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaScorecardRevision); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaScorecardRevision other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (!object.Equals(Snapshot, other.Snapshot)) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if(!alternateIds_.Equals(other.alternateIds_)) return false; + if (State != other.State) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (snapshot_ != null) hash ^= Snapshot.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + hash ^= alternateIds_.GetHashCode(); + if (State != global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Types.State.Unspecified) hash ^= State.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (snapshot_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Snapshot); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + alternateIds_.WriteTo(output, _repeated_alternateIds_codec); + if (State != global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Types.State.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (snapshot_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Snapshot); + } + if (createTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CreateTime); + } + alternateIds_.WriteTo(ref output, _repeated_alternateIds_codec); + if (State != global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Types.State.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (snapshot_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Snapshot); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + size += alternateIds_.CalculateSize(_repeated_alternateIds_codec); + if (State != global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Types.State.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaScorecardRevision other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.snapshot_ != null) { + if (snapshot_ == null) { + Snapshot = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecard(); + } + Snapshot.MergeFrom(other.Snapshot); + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + alternateIds_.Add(other.alternateIds_); + if (other.State != global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Types.State.Unspecified) { + State = other.State; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (snapshot_ == null) { + Snapshot = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecard(); + } + input.ReadMessage(Snapshot); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + alternateIds_.AddEntriesFrom(input, _repeated_alternateIds_codec); + break; + } + case 40: { + State = (global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Types.State) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (snapshot_ == null) { + Snapshot = new global::Google.Cloud.ContactCenterInsights.V1.QaScorecard(); + } + input.ReadMessage(Snapshot); + break; + } + case 26: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 34: { + alternateIds_.AddEntriesFrom(ref input, _repeated_alternateIds_codec); + break; + } + case 40: { + State = (global::Google.Cloud.ContactCenterInsights.V1.QaScorecardRevision.Types.State) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the QaScorecardRevision message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Enum representing the set of states a scorecard revision may be in. + /// + public enum State { + /// + /// Unspecified. + /// + [pbr::OriginalName("STATE_UNSPECIFIED")] Unspecified = 0, + /// + /// The scorecard revision can be edited. + /// + [pbr::OriginalName("EDITABLE")] Editable = 12, + /// + /// Scorecard model training is in progress. + /// + [pbr::OriginalName("TRAINING")] Training = 2, + /// + /// Scorecard revision model training failed. + /// + [pbr::OriginalName("TRAINING_FAILED")] TrainingFailed = 9, + /// + /// The revision can be used in analysis. + /// + [pbr::OriginalName("READY")] Ready = 11, + /// + /// Scorecard is being deleted. + /// + [pbr::OriginalName("DELETING")] Deleting = 7, + /// + /// Scorecard model training was explicitly cancelled by the user. + /// + [pbr::OriginalName("TRAINING_CANCELLED")] TrainingCancelled = 14, + } + + } + #endregion + + } + + /// + /// An answer to a QaQuestion. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaAnswer : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaAnswer()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[51]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaAnswer() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaAnswer(QaAnswer other) : this() { + qaQuestion_ = other.qaQuestion_; + conversation_ = other.conversation_; + questionBody_ = other.questionBody_; + answerValue_ = other.answerValue_ != null ? other.answerValue_.Clone() : null; + tags_ = other.tags_.Clone(); + answerSources_ = other.answerSources_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaAnswer Clone() { + return new QaAnswer(this); + } + + /// Field number for the "qa_question" field. + public const int QaQuestionFieldNumber = 7; + private string qaQuestion_ = ""; + /// + /// The QaQuestion answered by this answer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QaQuestion { + get { return qaQuestion_; } + set { + qaQuestion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "conversation" field. + public const int ConversationFieldNumber = 2; + private string conversation_ = ""; + /// + /// The conversation the answer applies to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Conversation { + get { return conversation_; } + set { + conversation_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "question_body" field. + public const int QuestionBodyFieldNumber = 6; + private string questionBody_ = ""; + /// + /// Question text. E.g., "Did the agent greet the customer?" + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QuestionBody { + get { return questionBody_; } + set { + questionBody_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "answer_value" field. + public const int AnswerValueFieldNumber = 3; + private global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue answerValue_; + /// + /// The main answer value, incorporating any manual edits if they exist. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue AnswerValue { + get { return answerValue_; } + set { + answerValue_ = value; + } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_tags_codec + = pb::FieldCodec.ForString(42); + private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); + /// + /// User-defined list of arbitrary tags. Matches the value from + /// QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and + /// for weighting the score of each answer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tags { + get { return tags_; } + } + + /// Field number for the "answer_sources" field. + public const int AnswerSourcesFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_answerSources_codec + = pb::FieldCodec.ForMessage(66, global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Parser); + private readonly pbc::RepeatedField answerSources_ = new pbc::RepeatedField(); + /// + /// List of all individual answers given to the question. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AnswerSources { + get { return answerSources_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaAnswer); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaAnswer other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (QaQuestion != other.QaQuestion) return false; + if (Conversation != other.Conversation) return false; + if (QuestionBody != other.QuestionBody) return false; + if (!object.Equals(AnswerValue, other.AnswerValue)) return false; + if(!tags_.Equals(other.tags_)) return false; + if(!answerSources_.Equals(other.answerSources_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (QaQuestion.Length != 0) hash ^= QaQuestion.GetHashCode(); + if (Conversation.Length != 0) hash ^= Conversation.GetHashCode(); + if (QuestionBody.Length != 0) hash ^= QuestionBody.GetHashCode(); + if (answerValue_ != null) hash ^= AnswerValue.GetHashCode(); + hash ^= tags_.GetHashCode(); + hash ^= answerSources_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Conversation.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Conversation); + } + if (answerValue_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AnswerValue); + } + tags_.WriteTo(output, _repeated_tags_codec); + if (QuestionBody.Length != 0) { + output.WriteRawTag(50); + output.WriteString(QuestionBody); + } + if (QaQuestion.Length != 0) { + output.WriteRawTag(58); + output.WriteString(QaQuestion); + } + answerSources_.WriteTo(output, _repeated_answerSources_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Conversation.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Conversation); + } + if (answerValue_ != null) { + output.WriteRawTag(26); + output.WriteMessage(AnswerValue); + } + tags_.WriteTo(ref output, _repeated_tags_codec); + if (QuestionBody.Length != 0) { + output.WriteRawTag(50); + output.WriteString(QuestionBody); + } + if (QaQuestion.Length != 0) { + output.WriteRawTag(58); + output.WriteString(QaQuestion); + } + answerSources_.WriteTo(ref output, _repeated_answerSources_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (QaQuestion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QaQuestion); + } + if (Conversation.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Conversation); + } + if (QuestionBody.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QuestionBody); + } + if (answerValue_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnswerValue); + } + size += tags_.CalculateSize(_repeated_tags_codec); + size += answerSources_.CalculateSize(_repeated_answerSources_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaAnswer other) { + if (other == null) { + return; + } + if (other.QaQuestion.Length != 0) { + QaQuestion = other.QaQuestion; + } + if (other.Conversation.Length != 0) { + Conversation = other.Conversation; + } + if (other.QuestionBody.Length != 0) { + QuestionBody = other.QuestionBody; + } + if (other.answerValue_ != null) { + if (answerValue_ == null) { + AnswerValue = new global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue(); + } + AnswerValue.MergeFrom(other.AnswerValue); + } + tags_.Add(other.tags_); + answerSources_.Add(other.answerSources_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + Conversation = input.ReadString(); + break; + } + case 26: { + if (answerValue_ == null) { + AnswerValue = new global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue(); + } + input.ReadMessage(AnswerValue); + break; + } + case 42: { + tags_.AddEntriesFrom(input, _repeated_tags_codec); + break; + } + case 50: { + QuestionBody = input.ReadString(); + break; + } + case 58: { + QaQuestion = input.ReadString(); + break; + } + case 66: { + answerSources_.AddEntriesFrom(input, _repeated_answerSources_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + Conversation = input.ReadString(); + break; + } + case 26: { + if (answerValue_ == null) { + AnswerValue = new global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue(); + } + input.ReadMessage(AnswerValue); + break; + } + case 42: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + case 50: { + QuestionBody = input.ReadString(); + break; + } + case 58: { + QaQuestion = input.ReadString(); + break; + } + case 66: { + answerSources_.AddEntriesFrom(ref input, _repeated_answerSources_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the QaAnswer message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Message for holding the value of a + /// [QaAnswer][google.cloud.contactcenterinsights.v1.QaAnswer]. + /// [QaQuestion.AnswerChoice][google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice] + /// defines the possible answer values for a question. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AnswerValue : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnswerValue()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerValue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerValue(AnswerValue other) : this() { + _hasBits0 = other._hasBits0; + key_ = other.key_; + score_ = other.score_; + potentialScore_ = other.potentialScore_; + normalizedScore_ = other.normalizedScore_; + switch (other.ValueCase) { + case ValueOneofCase.StrValue: + StrValue = other.StrValue; + break; + case ValueOneofCase.NumValue: + NumValue = other.NumValue; + break; + case ValueOneofCase.BoolValue: + BoolValue = other.BoolValue; + break; + case ValueOneofCase.NaValue: + NaValue = other.NaValue; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerValue Clone() { + return new AnswerValue(this); + } + + /// Field number for the "str_value" field. + public const int StrValueFieldNumber = 2; + /// + /// String value. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StrValue { + get { return HasStrValue ? (string) value_ : ""; } + set { + value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + valueCase_ = ValueOneofCase.StrValue; + } + } + /// Gets whether the "str_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStrValue { + get { return valueCase_ == ValueOneofCase.StrValue; } + } + /// Clears the value of the oneof if it's currently set to "str_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStrValue() { + if (HasStrValue) { + ClearValue(); + } + } + + /// Field number for the "num_value" field. + public const int NumValueFieldNumber = 3; + /// + /// Numerical value. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double NumValue { + get { return HasNumValue ? (double) value_ : 0D; } + set { + value_ = value; + valueCase_ = ValueOneofCase.NumValue; + } + } + /// Gets whether the "num_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNumValue { + get { return valueCase_ == ValueOneofCase.NumValue; } + } + /// Clears the value of the oneof if it's currently set to "num_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNumValue() { + if (HasNumValue) { + ClearValue(); + } + } + + /// Field number for the "bool_value" field. + public const int BoolValueFieldNumber = 4; + /// + /// Boolean value. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool BoolValue { + get { return HasBoolValue ? (bool) value_ : false; } + set { + value_ = value; + valueCase_ = ValueOneofCase.BoolValue; + } + } + /// Gets whether the "bool_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBoolValue { + get { return valueCase_ == ValueOneofCase.BoolValue; } + } + /// Clears the value of the oneof if it's currently set to "bool_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBoolValue() { + if (HasBoolValue) { + ClearValue(); + } + } + + /// Field number for the "na_value" field. + public const int NaValueFieldNumber = 5; + /// + /// A value of "Not Applicable (N/A)". Should only ever be `true`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool NaValue { + get { return HasNaValue ? (bool) value_ : false; } + set { + value_ = value; + valueCase_ = ValueOneofCase.NaValue; + } + } + /// Gets whether the "na_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNaValue { + get { return valueCase_ == ValueOneofCase.NaValue; } + } + /// Clears the value of the oneof if it's currently set to "na_value" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNaValue() { + if (HasNaValue) { + ClearValue(); + } + } + + /// Field number for the "key" field. + public const int KeyFieldNumber = 1; + private string key_ = ""; + /// + /// A short string used as an identifier. Matches the value used in + /// QaQuestion.AnswerChoice.key. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Key { + get { return key_; } + set { + key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "score" field. + public const int ScoreFieldNumber = 6; + private readonly static double ScoreDefaultValue = 0D; + + private double score_; + /// + /// Output only. Numerical score of the answer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Score { + get { if ((_hasBits0 & 1) != 0) { return score_; } else { return ScoreDefaultValue; } } + set { + _hasBits0 |= 1; + score_ = value; + } + } + /// Gets whether the "score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasScore { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearScore() { + _hasBits0 &= ~1; + } + + /// Field number for the "potential_score" field. + public const int PotentialScoreFieldNumber = 7; + private readonly static double PotentialScoreDefaultValue = 0D; + + private double potentialScore_; + /// + /// Output only. The maximum potential score of the question. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double PotentialScore { + get { if ((_hasBits0 & 2) != 0) { return potentialScore_; } else { return PotentialScoreDefaultValue; } } + set { + _hasBits0 |= 2; + potentialScore_ = value; + } + } + /// Gets whether the "potential_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPotentialScore { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "potential_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPotentialScore() { + _hasBits0 &= ~2; + } + + /// Field number for the "normalized_score" field. + public const int NormalizedScoreFieldNumber = 8; + private readonly static double NormalizedScoreDefaultValue = 0D; + + private double normalizedScore_; + /// + /// Output only. Normalized score of the questions. Calculated as score / + /// potential_score. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double NormalizedScore { + get { if ((_hasBits0 & 4) != 0) { return normalizedScore_; } else { return NormalizedScoreDefaultValue; } } + set { + _hasBits0 |= 4; + normalizedScore_ = value; + } + } + /// Gets whether the "normalized_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNormalizedScore { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "normalized_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNormalizedScore() { + _hasBits0 &= ~4; + } + + private object value_; + /// Enum of possible cases for the "value" oneof. + public enum ValueOneofCase { + None = 0, + StrValue = 2, + NumValue = 3, + BoolValue = 4, + NaValue = 5, + } + private ValueOneofCase valueCase_ = ValueOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ValueOneofCase ValueCase { + get { return valueCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearValue() { + valueCase_ = ValueOneofCase.None; + value_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AnswerValue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AnswerValue other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StrValue != other.StrValue) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NumValue, other.NumValue)) return false; + if (BoolValue != other.BoolValue) return false; + if (NaValue != other.NaValue) return false; + if (Key != other.Key) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Score, other.Score)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PotentialScore, other.PotentialScore)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NormalizedScore, other.NormalizedScore)) return false; + if (ValueCase != other.ValueCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStrValue) hash ^= StrValue.GetHashCode(); + if (HasNumValue) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NumValue); + if (HasBoolValue) hash ^= BoolValue.GetHashCode(); + if (HasNaValue) hash ^= NaValue.GetHashCode(); + if (Key.Length != 0) hash ^= Key.GetHashCode(); + if (HasScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Score); + if (HasPotentialScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PotentialScore); + if (HasNormalizedScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NormalizedScore); + hash ^= (int) valueCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Key.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Key); + } + if (HasStrValue) { + output.WriteRawTag(18); + output.WriteString(StrValue); + } + if (HasNumValue) { + output.WriteRawTag(25); + output.WriteDouble(NumValue); + } + if (HasBoolValue) { + output.WriteRawTag(32); + output.WriteBool(BoolValue); + } + if (HasNaValue) { + output.WriteRawTag(40); + output.WriteBool(NaValue); + } + if (HasScore) { + output.WriteRawTag(49); + output.WriteDouble(Score); + } + if (HasPotentialScore) { + output.WriteRawTag(57); + output.WriteDouble(PotentialScore); + } + if (HasNormalizedScore) { + output.WriteRawTag(65); + output.WriteDouble(NormalizedScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Key.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Key); + } + if (HasStrValue) { + output.WriteRawTag(18); + output.WriteString(StrValue); + } + if (HasNumValue) { + output.WriteRawTag(25); + output.WriteDouble(NumValue); + } + if (HasBoolValue) { + output.WriteRawTag(32); + output.WriteBool(BoolValue); + } + if (HasNaValue) { + output.WriteRawTag(40); + output.WriteBool(NaValue); + } + if (HasScore) { + output.WriteRawTag(49); + output.WriteDouble(Score); + } + if (HasPotentialScore) { + output.WriteRawTag(57); + output.WriteDouble(PotentialScore); + } + if (HasNormalizedScore) { + output.WriteRawTag(65); + output.WriteDouble(NormalizedScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStrValue) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StrValue); + } + if (HasNumValue) { + size += 1 + 8; + } + if (HasBoolValue) { + size += 1 + 1; + } + if (HasNaValue) { + size += 1 + 1; + } + if (Key.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); + } + if (HasScore) { + size += 1 + 8; + } + if (HasPotentialScore) { + size += 1 + 8; + } + if (HasNormalizedScore) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AnswerValue other) { + if (other == null) { + return; + } + if (other.Key.Length != 0) { + Key = other.Key; + } + if (other.HasScore) { + Score = other.Score; + } + if (other.HasPotentialScore) { + PotentialScore = other.PotentialScore; + } + if (other.HasNormalizedScore) { + NormalizedScore = other.NormalizedScore; + } + switch (other.ValueCase) { + case ValueOneofCase.StrValue: + StrValue = other.StrValue; + break; + case ValueOneofCase.NumValue: + NumValue = other.NumValue; + break; + case ValueOneofCase.BoolValue: + BoolValue = other.BoolValue; + break; + case ValueOneofCase.NaValue: + NaValue = other.NaValue; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Key = input.ReadString(); + break; + } + case 18: { + StrValue = input.ReadString(); + break; + } + case 25: { + NumValue = input.ReadDouble(); + break; + } + case 32: { + BoolValue = input.ReadBool(); + break; + } + case 40: { + NaValue = input.ReadBool(); + break; + } + case 49: { + Score = input.ReadDouble(); + break; + } + case 57: { + PotentialScore = input.ReadDouble(); + break; + } + case 65: { + NormalizedScore = input.ReadDouble(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Key = input.ReadString(); + break; + } + case 18: { + StrValue = input.ReadString(); + break; + } + case 25: { + NumValue = input.ReadDouble(); + break; + } + case 32: { + BoolValue = input.ReadBool(); + break; + } + case 40: { + NaValue = input.ReadBool(); + break; + } + case 49: { + Score = input.ReadDouble(); + break; + } + case 57: { + PotentialScore = input.ReadDouble(); + break; + } + case 65: { + NormalizedScore = input.ReadDouble(); + break; + } + } + } + } + #endif + + } + + /// + /// A question may have multiple answers from varying sources, one of which + /// becomes the "main" answer above. AnswerSource represents each individual + /// answer. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AnswerSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnswerSource()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerSource() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerSource(AnswerSource other) : this() { + sourceType_ = other.sourceType_; + answerValue_ = other.answerValue_ != null ? other.answerValue_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerSource Clone() { + return new AnswerSource(this); + } + + /// Field number for the "source_type" field. + public const int SourceTypeFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Types.SourceType sourceType_ = global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Types.SourceType.Unspecified; + /// + /// What created the answer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Types.SourceType SourceType { + get { return sourceType_; } + set { + sourceType_ = value; + } + } + + /// Field number for the "answer_value" field. + public const int AnswerValueFieldNumber = 2; + private global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue answerValue_; + /// + /// The answer value from this source. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue AnswerValue { + get { return answerValue_; } + set { + answerValue_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AnswerSource); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AnswerSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SourceType != other.SourceType) return false; + if (!object.Equals(AnswerValue, other.AnswerValue)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (SourceType != global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Types.SourceType.Unspecified) hash ^= SourceType.GetHashCode(); + if (answerValue_ != null) hash ^= AnswerValue.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (SourceType != global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Types.SourceType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) SourceType); + } + if (answerValue_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AnswerValue); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SourceType != global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Types.SourceType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) SourceType); + } + if (answerValue_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AnswerValue); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (SourceType != global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Types.SourceType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SourceType); + } + if (answerValue_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnswerValue); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AnswerSource other) { + if (other == null) { + return; + } + if (other.SourceType != global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Types.SourceType.Unspecified) { + SourceType = other.SourceType; + } + if (other.answerValue_ != null) { + if (answerValue_ == null) { + AnswerValue = new global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue(); + } + AnswerValue.MergeFrom(other.AnswerValue); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + SourceType = (global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Types.SourceType) input.ReadEnum(); + break; + } + case 18: { + if (answerValue_ == null) { + AnswerValue = new global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue(); + } + input.ReadMessage(AnswerValue); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + SourceType = (global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerSource.Types.SourceType) input.ReadEnum(); + break; + } + case 18: { + if (answerValue_ == null) { + AnswerValue = new global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Types.AnswerValue(); + } + input.ReadMessage(AnswerValue); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AnswerSource message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// What created the answer. + /// + public enum SourceType { + /// + /// Source type is unspecified. + /// + [pbr::OriginalName("SOURCE_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Answer was system-generated; created during an Insights analysis. + /// + [pbr::OriginalName("SYSTEM_GENERATED")] SystemGenerated = 1, + /// + /// Answer was created by a human via manual edit. + /// + [pbr::OriginalName("MANUAL_EDIT")] ManualEdit = 2, + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// The results of scoring a single conversation against a QaScorecard. Contains + /// a collection of QaAnswers and aggregate score. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaScorecardResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaScorecardResult()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.ResourcesReflection.Descriptor.MessageTypes[52]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaScorecardResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaScorecardResult(QaScorecardResult other) : this() { + _hasBits0 = other._hasBits0; + name_ = other.name_; + qaScorecardRevision_ = other.qaScorecardRevision_; + conversation_ = other.conversation_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + agentId_ = other.agentId_; + qaAnswers_ = other.qaAnswers_.Clone(); + score_ = other.score_; + potentialScore_ = other.potentialScore_; + normalizedScore_ = other.normalizedScore_; + qaTagResults_ = other.qaTagResults_.Clone(); + scoreSources_ = other.scoreSources_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaScorecardResult Clone() { + return new QaScorecardResult(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Identifier. The name of the scorecard result. + /// Format: + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result} + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "qa_scorecard_revision" field. + public const int QaScorecardRevisionFieldNumber = 2; + private string qaScorecardRevision_ = ""; + /// + /// The QaScorecardRevision scored by this result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QaScorecardRevision { + get { return qaScorecardRevision_; } + set { + qaScorecardRevision_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "conversation" field. + public const int ConversationFieldNumber = 3; + private string conversation_ = ""; + /// + /// The conversation scored by this result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Conversation { + get { return conversation_; } + set { + conversation_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 4; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. The timestamp that the revision was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "agent_id" field. + public const int AgentIdFieldNumber = 5; + private string agentId_ = ""; + /// + /// ID of the agent that handled the conversation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AgentId { + get { return agentId_; } + set { + agentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "qa_answers" field. + public const int QaAnswersFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_qaAnswers_codec + = pb::FieldCodec.ForMessage(50, global::Google.Cloud.ContactCenterInsights.V1.QaAnswer.Parser); + private readonly pbc::RepeatedField qaAnswers_ = new pbc::RepeatedField(); + /// + /// Set of QaAnswers represented in the result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QaAnswers { + get { return qaAnswers_; } + } + + /// Field number for the "score" field. + public const int ScoreFieldNumber = 7; + private readonly static double ScoreDefaultValue = 0D; + + private double score_; + /// + /// The overall numerical score of the result, incorporating any manual edits + /// if they exist. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Score { + get { if ((_hasBits0 & 1) != 0) { return score_; } else { return ScoreDefaultValue; } } + set { + _hasBits0 |= 1; + score_ = value; + } + } + /// Gets whether the "score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasScore { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearScore() { + _hasBits0 &= ~1; + } + + /// Field number for the "potential_score" field. + public const int PotentialScoreFieldNumber = 8; + private readonly static double PotentialScoreDefaultValue = 0D; + + private double potentialScore_; + /// + /// The maximum potential overall score of the scorecard. Any questions + /// answered using `na_value` are excluded from this calculation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double PotentialScore { + get { if ((_hasBits0 & 2) != 0) { return potentialScore_; } else { return PotentialScoreDefaultValue; } } + set { + _hasBits0 |= 2; + potentialScore_ = value; + } + } + /// Gets whether the "potential_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPotentialScore { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "potential_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPotentialScore() { + _hasBits0 &= ~2; + } + + /// Field number for the "normalized_score" field. + public const int NormalizedScoreFieldNumber = 9; + private readonly static double NormalizedScoreDefaultValue = 0D; + + private double normalizedScore_; + /// + /// The normalized score, which is the score divided by the potential score. + /// Any manual edits are included if they exist. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double NormalizedScore { + get { if ((_hasBits0 & 4) != 0) { return normalizedScore_; } else { return NormalizedScoreDefaultValue; } } + set { + _hasBits0 |= 4; + normalizedScore_ = value; + } + } + /// Gets whether the "normalized_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNormalizedScore { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "normalized_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNormalizedScore() { + _hasBits0 &= ~4; + } + + /// Field number for the "qa_tag_results" field. + public const int QaTagResultsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_qaTagResults_codec + = pb::FieldCodec.ForMessage(82, global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.QaTagResult.Parser); + private readonly pbc::RepeatedField qaTagResults_ = new pbc::RepeatedField(); + /// + /// Collection of tags and their scores. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QaTagResults { + get { return qaTagResults_; } + } + + /// Field number for the "score_sources" field. + public const int ScoreSourcesFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_scoreSources_codec + = pb::FieldCodec.ForMessage(90, global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Parser); + private readonly pbc::RepeatedField scoreSources_ = new pbc::RepeatedField(); + /// + /// List of all individual score sets. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ScoreSources { + get { return scoreSources_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaScorecardResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaScorecardResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (QaScorecardRevision != other.QaScorecardRevision) return false; + if (Conversation != other.Conversation) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (AgentId != other.AgentId) return false; + if(!qaAnswers_.Equals(other.qaAnswers_)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Score, other.Score)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PotentialScore, other.PotentialScore)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NormalizedScore, other.NormalizedScore)) return false; + if(!qaTagResults_.Equals(other.qaTagResults_)) return false; + if(!scoreSources_.Equals(other.scoreSources_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (QaScorecardRevision.Length != 0) hash ^= QaScorecardRevision.GetHashCode(); + if (Conversation.Length != 0) hash ^= Conversation.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (AgentId.Length != 0) hash ^= AgentId.GetHashCode(); + hash ^= qaAnswers_.GetHashCode(); + if (HasScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Score); + if (HasPotentialScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PotentialScore); + if (HasNormalizedScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NormalizedScore); + hash ^= qaTagResults_.GetHashCode(); + hash ^= scoreSources_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (QaScorecardRevision.Length != 0) { + output.WriteRawTag(18); + output.WriteString(QaScorecardRevision); + } + if (Conversation.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Conversation); + } + if (createTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(CreateTime); + } + if (AgentId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AgentId); + } + qaAnswers_.WriteTo(output, _repeated_qaAnswers_codec); + if (HasScore) { + output.WriteRawTag(57); + output.WriteDouble(Score); + } + if (HasPotentialScore) { + output.WriteRawTag(65); + output.WriteDouble(PotentialScore); + } + if (HasNormalizedScore) { + output.WriteRawTag(73); + output.WriteDouble(NormalizedScore); + } + qaTagResults_.WriteTo(output, _repeated_qaTagResults_codec); + scoreSources_.WriteTo(output, _repeated_scoreSources_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (QaScorecardRevision.Length != 0) { + output.WriteRawTag(18); + output.WriteString(QaScorecardRevision); + } + if (Conversation.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Conversation); + } + if (createTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(CreateTime); + } + if (AgentId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AgentId); + } + qaAnswers_.WriteTo(ref output, _repeated_qaAnswers_codec); + if (HasScore) { + output.WriteRawTag(57); + output.WriteDouble(Score); + } + if (HasPotentialScore) { + output.WriteRawTag(65); + output.WriteDouble(PotentialScore); + } + if (HasNormalizedScore) { + output.WriteRawTag(73); + output.WriteDouble(NormalizedScore); + } + qaTagResults_.WriteTo(ref output, _repeated_qaTagResults_codec); + scoreSources_.WriteTo(ref output, _repeated_scoreSources_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (QaScorecardRevision.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QaScorecardRevision); + } + if (Conversation.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Conversation); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (AgentId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AgentId); + } + size += qaAnswers_.CalculateSize(_repeated_qaAnswers_codec); + if (HasScore) { + size += 1 + 8; + } + if (HasPotentialScore) { + size += 1 + 8; + } + if (HasNormalizedScore) { + size += 1 + 8; + } + size += qaTagResults_.CalculateSize(_repeated_qaTagResults_codec); + size += scoreSources_.CalculateSize(_repeated_scoreSources_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaScorecardResult other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.QaScorecardRevision.Length != 0) { + QaScorecardRevision = other.QaScorecardRevision; + } + if (other.Conversation.Length != 0) { + Conversation = other.Conversation; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.AgentId.Length != 0) { + AgentId = other.AgentId; + } + qaAnswers_.Add(other.qaAnswers_); + if (other.HasScore) { + Score = other.Score; + } + if (other.HasPotentialScore) { + PotentialScore = other.PotentialScore; + } + if (other.HasNormalizedScore) { + NormalizedScore = other.NormalizedScore; + } + qaTagResults_.Add(other.qaTagResults_); + scoreSources_.Add(other.scoreSources_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + QaScorecardRevision = input.ReadString(); + break; + } + case 26: { + Conversation = input.ReadString(); + break; + } + case 34: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 42: { + AgentId = input.ReadString(); + break; + } + case 50: { + qaAnswers_.AddEntriesFrom(input, _repeated_qaAnswers_codec); + break; + } + case 57: { + Score = input.ReadDouble(); + break; + } + case 65: { + PotentialScore = input.ReadDouble(); + break; + } + case 73: { + NormalizedScore = input.ReadDouble(); + break; + } + case 82: { + qaTagResults_.AddEntriesFrom(input, _repeated_qaTagResults_codec); + break; + } + case 90: { + scoreSources_.AddEntriesFrom(input, _repeated_scoreSources_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + QaScorecardRevision = input.ReadString(); + break; + } + case 26: { + Conversation = input.ReadString(); + break; + } + case 34: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 42: { + AgentId = input.ReadString(); + break; + } + case 50: { + qaAnswers_.AddEntriesFrom(ref input, _repeated_qaAnswers_codec); + break; + } + case 57: { + Score = input.ReadDouble(); + break; + } + case 65: { + PotentialScore = input.ReadDouble(); + break; + } + case 73: { + NormalizedScore = input.ReadDouble(); + break; + } + case 82: { + qaTagResults_.AddEntriesFrom(ref input, _repeated_qaTagResults_codec); + break; + } + case 90: { + scoreSources_.AddEntriesFrom(ref input, _repeated_scoreSources_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the QaScorecardResult message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Tags and their corresponding results. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QaTagResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QaTagResult()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaTagResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaTagResult(QaTagResult other) : this() { + _hasBits0 = other._hasBits0; + tag_ = other.tag_; + score_ = other.score_; + potentialScore_ = other.potentialScore_; + normalizedScore_ = other.normalizedScore_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QaTagResult Clone() { + return new QaTagResult(this); + } + + /// Field number for the "tag" field. + public const int TagFieldNumber = 1; + private string tag_ = ""; + /// + /// The tag the score applies to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag { + get { return tag_; } + set { + tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "score" field. + public const int ScoreFieldNumber = 2; + private readonly static double ScoreDefaultValue = 0D; + + private double score_; + /// + /// The score the tag applies to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Score { + get { if ((_hasBits0 & 1) != 0) { return score_; } else { return ScoreDefaultValue; } } + set { + _hasBits0 |= 1; + score_ = value; + } + } + /// Gets whether the "score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasScore { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearScore() { + _hasBits0 &= ~1; + } + + /// Field number for the "potential_score" field. + public const int PotentialScoreFieldNumber = 3; + private readonly static double PotentialScoreDefaultValue = 0D; + + private double potentialScore_; + /// + /// The potential score the tag applies to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double PotentialScore { + get { if ((_hasBits0 & 2) != 0) { return potentialScore_; } else { return PotentialScoreDefaultValue; } } + set { + _hasBits0 |= 2; + potentialScore_ = value; + } + } + /// Gets whether the "potential_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPotentialScore { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "potential_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPotentialScore() { + _hasBits0 &= ~2; + } + + /// Field number for the "normalized_score" field. + public const int NormalizedScoreFieldNumber = 4; + private readonly static double NormalizedScoreDefaultValue = 0D; + + private double normalizedScore_; + /// + /// The normalized score the tag applies to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double NormalizedScore { + get { if ((_hasBits0 & 4) != 0) { return normalizedScore_; } else { return NormalizedScoreDefaultValue; } } + set { + _hasBits0 |= 4; + normalizedScore_ = value; + } + } + /// Gets whether the "normalized_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNormalizedScore { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "normalized_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNormalizedScore() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QaTagResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QaTagResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Tag != other.Tag) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Score, other.Score)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PotentialScore, other.PotentialScore)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NormalizedScore, other.NormalizedScore)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Tag.Length != 0) hash ^= Tag.GetHashCode(); + if (HasScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Score); + if (HasPotentialScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PotentialScore); + if (HasNormalizedScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NormalizedScore); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Tag.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Tag); + } + if (HasScore) { + output.WriteRawTag(17); + output.WriteDouble(Score); + } + if (HasPotentialScore) { + output.WriteRawTag(25); + output.WriteDouble(PotentialScore); + } + if (HasNormalizedScore) { + output.WriteRawTag(33); + output.WriteDouble(NormalizedScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Tag.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Tag); + } + if (HasScore) { + output.WriteRawTag(17); + output.WriteDouble(Score); + } + if (HasPotentialScore) { + output.WriteRawTag(25); + output.WriteDouble(PotentialScore); + } + if (HasNormalizedScore) { + output.WriteRawTag(33); + output.WriteDouble(NormalizedScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Tag.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); + } + if (HasScore) { + size += 1 + 8; + } + if (HasPotentialScore) { + size += 1 + 8; + } + if (HasNormalizedScore) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QaTagResult other) { + if (other == null) { + return; + } + if (other.Tag.Length != 0) { + Tag = other.Tag; + } + if (other.HasScore) { + Score = other.Score; + } + if (other.HasPotentialScore) { + PotentialScore = other.PotentialScore; + } + if (other.HasNormalizedScore) { + NormalizedScore = other.NormalizedScore; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Tag = input.ReadString(); + break; + } + case 17: { + Score = input.ReadDouble(); + break; + } + case 25: { + PotentialScore = input.ReadDouble(); + break; + } + case 33: { + NormalizedScore = input.ReadDouble(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Tag = input.ReadString(); + break; + } + case 17: { + Score = input.ReadDouble(); + break; + } + case 25: { + PotentialScore = input.ReadDouble(); + break; + } + case 33: { + NormalizedScore = input.ReadDouble(); + break; + } + } + } + } + #endif + + } + + /// + /// A scorecard result may have multiple sets of scores from varying sources, + /// one of which becomes the "main" answer above. A ScoreSource represents + /// each individual set of scores. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ScoreSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScoreSource()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScoreSource() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScoreSource(ScoreSource other) : this() { + _hasBits0 = other._hasBits0; + sourceType_ = other.sourceType_; + score_ = other.score_; + potentialScore_ = other.potentialScore_; + normalizedScore_ = other.normalizedScore_; + qaTagResults_ = other.qaTagResults_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScoreSource Clone() { + return new ScoreSource(this); + } + + /// Field number for the "source_type" field. + public const int SourceTypeFieldNumber = 1; + private global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Types.SourceType sourceType_ = global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Types.SourceType.Unspecified; + /// + /// What created the score. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Types.SourceType SourceType { + get { return sourceType_; } + set { + sourceType_ = value; + } + } + + /// Field number for the "score" field. + public const int ScoreFieldNumber = 2; + private readonly static double ScoreDefaultValue = 0D; + + private double score_; + /// + /// The overall numerical score of the result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Score { + get { if ((_hasBits0 & 1) != 0) { return score_; } else { return ScoreDefaultValue; } } + set { + _hasBits0 |= 1; + score_ = value; + } + } + /// Gets whether the "score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasScore { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearScore() { + _hasBits0 &= ~1; + } + + /// Field number for the "potential_score" field. + public const int PotentialScoreFieldNumber = 3; + private readonly static double PotentialScoreDefaultValue = 0D; + + private double potentialScore_; + /// + /// The maximum potential overall score of the scorecard. Any questions + /// answered using `na_value` are excluded from this calculation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double PotentialScore { + get { if ((_hasBits0 & 2) != 0) { return potentialScore_; } else { return PotentialScoreDefaultValue; } } + set { + _hasBits0 |= 2; + potentialScore_ = value; + } + } + /// Gets whether the "potential_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPotentialScore { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "potential_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPotentialScore() { + _hasBits0 &= ~2; + } + + /// Field number for the "normalized_score" field. + public const int NormalizedScoreFieldNumber = 4; + private readonly static double NormalizedScoreDefaultValue = 0D; + + private double normalizedScore_; + /// + /// The normalized score, which is the score divided by the potential score. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double NormalizedScore { + get { if ((_hasBits0 & 4) != 0) { return normalizedScore_; } else { return NormalizedScoreDefaultValue; } } + set { + _hasBits0 |= 4; + normalizedScore_ = value; + } + } + /// Gets whether the "normalized_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNormalizedScore { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "normalized_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNormalizedScore() { + _hasBits0 &= ~4; + } + + /// Field number for the "qa_tag_results" field. + public const int QaTagResultsFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_qaTagResults_codec + = pb::FieldCodec.ForMessage(42, global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.QaTagResult.Parser); + private readonly pbc::RepeatedField qaTagResults_ = new pbc::RepeatedField(); + /// + /// Collection of tags and their scores. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QaTagResults { + get { return qaTagResults_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ScoreSource); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ScoreSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SourceType != other.SourceType) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Score, other.Score)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PotentialScore, other.PotentialScore)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NormalizedScore, other.NormalizedScore)) return false; + if(!qaTagResults_.Equals(other.qaTagResults_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (SourceType != global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Types.SourceType.Unspecified) hash ^= SourceType.GetHashCode(); + if (HasScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Score); + if (HasPotentialScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PotentialScore); + if (HasNormalizedScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NormalizedScore); + hash ^= qaTagResults_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (SourceType != global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Types.SourceType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) SourceType); + } + if (HasScore) { + output.WriteRawTag(17); + output.WriteDouble(Score); + } + if (HasPotentialScore) { + output.WriteRawTag(25); + output.WriteDouble(PotentialScore); + } + if (HasNormalizedScore) { + output.WriteRawTag(33); + output.WriteDouble(NormalizedScore); + } + qaTagResults_.WriteTo(output, _repeated_qaTagResults_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SourceType != global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Types.SourceType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) SourceType); + } + if (HasScore) { + output.WriteRawTag(17); + output.WriteDouble(Score); + } + if (HasPotentialScore) { + output.WriteRawTag(25); + output.WriteDouble(PotentialScore); + } + if (HasNormalizedScore) { + output.WriteRawTag(33); + output.WriteDouble(NormalizedScore); + } + qaTagResults_.WriteTo(ref output, _repeated_qaTagResults_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (SourceType != global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Types.SourceType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SourceType); + } + if (HasScore) { + size += 1 + 8; + } + if (HasPotentialScore) { + size += 1 + 8; + } + if (HasNormalizedScore) { + size += 1 + 8; + } + size += qaTagResults_.CalculateSize(_repeated_qaTagResults_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ScoreSource other) { + if (other == null) { + return; + } + if (other.SourceType != global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Types.SourceType.Unspecified) { + SourceType = other.SourceType; + } + if (other.HasScore) { + Score = other.Score; + } + if (other.HasPotentialScore) { + PotentialScore = other.PotentialScore; + } + if (other.HasNormalizedScore) { + NormalizedScore = other.NormalizedScore; + } + qaTagResults_.Add(other.qaTagResults_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + SourceType = (global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Types.SourceType) input.ReadEnum(); + break; + } + case 17: { + Score = input.ReadDouble(); + break; + } + case 25: { + PotentialScore = input.ReadDouble(); + break; + } + case 33: { + NormalizedScore = input.ReadDouble(); + break; + } + case 42: { + qaTagResults_.AddEntriesFrom(input, _repeated_qaTagResults_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + SourceType = (global::Google.Cloud.ContactCenterInsights.V1.QaScorecardResult.Types.ScoreSource.Types.SourceType) input.ReadEnum(); + break; + } + case 17: { + Score = input.ReadDouble(); + break; + } + case 25: { + PotentialScore = input.ReadDouble(); + break; + } + case 33: { + NormalizedScore = input.ReadDouble(); + break; + } + case 42: { + qaTagResults_.AddEntriesFrom(ref input, _repeated_qaTagResults_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ScoreSource message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// What created the score. + /// + public enum SourceType { + /// + /// Source type is unspecified. + /// + [pbr::OriginalName("SOURCE_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Score is derived only from system-generated answers. + /// + [pbr::OriginalName("SYSTEM_GENERATED_ONLY")] SystemGeneratedOnly = 1, + /// + /// Score is derived from both system-generated answers, and includes + /// any manual edits if they exist. + /// + [pbr::OriginalName("INCLUDES_MANUAL_EDITS")] IncludesManualEdits = 2, + } + + } + #endregion + + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ResourcesResourceNames.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ResourcesResourceNames.g.cs new file mode 100755 index 000000000000..6f9cf1e18285 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ResourcesResourceNames.g.cs @@ -0,0 +1,5061 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gccv = Google.Cloud.ContactCenterInsights.V1; +using sys = System; + +namespace Google.Cloud.ContactCenterInsights.V1 +{ + /// Resource name for the Conversation resource. + public sealed partial class ConversationName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/conversations/{conversation} + /// . + /// + ProjectLocationConversation = 1, + + /// + /// A resource name with pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation} + /// . + /// + ProjectLocationAuthorizedViewSetAuthorizedViewConversation = 2, + } + + private static gax::PathTemplate s_projectLocationConversation = new gax::PathTemplate("projects/{project}/locations/{location}/conversations/{conversation}"); + + private static gax::PathTemplate s_projectLocationAuthorizedViewSetAuthorizedViewConversation = new gax::PathTemplate("projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static ConversationName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new ConversationName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/conversations/{conversation}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static ConversationName FromProjectLocationConversation(string projectId, string locationId, string conversationId) => + new ConversationName(ResourceNameType.ProjectLocationConversation, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId))); + + /// + /// Creates a with the pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AuthorizedViewSet ID. Must not be null or empty. + /// The AuthorizedView ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static ConversationName FromProjectLocationAuthorizedViewSetAuthorizedViewConversation(string projectId, string locationId, string authorizedViewSetId, string authorizedViewId, string conversationId) => + new ConversationName(ResourceNameType.ProjectLocationAuthorizedViewSetAuthorizedViewConversation, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), authorizedViewSetId: gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewSetId, nameof(authorizedViewSetId)), authorizedViewId: gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewId, nameof(authorizedViewId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}. + /// + public static string Format(string projectId, string locationId, string conversationId) => + FormatProjectLocationConversation(projectId, locationId, conversationId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}. + /// + public static string FormatProjectLocationConversation(string projectId, string locationId, string conversationId) => + s_projectLocationConversation.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AuthorizedViewSet ID. Must not be null or empty. + /// The AuthorizedView ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation} + /// . + /// + public static string FormatProjectLocationAuthorizedViewSetAuthorizedViewConversation(string projectId, string locationId, string authorizedViewSetId, string authorizedViewId, string conversationId) => + s_projectLocationAuthorizedViewSetAuthorizedViewConversation.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewSetId, nameof(authorizedViewSetId)), gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewId, nameof(authorizedViewId)), gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation} + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static ConversationName Parse(string conversationName) => Parse(conversationName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation} + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static ConversationName Parse(string conversationName, bool allowUnparsed) => + TryParse(conversationName, allowUnparsed, out ConversationName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation} + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string conversationName, out ConversationName result) => + TryParse(conversationName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation} + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string conversationName, bool allowUnparsed, out ConversationName result) + { + gax::GaxPreconditions.CheckNotNull(conversationName, nameof(conversationName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationConversation.TryParseName(conversationName, out resourceName)) + { + result = FromProjectLocationConversation(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (s_projectLocationAuthorizedViewSetAuthorizedViewConversation.TryParseName(conversationName, out resourceName)) + { + result = FromProjectLocationAuthorizedViewSetAuthorizedViewConversation(resourceName[0], resourceName[1], resourceName[2], resourceName[3], resourceName[4]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(conversationName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private ConversationName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string authorizedViewId = null, string authorizedViewSetId = null, string conversationId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + AuthorizedViewId = authorizedViewId; + AuthorizedViewSetId = authorizedViewSetId; + ConversationId = conversationId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/conversations/{conversation} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + public ConversationName(string projectId, string locationId, string conversationId) : this(ResourceNameType.ProjectLocationConversation, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The AuthorizedView ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string AuthorizedViewId { get; } + + /// + /// The AuthorizedViewSet ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string AuthorizedViewSetId { get; } + + /// + /// The Conversation ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string ConversationId { get; } + + /// + /// The Location ID. May be null, depending on which resource name is contained by this instance. + /// + public string LocationId { get; } + + /// + /// The Project ID. May be null, depending on which resource name is contained by this instance. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationConversation: return s_projectLocationConversation.Expand(ProjectId, LocationId, ConversationId); + case ResourceNameType.ProjectLocationAuthorizedViewSetAuthorizedViewConversation: return s_projectLocationAuthorizedViewSetAuthorizedViewConversation.Expand(ProjectId, LocationId, AuthorizedViewSetId, AuthorizedViewId, ConversationId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as ConversationName); + + /// + public bool Equals(ConversationName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(ConversationName a, ConversationName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(ConversationName a, ConversationName b) => !(a == b); + } + + /// Resource name for the Analysis resource. + public sealed partial class AnalysisName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}. + /// + ProjectLocationConversationAnalysis = 1, + + /// + /// A resource name with pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis} + /// . + /// + ProjectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis = 2, + } + + private static gax::PathTemplate s_projectLocationConversationAnalysis = new gax::PathTemplate("projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}"); + + private static gax::PathTemplate s_projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis = new gax::PathTemplate("projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static AnalysisName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new AnalysisName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Analysis ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static AnalysisName FromProjectLocationConversationAnalysis(string projectId, string locationId, string conversationId, string analysisId) => + new AnalysisName(ResourceNameType.ProjectLocationConversationAnalysis, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), analysisId: gax::GaxPreconditions.CheckNotNullOrEmpty(analysisId, nameof(analysisId))); + + /// + /// Creates a with the pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AuthorizedViewSet ID. Must not be null or empty. + /// The AuthorizedView ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Analysis ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static AnalysisName FromProjectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis(string projectId, string locationId, string authorizedViewSetId, string authorizedViewId, string conversationId, string analysisId) => + new AnalysisName(ResourceNameType.ProjectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), authorizedViewSetId: gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewSetId, nameof(authorizedViewSetId)), authorizedViewId: gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewId, nameof(authorizedViewId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), analysisId: gax::GaxPreconditions.CheckNotNullOrEmpty(analysisId, nameof(analysisId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Analysis ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}. + /// + public static string Format(string projectId, string locationId, string conversationId, string analysisId) => + FormatProjectLocationConversationAnalysis(projectId, locationId, conversationId, analysisId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Analysis ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}. + /// + public static string FormatProjectLocationConversationAnalysis(string projectId, string locationId, string conversationId, string analysisId) => + s_projectLocationConversationAnalysis.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(analysisId, nameof(analysisId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AuthorizedViewSet ID. Must not be null or empty. + /// The AuthorizedView ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Analysis ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis} + /// . + /// + public static string FormatProjectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis(string projectId, string locationId, string authorizedViewSetId, string authorizedViewId, string conversationId, string analysisId) => + s_projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewSetId, nameof(authorizedViewSetId)), gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewId, nameof(authorizedViewId)), gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(analysisId, nameof(analysisId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} + /// + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static AnalysisName Parse(string analysisName) => Parse(analysisName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing an + /// unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} + /// + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static AnalysisName Parse(string analysisName, bool allowUnparsed) => + TryParse(analysisName, allowUnparsed, out AnalysisName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} + /// + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string analysisName, out AnalysisName result) => TryParse(analysisName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} + /// + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/analyses/{analysis} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string analysisName, bool allowUnparsed, out AnalysisName result) + { + gax::GaxPreconditions.CheckNotNull(analysisName, nameof(analysisName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationConversationAnalysis.TryParseName(analysisName, out resourceName)) + { + result = FromProjectLocationConversationAnalysis(resourceName[0], resourceName[1], resourceName[2], resourceName[3]); + return true; + } + if (s_projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis.TryParseName(analysisName, out resourceName)) + { + result = FromProjectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis(resourceName[0], resourceName[1], resourceName[2], resourceName[3], resourceName[4], resourceName[5]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(analysisName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private AnalysisName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string analysisId = null, string authorizedViewId = null, string authorizedViewSetId = null, string conversationId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + AnalysisId = analysisId; + AuthorizedViewId = authorizedViewId; + AuthorizedViewSetId = authorizedViewSetId; + ConversationId = conversationId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Analysis ID. Must not be null or empty. + public AnalysisName(string projectId, string locationId, string conversationId, string analysisId) : this(ResourceNameType.ProjectLocationConversationAnalysis, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), analysisId: gax::GaxPreconditions.CheckNotNullOrEmpty(analysisId, nameof(analysisId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Analysis ID. May be null, depending on which resource name is contained by this instance. + /// + public string AnalysisId { get; } + + /// + /// The AuthorizedView ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string AuthorizedViewId { get; } + + /// + /// The AuthorizedViewSet ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string AuthorizedViewSetId { get; } + + /// + /// The Conversation ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string ConversationId { get; } + + /// + /// The Location ID. May be null, depending on which resource name is contained by this instance. + /// + public string LocationId { get; } + + /// + /// The Project ID. May be null, depending on which resource name is contained by this instance. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationConversationAnalysis: return s_projectLocationConversationAnalysis.Expand(ProjectId, LocationId, ConversationId, AnalysisId); + case ResourceNameType.ProjectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis: return s_projectLocationAuthorizedViewSetAuthorizedViewConversationAnalysis.Expand(ProjectId, LocationId, AuthorizedViewSetId, AuthorizedViewId, ConversationId, AnalysisId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as AnalysisName); + + /// + public bool Equals(AnalysisName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(AnalysisName a, AnalysisName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(AnalysisName a, AnalysisName b) => !(a == b); + } + + /// Resource name for the FeedbackLabel resource. + public sealed partial class FeedbackLabelName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// . + /// + ProjectLocationConversationFeedbackLabel = 1, + + /// + /// A resource name with pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// . + /// + ProjectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel = 2, + } + + private static gax::PathTemplate s_projectLocationConversationFeedbackLabel = new gax::PathTemplate("projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}"); + + private static gax::PathTemplate s_projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel = new gax::PathTemplate("projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static FeedbackLabelName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new FeedbackLabelName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The FeedbackLabel ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static FeedbackLabelName FromProjectLocationConversationFeedbackLabel(string projectId, string locationId, string conversationId, string feedbackLabelId) => + new FeedbackLabelName(ResourceNameType.ProjectLocationConversationFeedbackLabel, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), feedbackLabelId: gax::GaxPreconditions.CheckNotNullOrEmpty(feedbackLabelId, nameof(feedbackLabelId))); + + /// + /// Creates a with the pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AuthorizedViewSet ID. Must not be null or empty. + /// The AuthorizedView ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The FeedbackLabel ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static FeedbackLabelName FromProjectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel(string projectId, string locationId, string authorizedViewSetId, string authorizedViewId, string conversationId, string feedbackLabelId) => + new FeedbackLabelName(ResourceNameType.ProjectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), authorizedViewSetId: gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewSetId, nameof(authorizedViewSetId)), authorizedViewId: gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewId, nameof(authorizedViewId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), feedbackLabelId: gax::GaxPreconditions.CheckNotNullOrEmpty(feedbackLabelId, nameof(feedbackLabelId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The FeedbackLabel ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}. + /// + public static string Format(string projectId, string locationId, string conversationId, string feedbackLabelId) => + FormatProjectLocationConversationFeedbackLabel(projectId, locationId, conversationId, feedbackLabelId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The FeedbackLabel ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}. + /// + public static string FormatProjectLocationConversationFeedbackLabel(string projectId, string locationId, string conversationId, string feedbackLabelId) => + s_projectLocationConversationFeedbackLabel.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(feedbackLabelId, nameof(feedbackLabelId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AuthorizedViewSet ID. Must not be null or empty. + /// The AuthorizedView ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The FeedbackLabel ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// . + /// + public static string FormatProjectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel(string projectId, string locationId, string authorizedViewSetId, string authorizedViewId, string conversationId, string feedbackLabelId) => + s_projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewSetId, nameof(authorizedViewSetId)), gax::GaxPreconditions.CheckNotNullOrEmpty(authorizedViewId, nameof(authorizedViewId)), gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(feedbackLabelId, nameof(feedbackLabelId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static FeedbackLabelName Parse(string feedbackLabelName) => Parse(feedbackLabelName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static FeedbackLabelName Parse(string feedbackLabelName, bool allowUnparsed) => + TryParse(feedbackLabelName, allowUnparsed, out FeedbackLabelName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string feedbackLabelName, out FeedbackLabelName result) => + TryParse(feedbackLabelName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// + /// + /// + /// + /// + /// projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string feedbackLabelName, bool allowUnparsed, out FeedbackLabelName result) + { + gax::GaxPreconditions.CheckNotNull(feedbackLabelName, nameof(feedbackLabelName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationConversationFeedbackLabel.TryParseName(feedbackLabelName, out resourceName)) + { + result = FromProjectLocationConversationFeedbackLabel(resourceName[0], resourceName[1], resourceName[2], resourceName[3]); + return true; + } + if (s_projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel.TryParseName(feedbackLabelName, out resourceName)) + { + result = FromProjectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel(resourceName[0], resourceName[1], resourceName[2], resourceName[3], resourceName[4], resourceName[5]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(feedbackLabelName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private FeedbackLabelName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string authorizedViewId = null, string authorizedViewSetId = null, string conversationId = null, string feedbackLabelId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + AuthorizedViewId = authorizedViewId; + AuthorizedViewSetId = authorizedViewSetId; + ConversationId = conversationId; + FeedbackLabelId = feedbackLabelId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The FeedbackLabel ID. Must not be null or empty. + public FeedbackLabelName(string projectId, string locationId, string conversationId, string feedbackLabelId) : this(ResourceNameType.ProjectLocationConversationFeedbackLabel, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), feedbackLabelId: gax::GaxPreconditions.CheckNotNullOrEmpty(feedbackLabelId, nameof(feedbackLabelId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The AuthorizedView ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string AuthorizedViewId { get; } + + /// + /// The AuthorizedViewSet ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string AuthorizedViewSetId { get; } + + /// + /// The Conversation ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string ConversationId { get; } + + /// + /// The FeedbackLabel ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string FeedbackLabelId { get; } + + /// + /// The Location ID. May be null, depending on which resource name is contained by this instance. + /// + public string LocationId { get; } + + /// + /// The Project ID. May be null, depending on which resource name is contained by this instance. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationConversationFeedbackLabel: return s_projectLocationConversationFeedbackLabel.Expand(ProjectId, LocationId, ConversationId, FeedbackLabelId); + case ResourceNameType.ProjectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel: return s_projectLocationAuthorizedViewSetAuthorizedViewConversationFeedbackLabel.Expand(ProjectId, LocationId, AuthorizedViewSetId, AuthorizedViewId, ConversationId, FeedbackLabelId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as FeedbackLabelName); + + /// + public bool Equals(FeedbackLabelName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(FeedbackLabelName a, FeedbackLabelName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(FeedbackLabelName a, FeedbackLabelName b) => !(a == b); + } + + /// Resource name for the IssueModel resource. + public sealed partial class IssueModelName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/issueModels/{issue_model}. + /// + ProjectLocationIssueModel = 1, + } + + private static gax::PathTemplate s_projectLocationIssueModel = new gax::PathTemplate("projects/{project}/locations/{location}/issueModels/{issue_model}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static IssueModelName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new IssueModelName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The IssueModel ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static IssueModelName FromProjectLocationIssueModel(string projectId, string locationId, string issueModelId) => + new IssueModelName(ResourceNameType.ProjectLocationIssueModel, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), issueModelId: gax::GaxPreconditions.CheckNotNullOrEmpty(issueModelId, nameof(issueModelId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The IssueModel ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}. + /// + public static string Format(string projectId, string locationId, string issueModelId) => + FormatProjectLocationIssueModel(projectId, locationId, issueModelId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The IssueModel ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}. + /// + public static string FormatProjectLocationIssueModel(string projectId, string locationId, string issueModelId) => + s_projectLocationIssueModel.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(issueModelId, nameof(issueModelId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/issueModels/{issue_model} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static IssueModelName Parse(string issueModelName) => Parse(issueModelName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing + /// an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/issueModels/{issue_model} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static IssueModelName Parse(string issueModelName, bool allowUnparsed) => + TryParse(issueModelName, allowUnparsed, out IssueModelName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/issueModels/{issue_model} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string issueModelName, out IssueModelName result) => + TryParse(issueModelName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/issueModels/{issue_model} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string issueModelName, bool allowUnparsed, out IssueModelName result) + { + gax::GaxPreconditions.CheckNotNull(issueModelName, nameof(issueModelName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationIssueModel.TryParseName(issueModelName, out resourceName)) + { + result = FromProjectLocationIssueModel(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(issueModelName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private IssueModelName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string issueModelId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + IssueModelId = issueModelId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The IssueModel ID. Must not be null or empty. + public IssueModelName(string projectId, string locationId, string issueModelId) : this(ResourceNameType.ProjectLocationIssueModel, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), issueModelId: gax::GaxPreconditions.CheckNotNullOrEmpty(issueModelId, nameof(issueModelId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The IssueModel ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string IssueModelId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationIssueModel: return s_projectLocationIssueModel.Expand(ProjectId, LocationId, IssueModelId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as IssueModelName); + + /// + public bool Equals(IssueModelName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(IssueModelName a, IssueModelName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(IssueModelName a, IssueModelName b) => !(a == b); + } + + /// Resource name for the Issue resource. + public sealed partial class IssueName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}. + /// + ProjectLocationIssueModelIssue = 1, + } + + private static gax::PathTemplate s_projectLocationIssueModelIssue = new gax::PathTemplate("projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided . + /// + public static IssueName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new IssueName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The IssueModel ID. Must not be null or empty. + /// The Issue ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static IssueName FromProjectLocationIssueModelIssue(string projectId, string locationId, string issueModelId, string issueId) => + new IssueName(ResourceNameType.ProjectLocationIssueModelIssue, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), issueModelId: gax::GaxPreconditions.CheckNotNullOrEmpty(issueModelId, nameof(issueModelId)), issueId: gax::GaxPreconditions.CheckNotNullOrEmpty(issueId, nameof(issueId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The IssueModel ID. Must not be null or empty. + /// The Issue ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}. + /// + public static string Format(string projectId, string locationId, string issueModelId, string issueId) => + FormatProjectLocationIssueModelIssue(projectId, locationId, issueModelId, issueId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The IssueModel ID. Must not be null or empty. + /// The Issue ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}. + /// + public static string FormatProjectLocationIssueModelIssue(string projectId, string locationId, string issueModelId, string issueId) => + s_projectLocationIssueModelIssue.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(issueModelId, nameof(issueModelId)), gax::GaxPreconditions.CheckNotNullOrEmpty(issueId, nameof(issueId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static IssueName Parse(string issueName) => Parse(issueName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing an + /// unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static IssueName Parse(string issueName, bool allowUnparsed) => + TryParse(issueName, allowUnparsed, out IssueName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string issueName, out IssueName result) => TryParse(issueName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string issueName, bool allowUnparsed, out IssueName result) + { + gax::GaxPreconditions.CheckNotNull(issueName, nameof(issueName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationIssueModelIssue.TryParseName(issueName, out resourceName)) + { + result = FromProjectLocationIssueModelIssue(resourceName[0], resourceName[1], resourceName[2], resourceName[3]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(issueName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private IssueName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string issueId = null, string issueModelId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + IssueId = issueId; + IssueModelId = issueModelId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The IssueModel ID. Must not be null or empty. + /// The Issue ID. Must not be null or empty. + public IssueName(string projectId, string locationId, string issueModelId, string issueId) : this(ResourceNameType.ProjectLocationIssueModelIssue, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), issueModelId: gax::GaxPreconditions.CheckNotNullOrEmpty(issueModelId, nameof(issueModelId)), issueId: gax::GaxPreconditions.CheckNotNullOrEmpty(issueId, nameof(issueId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Issue ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string IssueId { get; } + + /// + /// The IssueModel ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string IssueModelId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationIssueModelIssue: return s_projectLocationIssueModelIssue.Expand(ProjectId, LocationId, IssueModelId, IssueId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as IssueName); + + /// + public bool Equals(IssueName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(IssueName a, IssueName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(IssueName a, IssueName b) => !(a == b); + } + + /// Resource name for the PhraseMatcher resource. + public sealed partial class PhraseMatcherName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} + /// . + /// + ProjectLocationPhraseMatcher = 1, + } + + private static gax::PathTemplate s_projectLocationPhraseMatcher = new gax::PathTemplate("projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static PhraseMatcherName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new PhraseMatcherName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The PhraseMatcher ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static PhraseMatcherName FromProjectLocationPhraseMatcher(string projectId, string locationId, string phraseMatcherId) => + new PhraseMatcherName(ResourceNameType.ProjectLocationPhraseMatcher, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), phraseMatcherId: gax::GaxPreconditions.CheckNotNullOrEmpty(phraseMatcherId, nameof(phraseMatcherId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The PhraseMatcher ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}. + /// + public static string Format(string projectId, string locationId, string phraseMatcherId) => + FormatProjectLocationPhraseMatcher(projectId, locationId, phraseMatcherId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The PhraseMatcher ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}. + /// + public static string FormatProjectLocationPhraseMatcher(string projectId, string locationId, string phraseMatcherId) => + s_projectLocationPhraseMatcher.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(phraseMatcherId, nameof(phraseMatcherId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static PhraseMatcherName Parse(string phraseMatcherName) => Parse(phraseMatcherName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static PhraseMatcherName Parse(string phraseMatcherName, bool allowUnparsed) => + TryParse(phraseMatcherName, allowUnparsed, out PhraseMatcherName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string phraseMatcherName, out PhraseMatcherName result) => + TryParse(phraseMatcherName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string phraseMatcherName, bool allowUnparsed, out PhraseMatcherName result) + { + gax::GaxPreconditions.CheckNotNull(phraseMatcherName, nameof(phraseMatcherName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationPhraseMatcher.TryParseName(phraseMatcherName, out resourceName)) + { + result = FromProjectLocationPhraseMatcher(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(phraseMatcherName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private PhraseMatcherName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string phraseMatcherId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + PhraseMatcherId = phraseMatcherId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The PhraseMatcher ID. Must not be null or empty. + public PhraseMatcherName(string projectId, string locationId, string phraseMatcherId) : this(ResourceNameType.ProjectLocationPhraseMatcher, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), phraseMatcherId: gax::GaxPreconditions.CheckNotNullOrEmpty(phraseMatcherId, nameof(phraseMatcherId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The PhraseMatcher ID. Will not be null, unless this instance contains an unparsed resource + /// name. + /// + public string PhraseMatcherId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationPhraseMatcher: return s_projectLocationPhraseMatcher.Expand(ProjectId, LocationId, PhraseMatcherId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as PhraseMatcherName); + + /// + public bool Equals(PhraseMatcherName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(PhraseMatcherName a, PhraseMatcherName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(PhraseMatcherName a, PhraseMatcherName b) => !(a == b); + } + + /// Resource name for the Settings resource. + public sealed partial class SettingsName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// A resource name with pattern projects/{project}/locations/{location}/settings. + ProjectLocation = 1, + } + + private static gax::PathTemplate s_projectLocation = new gax::PathTemplate("projects/{project}/locations/{location}/settings"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static SettingsName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new SettingsName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern projects/{project}/locations/{location}/settings + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static SettingsName FromProjectLocation(string projectId, string locationId) => + new SettingsName(ResourceNameType.ProjectLocation, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/settings. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/settings. + /// + public static string Format(string projectId, string locationId) => FormatProjectLocation(projectId, locationId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/settings. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/settings. + /// + public static string FormatProjectLocation(string projectId, string locationId) => + s_projectLocation.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/settings + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static SettingsName Parse(string settingsName) => Parse(settingsName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing an + /// unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/settings + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static SettingsName Parse(string settingsName, bool allowUnparsed) => + TryParse(settingsName, allowUnparsed, out SettingsName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/settings + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string settingsName, out SettingsName result) => TryParse(settingsName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/settings + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string settingsName, bool allowUnparsed, out SettingsName result) + { + gax::GaxPreconditions.CheckNotNull(settingsName, nameof(settingsName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocation.TryParseName(settingsName, out resourceName)) + { + result = FromProjectLocation(resourceName[0], resourceName[1]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(settingsName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private SettingsName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/settings + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + public SettingsName(string projectId, string locationId) : this(ResourceNameType.ProjectLocation, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocation: return s_projectLocation.Expand(ProjectId, LocationId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as SettingsName); + + /// + public bool Equals(SettingsName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(SettingsName a, SettingsName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(SettingsName a, SettingsName b) => !(a == b); + } + + /// Resource name for the AnalysisRule resource. + public sealed partial class AnalysisRuleName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/analysisRules/{analysis_rule} + /// . + /// + ProjectLocationAnalysisRule = 1, + } + + private static gax::PathTemplate s_projectLocationAnalysisRule = new gax::PathTemplate("projects/{project}/locations/{location}/analysisRules/{analysis_rule}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static AnalysisRuleName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new AnalysisRuleName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/analysisRules/{analysis_rule}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AnalysisRule ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static AnalysisRuleName FromProjectLocationAnalysisRule(string projectId, string locationId, string analysisRuleId) => + new AnalysisRuleName(ResourceNameType.ProjectLocationAnalysisRule, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), analysisRuleId: gax::GaxPreconditions.CheckNotNullOrEmpty(analysisRuleId, nameof(analysisRuleId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/analysisRules/{analysis_rule}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AnalysisRule ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/analysisRules/{analysis_rule}. + /// + public static string Format(string projectId, string locationId, string analysisRuleId) => + FormatProjectLocationAnalysisRule(projectId, locationId, analysisRuleId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/analysisRules/{analysis_rule}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AnalysisRule ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/analysisRules/{analysis_rule}. + /// + public static string FormatProjectLocationAnalysisRule(string projectId, string locationId, string analysisRuleId) => + s_projectLocationAnalysisRule.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(analysisRuleId, nameof(analysisRuleId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/analysisRules/{analysis_rule} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static AnalysisRuleName Parse(string analysisRuleName) => Parse(analysisRuleName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/analysisRules/{analysis_rule} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static AnalysisRuleName Parse(string analysisRuleName, bool allowUnparsed) => + TryParse(analysisRuleName, allowUnparsed, out AnalysisRuleName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/analysisRules/{analysis_rule} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string analysisRuleName, out AnalysisRuleName result) => + TryParse(analysisRuleName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/analysisRules/{analysis_rule} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string analysisRuleName, bool allowUnparsed, out AnalysisRuleName result) + { + gax::GaxPreconditions.CheckNotNull(analysisRuleName, nameof(analysisRuleName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationAnalysisRule.TryParseName(analysisRuleName, out resourceName)) + { + result = FromProjectLocationAnalysisRule(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(analysisRuleName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private AnalysisRuleName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string analysisRuleId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + AnalysisRuleId = analysisRuleId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/analysisRules/{analysis_rule} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AnalysisRule ID. Must not be null or empty. + public AnalysisRuleName(string projectId, string locationId, string analysisRuleId) : this(ResourceNameType.ProjectLocationAnalysisRule, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), analysisRuleId: gax::GaxPreconditions.CheckNotNullOrEmpty(analysisRuleId, nameof(analysisRuleId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The AnalysisRule ID. Will not be null, unless this instance contains an unparsed resource + /// name. + /// + public string AnalysisRuleId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationAnalysisRule: return s_projectLocationAnalysisRule.Expand(ProjectId, LocationId, AnalysisRuleId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as AnalysisRuleName); + + /// + public bool Equals(AnalysisRuleName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(AnalysisRuleName a, AnalysisRuleName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(AnalysisRuleName a, AnalysisRuleName b) => !(a == b); + } + + /// Resource name for the EncryptionSpec resource. + public sealed partial class EncryptionSpecName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/encryptionSpec. + /// + ProjectLocation = 1, + } + + private static gax::PathTemplate s_projectLocation = new gax::PathTemplate("projects/{project}/locations/{location}/encryptionSpec"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static EncryptionSpecName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new EncryptionSpecName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/encryptionSpec. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static EncryptionSpecName FromProjectLocation(string projectId, string locationId) => + new EncryptionSpecName(ResourceNameType.ProjectLocation, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/encryptionSpec. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/encryptionSpec. + /// + public static string Format(string projectId, string locationId) => FormatProjectLocation(projectId, locationId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/encryptionSpec. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/encryptionSpec. + /// + public static string FormatProjectLocation(string projectId, string locationId) => + s_projectLocation.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/encryptionSpec + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static EncryptionSpecName Parse(string encryptionSpecName) => Parse(encryptionSpecName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/encryptionSpec + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static EncryptionSpecName Parse(string encryptionSpecName, bool allowUnparsed) => + TryParse(encryptionSpecName, allowUnparsed, out EncryptionSpecName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/encryptionSpec + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string encryptionSpecName, out EncryptionSpecName result) => + TryParse(encryptionSpecName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/encryptionSpec + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string encryptionSpecName, bool allowUnparsed, out EncryptionSpecName result) + { + gax::GaxPreconditions.CheckNotNull(encryptionSpecName, nameof(encryptionSpecName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocation.TryParseName(encryptionSpecName, out resourceName)) + { + result = FromProjectLocation(resourceName[0], resourceName[1]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(encryptionSpecName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private EncryptionSpecName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/encryptionSpec + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + public EncryptionSpecName(string projectId, string locationId) : this(ResourceNameType.ProjectLocation, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocation: return s_projectLocation.Expand(ProjectId, LocationId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as EncryptionSpecName); + + /// + public bool Equals(EncryptionSpecName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(EncryptionSpecName a, EncryptionSpecName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(EncryptionSpecName a, EncryptionSpecName b) => !(a == b); + } + + /// Resource name for the View resource. + public sealed partial class ViewName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/views/{view}. + /// + ProjectLocationView = 1, + } + + private static gax::PathTemplate s_projectLocationView = new gax::PathTemplate("projects/{project}/locations/{location}/views/{view}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided . + /// + public static ViewName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new ViewName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern projects/{project}/locations/{location}/views/{view} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The View ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static ViewName FromProjectLocationView(string projectId, string locationId, string viewId) => + new ViewName(ResourceNameType.ProjectLocationView, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), viewId: gax::GaxPreconditions.CheckNotNullOrEmpty(viewId, nameof(viewId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/views/{view}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The View ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/views/{view}. + /// + public static string Format(string projectId, string locationId, string viewId) => + FormatProjectLocationView(projectId, locationId, viewId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/views/{view}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The View ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/views/{view}. + /// + public static string FormatProjectLocationView(string projectId, string locationId, string viewId) => + s_projectLocationView.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(viewId, nameof(viewId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/views/{view} + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static ViewName Parse(string viewName) => Parse(viewName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing an + /// unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/views/{view} + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static ViewName Parse(string viewName, bool allowUnparsed) => + TryParse(viewName, allowUnparsed, out ViewName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// Tries to parse the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/views/{view} + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string viewName, out ViewName result) => TryParse(viewName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/views/{view} + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string viewName, bool allowUnparsed, out ViewName result) + { + gax::GaxPreconditions.CheckNotNull(viewName, nameof(viewName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationView.TryParseName(viewName, out resourceName)) + { + result = FromProjectLocationView(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(viewName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private ViewName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string projectId = null, string viewId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + ProjectId = projectId; + ViewId = viewId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/views/{view} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The View ID. Must not be null or empty. + public ViewName(string projectId, string locationId, string viewId) : this(ResourceNameType.ProjectLocationView, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), viewId: gax::GaxPreconditions.CheckNotNullOrEmpty(viewId, nameof(viewId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// + /// The View ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ViewId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationView: return s_projectLocationView.Expand(ProjectId, LocationId, ViewId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as ViewName); + + /// + public bool Equals(ViewName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(ViewName a, ViewName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(ViewName a, ViewName b) => !(a == b); + } + + /// Resource name for the QaQuestion resource. + public sealed partial class QaQuestionName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// . + /// + ProjectLocationQaScorecardRevisionQaQuestion = 1, + } + + private static gax::PathTemplate s_projectLocationQaScorecardRevisionQaQuestion = new gax::PathTemplate("projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static QaQuestionName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new QaQuestionName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + /// The Revision ID. Must not be null or empty. + /// The QaQuestion ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static QaQuestionName FromProjectLocationQaScorecardRevisionQaQuestion(string projectId, string locationId, string qaScorecardId, string revisionId, string qaQuestionId) => + new QaQuestionName(ResourceNameType.ProjectLocationQaScorecardRevisionQaQuestion, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), qaScorecardId: gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardId, nameof(qaScorecardId)), revisionId: gax::GaxPreconditions.CheckNotNullOrEmpty(revisionId, nameof(revisionId)), qaQuestionId: gax::GaxPreconditions.CheckNotNullOrEmpty(qaQuestionId, nameof(qaQuestionId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + /// The Revision ID. Must not be null or empty. + /// The QaQuestion ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// . + /// + public static string Format(string projectId, string locationId, string qaScorecardId, string revisionId, string qaQuestionId) => + FormatProjectLocationQaScorecardRevisionQaQuestion(projectId, locationId, qaScorecardId, revisionId, qaQuestionId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + /// The Revision ID. Must not be null or empty. + /// The QaQuestion ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// . + /// + public static string FormatProjectLocationQaScorecardRevisionQaQuestion(string projectId, string locationId, string qaScorecardId, string revisionId, string qaQuestionId) => + s_projectLocationQaScorecardRevisionQaQuestion.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardId, nameof(qaScorecardId)), gax::GaxPreconditions.CheckNotNullOrEmpty(revisionId, nameof(revisionId)), gax::GaxPreconditions.CheckNotNullOrEmpty(qaQuestionId, nameof(qaQuestionId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static QaQuestionName Parse(string qaQuestionName) => Parse(qaQuestionName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing + /// an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static QaQuestionName Parse(string qaQuestionName, bool allowUnparsed) => + TryParse(qaQuestionName, allowUnparsed, out QaQuestionName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string qaQuestionName, out QaQuestionName result) => + TryParse(qaQuestionName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string qaQuestionName, bool allowUnparsed, out QaQuestionName result) + { + gax::GaxPreconditions.CheckNotNull(qaQuestionName, nameof(qaQuestionName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationQaScorecardRevisionQaQuestion.TryParseName(qaQuestionName, out resourceName)) + { + result = FromProjectLocationQaScorecardRevisionQaQuestion(resourceName[0], resourceName[1], resourceName[2], resourceName[3], resourceName[4]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(qaQuestionName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private QaQuestionName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string projectId = null, string qaQuestionId = null, string qaScorecardId = null, string revisionId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + ProjectId = projectId; + QaQuestionId = qaQuestionId; + QaScorecardId = qaScorecardId; + RevisionId = revisionId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + /// The Revision ID. Must not be null or empty. + /// The QaQuestion ID. Must not be null or empty. + public QaQuestionName(string projectId, string locationId, string qaScorecardId, string revisionId, string qaQuestionId) : this(ResourceNameType.ProjectLocationQaScorecardRevisionQaQuestion, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), qaScorecardId: gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardId, nameof(qaScorecardId)), revisionId: gax::GaxPreconditions.CheckNotNullOrEmpty(revisionId, nameof(revisionId)), qaQuestionId: gax::GaxPreconditions.CheckNotNullOrEmpty(qaQuestionId, nameof(qaQuestionId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// + /// The QaQuestion ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string QaQuestionId { get; } + + /// + /// The QaScorecard ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string QaScorecardId { get; } + + /// + /// The Revision ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string RevisionId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationQaScorecardRevisionQaQuestion: return s_projectLocationQaScorecardRevisionQaQuestion.Expand(ProjectId, LocationId, QaScorecardId, RevisionId, QaQuestionId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as QaQuestionName); + + /// + public bool Equals(QaQuestionName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(QaQuestionName a, QaQuestionName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(QaQuestionName a, QaQuestionName b) => !(a == b); + } + + /// Resource name for the QaScorecard resource. + public sealed partial class QaScorecardName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}. + /// + ProjectLocationQaScorecard = 1, + } + + private static gax::PathTemplate s_projectLocationQaScorecard = new gax::PathTemplate("projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static QaScorecardName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new QaScorecardName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static QaScorecardName FromProjectLocationQaScorecard(string projectId, string locationId, string qaScorecardId) => + new QaScorecardName(ResourceNameType.ProjectLocationQaScorecard, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), qaScorecardId: gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardId, nameof(qaScorecardId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}. + /// + public static string Format(string projectId, string locationId, string qaScorecardId) => + FormatProjectLocationQaScorecard(projectId, locationId, qaScorecardId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}. + /// + public static string FormatProjectLocationQaScorecard(string projectId, string locationId, string qaScorecardId) => + s_projectLocationQaScorecard.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardId, nameof(qaScorecardId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static QaScorecardName Parse(string qaScorecardName) => Parse(qaScorecardName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing + /// an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static QaScorecardName Parse(string qaScorecardName, bool allowUnparsed) => + TryParse(qaScorecardName, allowUnparsed, out QaScorecardName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string qaScorecardName, out QaScorecardName result) => + TryParse(qaScorecardName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string qaScorecardName, bool allowUnparsed, out QaScorecardName result) + { + gax::GaxPreconditions.CheckNotNull(qaScorecardName, nameof(qaScorecardName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationQaScorecard.TryParseName(qaScorecardName, out resourceName)) + { + result = FromProjectLocationQaScorecard(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(qaScorecardName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private QaScorecardName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string projectId = null, string qaScorecardId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + ProjectId = projectId; + QaScorecardId = qaScorecardId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + public QaScorecardName(string projectId, string locationId, string qaScorecardId) : this(ResourceNameType.ProjectLocationQaScorecard, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), qaScorecardId: gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardId, nameof(qaScorecardId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// + /// The QaScorecard ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string QaScorecardId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationQaScorecard: return s_projectLocationQaScorecard.Expand(ProjectId, LocationId, QaScorecardId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as QaScorecardName); + + /// + public bool Equals(QaScorecardName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(QaScorecardName a, QaScorecardName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(QaScorecardName a, QaScorecardName b) => !(a == b); + } + + /// Resource name for the QaScorecardRevision resource. + public sealed partial class QaScorecardRevisionName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}. + /// + ProjectLocationQaScorecardRevision = 1, + } + + private static gax::PathTemplate s_projectLocationQaScorecardRevision = new gax::PathTemplate("projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static QaScorecardRevisionName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new QaScorecardRevisionName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + /// The Revision ID. Must not be null or empty. + /// + /// A new instance of constructed from the provided ids. + /// + public static QaScorecardRevisionName FromProjectLocationQaScorecardRevision(string projectId, string locationId, string qaScorecardId, string revisionId) => + new QaScorecardRevisionName(ResourceNameType.ProjectLocationQaScorecardRevision, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), qaScorecardId: gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardId, nameof(qaScorecardId)), revisionId: gax::GaxPreconditions.CheckNotNullOrEmpty(revisionId, nameof(revisionId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + /// The Revision ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}. + /// + public static string Format(string projectId, string locationId, string qaScorecardId, string revisionId) => + FormatProjectLocationQaScorecardRevision(projectId, locationId, qaScorecardId, revisionId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + /// The Revision ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}. + /// + public static string FormatProjectLocationQaScorecardRevision(string projectId, string locationId, string qaScorecardId, string revisionId) => + s_projectLocationQaScorecardRevision.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardId, nameof(qaScorecardId)), gax::GaxPreconditions.CheckNotNullOrEmpty(revisionId, nameof(revisionId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static QaScorecardRevisionName Parse(string qaScorecardRevisionName) => Parse(qaScorecardRevisionName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static QaScorecardRevisionName Parse(string qaScorecardRevisionName, bool allowUnparsed) => + TryParse(qaScorecardRevisionName, allowUnparsed, out QaScorecardRevisionName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing + /// failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string qaScorecardRevisionName, out QaScorecardRevisionName result) => + TryParse(qaScorecardRevisionName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing + /// failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string qaScorecardRevisionName, bool allowUnparsed, out QaScorecardRevisionName result) + { + gax::GaxPreconditions.CheckNotNull(qaScorecardRevisionName, nameof(qaScorecardRevisionName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationQaScorecardRevision.TryParseName(qaScorecardRevisionName, out resourceName)) + { + result = FromProjectLocationQaScorecardRevision(resourceName[0], resourceName[1], resourceName[2], resourceName[3]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(qaScorecardRevisionName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private QaScorecardRevisionName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string projectId = null, string qaScorecardId = null, string revisionId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + ProjectId = projectId; + QaScorecardId = qaScorecardId; + RevisionId = revisionId; + } + + /// + /// Constructs a new instance of a class from the component parts of + /// pattern projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecard ID. Must not be null or empty. + /// The Revision ID. Must not be null or empty. + public QaScorecardRevisionName(string projectId, string locationId, string qaScorecardId, string revisionId) : this(ResourceNameType.ProjectLocationQaScorecardRevision, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), qaScorecardId: gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardId, nameof(qaScorecardId)), revisionId: gax::GaxPreconditions.CheckNotNullOrEmpty(revisionId, nameof(revisionId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// + /// The QaScorecard ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string QaScorecardId { get; } + + /// + /// The Revision ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string RevisionId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationQaScorecardRevision: return s_projectLocationQaScorecardRevision.Expand(ProjectId, LocationId, QaScorecardId, RevisionId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as QaScorecardRevisionName); + + /// + public bool Equals(QaScorecardRevisionName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(QaScorecardRevisionName a, QaScorecardRevisionName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(QaScorecardRevisionName a, QaScorecardRevisionName b) => !(a == b); + } + + /// Resource name for the QaScorecardResult resource. + public sealed partial class QaScorecardResultName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}. + /// + ProjectLocationQaScorecardResult = 1, + } + + private static gax::PathTemplate s_projectLocationQaScorecardResult = new gax::PathTemplate("projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static QaScorecardResultName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new QaScorecardResultName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecardResult ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static QaScorecardResultName FromProjectLocationQaScorecardResult(string projectId, string locationId, string qaScorecardResultId) => + new QaScorecardResultName(ResourceNameType.ProjectLocationQaScorecardResult, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), qaScorecardResultId: gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardResultId, nameof(qaScorecardResultId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecardResult ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}. + /// + public static string Format(string projectId, string locationId, string qaScorecardResultId) => + FormatProjectLocationQaScorecardResult(projectId, locationId, qaScorecardResultId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecardResult ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}. + /// + public static string FormatProjectLocationQaScorecardResult(string projectId, string locationId, string qaScorecardResultId) => + s_projectLocationQaScorecardResult.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardResultId, nameof(qaScorecardResultId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static QaScorecardResultName Parse(string qaScorecardResultName) => Parse(qaScorecardResultName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static QaScorecardResultName Parse(string qaScorecardResultName, bool allowUnparsed) => + TryParse(qaScorecardResultName, allowUnparsed, out QaScorecardResultName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string qaScorecardResultName, out QaScorecardResultName result) => + TryParse(qaScorecardResultName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string qaScorecardResultName, bool allowUnparsed, out QaScorecardResultName result) + { + gax::GaxPreconditions.CheckNotNull(qaScorecardResultName, nameof(qaScorecardResultName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationQaScorecardResult.TryParseName(qaScorecardResultName, out resourceName)) + { + result = FromProjectLocationQaScorecardResult(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(qaScorecardResultName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private QaScorecardResultName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string projectId = null, string qaScorecardResultId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + ProjectId = projectId; + QaScorecardResultId = qaScorecardResultId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The QaScorecardResult ID. Must not be null or empty. + public QaScorecardResultName(string projectId, string locationId, string qaScorecardResultId) : this(ResourceNameType.ProjectLocationQaScorecardResult, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), qaScorecardResultId: gax::GaxPreconditions.CheckNotNullOrEmpty(qaScorecardResultId, nameof(qaScorecardResultId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// + /// The QaScorecardResult ID. Will not be null, unless this instance contains an unparsed resource + /// name. + /// + public string QaScorecardResultId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationQaScorecardResult: return s_projectLocationQaScorecardResult.Expand(ProjectId, LocationId, QaScorecardResultId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as QaScorecardResultName); + + /// + public bool Equals(QaScorecardResultName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(QaScorecardResultName a, QaScorecardResultName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(QaScorecardResultName a, QaScorecardResultName b) => !(a == b); + } + + /// Resource name for the ConversationProfile resource. + public sealed partial class ConversationProfileName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}. + /// + ProjectLocationConversationProfile = 1, + } + + private static gax::PathTemplate s_projectLocationConversationProfile = new gax::PathTemplate("projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static ConversationProfileName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new ConversationProfileName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The ConversationProfile ID. Must not be null or empty. + /// + /// + /// A new instance of constructed from the provided ids. + /// + public static ConversationProfileName FromProjectLocationConversationProfile(string projectId, string locationId, string conversationProfileId) => + new ConversationProfileName(ResourceNameType.ProjectLocationConversationProfile, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), conversationProfileId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationProfileId, nameof(conversationProfileId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The ConversationProfile ID. Must not be null or empty. + /// + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}. + /// + public static string Format(string projectId, string locationId, string conversationProfileId) => + FormatProjectLocationConversationProfile(projectId, locationId, conversationProfileId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The ConversationProfile ID. Must not be null or empty. + /// + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}. + /// + public static string FormatProjectLocationConversationProfile(string projectId, string locationId, string conversationProfileId) => + s_projectLocationConversationProfile.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(conversationProfileId, nameof(conversationProfileId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static ConversationProfileName Parse(string conversationProfileName) => Parse(conversationProfileName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static ConversationProfileName Parse(string conversationProfileName, bool allowUnparsed) => + TryParse(conversationProfileName, allowUnparsed, out ConversationProfileName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing + /// failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string conversationProfileName, out ConversationProfileName result) => + TryParse(conversationProfileName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing + /// failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string conversationProfileName, bool allowUnparsed, out ConversationProfileName result) + { + gax::GaxPreconditions.CheckNotNull(conversationProfileName, nameof(conversationProfileName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationConversationProfile.TryParseName(conversationProfileName, out resourceName)) + { + result = FromProjectLocationConversationProfile(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(conversationProfileName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private ConversationProfileName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string conversationProfileId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + ConversationProfileId = conversationProfileId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of + /// pattern projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The ConversationProfile ID. Must not be null or empty. + /// + public ConversationProfileName(string projectId, string locationId, string conversationProfileId) : this(ResourceNameType.ProjectLocationConversationProfile, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), conversationProfileId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationProfileId, nameof(conversationProfileId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The ConversationProfile ID. Will not be null, unless this instance contains an unparsed + /// resource name. + /// + public string ConversationProfileId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationConversationProfile: return s_projectLocationConversationProfile.Expand(ProjectId, LocationId, ConversationProfileId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as ConversationProfileName); + + /// + public bool Equals(ConversationProfileName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(ConversationProfileName a, ConversationProfileName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(ConversationProfileName a, ConversationProfileName b) => !(a == b); + } + + /// Resource name for the Participant resource. + public sealed partial class ParticipantName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// projects/{project}/conversations/{conversation}/participants/{participant}. + /// + ProjectConversationParticipant = 1, + + /// + /// A resource name with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}. + /// + ProjectLocationConversationParticipant = 2, + } + + private static gax::PathTemplate s_projectConversationParticipant = new gax::PathTemplate("projects/{project}/conversations/{conversation}/participants/{participant}"); + + private static gax::PathTemplate s_projectLocationConversationParticipant = new gax::PathTemplate("projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static ParticipantName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new ParticipantName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/conversations/{conversation}/participants/{participant}. + /// + /// The Project ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Participant ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static ParticipantName FromProjectConversationParticipant(string projectId, string conversationId, string participantId) => + new ParticipantName(ResourceNameType.ProjectConversationParticipant, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), participantId: gax::GaxPreconditions.CheckNotNullOrEmpty(participantId, nameof(participantId))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Participant ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static ParticipantName FromProjectLocationConversationParticipant(string projectId, string locationId, string conversationId, string participantId) => + new ParticipantName(ResourceNameType.ProjectLocationConversationParticipant, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), participantId: gax::GaxPreconditions.CheckNotNullOrEmpty(participantId, nameof(participantId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/conversations/{conversation}/participants/{participant}. + /// + /// The Project ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Participant ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/conversations/{conversation}/participants/{participant}. + /// + public static string Format(string projectId, string conversationId, string participantId) => + FormatProjectConversationParticipant(projectId, conversationId, participantId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/conversations/{conversation}/participants/{participant}. + /// + /// The Project ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Participant ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/conversations/{conversation}/participants/{participant}. + /// + public static string FormatProjectConversationParticipant(string projectId, string conversationId, string participantId) => + s_projectConversationParticipant.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(participantId, nameof(participantId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Participant ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}. + /// + public static string FormatProjectLocationConversationParticipant(string projectId, string locationId, string conversationId, string participantId) => + s_projectLocationConversationParticipant.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(participantId, nameof(participantId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/conversations/{conversation}/participants/{participant} + /// + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static ParticipantName Parse(string participantName) => Parse(participantName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing + /// an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/conversations/{conversation}/participants/{participant} + /// + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static ParticipantName Parse(string participantName, bool allowUnparsed) => + TryParse(participantName, allowUnparsed, out ParticipantName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/conversations/{conversation}/participants/{participant} + /// + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string participantName, out ParticipantName result) => + TryParse(participantName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/conversations/{conversation}/participants/{participant} + /// + /// + /// + /// + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string participantName, bool allowUnparsed, out ParticipantName result) + { + gax::GaxPreconditions.CheckNotNull(participantName, nameof(participantName)); + gax::TemplatedResourceName resourceName; + if (s_projectConversationParticipant.TryParseName(participantName, out resourceName)) + { + result = FromProjectConversationParticipant(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (s_projectLocationConversationParticipant.TryParseName(participantName, out resourceName)) + { + result = FromProjectLocationConversationParticipant(resourceName[0], resourceName[1], resourceName[2], resourceName[3]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(participantName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private ParticipantName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string conversationId = null, string locationId = null, string participantId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + ConversationId = conversationId; + LocationId = locationId; + ParticipantId = participantId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/conversations/{conversation}/participants/{participant} + /// + /// The Project ID. Must not be null or empty. + /// The Conversation ID. Must not be null or empty. + /// The Participant ID. Must not be null or empty. + public ParticipantName(string projectId, string conversationId, string participantId) : this(ResourceNameType.ProjectConversationParticipant, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), conversationId: gax::GaxPreconditions.CheckNotNullOrEmpty(conversationId, nameof(conversationId)), participantId: gax::GaxPreconditions.CheckNotNullOrEmpty(participantId, nameof(participantId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Conversation ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string ConversationId { get; } + + /// + /// The Location ID. May be null, depending on which resource name is contained by this instance. + /// + public string LocationId { get; } + + /// + /// The Participant ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string ParticipantId { get; } + + /// + /// The Project ID. May be null, depending on which resource name is contained by this instance. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectConversationParticipant: return s_projectConversationParticipant.Expand(ProjectId, ConversationId, ParticipantId); + case ResourceNameType.ProjectLocationConversationParticipant: return s_projectLocationConversationParticipant.Expand(ProjectId, LocationId, ConversationId, ParticipantId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as ParticipantName); + + /// + public bool Equals(ParticipantName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(ParticipantName a, ParticipantName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(ParticipantName a, ParticipantName b) => !(a == b); + } + + /// Resource name for the Recognizer resource. + public sealed partial class RecognizerName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/recognizers/{recognizer}. + /// + ProjectLocationRecognizer = 1, + } + + private static gax::PathTemplate s_projectLocationRecognizer = new gax::PathTemplate("projects/{project}/locations/{location}/recognizers/{recognizer}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static RecognizerName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new RecognizerName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/recognizers/{recognizer}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Recognizer ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static RecognizerName FromProjectLocationRecognizer(string projectId, string locationId, string recognizerId) => + new RecognizerName(ResourceNameType.ProjectLocationRecognizer, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), recognizerId: gax::GaxPreconditions.CheckNotNullOrEmpty(recognizerId, nameof(recognizerId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/recognizers/{recognizer}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Recognizer ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/recognizers/{recognizer}. + /// + public static string Format(string projectId, string locationId, string recognizerId) => + FormatProjectLocationRecognizer(projectId, locationId, recognizerId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/recognizers/{recognizer}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Recognizer ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/recognizers/{recognizer}. + /// + public static string FormatProjectLocationRecognizer(string projectId, string locationId, string recognizerId) => + s_projectLocationRecognizer.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(recognizerId, nameof(recognizerId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/recognizers/{recognizer} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static RecognizerName Parse(string recognizerName) => Parse(recognizerName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing + /// an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/recognizers/{recognizer} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static RecognizerName Parse(string recognizerName, bool allowUnparsed) => + TryParse(recognizerName, allowUnparsed, out RecognizerName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/recognizers/{recognizer} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string recognizerName, out RecognizerName result) => + TryParse(recognizerName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/recognizers/{recognizer} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string recognizerName, bool allowUnparsed, out RecognizerName result) + { + gax::GaxPreconditions.CheckNotNull(recognizerName, nameof(recognizerName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationRecognizer.TryParseName(recognizerName, out resourceName)) + { + result = FromProjectLocationRecognizer(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(recognizerName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private RecognizerName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string projectId = null, string recognizerId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + ProjectId = projectId; + RecognizerId = recognizerId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/recognizers/{recognizer} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Recognizer ID. Must not be null or empty. + public RecognizerName(string projectId, string locationId, string recognizerId) : this(ResourceNameType.ProjectLocationRecognizer, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), recognizerId: gax::GaxPreconditions.CheckNotNullOrEmpty(recognizerId, nameof(recognizerId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// + /// The Recognizer ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string RecognizerId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationRecognizer: return s_projectLocationRecognizer.Expand(ProjectId, LocationId, RecognizerId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as RecognizerName); + + /// + public bool Equals(RecognizerName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(RecognizerName a, RecognizerName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(RecognizerName a, RecognizerName b) => !(a == b); + } + + public partial class Conversation + { + /// + /// -typed view over the resource name property. + /// + public gccv::ConversationName ConversationName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::ConversationName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class Analysis + { + /// + /// -typed view over the resource name property. + /// + public gccv::AnalysisName AnalysisName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::AnalysisName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class IssueModelResult + { + /// + /// -typed view over the resource name property. + /// + public IssueModelName IssueModelAsIssueModelName + { + get => string.IsNullOrEmpty(IssueModel) ? null : IssueModelName.Parse(IssueModel, allowUnparsed: true); + set => IssueModel = value?.ToString() ?? ""; + } + } + + public partial class FeedbackLabel + { + /// + /// -typed view over the resource name property. + /// + public gccv::FeedbackLabelName FeedbackLabelName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::FeedbackLabelName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class IssueModel + { + /// + /// -typed view over the resource name property. + /// + public gccv::IssueModelName IssueModelName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::IssueModelName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class Issue + { + /// + /// -typed view over the resource name property. + /// + public gccv::IssueName IssueName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::IssueName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class PhraseMatcher + { + /// + /// -typed view over the resource name property. + /// + public gccv::PhraseMatcherName PhraseMatcherName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::PhraseMatcherName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class Settings + { + /// + /// -typed view over the resource name property. + /// + public gccv::SettingsName SettingsName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::SettingsName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class AnalysisRule + { + /// + /// -typed view over the resource name property. + /// + public gccv::AnalysisRuleName AnalysisRuleName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::AnalysisRuleName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class EncryptionSpec + { + /// + /// -typed view over the resource name property. + /// + public gccv::EncryptionSpecName EncryptionSpecName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::EncryptionSpecName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class SpeechConfig + { + /// + /// -typed view over the resource name property. + /// + public RecognizerName SpeechRecognizerAsRecognizerName + { + get => string.IsNullOrEmpty(SpeechRecognizer) ? null : RecognizerName.Parse(SpeechRecognizer, allowUnparsed: true); + set => SpeechRecognizer = value?.ToString() ?? ""; + } + } + + public partial class ConversationParticipant + { + /// + /// -typed view over the resource name + /// property. + /// + public ParticipantName DialogflowParticipantNameAsParticipantName + { + get => string.IsNullOrEmpty(DialogflowParticipantName) ? null : ParticipantName.Parse(DialogflowParticipantName, allowUnparsed: true); + set => DialogflowParticipantName = value?.ToString() ?? ""; + } + } + + public partial class View + { + /// + /// -typed view over the resource name property. + /// + public gccv::ViewName ViewName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::ViewName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class AnnotatorSelector + { + /// + /// -typed view over the resource name property. + /// + public gax::ResourceNameList PhraseMatchersAsPhraseMatcherNames + { + get => new gax::ResourceNameList(PhraseMatchers, s => string.IsNullOrEmpty(s) ? null : PhraseMatcherName.Parse(s, allowUnparsed: true)); + } + + /// + /// -typed view over the resource name property. + /// + public gax::ResourceNameList IssueModelsAsIssueModelNames + { + get => new gax::ResourceNameList(IssueModels, s => string.IsNullOrEmpty(s) ? null : IssueModelName.Parse(s, allowUnparsed: true)); + } + + public partial class Types + { + public partial class SummarizationConfig + { + /// + /// -typed view over the resource + /// name property. + /// + public ConversationProfileName ConversationProfileAsConversationProfileName + { + get => string.IsNullOrEmpty(ConversationProfile) ? null : ConversationProfileName.Parse(ConversationProfile, allowUnparsed: true); + set => ConversationProfile = value?.ToString() ?? ""; + } + } + + public partial class QaConfig + { + public partial class Types + { + public partial class ScorecardList + { + /// + /// -typed view over the + /// resource name property. + /// + public gax::ResourceNameList QaScorecardRevisionsAsQaScorecardRevisionNames + { + get => new gax::ResourceNameList(QaScorecardRevisions, s => string.IsNullOrEmpty(s) ? null : QaScorecardRevisionName.Parse(s, allowUnparsed: true)); + } + } + } + } + } + } + + public partial class QaQuestion + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaQuestionName QaQuestionName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaQuestionName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class QaScorecard + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaScorecardName QaScorecardName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaScorecardName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class QaScorecardRevision + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaScorecardRevisionName QaScorecardRevisionName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaScorecardRevisionName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class QaAnswer + { + /// + /// -typed view over the resource name property. + /// + public ConversationName ConversationAsConversationName + { + get => string.IsNullOrEmpty(Conversation) ? null : ConversationName.Parse(Conversation, allowUnparsed: true); + set => Conversation = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name property. + /// + public QaQuestionName QaQuestionAsQaQuestionName + { + get => string.IsNullOrEmpty(QaQuestion) ? null : QaQuestionName.Parse(QaQuestion, allowUnparsed: true); + set => QaQuestion = value?.ToString() ?? ""; + } + } + + public partial class QaScorecardResult + { + /// + /// -typed view over the resource name property. + /// + public gccv::QaScorecardResultName QaScorecardResultName + { + get => string.IsNullOrEmpty(Name) ? null : gccv::QaScorecardResultName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name + /// property. + /// + public QaScorecardRevisionName QaScorecardRevisionAsQaScorecardRevisionName + { + get => string.IsNullOrEmpty(QaScorecardRevision) ? null : QaScorecardRevisionName.Parse(QaScorecardRevision, allowUnparsed: true); + set => QaScorecardRevision = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name property. + /// + public ConversationName ConversationAsConversationName + { + get => string.IsNullOrEmpty(Conversation) ? null : ConversationName.Parse(Conversation, allowUnparsed: true); + set => Conversation = value?.ToString() ?? ""; + } + } +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ServiceCollectionExtensions.g.cs b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ServiceCollectionExtensions.g.cs new file mode 100755 index 000000000000..40421a74b193 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1/ServiceCollectionExtensions.g.cs @@ -0,0 +1,68 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gaxgrpc = Google.Api.Gax.Grpc; +using gccv = Google.Cloud.ContactCenterInsights.V1; +using gciv = Google.Cloud.Iam.V1; +using gpr = Google.Protobuf.Reflection; +using lro = Google.LongRunning; +using proto = Google.Protobuf; +using scg = System.Collections.Generic; +using sys = System; + +namespace Microsoft.Extensions.DependencyInjection +{ + /// Static class to provide extension methods to configure API clients. + public static partial class ServiceCollectionExtensions + { + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddContactCenterInsightsClient(this IServiceCollection services, sys::Action action = null) => + services.AddSingleton(provider => + { + gccv::ContactCenterInsightsClientBuilder builder = new gccv::ContactCenterInsightsClientBuilder(); + action?.Invoke(builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddContactCenterInsightsClient(this IServiceCollection services, sys::Action action) => + services.AddSingleton(provider => + { + gccv::ContactCenterInsightsClientBuilder builder = new gccv::ContactCenterInsightsClientBuilder(); + action?.Invoke(provider, builder); + return builder.Build(provider); + }); + } +} diff --git a/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/gapic_metadata.json b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/gapic_metadata.json new file mode 100755 index 000000000000..ea75324a1ec1 --- /dev/null +++ b/owl-bot-staging/Google.Cloud.ContactCenterInsights.V1/gapic_metadata.json @@ -0,0 +1,462 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "csharp", + "protoPackage": "google.cloud.contactcenterinsights.v1", + "libraryPackage": "Google.Cloud.ContactCenterInsights.V1", + "services": { + "ContactCenterInsights": { + "clients": { + "grpc": { + "libraryClient": "ContactCenterInsightsClient", + "rpcs": { + "BulkAnalyzeConversations": { + "methods": [ + "BulkAnalyzeConversations", + "BulkAnalyzeConversationsAsync" + ] + }, + "BulkDeleteConversations": { + "methods": [ + "BulkDeleteConversations", + "BulkDeleteConversationsAsync" + ] + }, + "BulkDownloadFeedbackLabels": { + "methods": [ + "BulkDownloadFeedbackLabels", + "BulkDownloadFeedbackLabelsAsync" + ] + }, + "BulkUploadFeedbackLabels": { + "methods": [ + "BulkUploadFeedbackLabels", + "BulkUploadFeedbackLabelsAsync" + ] + }, + "CalculateIssueModelStats": { + "methods": [ + "CalculateIssueModelStats", + "CalculateIssueModelStatsAsync" + ] + }, + "CalculateStats": { + "methods": [ + "CalculateStats", + "CalculateStatsAsync" + ] + }, + "CreateAnalysis": { + "methods": [ + "CreateAnalysis", + "CreateAnalysisAsync" + ] + }, + "CreateAnalysisRule": { + "methods": [ + "CreateAnalysisRule", + "CreateAnalysisRuleAsync" + ] + }, + "CreateConversation": { + "methods": [ + "CreateConversation", + "CreateConversationAsync" + ] + }, + "CreateFeedbackLabel": { + "methods": [ + "CreateFeedbackLabel", + "CreateFeedbackLabelAsync" + ] + }, + "CreateIssueModel": { + "methods": [ + "CreateIssueModel", + "CreateIssueModelAsync" + ] + }, + "CreatePhraseMatcher": { + "methods": [ + "CreatePhraseMatcher", + "CreatePhraseMatcherAsync" + ] + }, + "CreateQaQuestion": { + "methods": [ + "CreateQaQuestion", + "CreateQaQuestionAsync" + ] + }, + "CreateQaScorecard": { + "methods": [ + "CreateQaScorecard", + "CreateQaScorecardAsync" + ] + }, + "CreateQaScorecardRevision": { + "methods": [ + "CreateQaScorecardRevision", + "CreateQaScorecardRevisionAsync" + ] + }, + "CreateView": { + "methods": [ + "CreateView", + "CreateViewAsync" + ] + }, + "DeleteAnalysis": { + "methods": [ + "DeleteAnalysis", + "DeleteAnalysisAsync" + ] + }, + "DeleteAnalysisRule": { + "methods": [ + "DeleteAnalysisRule", + "DeleteAnalysisRuleAsync" + ] + }, + "DeleteConversation": { + "methods": [ + "DeleteConversation", + "DeleteConversationAsync" + ] + }, + "DeleteFeedbackLabel": { + "methods": [ + "DeleteFeedbackLabel", + "DeleteFeedbackLabelAsync" + ] + }, + "DeleteIssue": { + "methods": [ + "DeleteIssue", + "DeleteIssueAsync" + ] + }, + "DeleteIssueModel": { + "methods": [ + "DeleteIssueModel", + "DeleteIssueModelAsync" + ] + }, + "DeletePhraseMatcher": { + "methods": [ + "DeletePhraseMatcher", + "DeletePhraseMatcherAsync" + ] + }, + "DeleteQaQuestion": { + "methods": [ + "DeleteQaQuestion", + "DeleteQaQuestionAsync" + ] + }, + "DeleteQaScorecard": { + "methods": [ + "DeleteQaScorecard", + "DeleteQaScorecardAsync" + ] + }, + "DeleteQaScorecardRevision": { + "methods": [ + "DeleteQaScorecardRevision", + "DeleteQaScorecardRevisionAsync" + ] + }, + "DeleteView": { + "methods": [ + "DeleteView", + "DeleteViewAsync" + ] + }, + "DeployIssueModel": { + "methods": [ + "DeployIssueModel", + "DeployIssueModelAsync" + ] + }, + "DeployQaScorecardRevision": { + "methods": [ + "DeployQaScorecardRevision", + "DeployQaScorecardRevisionAsync" + ] + }, + "ExportInsightsData": { + "methods": [ + "ExportInsightsData", + "ExportInsightsDataAsync" + ] + }, + "ExportIssueModel": { + "methods": [ + "ExportIssueModel", + "ExportIssueModelAsync" + ] + }, + "GetAnalysis": { + "methods": [ + "GetAnalysis", + "GetAnalysisAsync" + ] + }, + "GetAnalysisRule": { + "methods": [ + "GetAnalysisRule", + "GetAnalysisRuleAsync" + ] + }, + "GetConversation": { + "methods": [ + "GetConversation", + "GetConversationAsync" + ] + }, + "GetEncryptionSpec": { + "methods": [ + "GetEncryptionSpec", + "GetEncryptionSpecAsync" + ] + }, + "GetFeedbackLabel": { + "methods": [ + "GetFeedbackLabel", + "GetFeedbackLabelAsync" + ] + }, + "GetIssue": { + "methods": [ + "GetIssue", + "GetIssueAsync" + ] + }, + "GetIssueModel": { + "methods": [ + "GetIssueModel", + "GetIssueModelAsync" + ] + }, + "GetPhraseMatcher": { + "methods": [ + "GetPhraseMatcher", + "GetPhraseMatcherAsync" + ] + }, + "GetQaQuestion": { + "methods": [ + "GetQaQuestion", + "GetQaQuestionAsync" + ] + }, + "GetQaScorecard": { + "methods": [ + "GetQaScorecard", + "GetQaScorecardAsync" + ] + }, + "GetQaScorecardRevision": { + "methods": [ + "GetQaScorecardRevision", + "GetQaScorecardRevisionAsync" + ] + }, + "GetSettings": { + "methods": [ + "GetSettings", + "GetSettingsAsync" + ] + }, + "GetView": { + "methods": [ + "GetView", + "GetViewAsync" + ] + }, + "ImportIssueModel": { + "methods": [ + "ImportIssueModel", + "ImportIssueModelAsync" + ] + }, + "IngestConversations": { + "methods": [ + "IngestConversations", + "IngestConversationsAsync" + ] + }, + "InitializeEncryptionSpec": { + "methods": [ + "InitializeEncryptionSpec", + "InitializeEncryptionSpecAsync" + ] + }, + "ListAllFeedbackLabels": { + "methods": [ + "ListAllFeedbackLabels", + "ListAllFeedbackLabelsAsync" + ] + }, + "ListAnalyses": { + "methods": [ + "ListAnalyses", + "ListAnalysesAsync" + ] + }, + "ListAnalysisRules": { + "methods": [ + "ListAnalysisRules", + "ListAnalysisRulesAsync" + ] + }, + "ListConversations": { + "methods": [ + "ListConversations", + "ListConversationsAsync" + ] + }, + "ListFeedbackLabels": { + "methods": [ + "ListFeedbackLabels", + "ListFeedbackLabelsAsync" + ] + }, + "ListIssueModels": { + "methods": [ + "ListIssueModels", + "ListIssueModelsAsync" + ] + }, + "ListIssues": { + "methods": [ + "ListIssues", + "ListIssuesAsync" + ] + }, + "ListPhraseMatchers": { + "methods": [ + "ListPhraseMatchers", + "ListPhraseMatchersAsync" + ] + }, + "ListQaQuestions": { + "methods": [ + "ListQaQuestions", + "ListQaQuestionsAsync" + ] + }, + "ListQaScorecardRevisions": { + "methods": [ + "ListQaScorecardRevisions", + "ListQaScorecardRevisionsAsync" + ] + }, + "ListQaScorecards": { + "methods": [ + "ListQaScorecards", + "ListQaScorecardsAsync" + ] + }, + "ListViews": { + "methods": [ + "ListViews", + "ListViewsAsync" + ] + }, + "QueryMetrics": { + "methods": [ + "QueryMetrics", + "QueryMetricsAsync" + ] + }, + "TuneQaScorecardRevision": { + "methods": [ + "TuneQaScorecardRevision", + "TuneQaScorecardRevisionAsync" + ] + }, + "UndeployIssueModel": { + "methods": [ + "UndeployIssueModel", + "UndeployIssueModelAsync" + ] + }, + "UndeployQaScorecardRevision": { + "methods": [ + "UndeployQaScorecardRevision", + "UndeployQaScorecardRevisionAsync" + ] + }, + "UpdateAnalysisRule": { + "methods": [ + "UpdateAnalysisRule", + "UpdateAnalysisRuleAsync" + ] + }, + "UpdateConversation": { + "methods": [ + "UpdateConversation", + "UpdateConversationAsync" + ] + }, + "UpdateFeedbackLabel": { + "methods": [ + "UpdateFeedbackLabel", + "UpdateFeedbackLabelAsync" + ] + }, + "UpdateIssue": { + "methods": [ + "UpdateIssue", + "UpdateIssueAsync" + ] + }, + "UpdateIssueModel": { + "methods": [ + "UpdateIssueModel", + "UpdateIssueModelAsync" + ] + }, + "UpdatePhraseMatcher": { + "methods": [ + "UpdatePhraseMatcher", + "UpdatePhraseMatcherAsync" + ] + }, + "UpdateQaQuestion": { + "methods": [ + "UpdateQaQuestion", + "UpdateQaQuestionAsync" + ] + }, + "UpdateQaScorecard": { + "methods": [ + "UpdateQaScorecard", + "UpdateQaScorecardAsync" + ] + }, + "UpdateSettings": { + "methods": [ + "UpdateSettings", + "UpdateSettingsAsync" + ] + }, + "UpdateView": { + "methods": [ + "UpdateView", + "UpdateViewAsync" + ] + }, + "UploadConversation": { + "methods": [ + "UploadConversation", + "UploadConversationAsync" + ] + } + } + } + } + } + } +}