diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java index b5eae675..89569aa3 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java @@ -336,286 +336,291 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\372A/\n-contactcenterinsights.googleapis.co" + "m/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004n" + "ame\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights" - + ".googleapis.com/Analysis\"\315\002\n\031ExportInsig" + + ".googleapis.com/Analysis\"\230\004\n\031ExportInsig" + "htsDataRequest\022u\n\025big_query_destination\030" + "\002 \001(\0132T.google.cloud.contactcenterinsigh" + "ts.v1.ExportInsightsDataRequest.BigQuery" + "DestinationH\000\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!l" + "ocations.googleapis.com/Location\022\016\n\006filt" - + "er\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t\032N\n\023BigQueryDes" - + "tination\022\022\n\nproject_id\030\003 \001(\t\022\024\n\007dataset\030" - + "\001 \001(\tB\003\340A\002\022\r\n\005table\030\002 \001(\tB\r\n\013destination" - + "\"\204\002\n\032ExportInsightsDataMetadata\0224\n\013creat" - + "e_time\030\001 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.goog" - + "le.cloud.contactcenterinsights.v1.Export" - + "InsightsDataRequest\022*\n\016partial_errors\030\004 " - + "\003(\0132\022.google.rpc.Status\"\034\n\032ExportInsight" - + "sDataResponse\"\241\001\n\027CreateIssueModelReques" - + "t\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goo" - + "gleapis.com/Location\022K\n\013issue_model\030\002 \001(" - + "\01321.google.cloud.contactcenterinsights.v" - + "1.IssueModelB\003\340A\002\"\324\001\n\030CreateIssueModelMe" - + "tadata\0224\n\013create_time\030\001 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\003\022O\n\007reque" - + "st\030\003 \001(\0132>.google.cloud.contactcenterins" - + "ights.v1.CreateIssueModelRequest\"\227\001\n\027Upd" - + "ateIssueModelRequest\022K\n\013issue_model\030\001 \001(" - + "\01321.google.cloud.contactcenterinsights.v" - + "1.IssueModelB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032" - + ".google.protobuf.FieldMask\"S\n\026ListIssueM" - + "odelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!lo" - + "cations.googleapis.com/Location\"b\n\027ListI" - + "ssueModelsResponse\022G\n\014issue_models\030\001 \003(\013" - + "21.google.cloud.contactcenterinsights.v1" - + ".IssueModel\"]\n\024GetIssueModelRequest\022E\n\004n" - + "ame\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" - + ".googleapis.com/IssueModel\"`\n\027DeleteIssu" - + "eModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/con" - + "tactcenterinsights.googleapis.com/IssueM" - + "odel\"\324\001\n\030DeleteIssueModelMetadata\0224\n\013cre" - + "ate_time\030\001 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>.go" - + "ogle.cloud.contactcenterinsights.v1.Dele" - + "teIssueModelRequest\"`\n\027DeployIssueModelR" - + "equest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcen" - + "terinsights.googleapis.com/IssueModel\"\032\n" - + "\030DeployIssueModelResponse\"\324\001\n\030DeployIssu" - + "eModelMetadata\0224\n\013create_time\030\001 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\0221\n\010end_time" - + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "O\n\007request\030\003 \001(\0132>.google.cloud.contactc" - + "enterinsights.v1.DeployIssueModelRequest" - + "\"b\n\031UndeployIssueModelRequest\022E\n\004name\030\001 " - + "\001(\tB7\340A\002\372A1\n/contactcenterinsights.googl" - + "eapis.com/IssueModel\"\034\n\032UndeployIssueMod" - + "elResponse\"\330\001\n\032UndeployIssueModelMetadat" - + "a\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022Q\n\007request\030\003 " - + "\001(\0132@.google.cloud.contactcenterinsights" - + ".v1.UndeployIssueModelRequest\"S\n\017GetIssu" - + "eRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*contactc" - + "enterinsights.googleapis.com/Issue\"\\\n\021Li" - + "stIssuesRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372A1\n" - + "/contactcenterinsights.googleapis.com/Is" - + "sueModel\"R\n\022ListIssuesResponse\022<\n\006issues" - + "\030\001 \003(\0132,.google.cloud.contactcenterinsig" - + "hts.v1.Issue\"\207\001\n\022UpdateIssueRequest\022@\n\005i" - + "ssue\030\001 \001(\0132,.google.cloud.contactcenteri" - + "nsights.v1.IssueB\003\340A\002\022/\n\013update_mask\030\002 \001" - + "(\0132\032.google.protobuf.FieldMask\"o\n\037Calcul" - + "ateIssueModelStatsRequest\022L\n\013issue_model" + + "er\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t\022l\n\021write_dispo" + + "sition\030\005 \001(\0162Q.google.cloud.contactcente" + + "rinsights.v1.ExportInsightsDataRequest.W" + + "riteDisposition\032N\n\023BigQueryDestination\022\022" + + "\n\nproject_id\030\003 \001(\t\022\024\n\007dataset\030\001 \001(\tB\003\340A\002" + + "\022\r\n\005table\030\002 \001(\t\"[\n\020WriteDisposition\022!\n\035W" + + "RITE_DISPOSITION_UNSPECIFIED\020\000\022\022\n\016WRITE_" + + "TRUNCATE\020\001\022\020\n\014WRITE_APPEND\020\002B\r\n\013destinat" + + "ion\"\204\002\n\032ExportInsightsDataMetadata\0224\n\013cr" + + "eate_time\030\001 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.g" + + "oogle.cloud.contactcenterinsights.v1.Exp" + + "ortInsightsDataRequest\022*\n\016partial_errors" + + "\030\004 \003(\0132\022.google.rpc.Status\"\034\n\032ExportInsi" + + "ghtsDataResponse\"\241\001\n\027CreateIssueModelReq" + + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations." + + "googleapis.com/Location\022K\n\013issue_model\030\002" + + " \001(\01321.google.cloud.contactcenterinsight" + + "s.v1.IssueModelB\003\340A\002\"\324\001\n\030CreateIssueMode" + + "lMetadata\0224\n\013create_time\030\001 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022O\n\007re" + + "quest\030\003 \001(\0132>.google.cloud.contactcenter" + + "insights.v1.CreateIssueModelRequest\"\227\001\n\027" + + "UpdateIssueModelRequest\022K\n\013issue_model\030\001" + + " \001(\01321.google.cloud.contactcenterinsight" + + "s.v1.IssueModelB\003\340A\002\022/\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"S\n\026ListIss" + + "ueModelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n" + + "!locations.googleapis.com/Location\"b\n\027Li" + + "stIssueModelsResponse\022G\n\014issue_models\030\001 " + + "\003(\01321.google.cloud.contactcenterinsights" + + ".v1.IssueModel\"]\n\024GetIssueModelRequest\022E" + + "\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsig" + + "hts.googleapis.com/IssueModel\"`\n\027DeleteI" + + "ssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "contactcenterinsights.googleapis.com/Iss" + + "ueModel\"\324\001\n\030DeleteIssueModelMetadata\0224\n\013" + + "create_time\030\001 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>" + + ".google.cloud.contactcenterinsights.v1.D" + + "eleteIssueModelRequest\"`\n\027DeployIssueMod" + + "elRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contact" + + "centerinsights.googleapis.com/IssueModel" + + "\"\032\n\030DeployIssueModelResponse\"\324\001\n\030DeployI" + + "ssueModelMetadata\0224\n\013create_time\030\001 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\0221\n\010end_t" + + "ime\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\022O\n\007request\030\003 \001(\0132>.google.cloud.conta" + + "ctcenterinsights.v1.DeployIssueModelRequ" + + "est\"b\n\031UndeployIssueModelRequest\022E\n\004name" + "\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.go" - + "ogleapis.com/IssueModel\"v\n CalculateIssu" - + "eModelStatsResponse\022R\n\rcurrent_stats\030\004 \001" - + "(\0132;.google.cloud.contactcenterinsights." - + "v1.IssueModelLabelStats\"\252\001\n\032CreatePhrase" - + "MatcherRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" - + "locations.googleapis.com/Location\022Q\n\016phr" - + "ase_matcher\030\002 \001(\01324.google.cloud.contact" - + "centerinsights.v1.PhraseMatcherB\003\340A\002\"\215\001\n" - + "\031ListPhraseMatchersRequest\0229\n\006parent\030\001 \001" - + "(\tB)\340A\002\372A#\n!locations.googleapis.com/Loc" - + "ation\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" - + " \001(\t\022\016\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMatch" - + "ersResponse\022M\n\017phrase_matchers\030\001 \003(\01324.g" - + "oogle.cloud.contactcenterinsights.v1.Phr" - + "aseMatcher\022\027\n\017next_page_token\030\002 \001(\t\"c\n\027G" - + "etPhraseMatcherRequest\022H\n\004name\030\001 \001(\tB:\340A" - + "\002\372A4\n2contactcenterinsights.googleapis.c" - + "om/PhraseMatcher\"f\n\032DeletePhraseMatcherR" - + "equest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contactcen" - + "terinsights.googleapis.com/PhraseMatcher" - + "\"\240\001\n\032UpdatePhraseMatcherRequest\022Q\n\016phras" - + "e_matcher\030\001 \001(\01324.google.cloud.contactce" - + "nterinsights.v1.PhraseMatcherB\003\340A\002\022/\n\013up" - + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "ask\"Y\n\022GetSettingsRequest\022C\n\004name\030\001 \001(\tB" - + "5\340A\002\372A/\n-contactcenterinsights.googleapi" - + "s.com/Settings\"\225\001\n\025UpdateSettingsRequest" - + "\022F\n\010settings\030\001 \001(\0132/.google.cloud.contac" - + "tcenterinsights.v1.SettingsB\003\340A\002\0224\n\013upda" - + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" - + "kB\003\340A\002*J\n\020ConversationView\022!\n\035CONVERSATI" - + "ON_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL" - + "\020\0022\3373\n\025ContactCenterInsights\022\372\001\n\022CreateC" - + "onversation\022@.google.cloud.contactcenter" - + "insights.v1.CreateConversationRequest\0323." - + "google.cloud.contactcenterinsights.v1.Co" - + "nversation\"m\202\323\344\223\002A\"1/v1/{parent=projects" - + "/*/locations/*}/conversations:\014conversat" - + "ion\332A#parent,conversation,conversation_i" - + "d\022\374\001\n\022UpdateConversation\022@.google.cloud." - + "contactcenterinsights.v1.UpdateConversat" - + "ionRequest\0323.google.cloud.contactcenteri" - + "nsights.v1.Conversation\"o\202\323\344\223\002N2>/v1/{co" - + "nversation.name=projects/*/locations/*/c" - + "onversations/*}:\014conversation\332A\030conversa" - + "tion,update_mask\022\307\001\n\017GetConversation\022=.g" - + "oogle.cloud.contactcenterinsights.v1.Get" - + "ConversationRequest\0323.google.cloud.conta" - + "ctcenterinsights.v1.Conversation\"@\202\323\344\223\0023" - + "\0221/v1/{name=projects/*/locations/*/conve" - + "rsations/*}\332A\004name\022\332\001\n\021ListConversations" - + "\022?.google.cloud.contactcenterinsights.v1" - + ".ListConversationsRequest\032@.google.cloud" - + ".contactcenterinsights.v1.ListConversati" - + "onsResponse\"B\202\323\344\223\0023\0221/v1/{parent=project" - + "s/*/locations/*}/conversations\332A\006parent\022" - + "\260\001\n\022DeleteConversation\022@.google.cloud.co" - + "ntactcenterinsights.v1.DeleteConversatio" - + "nRequest\032\026.google.protobuf.Empty\"@\202\323\344\223\0023" - + "*1/v1/{name=projects/*/locations/*/conve" - + "rsations/*}\332A\004name\022\376\001\n\016CreateAnalysis\022<." - + "google.cloud.contactcenterinsights.v1.Cr" - + "eateAnalysisRequest\032\035.google.longrunning" - + ".Operation\"\216\001\202\323\344\223\002H\"\022\022*.goog" - + "le.cloud.contactcenterinsights.v1.Create" - + "IssueModelRequest\032\035.google.longrunning.O" - + "peration\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/" - + "*/locations/*}/issueModels:\013issue_model\332" - + "A\022parent,issue_model\312A&\n\nIssueModel\022\030Cre" - + "ateIssueModelMetadata\022\361\001\n\020UpdateIssueMod" - + "el\022>.google.cloud.contactcenterinsights." - + "v1.UpdateIssueModelRequest\0321.google.clou" - + "d.contactcenterinsights.v1.IssueModel\"j\202" - + "\323\344\223\002J2;/v1/{issue_model.name=projects/*/" - + "locations/*/issueModels/*}:\013issue_model\332" - + "A\027issue_model,update_mask\022\277\001\n\rGetIssueMo" - + "del\022;.google.cloud.contactcenterinsights" - + ".v1.GetIssueModelRequest\0321.google.cloud." - + "contactcenterinsights.v1.IssueModel\">\202\323\344" - + "\223\0021\022//v1/{name=projects/*/locations/*/is" - + "sueModels/*}\332A\004name\022\322\001\n\017ListIssueModels\022" + + "ogleapis.com/IssueModel\"\034\n\032UndeployIssue" + + "ModelResponse\"\330\001\n\032UndeployIssueModelMeta" + + "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022Q\n\007request" + + "\030\003 \001(\0132@.google.cloud.contactcenterinsig" + + "hts.v1.UndeployIssueModelRequest\"S\n\017GetI" + + "ssueRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*conta" + + "ctcenterinsights.googleapis.com/Issue\"\\\n" + + "\021ListIssuesRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372" + + "A1\n/contactcenterinsights.googleapis.com" + + "/IssueModel\"R\n\022ListIssuesResponse\022<\n\006iss" + + "ues\030\001 \003(\0132,.google.cloud.contactcenterin" + + "sights.v1.Issue\"\207\001\n\022UpdateIssueRequest\022@" + + "\n\005issue\030\001 \001(\0132,.google.cloud.contactcent" + + "erinsights.v1.IssueB\003\340A\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"o\n\037Cal" + + "culateIssueModelStatsRequest\022L\n\013issue_mo" + + "del\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" + + ".googleapis.com/IssueModel\"v\n CalculateI" + + "ssueModelStatsResponse\022R\n\rcurrent_stats\030" + + "\004 \001(\0132;.google.cloud.contactcenterinsigh" + + "ts.v1.IssueModelLabelStats\"\252\001\n\032CreatePhr" + + "aseMatcherRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + + "#\n!locations.googleapis.com/Location\022Q\n\016" + + "phrase_matcher\030\002 \001(\01324.google.cloud.cont" + + "actcenterinsights.v1.PhraseMatcherB\003\340A\002\"" + + "\215\001\n\031ListPhraseMatchersRequest\0229\n\006parent\030" + + "\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com/" + + "Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMa" + + "tchersResponse\022M\n\017phrase_matchers\030\001 \003(\0132" + + "4.google.cloud.contactcenterinsights.v1." + + "PhraseMatcher\022\027\n\017next_page_token\030\002 \001(\t\"c" + + "\n\027GetPhraseMatcherRequest\022H\n\004name\030\001 \001(\tB" + + ":\340A\002\372A4\n2contactcenterinsights.googleapi" + + "s.com/PhraseMatcher\"f\n\032DeletePhraseMatch" + + "erRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contact" + + "centerinsights.googleapis.com/PhraseMatc" + + "her\"\240\001\n\032UpdatePhraseMatcherRequest\022Q\n\016ph" + + "rase_matcher\030\001 \001(\01324.google.cloud.contac" + + "tcenterinsights.v1.PhraseMatcherB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"Y\n\022GetSettingsRequest\022C\n\004name\030\001 \001" + + "(\tB5\340A\002\372A/\n-contactcenterinsights.google" + + "apis.com/Settings\"\225\001\n\025UpdateSettingsRequ" + + "est\022F\n\010settings\030\001 \001(\0132/.google.cloud.con" + + "tactcenterinsights.v1.SettingsB\003\340A\002\0224\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "MaskB\003\340A\002*J\n\020ConversationView\022!\n\035CONVERS" + + "ATION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" + + "ULL\020\0022\3373\n\025ContactCenterInsights\022\372\001\n\022Crea" + + "teConversation\022@.google.cloud.contactcen" + + "terinsights.v1.CreateConversationRequest" + + "\0323.google.cloud.contactcenterinsights.v1" + + ".Conversation\"m\202\323\344\223\002A\"1/v1/{parent=proje" + + "cts/*/locations/*}/conversations:\014conver" + + "sation\332A#parent,conversation,conversatio" + + "n_id\022\374\001\n\022UpdateConversation\022@.google.clo" + + "ud.contactcenterinsights.v1.UpdateConver" + + "sationRequest\0323.google.cloud.contactcent" + + "erinsights.v1.Conversation\"o\202\323\344\223\002N2>/v1/" + + "{conversation.name=projects/*/locations/" + + "*/conversations/*}:\014conversation\332A\030conve" + + "rsation,update_mask\022\307\001\n\017GetConversation\022" + "=.google.cloud.contactcenterinsights.v1." - + "ListIssueModelsRequest\032>.google.cloud.co" - + "ntactcenterinsights.v1.ListIssueModelsRe" - + "sponse\"@\202\323\344\223\0021\022//v1/{parent=projects/*/l" - + "ocations/*}/issueModels\332A\006parent\022\345\001\n\020Del" - + "eteIssueModel\022>.google.cloud.contactcent" - + "erinsights.v1.DeleteIssueModelRequest\032\035." - + "google.longrunning.Operation\"r\202\323\344\223\0021*//v" - + "1/{name=projects/*/locations/*/issueMode" - + "ls/*}\332A\004name\312A1\n\025google.protobuf.Empty\022\030" - + "DeleteIssueModelMetadata\022\362\001\n\020DeployIssue" + + "GetConversationRequest\0323.google.cloud.co" + + "ntactcenterinsights.v1.Conversation\"@\202\323\344" + + "\223\0023\0221/v1/{name=projects/*/locations/*/co" + + "nversations/*}\332A\004name\022\332\001\n\021ListConversati" + + "ons\022?.google.cloud.contactcenterinsights" + + ".v1.ListConversationsRequest\032@.google.cl" + + "oud.contactcenterinsights.v1.ListConvers" + + "ationsResponse\"B\202\323\344\223\0023\0221/v1/{parent=proj" + + "ects/*/locations/*}/conversations\332A\006pare" + + "nt\022\260\001\n\022DeleteConversation\022@.google.cloud" + + ".contactcenterinsights.v1.DeleteConversa" + + "tionRequest\032\026.google.protobuf.Empty\"@\202\323\344" + + "\223\0023*1/v1/{name=projects/*/locations/*/co" + + "nversations/*}\332A\004name\022\376\001\n\016CreateAnalysis" + + "\022<.google.cloud.contactcenterinsights.v1" + + ".CreateAnalysisRequest\032\035.google.longrunn" + + "ing.Operation\"\216\001\202\323\344\223\002H\"\022\022*.g" + + "oogle.cloud.contactcenterinsights.v1.Cre" + + "ateIssueModelRequest\032\035.google.longrunnin" + + "g.Operation\"\202\001\202\323\344\223\002>\"//v1/{parent=projec" + + "ts/*/locations/*}/issueModels:\013issue_mod" + + "el\332A\022parent,issue_model\312A&\n\nIssueModel\022\030" + + "CreateIssueModelMetadata\022\361\001\n\020UpdateIssue" + "Model\022>.google.cloud.contactcenterinsigh" - + "ts.v1.DeployIssueModelRequest\032\035.google.l" - + "ongrunning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=" - + "projects/*/locations/*/issueModels/*}:de" - + "ploy:\001*\332A\004name\312A4\n\030DeployIssueModelRespo" - + "nse\022\030DeployIssueModelMetadata\022\375\001\n\022Undepl" - + "oyIssueModel\022@.google.cloud.contactcente" - + "rinsights.v1.UndeployIssueModelRequest\032\035" - + ".google.longrunning.Operation\"\205\001\202\323\344\223\002=\"8" - + "/v1/{name=projects/*/locations/*/issueMo" - + "dels/*}:undeploy:\001*\332A\004name\312A8\n\032UndeployI" - + "ssueModelResponse\022\032UndeployIssueModelMet" - + "adata\022\271\001\n\010GetIssue\0226.google.cloud.contac" - + "tcenterinsights.v1.GetIssueRequest\032,.goo" - + "gle.cloud.contactcenterinsights.v1.Issue" - + "\"G\202\323\344\223\002:\0228/v1/{name=projects/*/locations" - + "/*/issueModels/*/issues/*}\332A\004name\022\314\001\n\nLi" - + "stIssues\0228.google.cloud.contactcenterins" - + "ights.v1.ListIssuesRequest\0329.google.clou" - + "d.contactcenterinsights.v1.ListIssuesRes" - + "ponse\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/lo" - + "cations/*/issueModels/*}/issues\332A\006parent" - + "\022\331\001\n\013UpdateIssue\0229.google.cloud.contactc" - + "enterinsights.v1.UpdateIssueRequest\032,.go" - + "ogle.cloud.contactcenterinsights.v1.Issu" - + "e\"a\202\323\344\223\002G2>/v1/{issue.name=projects/*/lo" - + "cations/*/issueModels/*/issues/*}:\005issue" - + "\332A\021issue,update_mask\022\222\002\n\030CalculateIssueM" - + "odelStats\022F.google.cloud.contactcenterin" - + "sights.v1.CalculateIssueModelStatsReques" - + "t\032G.google.cloud.contactcenterinsights.v" - + "1.CalculateIssueModelStatsResponse\"e\202\323\344\223" - + "\002Q\022O/v1/{issue_model=projects/*/location" - + "s/*/issueModels/*}:calculateIssueModelSt" - + "ats\332A\013issue_model\022\362\001\n\023CreatePhraseMatche" - + "r\022A.google.cloud.contactcenterinsights.v" - + "1.CreatePhraseMatcherRequest\0324.google.cl" - + "oud.contactcenterinsights.v1.PhraseMatch" - + "er\"b\202\323\344\223\002D\"2/v1/{parent=projects/*/locat" - + "ions/*}/phraseMatchers:\016phrase_matcher\332A" - + "\025parent,phrase_matcher\022\313\001\n\020GetPhraseMatc" - + "her\022>.google.cloud.contactcenterinsights" - + ".v1.GetPhraseMatcherRequest\0324.google.clo" - + "ud.contactcenterinsights.v1.PhraseMatche" - + "r\"A\202\323\344\223\0024\0222/v1/{name=projects/*/location" - + "s/*/phraseMatchers/*}\332A\004name\022\336\001\n\022ListPhr" - + "aseMatchers\022@.google.cloud.contactcenter" - + "insights.v1.ListPhraseMatchersRequest\032A." - + "google.cloud.contactcenterinsights.v1.Li" - + "stPhraseMatchersResponse\"C\202\323\344\223\0024\0222/v1/{p" - + "arent=projects/*/locations/*}/phraseMatc" - + "hers\332A\006parent\022\263\001\n\023DeletePhraseMatcher\022A." - + "google.cloud.contactcenterinsights.v1.De" - + "letePhraseMatcherRequest\032\026.google.protob" - + "uf.Empty\"A\202\323\344\223\0024*2/v1/{name=projects/*/l" - + "ocations/*/phraseMatchers/*}\332A\004name\022\206\002\n\023" - + "UpdatePhraseMatcher\022A.google.cloud.conta" - + "ctcenterinsights.v1.UpdatePhraseMatcherR" - + "equest\0324.google.cloud.contactcenterinsig" - + "hts.v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1/{phras" - + "e_matcher.name=projects/*/locations/*/ph" - + "raseMatchers/*}:\016phrase_matcher\332A\032phrase" - + "_matcher,update_mask\022\344\001\n\016CalculateStats\022" - + "<.google.cloud.contactcenterinsights.v1." - + "CalculateStatsRequest\032=.google.cloud.con" - + "tactcenterinsights.v1.CalculateStatsResp" - + "onse\"U\202\323\344\223\002D\022B/v1/{location=projects/*/l" - + "ocations/*}/conversations:calculateStats" - + "\332A\010location\022\264\001\n\013GetSettings\0229.google.clo" - + "ud.contactcenterinsights.v1.GetSettingsR" - + "equest\032/.google.cloud.contactcenterinsig" - + "hts.v1.Settings\"9\202\323\344\223\002,\022*/v1/{name=proje" - + "cts/*/locations/*/settings}\332A\004name\022\335\001\n\016U" - + "pdateSettings\022<.google.cloud.contactcent" - + "erinsights.v1.UpdateSettingsRequest\032/.go" - + "ogle.cloud.contactcenterinsights.v1.Sett" - + "ings\"\\\202\323\344\223\002?23/v1/{settings.name=project" - + "s/*/locations/*/settings}:\010settings\332A\024se" - + "ttings,update_mask\032X\312A$contactcenterinsi" - + "ghts.googleapis.com\322A.https://www.google" - + "apis.com/auth/cloud-platformB\240\002\n)com.goo" - + "gle.cloud.contactcenterinsights.v1B\032Cont" - + "actCenterInsightsProtoP\001ZZgoogle.golang." - + "org/genproto/googleapis/cloud/contactcen" - + "terinsights/v1;contactcenterinsights\252\002%G" - + "oogle.Cloud.ContactCenterInsights.V1\312\002%G" - + "oogle\\Cloud\\ContactCenterInsights\\V1\352\002(G" - + "oogle::Cloud::ContactCenterInsights::V1b" - + "\006proto3" + + "ts.v1.UpdateIssueModelRequest\0321.google.c" + + "loud.contactcenterinsights.v1.IssueModel" + + "\"j\202\323\344\223\002J2;/v1/{issue_model.name=projects" + + "/*/locations/*/issueModels/*}:\013issue_mod" + + "el\332A\027issue_model,update_mask\022\277\001\n\rGetIssu" + + "eModel\022;.google.cloud.contactcenterinsig" + + "hts.v1.GetIssueModelRequest\0321.google.clo" + + "ud.contactcenterinsights.v1.IssueModel\">" + + "\202\323\344\223\0021\022//v1/{name=projects/*/locations/*" + + "/issueModels/*}\332A\004name\022\322\001\n\017ListIssueMode" + + "ls\022=.google.cloud.contactcenterinsights." + + "v1.ListIssueModelsRequest\032>.google.cloud" + + ".contactcenterinsights.v1.ListIssueModel" + + "sResponse\"@\202\323\344\223\0021\022//v1/{parent=projects/" + + "*/locations/*}/issueModels\332A\006parent\022\345\001\n\020" + + "DeleteIssueModel\022>.google.cloud.contactc" + + "enterinsights.v1.DeleteIssueModelRequest" + + "\032\035.google.longrunning.Operation\"r\202\323\344\223\0021*" + + "//v1/{name=projects/*/locations/*/issueM" + + "odels/*}\332A\004name\312A1\n\025google.protobuf.Empt" + + "y\022\030DeleteIssueModelMetadata\022\362\001\n\020DeployIs" + + "sueModel\022>.google.cloud.contactcenterins" + + "ights.v1.DeployIssueModelRequest\032\035.googl" + + "e.longrunning.Operation\"\177\202\323\344\223\002;\"6/v1/{na" + + "me=projects/*/locations/*/issueModels/*}" + + ":deploy:\001*\332A\004name\312A4\n\030DeployIssueModelRe" + + "sponse\022\030DeployIssueModelMetadata\022\375\001\n\022Und" + + "eployIssueModel\022@.google.cloud.contactce" + + "nterinsights.v1.UndeployIssueModelReques" + + "t\032\035.google.longrunning.Operation\"\205\001\202\323\344\223\002" + + "=\"8/v1/{name=projects/*/locations/*/issu" + + "eModels/*}:undeploy:\001*\332A\004name\312A8\n\032Undepl" + + "oyIssueModelResponse\022\032UndeployIssueModel" + + "Metadata\022\271\001\n\010GetIssue\0226.google.cloud.con" + + "tactcenterinsights.v1.GetIssueRequest\032,." + + "google.cloud.contactcenterinsights.v1.Is" + + "sue\"G\202\323\344\223\002:\0228/v1/{name=projects/*/locati" + + "ons/*/issueModels/*/issues/*}\332A\004name\022\314\001\n" + + "\nListIssues\0228.google.cloud.contactcenter" + + "insights.v1.ListIssuesRequest\0329.google.c" + + "loud.contactcenterinsights.v1.ListIssues" + + "Response\"I\202\323\344\223\002:\0228/v1/{parent=projects/*" + + "/locations/*/issueModels/*}/issues\332A\006par" + + "ent\022\331\001\n\013UpdateIssue\0229.google.cloud.conta" + + "ctcenterinsights.v1.UpdateIssueRequest\032," + + ".google.cloud.contactcenterinsights.v1.I" + + "ssue\"a\202\323\344\223\002G2>/v1/{issue.name=projects/*" + + "/locations/*/issueModels/*/issues/*}:\005is" + + "sue\332A\021issue,update_mask\022\222\002\n\030CalculateIss" + + "ueModelStats\022F.google.cloud.contactcente" + + "rinsights.v1.CalculateIssueModelStatsReq" + + "uest\032G.google.cloud.contactcenterinsight" + + "s.v1.CalculateIssueModelStatsResponse\"e\202" + + "\323\344\223\002Q\022O/v1/{issue_model=projects/*/locat" + + "ions/*/issueModels/*}:calculateIssueMode" + + "lStats\332A\013issue_model\022\362\001\n\023CreatePhraseMat" + + "cher\022A.google.cloud.contactcenterinsight" + + "s.v1.CreatePhraseMatcherRequest\0324.google" + + ".cloud.contactcenterinsights.v1.PhraseMa" + + "tcher\"b\202\323\344\223\002D\"2/v1/{parent=projects/*/lo" + + "cations/*}/phraseMatchers:\016phrase_matche" + + "r\332A\025parent,phrase_matcher\022\313\001\n\020GetPhraseM" + + "atcher\022>.google.cloud.contactcenterinsig" + + "hts.v1.GetPhraseMatcherRequest\0324.google." + + "cloud.contactcenterinsights.v1.PhraseMat" + + "cher\"A\202\323\344\223\0024\0222/v1/{name=projects/*/locat" + + "ions/*/phraseMatchers/*}\332A\004name\022\336\001\n\022List" + + "PhraseMatchers\022@.google.cloud.contactcen" + + "terinsights.v1.ListPhraseMatchersRequest" + + "\032A.google.cloud.contactcenterinsights.v1" + + ".ListPhraseMatchersResponse\"C\202\323\344\223\0024\0222/v1" + + "/{parent=projects/*/locations/*}/phraseM" + + "atchers\332A\006parent\022\263\001\n\023DeletePhraseMatcher" + + "\022A.google.cloud.contactcenterinsights.v1" + + ".DeletePhraseMatcherRequest\032\026.google.pro" + + "tobuf.Empty\"A\202\323\344\223\0024*2/v1/{name=projects/" + + "*/locations/*/phraseMatchers/*}\332A\004name\022\206" + + "\002\n\023UpdatePhraseMatcher\022A.google.cloud.co" + + "ntactcenterinsights.v1.UpdatePhraseMatch" + + "erRequest\0324.google.cloud.contactcenterin" + + "sights.v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1/{ph" + + "rase_matcher.name=projects/*/locations/*" + + "/phraseMatchers/*}:\016phrase_matcher\332A\032phr" + + "ase_matcher,update_mask\022\344\001\n\016CalculateSta" + + "ts\022<.google.cloud.contactcenterinsights." + + "v1.CalculateStatsRequest\032=.google.cloud." + + "contactcenterinsights.v1.CalculateStatsR" + + "esponse\"U\202\323\344\223\002D\022B/v1/{location=projects/" + + "*/locations/*}/conversations:calculateSt" + + "ats\332A\010location\022\264\001\n\013GetSettings\0229.google." + + "cloud.contactcenterinsights.v1.GetSettin" + + "gsRequest\032/.google.cloud.contactcenterin" + + "sights.v1.Settings\"9\202\323\344\223\002,\022*/v1/{name=pr" + + "ojects/*/locations/*/settings}\332A\004name\022\335\001" + + "\n\016UpdateSettings\022<.google.cloud.contactc" + + "enterinsights.v1.UpdateSettingsRequest\032/" + + ".google.cloud.contactcenterinsights.v1.S" + + "ettings\"\\\202\323\344\223\002?23/v1/{settings.name=proj" + + "ects/*/locations/*/settings}:\010settings\332A" + + "\024settings,update_mask\032X\312A$contactcenteri" + + "nsights.googleapis.com\322A.https://www.goo" + + "gleapis.com/auth/cloud-platformB\240\002\n)com." + + "google.cloud.contactcenterinsights.v1B\032C" + + "ontactCenterInsightsProtoP\001ZZgoogle.gola" + + "ng.org/genproto/googleapis/cloud/contact" + + "centerinsights/v1;contactcenterinsights\252" + + "\002%Google.Cloud.ContactCenterInsights.V1\312" + + "\002%Google\\Cloud\\ContactCenterInsights\\V1\352" + + "\002(Google::Cloud::ContactCenterInsights::" + + "V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -818,7 +823,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor, new java.lang.String[] { - "BigQueryDestination", "Parent", "Filter", "KmsKey", "Destination", + "BigQueryDestination", + "Parent", + "Filter", + "KmsKey", + "WriteDisposition", + "Destination", }); internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_BigQueryDestination_descriptor = internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java index 86da72ad..b5792fa2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java @@ -41,6 +41,7 @@ private ExportInsightsDataRequest() { parent_ = ""; filter_ = ""; kmsKey_ = ""; + writeDisposition_ = 0; } @java.lang.Override @@ -120,6 +121,13 @@ private ExportInsightsDataRequest( kmsKey_ = s; break; } + case 40: + { + int rawValue = input.readEnum(); + + writeDisposition_ = rawValue; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -154,6 +162,170 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder.class); } + /** + * + * + *
+   * Specifies the action that occurs if the destination table already exists.
+   * 
+ * + * Protobuf enum {@code + * google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition} + */ + public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Write disposition is not specified. Defaults to WRITE_TRUNCATE.
+     * 
+ * + * WRITE_DISPOSITION_UNSPECIFIED = 0; + */ + WRITE_DISPOSITION_UNSPECIFIED(0), + /** + * + * + *
+     * If the table already exists, BigQuery will overwrite the table data and
+     * use the schema from the load.
+     * 
+ * + * WRITE_TRUNCATE = 1; + */ + WRITE_TRUNCATE(1), + /** + * + * + *
+     * If the table already exists, BigQuery will append data to the table.
+     * 
+ * + * WRITE_APPEND = 2; + */ + WRITE_APPEND(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Write disposition is not specified. Defaults to WRITE_TRUNCATE.
+     * 
+ * + * WRITE_DISPOSITION_UNSPECIFIED = 0; + */ + public static final int WRITE_DISPOSITION_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * If the table already exists, BigQuery will overwrite the table data and
+     * use the schema from the load.
+     * 
+ * + * WRITE_TRUNCATE = 1; + */ + public static final int WRITE_TRUNCATE_VALUE = 1; + /** + * + * + *
+     * If the table already exists, BigQuery will append data to the table.
+     * 
+ * + * WRITE_APPEND = 2; + */ + public static final int WRITE_APPEND_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static WriteDisposition valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static WriteDisposition forNumber(int value) { + switch (value) { + case 0: + return WRITE_DISPOSITION_UNSPECIFIED; + case 1: + return WRITE_TRUNCATE; + case 2: + return WRITE_APPEND; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public WriteDisposition findValueByNumber(int number) { + return WriteDisposition.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final WriteDisposition[] VALUES = values(); + + public static WriteDisposition valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private WriteDisposition(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition) + } + public interface BigQueryDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) @@ -1595,6 +1767,51 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { } } + public static final int WRITE_DISPOSITION_FIELD_NUMBER = 5; + private int writeDisposition_; + /** + * + * + *
+   * Options for what to do if the destination table already exists.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * + * @return The enum numeric value on the wire for writeDisposition. + */ + @java.lang.Override + public int getWriteDispositionValue() { + return writeDisposition_; + } + /** + * + * + *
+   * Options for what to do if the destination table already exists.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * + * @return The writeDisposition. + */ + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + getWriteDisposition() { + @SuppressWarnings("deprecation") + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .valueOf(writeDisposition_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1624,6 +1841,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, kmsKey_); } + if (writeDisposition_ + != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .WRITE_DISPOSITION_UNSPECIFIED + .getNumber()) { + output.writeEnum(5, writeDisposition_); + } unknownFields.writeTo(output); } @@ -1650,6 +1873,12 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, kmsKey_); } + if (writeDisposition_ + != com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .WRITE_DISPOSITION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, writeDisposition_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1669,6 +1898,7 @@ public boolean equals(final java.lang.Object obj) { if (!getParent().equals(other.getParent())) return false; if (!getFilter().equals(other.getFilter())) return false; if (!getKmsKey().equals(other.getKmsKey())) return false; + if (writeDisposition_ != other.writeDisposition_) return false; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 2: @@ -1694,6 +1924,8 @@ public int hashCode() { hash = (53 * hash) + getFilter().hashCode(); hash = (37 * hash) + KMS_KEY_FIELD_NUMBER; hash = (53 * hash) + getKmsKey().hashCode(); + hash = (37 * hash) + WRITE_DISPOSITION_FIELD_NUMBER; + hash = (53 * hash) + writeDisposition_; switch (destinationCase_) { case 2: hash = (37 * hash) + BIG_QUERY_DESTINATION_FIELD_NUMBER; @@ -1856,6 +2088,8 @@ public Builder clear() { kmsKey_ = ""; + writeDisposition_ = 0; + destinationCase_ = 0; destination_ = null; return this; @@ -1897,6 +2131,7 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest build result.parent_ = parent_; result.filter_ = filter_; result.kmsKey_ = kmsKey_; + result.writeDisposition_ = writeDisposition_; result.destinationCase_ = destinationCase_; onBuilt(); return result; @@ -1963,6 +2198,9 @@ public Builder mergeFrom( kmsKey_ = other.kmsKey_; onChanged(); } + if (other.writeDisposition_ != 0) { + setWriteDispositionValue(other.getWriteDispositionValue()); + } switch (other.getDestinationCase()) { case BIG_QUERY_DESTINATION: { @@ -2623,6 +2861,114 @@ public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { return this; } + private int writeDisposition_ = 0; + /** + * + * + *
+     * Options for what to do if the destination table already exists.
+     * 
+ * + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * + * @return The enum numeric value on the wire for writeDisposition. + */ + @java.lang.Override + public int getWriteDispositionValue() { + return writeDisposition_; + } + /** + * + * + *
+     * Options for what to do if the destination table already exists.
+     * 
+ * + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * + * @param value The enum numeric value on the wire for writeDisposition to set. + * @return This builder for chaining. + */ + public Builder setWriteDispositionValue(int value) { + + writeDisposition_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Options for what to do if the destination table already exists.
+     * 
+ * + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * + * @return The writeDisposition. + */ + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + getWriteDisposition() { + @SuppressWarnings("deprecation") + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .valueOf(writeDisposition_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Options for what to do if the destination table already exists.
+     * 
+ * + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * + * @param value The writeDisposition to set. + * @return This builder for chaining. + */ + public Builder setWriteDisposition( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + value) { + if (value == null) { + throw new NullPointerException(); + } + + writeDisposition_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Options for what to do if the destination table already exists.
+     * 
+ * + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * + * @return This builder for chaining. + */ + public Builder clearWriteDisposition() { + + writeDisposition_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java index dd47786e..d49fc829 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java @@ -151,6 +151,36 @@ public interface ExportInsightsDataRequestOrBuilder */ com.google.protobuf.ByteString getKmsKeyBytes(); + /** + * + * + *
+   * Options for what to do if the destination table already exists.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * + * @return The enum numeric value on the wire for writeDisposition. + */ + int getWriteDispositionValue(); + /** + * + * + *
+   * Options for what to do if the destination table already exists.
+   * 
+ * + * + * .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5; + * + * + * @return The writeDisposition. + */ + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + getWriteDisposition(); + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.DestinationCase getDestinationCase(); } diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto b/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto index e8153a18..922219b8 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto +++ b/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto @@ -607,6 +607,19 @@ message ExportInsightsDataRequest { string table = 2; } + // Specifies the action that occurs if the destination table already exists. + enum WriteDisposition { + // Write disposition is not specified. Defaults to WRITE_TRUNCATE. + WRITE_DISPOSITION_UNSPECIFIED = 0; + + // If the table already exists, BigQuery will overwrite the table data and + // use the schema from the load. + WRITE_TRUNCATE = 1; + + // If the table already exists, BigQuery will append data to the table. + WRITE_APPEND = 2; + } + // Exporter destination. oneof destination { // Specified if sink is a BigQuery table. @@ -629,6 +642,9 @@ message ExportInsightsDataRequest { // Format: // projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version} string kms_key = 4; + + // Options for what to do if the destination table already exists. + WriteDisposition write_disposition = 5; } // Metadata for an export insights operation.