From 36a43fd12a8a7728fc7d37939f7a8f7a08a35d93 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Thu, 6 Jun 2019 00:44:01 -0700 Subject: [PATCH] Regenerate dlp client --- .../com/google/privacy/dlp/v2/Action.java | 10 +- .../com/google/privacy/dlp/v2/DlpProto.java | 1677 +++++++++-------- .../com/google/privacy/dlp/v2/DlpStorage.java | 233 ++- .../privacy/dlp/v2/InspectJobConfig.java | 69 +- .../dlp/v2/InspectJobConfigOrBuilder.java | 15 +- .../dlp/v2/LargeCustomDictionaryStats.java | 515 +++++ .../LargeCustomDictionaryStatsOrBuilder.java | 21 + .../privacy/dlp/v2/ListDlpJobsRequest.java | 35 + .../dlp/v2/ListDlpJobsRequestOrBuilder.java | 10 + .../privacy/dlp/v2/StoredInfoTypeStats.java | 799 ++++++++ .../dlp/v2/StoredInfoTypeStatsOrBuilder.java | 43 + .../privacy/dlp/v2/StoredInfoTypeVersion.java | 266 +++ .../v2/StoredInfoTypeVersionOrBuilder.java | 31 + .../proto/google/privacy/dlp/v2/dlp.proto | 166 +- .../proto/google/privacy/dlp/v2/storage.proto | 5 +- .../google-cloud-dlp/synth.metadata | 10 +- 16 files changed, 2825 insertions(+), 1080 deletions(-) create mode 100644 google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java create mode 100644 google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java create mode 100644 google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java create mode 100644 google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java index 03d77cfb896c..4e606505616f 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java @@ -814,7 +814,10 @@ public interface PublishToPubSubOrBuilder * * *
-   * Publish the results of a DlpJob to a pub sub channel.
+   * Publish a message into given Pub/Sub topic when DlpJob has completed. The
+   * message contains a single field, `DlpJobName`, which is equal to the
+   * finished job's
+   * [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
    * Compatible with: Inspect, Risk
    * 
* @@ -1112,7 +1115,10 @@ protected Builder newBuilderForType( * * *
-     * Publish the results of a DlpJob to a pub sub channel.
+     * Publish a message into given Pub/Sub topic when DlpJob has completed. The
+     * message contains a single field, `DlpJobName`, which is equal to the
+     * finished job's
+     * [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
      * Compatible with: Inspect, Risk
      * 
* diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java index 700bd957a8dc..f4638f9320e8 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java @@ -588,10 +588,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -635,821 +643,827 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n\037google/privacy/dlp/v2/dlp.proto\022\025googl" + "e.privacy.dlp.v2\032\034google/api/annotations" - + ".proto\032\031google/api/resource.proto\032#googl" - + "e/privacy/dlp/v2/storage.proto\032\036google/p" - + "rotobuf/duration.proto\032\033google/protobuf/" - + "empty.proto\032 google/protobuf/field_mask." - + "proto\032\037google/protobuf/timestamp.proto\032\027" - + "google/rpc/status.proto\032\026google/type/dat" - + "e.proto\032\033google/type/dayofweek.proto\032\033go" - + "ogle/type/timeofday.proto\"G\n\020ExcludeInfo" - + "Types\0223\n\ninfo_types\030\001 \003(\0132\037.google.priva" - + "cy.dlp.v2.InfoType\"\240\002\n\rExclusionRule\022F\n\n" - + "dictionary\030\001 \001(\01320.google.privacy.dlp.v2" - + ".CustomInfoType.DictionaryH\000\022<\n\005regex\030\002 " - + "\001(\0132+.google.privacy.dlp.v2.CustomInfoTy" - + "pe.RegexH\000\022E\n\022exclude_info_types\030\003 \001(\0132\'" - + ".google.privacy.dlp.v2.ExcludeInfoTypesH" - + "\000\022:\n\rmatching_type\030\004 \001(\0162#.google.privac" - + "y.dlp.v2.MatchingTypeB\006\n\004type\"\261\001\n\016Inspec" - + "tionRule\022W\n\014hotword_rule\030\001 \001(\0132?.google." - + "privacy.dlp.v2.CustomInfoType.DetectionR" - + "ule.HotwordRuleH\000\022>\n\016exclusion_rule\030\002 \001(" - + "\0132$.google.privacy.dlp.v2.ExclusionRuleH" - + "\000B\006\n\004type\"~\n\021InspectionRuleSet\0223\n\ninfo_t" - + "ypes\030\001 \003(\0132\037.google.privacy.dlp.v2.InfoT" - + "ype\0224\n\005rules\030\002 \003(\0132%.google.privacy.dlp." - + "v2.InspectionRule\"\307\005\n\rInspectConfig\0223\n\ni" - + "nfo_types\030\001 \003(\0132\037.google.privacy.dlp.v2." - + "InfoType\0229\n\016min_likelihood\030\002 \001(\0162!.googl" - + "e.privacy.dlp.v2.Likelihood\022B\n\006limits\030\003 " - + "\001(\01322.google.privacy.dlp.v2.InspectConfi" - + "g.FindingLimits\022\025\n\rinclude_quote\030\004 \001(\010\022\032" - + "\n\022exclude_info_types\030\005 \001(\010\022@\n\021custom_inf" - + "o_types\030\006 \003(\0132%.google.privacy.dlp.v2.Cu" - + "stomInfoType\022=\n\017content_options\030\010 \003(\0162$." - + "google.privacy.dlp.v2.ContentOption\022:\n\010r" - + "ule_set\030\n \003(\0132(.google.privacy.dlp.v2.In" - + "spectionRuleSet\032\221\002\n\rFindingLimits\022\035\n\025max" - + "_findings_per_item\030\001 \001(\005\022 \n\030max_findings" - + "_per_request\030\002 \001(\005\022d\n\032max_findings_per_i" - + "nfo_type\030\003 \003(\0132@.google.privacy.dlp.v2.I" - + "nspectConfig.FindingLimits.InfoTypeLimit" - + "\032Y\n\rInfoTypeLimit\0222\n\tinfo_type\030\001 \001(\0132\037.g" - + "oogle.privacy.dlp.v2.InfoType\022\024\n\014max_fin" - + "dings\030\002 \001(\005\"\337\001\n\017ByteContentItem\022>\n\004type\030" - + "\001 \001(\01620.google.privacy.dlp.v2.ByteConten" - + "tItem.BytesType\022\014\n\004data\030\002 \001(\014\"~\n\tBytesTy" - + "pe\022\032\n\026BYTES_TYPE_UNSPECIFIED\020\000\022\t\n\005IMAGE\020" - + "\006\022\016\n\nIMAGE_JPEG\020\001\022\r\n\tIMAGE_BMP\020\002\022\r\n\tIMAG" - + "E_PNG\020\003\022\r\n\tIMAGE_SVG\020\004\022\r\n\tTEXT_UTF8\020\005\"\227\001" - + "\n\013ContentItem\022\017\n\005value\030\003 \001(\tH\000\022-\n\005table\030" - + "\004 \001(\0132\034.google.privacy.dlp.v2.TableH\000\022;\n" - + "\tbyte_item\030\005 \001(\0132&.google.privacy.dlp.v2" - + ".ByteContentItemH\000B\013\n\tdata_item\"\235\001\n\005Tabl" - + "e\022/\n\007headers\030\001 \003(\0132\036.google.privacy.dlp." - + "v2.FieldId\022.\n\004rows\030\002 \003(\0132 .google.privac" - + "y.dlp.v2.Table.Row\0323\n\003Row\022,\n\006values\030\001 \003(" - + "\0132\034.google.privacy.dlp.v2.Value\"]\n\rInspe" - + "ctResult\0220\n\010findings\030\001 \003(\0132\036.google.priv" - + "acy.dlp.v2.Finding\022\032\n\022findings_truncated" - + "\030\002 \001(\010\"\235\002\n\007Finding\022\r\n\005quote\030\001 \001(\t\0222\n\tinf" - + "o_type\030\002 \001(\0132\037.google.privacy.dlp.v2.Inf" - + "oType\0225\n\nlikelihood\030\003 \001(\0162!.google.priva" - + "cy.dlp.v2.Likelihood\0221\n\010location\030\004 \001(\0132\037" - + ".google.privacy.dlp.v2.Location\022/\n\013creat" - + "e_time\030\006 \001(\0132\032.google.protobuf.Timestamp" - + "\0224\n\nquote_info\030\007 \001(\0132 .google.privacy.dl" - + "p.v2.QuoteInfo\"\266\001\n\010Location\0220\n\nbyte_rang" - + "e\030\001 \001(\0132\034.google.privacy.dlp.v2.Range\0225\n" - + "\017codepoint_range\030\002 \001(\0132\034.google.privacy." - + "dlp.v2.Range\022A\n\021content_locations\030\007 \003(\0132" - + "&.google.privacy.dlp.v2.ContentLocation\"" - + "\321\002\n\017ContentLocation\022\026\n\016container_name\030\001 " - + "\001(\t\022@\n\017record_location\030\002 \001(\0132%.google.pr" - + "ivacy.dlp.v2.RecordLocationH\000\022>\n\016image_l" - + "ocation\030\003 \001(\0132$.google.privacy.dlp.v2.Im" - + "ageLocationH\000\022D\n\021document_location\030\005 \001(\013" - + "2\'.google.privacy.dlp.v2.DocumentLocatio" - + "nH\000\0227\n\023container_timestamp\030\006 \001(\0132\032.googl" - + "e.protobuf.Timestamp\022\031\n\021container_versio" - + "n\030\007 \001(\tB\n\n\010location\"\'\n\020DocumentLocation\022" - + "\023\n\013file_offset\030\001 \001(\003\"\266\001\n\016RecordLocation\022" - + "4\n\nrecord_key\030\001 \001(\0132 .google.privacy.dlp" - + ".v2.RecordKey\0220\n\010field_id\030\002 \001(\0132\036.google" - + ".privacy.dlp.v2.FieldId\022<\n\016table_locatio" - + "n\030\003 \001(\0132$.google.privacy.dlp.v2.TableLoc" - + "ation\"\"\n\rTableLocation\022\021\n\trow_index\030\001 \001(" - + "\003\"#\n\005Range\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"K" - + "\n\rImageLocation\022:\n\016bounding_boxes\030\001 \003(\0132" - + "\".google.privacy.dlp.v2.BoundingBox\"G\n\013B" - + "oundingBox\022\013\n\003top\030\001 \001(\005\022\014\n\004left\030\002 \001(\005\022\r\n" - + "\005width\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\"\303\003\n\022RedactI" - + "mageRequest\022\016\n\006parent\030\001 \001(\t\022<\n\016inspect_c" - + "onfig\030\002 \001(\0132$.google.privacy.dlp.v2.Insp" - + "ectConfig\022_\n\027image_redaction_configs\030\005 \003" - + "(\0132>.google.privacy.dlp.v2.RedactImageRe" - + "quest.ImageRedactionConfig\022\030\n\020include_fi" - + "ndings\030\006 \001(\010\0229\n\tbyte_item\030\007 \001(\0132&.google" - + ".privacy.dlp.v2.ByteContentItem\032\250\001\n\024Imag" - + "eRedactionConfig\0224\n\tinfo_type\030\001 \001(\0132\037.go" - + "ogle.privacy.dlp.v2.InfoTypeH\000\022\031\n\017redact" - + "_all_text\030\002 \001(\010H\000\0225\n\017redaction_color\030\003 \001" - + "(\0132\034.google.privacy.dlp.v2.ColorB\010\n\006targ" - + "et\"1\n\005Color\022\013\n\003red\030\001 \001(\002\022\r\n\005green\030\002 \001(\002\022" - + "\014\n\004blue\030\003 \001(\002\"\203\001\n\023RedactImageResponse\022\026\n" - + "\016redacted_image\030\001 \001(\014\022\026\n\016extracted_text\030" - + "\002 \001(\t\022<\n\016inspect_result\030\003 \001(\0132$.google.p" - + "rivacy.dlp.v2.InspectResult\"\237\002\n\030Deidenti" - + "fyContentRequest\022\016\n\006parent\030\001 \001(\t\022B\n\021deid" - + "entify_config\030\002 \001(\0132\'.google.privacy.dlp" - + ".v2.DeidentifyConfig\022<\n\016inspect_config\030\003" - + " \001(\0132$.google.privacy.dlp.v2.InspectConf" - + "ig\0220\n\004item\030\004 \001(\0132\".google.privacy.dlp.v2" - + ".ContentItem\022\035\n\025inspect_template_name\030\005 " - + "\001(\t\022 \n\030deidentify_template_name\030\006 \001(\t\"\216\001" - + "\n\031DeidentifyContentResponse\0220\n\004item\030\001 \001(" - + "\0132\".google.privacy.dlp.v2.ContentItem\022?\n" - + "\010overview\030\002 \001(\0132-.google.privacy.dlp.v2." - + "TransformationOverview\"\237\002\n\030ReidentifyCon" - + "tentRequest\022\016\n\006parent\030\001 \001(\t\022B\n\021reidentif" - + "y_config\030\002 \001(\0132\'.google.privacy.dlp.v2.D" - + "eidentifyConfig\022<\n\016inspect_config\030\003 \001(\0132" - + "$.google.privacy.dlp.v2.InspectConfig\0220\n" - + "\004item\030\004 \001(\0132\".google.privacy.dlp.v2.Cont" - + "entItem\022\035\n\025inspect_template_name\030\005 \001(\t\022 " - + "\n\030reidentify_template_name\030\006 \001(\t\"\216\001\n\031Rei" - + "dentifyContentResponse\0220\n\004item\030\001 \001(\0132\".g" - + "oogle.privacy.dlp.v2.ContentItem\022?\n\010over" - + "view\030\002 \001(\0132-.google.privacy.dlp.v2.Trans" - + "formationOverview\"\266\001\n\025InspectContentRequ" - + "est\022\016\n\006parent\030\001 \001(\t\022<\n\016inspect_config\030\002 " - + "\001(\0132$.google.privacy.dlp.v2.InspectConfi" - + "g\0220\n\004item\030\003 \001(\0132\".google.privacy.dlp.v2." - + "ContentItem\022\035\n\025inspect_template_name\030\004 \001" - + "(\t\"N\n\026InspectContentResponse\0224\n\006result\030\001" - + " \001(\0132$.google.privacy.dlp.v2.InspectResu" - + "lt\"\267\002\n\023OutputStorageConfig\0225\n\005table\030\001 \001(" - + "\0132$.google.privacy.dlp.v2.BigQueryTableH" - + "\000\022N\n\routput_schema\030\003 \001(\01627.google.privac" - + "y.dlp.v2.OutputStorageConfig.OutputSchem" - + "a\"\220\001\n\014OutputSchema\022\035\n\031OUTPUT_SCHEMA_UNSP" - + "ECIFIED\020\000\022\021\n\rBASIC_COLUMNS\020\001\022\017\n\013GCS_COLU" - + "MNS\020\002\022\025\n\021DATASTORE_COLUMNS\020\003\022\025\n\021BIG_QUER" - + "Y_COLUMNS\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n\004type\"R\n\r" - + "InfoTypeStats\0222\n\tinfo_type\030\001 \001(\0132\037.googl" - + "e.privacy.dlp.v2.InfoType\022\r\n\005count\030\002 \001(\003" - + "\"\335\003\n\030InspectDataSourceDetails\022[\n\021request" - + "ed_options\030\002 \001(\0132@.google.privacy.dlp.v2" - + ".InspectDataSourceDetails.RequestedOptio" - + "ns\022F\n\006result\030\003 \001(\01326.google.privacy.dlp." - + "v2.InspectDataSourceDetails.Result\032\232\001\n\020R" - + "equestedOptions\022I\n\031snapshot_inspect_temp" - + "late\030\001 \001(\0132&.google.privacy.dlp.v2.Inspe" - + "ctTemplate\022;\n\njob_config\030\003 \001(\0132\'.google." - + "privacy.dlp.v2.InspectJobConfig\032\177\n\006Resul" - + "t\022\027\n\017processed_bytes\030\001 \001(\003\022\035\n\025total_esti" - + "mated_bytes\030\002 \001(\003\022=\n\017info_type_stats\030\003 \003" - + "(\0132$.google.privacy.dlp.v2.InfoTypeStats" - + "\"\220\001\n\023InfoTypeDescription\022\014\n\004name\030\001 \001(\t\022\024" - + "\n\014display_name\030\002 \001(\t\022@\n\014supported_by\030\003 \003" - + "(\0162*.google.privacy.dlp.v2.InfoTypeSuppo" - + "rtedBy\022\023\n\013description\030\004 \001(\t\"=\n\024ListInfoT" - + "ypesRequest\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006fi" - + "lter\030\002 \001(\t\"W\n\025ListInfoTypesResponse\022>\n\ni" - + "nfo_types\030\001 \003(\0132*.google.privacy.dlp.v2." - + "InfoTypeDescription\"\301\001\n\025RiskAnalysisJobC" - + "onfig\022<\n\016privacy_metric\030\001 \001(\0132$.google.p" - + "rivacy.dlp.v2.PrivacyMetric\022:\n\014source_ta" - + "ble\030\002 \001(\0132$.google.privacy.dlp.v2.BigQue" - + "ryTable\022.\n\007actions\030\003 \003(\0132\035.google.privac" - + "y.dlp.v2.Action\"\267\001\n\007QuasiId\022-\n\005field\030\001 \001" - + "(\0132\036.google.privacy.dlp.v2.FieldId\0224\n\tin" - + "fo_type\030\002 \001(\0132\037.google.privacy.dlp.v2.In" - + "foTypeH\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferr" - + "ed\030\004 \001(\0132\026.google.protobuf.EmptyH\000B\005\n\003ta" - + "g\"\257\002\n\020StatisticalTable\0223\n\005table\030\003 \001(\0132$." - + "google.privacy.dlp.v2.BigQueryTable\022O\n\tq" - + "uasi_ids\030\001 \003(\0132<.google.privacy.dlp.v2.S" - + "tatisticalTable.QuasiIdentifierField\022:\n\022" - + "relative_frequency\030\002 \001(\0132\036.google.privac" - + "y.dlp.v2.FieldId\032Y\n\024QuasiIdentifierField" - + "\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2." - + "FieldId\022\022\n\ncustom_tag\030\002 \001(\t\"\365\016\n\rPrivacyM" - + "etric\022[\n\026numerical_stats_config\030\001 \001(\01329." - + "google.privacy.dlp.v2.PrivacyMetric.Nume" - + "ricalStatsConfigH\000\022_\n\030categorical_stats_" - + "config\030\002 \001(\0132;.google.privacy.dlp.v2.Pri" - + "vacyMetric.CategoricalStatsConfigH\000\022S\n\022k" - + "_anonymity_config\030\003 \001(\01325.google.privacy" - + ".dlp.v2.PrivacyMetric.KAnonymityConfigH\000" - + "\022S\n\022l_diversity_config\030\004 \001(\01325.google.pr" - + "ivacy.dlp.v2.PrivacyMetric.LDiversityCon" - + "figH\000\022\\\n\027k_map_estimation_config\030\005 \001(\01329" - + ".google.privacy.dlp.v2.PrivacyMetric.KMa" - + "pEstimationConfigH\000\022n\n delta_presence_es" - + "timation_config\030\006 \001(\0132B.google.privacy.d" - + "lp.v2.PrivacyMetric.DeltaPresenceEstimat" - + "ionConfigH\000\032E\n\024NumericalStatsConfig\022-\n\005f" - + "ield\030\001 \001(\0132\036.google.privacy.dlp.v2.Field" - + "Id\032G\n\026CategoricalStatsConfig\022-\n\005field\030\001 " - + "\001(\0132\036.google.privacy.dlp.v2.FieldId\032y\n\020K" - + "AnonymityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.goo" - + "gle.privacy.dlp.v2.FieldId\0222\n\tentity_id\030" - + "\002 \001(\0132\037.google.privacy.dlp.v2.EntityId\032\202" - + "\001\n\020LDiversityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036" - + ".google.privacy.dlp.v2.FieldId\022;\n\023sensit" - + "ive_attribute\030\002 \001(\0132\036.google.privacy.dlp" - + ".v2.FieldId\032\350\005\n\024KMapEstimationConfig\022X\n\t" - + "quasi_ids\030\001 \003(\0132E.google.privacy.dlp.v2." - + "PrivacyMetric.KMapEstimationConfig.Tagge" - + "dField\022\023\n\013region_code\030\002 \001(\t\022b\n\020auxiliary" - + "_tables\030\003 \003(\0132H.google.privacy.dlp.v2.Pr" - + "ivacyMetric.KMapEstimationConfig.Auxilia" - + "ryTable\032\273\001\n\013TaggedField\022-\n\005field\030\001 \001(\0132\036" - + ".google.privacy.dlp.v2.FieldId\0224\n\tinfo_t" - + "ype\030\002 \001(\0132\037.google.privacy.dlp.v2.InfoTy" - + "peH\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferred\030\004" - + " \001(\0132\026.google.protobuf.EmptyH\000B\005\n\003tag\032\276\002" - + "\n\016AuxiliaryTable\0223\n\005table\030\003 \001(\0132$.google" - + ".privacy.dlp.v2.BigQueryTable\022h\n\tquasi_i" - + "ds\030\001 \003(\0132U.google.privacy.dlp.v2.Privacy" - + "Metric.KMapEstimationConfig.AuxiliaryTab" - + "le.QuasiIdField\022:\n\022relative_frequency\030\002 " - + "\001(\0132\036.google.privacy.dlp.v2.FieldId\032Q\n\014Q" - + "uasiIdField\022-\n\005field\030\001 \001(\0132\036.google.priv" - + "acy.dlp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\252" - + "\001\n\035DeltaPresenceEstimationConfig\0221\n\tquas" - + "i_ids\030\001 \003(\0132\036.google.privacy.dlp.v2.Quas" - + "iId\022\023\n\013region_code\030\002 \001(\t\022A\n\020auxiliary_ta" - + "bles\030\003 \003(\0132\'.google.privacy.dlp.v2.Stati" - + "sticalTableB\006\n\004type\"\362\035\n\034AnalyzeDataSourc" - + "eRiskDetails\022F\n\030requested_privacy_metric" - + "\030\001 \001(\0132$.google.privacy.dlp.v2.PrivacyMe" - + "tric\022D\n\026requested_source_table\030\002 \001(\0132$.g" - + "oogle.privacy.dlp.v2.BigQueryTable\022j\n\026nu" - + "merical_stats_result\030\003 \001(\0132H.google.priv" - + "acy.dlp.v2.AnalyzeDataSourceRiskDetails." - + "NumericalStatsResultH\000\022n\n\030categorical_st" - + "ats_result\030\004 \001(\0132J.google.privacy.dlp.v2" - + ".AnalyzeDataSourceRiskDetails.Categorica" - + "lStatsResultH\000\022b\n\022k_anonymity_result\030\005 \001" - + "(\0132D.google.privacy.dlp.v2.AnalyzeDataSo" - + "urceRiskDetails.KAnonymityResultH\000\022b\n\022l_" - + "diversity_result\030\006 \001(\0132D.google.privacy." - + "dlp.v2.AnalyzeDataSourceRiskDetails.LDiv" - + "ersityResultH\000\022k\n\027k_map_estimation_resul" - + "t\030\007 \001(\0132H.google.privacy.dlp.v2.AnalyzeD" - + "ataSourceRiskDetails.KMapEstimationResul" - + "tH\000\022}\n delta_presence_estimation_result\030" - + "\t \001(\0132Q.google.privacy.dlp.v2.AnalyzeDat" - + "aSourceRiskDetails.DeltaPresenceEstimati" - + "onResultH\000\032\257\001\n\024NumericalStatsResult\022/\n\tm" - + "in_value\030\001 \001(\0132\034.google.privacy.dlp.v2.V" - + "alue\022/\n\tmax_value\030\002 \001(\0132\034.google.privacy" - + ".dlp.v2.Value\0225\n\017quantile_values\030\004 \003(\0132\034" - + ".google.privacy.dlp.v2.Value\032\215\003\n\026Categor" - + "icalStatsResult\022\225\001\n!value_frequency_hist" - + "ogram_buckets\030\005 \003(\0132j.google.privacy.dlp" - + ".v2.AnalyzeDataSourceRiskDetails.Categor" - + "icalStatsResult.CategoricalStatsHistogra" - + "mBucket\032\332\001\n\037CategoricalStatsHistogramBuc" - + "ket\022#\n\033value_frequency_lower_bound\030\001 \001(\003" - + "\022#\n\033value_frequency_upper_bound\030\002 \001(\003\022\023\n" - + "\013bucket_size\030\003 \001(\003\022<\n\rbucket_values\030\004 \003(" - + "\0132%.google.privacy.dlp.v2.ValueFrequency" - + "\022\032\n\022bucket_value_count\030\005 \001(\003\032\265\004\n\020KAnonym" - + "ityResult\022\213\001\n#equivalence_class_histogra" - + "m_buckets\030\005 \003(\0132^.google.privacy.dlp.v2." - + "AnalyzeDataSourceRiskDetails.KAnonymityR" - + "esult.KAnonymityHistogramBucket\032t\n\032KAnon" - + "ymityEquivalenceClass\0226\n\020quasi_ids_value" - + "s\030\001 \003(\0132\034.google.privacy.dlp.v2.Value\022\036\n" - + "\026equivalence_class_size\030\002 \001(\003\032\234\002\n\031KAnony" - + "mityHistogramBucket\022*\n\"equivalence_class" - + "_size_lower_bound\030\001 \001(\003\022*\n\"equivalence_c" - + "lass_size_upper_bound\030\002 \001(\003\022\023\n\013bucket_si" - + "ze\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.google" - + ".privacy.dlp.v2.AnalyzeDataSourceRiskDet" - + "ails.KAnonymityResult.KAnonymityEquivale" - + "nceClass\022\032\n\022bucket_value_count\030\005 \001(\003\032\260\005\n" - + "\020LDiversityResult\022\223\001\n+sensitive_value_fr" - + "equency_histogram_buckets\030\005 \003(\0132^.google" - + ".privacy.dlp.v2.AnalyzeDataSourceRiskDet" - + "ails.LDiversityResult.LDiversityHistogra" - + "mBucket\032\340\001\n\032LDiversityEquivalenceClass\0226" - + "\n\020quasi_ids_values\030\001 \003(\0132\034.google.privac" - + "y.dlp.v2.Value\022\036\n\026equivalence_class_size" - + "\030\002 \001(\003\022%\n\035num_distinct_sensitive_values\030" - + "\003 \001(\003\022C\n\024top_sensitive_values\030\004 \003(\0132%.go" - + "ogle.privacy.dlp.v2.ValueFrequency\032\242\002\n\031L" - + "DiversityHistogramBucket\022-\n%sensitive_va" - + "lue_frequency_lower_bound\030\001 \001(\003\022-\n%sensi" - + "tive_value_frequency_upper_bound\030\002 \001(\003\022\023" - + "\n\013bucket_size\030\003 \001(\003\022v\n\rbucket_values\030\004 \003" - + "(\0132_.google.privacy.dlp.v2.AnalyzeDataSo" - + "urceRiskDetails.LDiversityResult.LDivers" - + "ityEquivalenceClass\022\032\n\022bucket_value_coun" - + "t\030\005 \001(\003\032\225\004\n\024KMapEstimationResult\022\212\001\n\032k_m" - + "ap_estimation_histogram\030\001 \003(\0132f.google.p" - + "rivacy.dlp.v2.AnalyzeDataSourceRiskDetai" - + "ls.KMapEstimationResult.KMapEstimationHi" - + "stogramBucket\032r\n\033KMapEstimationQuasiIdVa" - + "lues\0226\n\020quasi_ids_values\030\001 \003(\0132\034.google." - + "privacy.dlp.v2.Value\022\033\n\023estimated_anonym" - + "ity\030\002 \001(\003\032\373\001\n\035KMapEstimationHistogramBuc" - + "ket\022\025\n\rmin_anonymity\030\001 \001(\003\022\025\n\rmax_anonym" - + "ity\030\002 \001(\003\022\023\n\013bucket_size\030\005 \001(\003\022{\n\rbucket" - + "_values\030\006 \003(\0132d.google.privacy.dlp.v2.An" - + "alyzeDataSourceRiskDetails.KMapEstimatio" - + "nResult.KMapEstimationQuasiIdValues\022\032\n\022b" - + "ucket_value_count\030\007 \001(\003\032\344\004\n\035DeltaPresenc" - + "eEstimationResult\022\245\001\n#delta_presence_est" - + "imation_histogram\030\001 \003(\0132x.google.privacy" - + ".dlp.v2.AnalyzeDataSourceRiskDetails.Del" - + "taPresenceEstimationResult.DeltaPresence" - + "EstimationHistogramBucket\032}\n$DeltaPresen" - + "ceEstimationQuasiIdValues\0226\n\020quasi_ids_v" - + "alues\030\001 \003(\0132\034.google.privacy.dlp.v2.Valu" - + "e\022\035\n\025estimated_probability\030\002 \001(\001\032\233\002\n&Del" - + "taPresenceEstimationHistogramBucket\022\027\n\017m" - + "in_probability\030\001 \001(\001\022\027\n\017max_probability\030" - + "\002 \001(\001\022\023\n\013bucket_size\030\005 \001(\003\022\215\001\n\rbucket_va" - + "lues\030\006 \003(\0132v.google.privacy.dlp.v2.Analy" - + "zeDataSourceRiskDetails.DeltaPresenceEst" - + "imationResult.DeltaPresenceEstimationQua" - + "siIdValues\022\032\n\022bucket_value_count\030\007 \001(\003B\010" - + "\n\006result\"L\n\016ValueFrequency\022+\n\005value\030\001 \001(" - + "\0132\034.google.privacy.dlp.v2.Value\022\r\n\005count" - + "\030\002 \001(\003\"\263\002\n\005Value\022\027\n\rinteger_value\030\001 \001(\003H" - + "\000\022\025\n\013float_value\030\002 \001(\001H\000\022\026\n\014string_value" - + "\030\003 \001(\tH\000\022\027\n\rboolean_value\030\004 \001(\010H\000\0225\n\017tim" - + "estamp_value\030\005 \001(\0132\032.google.protobuf.Tim" - + "estampH\000\022,\n\ntime_value\030\006 \001(\0132\026.google.ty" - + "pe.TimeOfDayH\000\022\'\n\ndate_value\030\007 \001(\0132\021.goo" - + "gle.type.DateH\000\0223\n\021day_of_week_value\030\010 \001" - + "(\0162\026.google.type.DayOfWeekH\000B\006\n\004type\"Q\n\t" - + "QuoteInfo\0224\n\tdate_time\030\002 \001(\0132\037.google.pr" - + "ivacy.dlp.v2.DateTimeH\000B\016\n\014parsed_quote\"" - + "\337\001\n\010DateTime\022\037\n\004date\030\001 \001(\0132\021.google.type" - + ".Date\022+\n\013day_of_week\030\002 \001(\0162\026.google.type" - + ".DayOfWeek\022$\n\004time\030\003 \001(\0132\026.google.type.T" - + "imeOfDay\022;\n\ttime_zone\030\004 \001(\0132(.google.pri" - + "vacy.dlp.v2.DateTime.TimeZone\032\"\n\010TimeZon" - + "e\022\026\n\016offset_minutes\030\001 \001(\005\"\311\001\n\020Deidentify" - + "Config\022S\n\031info_type_transformations\030\001 \001(" - + "\0132..google.privacy.dlp.v2.InfoTypeTransf" - + "ormationsH\000\022N\n\026record_transformations\030\002 " - + "\001(\0132,.google.privacy.dlp.v2.RecordTransf" - + "ormationsH\000B\020\n\016transformation\"\365\006\n\027Primit" - + "iveTransformation\022C\n\016replace_config\030\001 \001(" - + "\0132).google.privacy.dlp.v2.ReplaceValueCo" - + "nfigH\000\022<\n\rredact_config\030\002 \001(\0132#.google.p" - + "rivacy.dlp.v2.RedactConfigH\000\022K\n\025characte" - + "r_mask_config\030\003 \001(\0132*.google.privacy.dlp" - + ".v2.CharacterMaskConfigH\000\022Y\n\035crypto_repl" - + "ace_ffx_fpe_config\030\004 \001(\01320.google.privac" - + "y.dlp.v2.CryptoReplaceFfxFpeConfigH\000\022V\n\033" - + "fixed_size_bucketing_config\030\005 \001(\0132/.goog" - + "le.privacy.dlp.v2.FixedSizeBucketingConf" - + "igH\000\022B\n\020bucketing_config\030\006 \001(\0132&.google." - + "privacy.dlp.v2.BucketingConfigH\000\022Y\n\035repl" - + "ace_with_info_type_config\030\007 \001(\01320.google" - + ".privacy.dlp.v2.ReplaceWithInfoTypeConfi" - + "gH\000\022A\n\020time_part_config\030\010 \001(\0132%.google.p" - + "rivacy.dlp.v2.TimePartConfigH\000\022E\n\022crypto" - + "_hash_config\030\t \001(\0132\'.google.privacy.dlp." - + "v2.CryptoHashConfigH\000\022C\n\021date_shift_conf" - + "ig\030\013 \001(\0132&.google.privacy.dlp.v2.DateShi" - + "ftConfigH\000\022W\n\033crypto_deterministic_confi" - + "g\030\014 \001(\01320.google.privacy.dlp.v2.CryptoDe" - + "terministicConfigH\000B\020\n\016transformation\"\334\001" - + "\n\016TimePartConfig\022G\n\017part_to_extract\030\001 \001(" - + "\0162..google.privacy.dlp.v2.TimePartConfig" - + ".TimePart\"\200\001\n\010TimePart\022\031\n\025TIME_PART_UNSP" - + "ECIFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\020\n\014DAY_OF" - + "_MONTH\020\003\022\017\n\013DAY_OF_WEEK\020\004\022\020\n\014WEEK_OF_YEA" - + "R\020\005\022\017\n\013HOUR_OF_DAY\020\006\"H\n\020CryptoHashConfig" - + "\0224\n\ncrypto_key\030\001 \001(\0132 .google.privacy.dl" - + "p.v2.CryptoKey\"\300\001\n\031CryptoDeterministicCo" - + "nfig\0224\n\ncrypto_key\030\001 \001(\0132 .google.privac" - + "y.dlp.v2.CryptoKey\022<\n\023surrogate_info_typ" + + ".proto\032\027google/api/client.proto\032#google/" + + "privacy/dlp/v2/storage.proto\032\036google/pro" + + "tobuf/duration.proto\032\033google/protobuf/em" + + "pty.proto\032 google/protobuf/field_mask.pr" + + "oto\032\037google/protobuf/timestamp.proto\032\027go" + + "ogle/rpc/status.proto\032\026google/type/date." + + "proto\032\033google/type/dayofweek.proto\032\033goog" + + "le/type/timeofday.proto\"G\n\020ExcludeInfoTy" + + "pes\0223\n\ninfo_types\030\001 \003(\0132\037.google.privacy" + + ".dlp.v2.InfoType\"\240\002\n\rExclusionRule\022F\n\ndi" + + "ctionary\030\001 \001(\01320.google.privacy.dlp.v2.C" + + "ustomInfoType.DictionaryH\000\022<\n\005regex\030\002 \001(" + + "\0132+.google.privacy.dlp.v2.CustomInfoType" + + ".RegexH\000\022E\n\022exclude_info_types\030\003 \001(\0132\'.g" + + "oogle.privacy.dlp.v2.ExcludeInfoTypesH\000\022" + + ":\n\rmatching_type\030\004 \001(\0162#.google.privacy." + + "dlp.v2.MatchingTypeB\006\n\004type\"\261\001\n\016Inspecti" + + "onRule\022W\n\014hotword_rule\030\001 \001(\0132?.google.pr" + + "ivacy.dlp.v2.CustomInfoType.DetectionRul" + + "e.HotwordRuleH\000\022>\n\016exclusion_rule\030\002 \001(\0132" + + "$.google.privacy.dlp.v2.ExclusionRuleH\000B" + + "\006\n\004type\"~\n\021InspectionRuleSet\0223\n\ninfo_typ" + + "es\030\001 \003(\0132\037.google.privacy.dlp.v2.InfoTyp" + + "e\0224\n\005rules\030\002 \003(\0132%.google.privacy.dlp.v2" + + ".InspectionRule\"\307\005\n\rInspectConfig\0223\n\ninf" + + "o_types\030\001 \003(\0132\037.google.privacy.dlp.v2.In" + + "foType\0229\n\016min_likelihood\030\002 \001(\0162!.google." + + "privacy.dlp.v2.Likelihood\022B\n\006limits\030\003 \001(" + + "\01322.google.privacy.dlp.v2.InspectConfig." + + "FindingLimits\022\025\n\rinclude_quote\030\004 \001(\010\022\032\n\022" + + "exclude_info_types\030\005 \001(\010\022@\n\021custom_info_" + + "types\030\006 \003(\0132%.google.privacy.dlp.v2.Cust" + + "omInfoType\022=\n\017content_options\030\010 \003(\0162$.go" + + "ogle.privacy.dlp.v2.ContentOption\022:\n\010rul" + + "e_set\030\n \003(\0132(.google.privacy.dlp.v2.Insp" + + "ectionRuleSet\032\221\002\n\rFindingLimits\022\035\n\025max_f" + + "indings_per_item\030\001 \001(\005\022 \n\030max_findings_p" + + "er_request\030\002 \001(\005\022d\n\032max_findings_per_inf" + + "o_type\030\003 \003(\0132@.google.privacy.dlp.v2.Ins" + + "pectConfig.FindingLimits.InfoTypeLimit\032Y" + + "\n\rInfoTypeLimit\0222\n\tinfo_type\030\001 \001(\0132\037.goo" + + "gle.privacy.dlp.v2.InfoType\022\024\n\014max_findi" + + "ngs\030\002 \001(\005\"\337\001\n\017ByteContentItem\022>\n\004type\030\001 " + + "\001(\01620.google.privacy.dlp.v2.ByteContentI" + + "tem.BytesType\022\014\n\004data\030\002 \001(\014\"~\n\tBytesType" + + "\022\032\n\026BYTES_TYPE_UNSPECIFIED\020\000\022\t\n\005IMAGE\020\006\022" + + "\016\n\nIMAGE_JPEG\020\001\022\r\n\tIMAGE_BMP\020\002\022\r\n\tIMAGE_" + + "PNG\020\003\022\r\n\tIMAGE_SVG\020\004\022\r\n\tTEXT_UTF8\020\005\"\227\001\n\013" + + "ContentItem\022\017\n\005value\030\003 \001(\tH\000\022-\n\005table\030\004 " + + "\001(\0132\034.google.privacy.dlp.v2.TableH\000\022;\n\tb" + + "yte_item\030\005 \001(\0132&.google.privacy.dlp.v2.B" + + "yteContentItemH\000B\013\n\tdata_item\"\235\001\n\005Table\022" + + "/\n\007headers\030\001 \003(\0132\036.google.privacy.dlp.v2" + + ".FieldId\022.\n\004rows\030\002 \003(\0132 .google.privacy." + + "dlp.v2.Table.Row\0323\n\003Row\022,\n\006values\030\001 \003(\0132" + + "\034.google.privacy.dlp.v2.Value\"]\n\rInspect" + + "Result\0220\n\010findings\030\001 \003(\0132\036.google.privac" + + "y.dlp.v2.Finding\022\032\n\022findings_truncated\030\002" + + " \001(\010\"\235\002\n\007Finding\022\r\n\005quote\030\001 \001(\t\0222\n\tinfo_" + + "type\030\002 \001(\0132\037.google.privacy.dlp.v2.InfoT" + + "ype\0225\n\nlikelihood\030\003 \001(\0162!.google.privacy" + + ".dlp.v2.Likelihood\0221\n\010location\030\004 \001(\0132\037.g" + + "oogle.privacy.dlp.v2.Location\022/\n\013create_" + + "time\030\006 \001(\0132\032.google.protobuf.Timestamp\0224" + + "\n\nquote_info\030\007 \001(\0132 .google.privacy.dlp." + + "v2.QuoteInfo\"\266\001\n\010Location\0220\n\nbyte_range\030" + + "\001 \001(\0132\034.google.privacy.dlp.v2.Range\0225\n\017c" + + "odepoint_range\030\002 \001(\0132\034.google.privacy.dl" + + "p.v2.Range\022A\n\021content_locations\030\007 \003(\0132&." + + "google.privacy.dlp.v2.ContentLocation\"\321\002" + + "\n\017ContentLocation\022\026\n\016container_name\030\001 \001(" + + "\t\022@\n\017record_location\030\002 \001(\0132%.google.priv" + + "acy.dlp.v2.RecordLocationH\000\022>\n\016image_loc" + + "ation\030\003 \001(\0132$.google.privacy.dlp.v2.Imag" + + "eLocationH\000\022D\n\021document_location\030\005 \001(\0132\'" + + ".google.privacy.dlp.v2.DocumentLocationH" + + "\000\0227\n\023container_timestamp\030\006 \001(\0132\032.google." + + "protobuf.Timestamp\022\031\n\021container_version\030" + + "\007 \001(\tB\n\n\010location\"\'\n\020DocumentLocation\022\023\n" + + "\013file_offset\030\001 \001(\003\"\266\001\n\016RecordLocation\0224\n" + + "\nrecord_key\030\001 \001(\0132 .google.privacy.dlp.v" + + "2.RecordKey\0220\n\010field_id\030\002 \001(\0132\036.google.p" + + "rivacy.dlp.v2.FieldId\022<\n\016table_location\030" + + "\003 \001(\0132$.google.privacy.dlp.v2.TableLocat" + + "ion\"\"\n\rTableLocation\022\021\n\trow_index\030\001 \001(\003\"" + + "#\n\005Range\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"K\n\r" + + "ImageLocation\022:\n\016bounding_boxes\030\001 \003(\0132\"." + + "google.privacy.dlp.v2.BoundingBox\"G\n\013Bou" + + "ndingBox\022\013\n\003top\030\001 \001(\005\022\014\n\004left\030\002 \001(\005\022\r\n\005w" + + "idth\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\"\303\003\n\022RedactIma" + + "geRequest\022\016\n\006parent\030\001 \001(\t\022<\n\016inspect_con" + + "fig\030\002 \001(\0132$.google.privacy.dlp.v2.Inspec" + + "tConfig\022_\n\027image_redaction_configs\030\005 \003(\013" + + "2>.google.privacy.dlp.v2.RedactImageRequ" + + "est.ImageRedactionConfig\022\030\n\020include_find" + + "ings\030\006 \001(\010\0229\n\tbyte_item\030\007 \001(\0132&.google.p" + + "rivacy.dlp.v2.ByteContentItem\032\250\001\n\024ImageR" + + "edactionConfig\0224\n\tinfo_type\030\001 \001(\0132\037.goog" + + "le.privacy.dlp.v2.InfoTypeH\000\022\031\n\017redact_a" + + "ll_text\030\002 \001(\010H\000\0225\n\017redaction_color\030\003 \001(\013" + + "2\034.google.privacy.dlp.v2.ColorB\010\n\006target" + + "\"1\n\005Color\022\013\n\003red\030\001 \001(\002\022\r\n\005green\030\002 \001(\002\022\014\n" + + "\004blue\030\003 \001(\002\"\203\001\n\023RedactImageResponse\022\026\n\016r" + + "edacted_image\030\001 \001(\014\022\026\n\016extracted_text\030\002 " + + "\001(\t\022<\n\016inspect_result\030\003 \001(\0132$.google.pri" + + "vacy.dlp.v2.InspectResult\"\237\002\n\030Deidentify" + + "ContentRequest\022\016\n\006parent\030\001 \001(\t\022B\n\021deiden" + + "tify_config\030\002 \001(\0132\'.google.privacy.dlp.v" + + "2.DeidentifyConfig\022<\n\016inspect_config\030\003 \001" + + "(\0132$.google.privacy.dlp.v2.InspectConfig" + + "\0220\n\004item\030\004 \001(\0132\".google.privacy.dlp.v2.C" + + "ontentItem\022\035\n\025inspect_template_name\030\005 \001(" + + "\t\022 \n\030deidentify_template_name\030\006 \001(\t\"\216\001\n\031" + + "DeidentifyContentResponse\0220\n\004item\030\001 \001(\0132" + + "\".google.privacy.dlp.v2.ContentItem\022?\n\010o" + + "verview\030\002 \001(\0132-.google.privacy.dlp.v2.Tr" + + "ansformationOverview\"\237\002\n\030ReidentifyConte" + + "ntRequest\022\016\n\006parent\030\001 \001(\t\022B\n\021reidentify_" + + "config\030\002 \001(\0132\'.google.privacy.dlp.v2.Dei" + + "dentifyConfig\022<\n\016inspect_config\030\003 \001(\0132$." + + "google.privacy.dlp.v2.InspectConfig\0220\n\004i" + + "tem\030\004 \001(\0132\".google.privacy.dlp.v2.Conten" + + "tItem\022\035\n\025inspect_template_name\030\005 \001(\t\022 \n\030" + + "reidentify_template_name\030\006 \001(\t\"\216\001\n\031Reide" + + "ntifyContentResponse\0220\n\004item\030\001 \001(\0132\".goo" + + "gle.privacy.dlp.v2.ContentItem\022?\n\010overvi" + + "ew\030\002 \001(\0132-.google.privacy.dlp.v2.Transfo" + + "rmationOverview\"\266\001\n\025InspectContentReques" + + "t\022\016\n\006parent\030\001 \001(\t\022<\n\016inspect_config\030\002 \001(" + + "\0132$.google.privacy.dlp.v2.InspectConfig\022" + + "0\n\004item\030\003 \001(\0132\".google.privacy.dlp.v2.Co" + + "ntentItem\022\035\n\025inspect_template_name\030\004 \001(\t" + + "\"N\n\026InspectContentResponse\0224\n\006result\030\001 \001" + + "(\0132$.google.privacy.dlp.v2.InspectResult" + + "\"\267\002\n\023OutputStorageConfig\0225\n\005table\030\001 \001(\0132" + + "$.google.privacy.dlp.v2.BigQueryTableH\000\022" + + "N\n\routput_schema\030\003 \001(\01627.google.privacy." + + "dlp.v2.OutputStorageConfig.OutputSchema\"" + + "\220\001\n\014OutputSchema\022\035\n\031OUTPUT_SCHEMA_UNSPEC" + + "IFIED\020\000\022\021\n\rBASIC_COLUMNS\020\001\022\017\n\013GCS_COLUMN" + + "S\020\002\022\025\n\021DATASTORE_COLUMNS\020\003\022\025\n\021BIG_QUERY_" + + "COLUMNS\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n\004type\"R\n\rIn" + + "foTypeStats\0222\n\tinfo_type\030\001 \001(\0132\037.google." + + "privacy.dlp.v2.InfoType\022\r\n\005count\030\002 \001(\003\"\335" + + "\003\n\030InspectDataSourceDetails\022[\n\021requested" + + "_options\030\002 \001(\0132@.google.privacy.dlp.v2.I" + + "nspectDataSourceDetails.RequestedOptions" + + "\022F\n\006result\030\003 \001(\01326.google.privacy.dlp.v2" + + ".InspectDataSourceDetails.Result\032\232\001\n\020Req" + + "uestedOptions\022I\n\031snapshot_inspect_templa" + + "te\030\001 \001(\0132&.google.privacy.dlp.v2.Inspect" + + "Template\022;\n\njob_config\030\003 \001(\0132\'.google.pr" + + "ivacy.dlp.v2.InspectJobConfig\032\177\n\006Result\022" + + "\027\n\017processed_bytes\030\001 \001(\003\022\035\n\025total_estima" + + "ted_bytes\030\002 \001(\003\022=\n\017info_type_stats\030\003 \003(\013" + + "2$.google.privacy.dlp.v2.InfoTypeStats\"\220" + + "\001\n\023InfoTypeDescription\022\014\n\004name\030\001 \001(\t\022\024\n\014" + + "display_name\030\002 \001(\t\022@\n\014supported_by\030\003 \003(\016" + + "2*.google.privacy.dlp.v2.InfoTypeSupport" + + "edBy\022\023\n\013description\030\004 \001(\t\"=\n\024ListInfoTyp" + + "esRequest\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006filt" + + "er\030\002 \001(\t\"W\n\025ListInfoTypesResponse\022>\n\ninf" + + "o_types\030\001 \003(\0132*.google.privacy.dlp.v2.In" + + "foTypeDescription\"\301\001\n\025RiskAnalysisJobCon" + + "fig\022<\n\016privacy_metric\030\001 \001(\0132$.google.pri" + + "vacy.dlp.v2.PrivacyMetric\022:\n\014source_tabl" + + "e\030\002 \001(\0132$.google.privacy.dlp.v2.BigQuery" + + "Table\022.\n\007actions\030\003 \003(\0132\035.google.privacy." + + "dlp.v2.Action\"\267\001\n\007QuasiId\022-\n\005field\030\001 \001(\013" + + "2\036.google.privacy.dlp.v2.FieldId\0224\n\tinfo" + + "_type\030\002 \001(\0132\037.google.privacy.dlp.v2.Info" + + "TypeH\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferred" + + "\030\004 \001(\0132\026.google.protobuf.EmptyH\000B\005\n\003tag\"" + + "\257\002\n\020StatisticalTable\0223\n\005table\030\003 \001(\0132$.go" + + "ogle.privacy.dlp.v2.BigQueryTable\022O\n\tqua" + + "si_ids\030\001 \003(\0132<.google.privacy.dlp.v2.Sta" + + "tisticalTable.QuasiIdentifierField\022:\n\022re" + + "lative_frequency\030\002 \001(\0132\036.google.privacy." + + "dlp.v2.FieldId\032Y\n\024QuasiIdentifierField\022-" + + "\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fi" + + "eldId\022\022\n\ncustom_tag\030\002 \001(\t\"\365\016\n\rPrivacyMet" + + "ric\022[\n\026numerical_stats_config\030\001 \001(\01329.go" + + "ogle.privacy.dlp.v2.PrivacyMetric.Numeri" + + "calStatsConfigH\000\022_\n\030categorical_stats_co" + + "nfig\030\002 \001(\0132;.google.privacy.dlp.v2.Priva" + + "cyMetric.CategoricalStatsConfigH\000\022S\n\022k_a" + + "nonymity_config\030\003 \001(\01325.google.privacy.d" + + "lp.v2.PrivacyMetric.KAnonymityConfigH\000\022S" + + "\n\022l_diversity_config\030\004 \001(\01325.google.priv" + + "acy.dlp.v2.PrivacyMetric.LDiversityConfi" + + "gH\000\022\\\n\027k_map_estimation_config\030\005 \001(\01329.g" + + "oogle.privacy.dlp.v2.PrivacyMetric.KMapE" + + "stimationConfigH\000\022n\n delta_presence_esti" + + "mation_config\030\006 \001(\0132B.google.privacy.dlp" + + ".v2.PrivacyMetric.DeltaPresenceEstimatio" + + "nConfigH\000\032E\n\024NumericalStatsConfig\022-\n\005fie" + + "ld\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId" + + "\032G\n\026CategoricalStatsConfig\022-\n\005field\030\001 \001(" + + "\0132\036.google.privacy.dlp.v2.FieldId\032y\n\020KAn" + + "onymityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.googl" + + "e.privacy.dlp.v2.FieldId\0222\n\tentity_id\030\002 " + + "\001(\0132\037.google.privacy.dlp.v2.EntityId\032\202\001\n" + + "\020LDiversityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.g" + + "oogle.privacy.dlp.v2.FieldId\022;\n\023sensitiv" + + "e_attribute\030\002 \001(\0132\036.google.privacy.dlp.v" + + "2.FieldId\032\350\005\n\024KMapEstimationConfig\022X\n\tqu" + + "asi_ids\030\001 \003(\0132E.google.privacy.dlp.v2.Pr" + + "ivacyMetric.KMapEstimationConfig.TaggedF" + + "ield\022\023\n\013region_code\030\002 \001(\t\022b\n\020auxiliary_t" + + "ables\030\003 \003(\0132H.google.privacy.dlp.v2.Priv" + + "acyMetric.KMapEstimationConfig.Auxiliary" + + "Table\032\273\001\n\013TaggedField\022-\n\005field\030\001 \001(\0132\036.g" + + "oogle.privacy.dlp.v2.FieldId\0224\n\tinfo_typ" + "e\030\002 \001(\0132\037.google.privacy.dlp.v2.InfoType" - + "\022/\n\007context\030\003 \001(\0132\036.google.privacy.dlp.v" - + "2.FieldId\"E\n\022ReplaceValueConfig\022/\n\tnew_v" - + "alue\030\001 \001(\0132\034.google.privacy.dlp.v2.Value" - + "\"\033\n\031ReplaceWithInfoTypeConfig\"\016\n\014RedactC" - + "onfig\"\266\002\n\rCharsToIgnore\022\034\n\022characters_to" - + "_skip\030\001 \001(\tH\000\022_\n\033common_characters_to_ig" - + "nore\030\002 \001(\01628.google.privacy.dlp.v2.Chars" - + "ToIgnore.CommonCharsToIgnoreH\000\"\227\001\n\023Commo" - + "nCharsToIgnore\022&\n\"COMMON_CHARS_TO_IGNORE" - + "_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UPP" - + "ER_CASE\020\002\022\024\n\020ALPHA_LOWER_CASE\020\003\022\017\n\013PUNCT" - + "UATION\020\004\022\016\n\nWHITESPACE\020\005B\014\n\ncharacters\"\243" - + "\001\n\023CharacterMaskConfig\022\031\n\021masking_charac" - + "ter\030\001 \001(\t\022\026\n\016number_to_mask\030\002 \001(\005\022\025\n\rrev" - + "erse_order\030\003 \001(\010\022B\n\024characters_to_ignore" - + "\030\004 \003(\0132$.google.privacy.dlp.v2.CharsToIg" - + "nore\"\225\001\n\030FixedSizeBucketingConfig\0221\n\013low" - + "er_bound\030\001 \001(\0132\034.google.privacy.dlp.v2.V", - "alue\0221\n\013upper_bound\030\002 \001(\0132\034.google.priva" - + "cy.dlp.v2.Value\022\023\n\013bucket_size\030\003 \001(\001\"\353\001\n" - + "\017BucketingConfig\022>\n\007buckets\030\001 \003(\0132-.goog" - + "le.privacy.dlp.v2.BucketingConfig.Bucket" - + "\032\227\001\n\006Bucket\022)\n\003min\030\001 \001(\0132\034.google.privac" - + "y.dlp.v2.Value\022)\n\003max\030\002 \001(\0132\034.google.pri" - + "vacy.dlp.v2.Value\0227\n\021replacement_value\030\003" - + " \001(\0132\034.google.privacy.dlp.v2.Value\"\364\003\n\031C" - + "ryptoReplaceFfxFpeConfig\0224\n\ncrypto_key\030\001" - + " \001(\0132 .google.privacy.dlp.v2.CryptoKey\022/" - + "\n\007context\030\002 \001(\0132\036.google.privacy.dlp.v2." - + "FieldId\022c\n\017common_alphabet\030\004 \001(\0162H.googl" - + "e.privacy.dlp.v2.CryptoReplaceFfxFpeConf" - + "ig.FfxCommonNativeAlphabetH\000\022\031\n\017custom_a" - + "lphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023surr" - + "ogate_info_type\030\010 \001(\0132\037.google.privacy.d" - + "lp.v2.InfoType\"\224\001\n\027FfxCommonNativeAlphab" - + "et\022*\n&FFX_COMMON_NATIVE_ALPHABET_UNSPECI" - + "FIED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADECIMAL\020\002\022\034\n\030" - + "UPPER_CASE_ALPHA_NUMERIC\020\003\022\021\n\rALPHA_NUME" - + "RIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKey\022>\n\ttrans" - + "ient\030\001 \001(\0132).google.privacy.dlp.v2.Trans" - + "ientCryptoKeyH\000\022>\n\tunwrapped\030\002 \001(\0132).goo" - + "gle.privacy.dlp.v2.UnwrappedCryptoKeyH\000\022" - + "A\n\013kms_wrapped\030\003 \001(\0132*.google.privacy.dl" - + "p.v2.KmsWrappedCryptoKeyH\000B\010\n\006source\"\"\n\022" - + "TransientCryptoKey\022\014\n\004name\030\001 \001(\t\"!\n\022Unwr" - + "appedCryptoKey\022\013\n\003key\030\001 \001(\014\"C\n\023KmsWrappe" - + "dCryptoKey\022\023\n\013wrapped_key\030\001 \001(\014\022\027\n\017crypt" - + "o_key_name\030\002 \001(\t\"\270\001\n\017DateShiftConfig\022\030\n\020" - + "upper_bound_days\030\001 \001(\005\022\030\n\020lower_bound_da" - + "ys\030\002 \001(\005\022/\n\007context\030\003 \001(\0132\036.google.priva" - + "cy.dlp.v2.FieldId\0226\n\ncrypto_key\030\004 \001(\0132 ." - + "google.privacy.dlp.v2.CryptoKeyH\000B\010\n\006met" - + "hod\"\233\002\n\027InfoTypeTransformations\022^\n\017trans" - + "formations\030\001 \003(\0132E.google.privacy.dlp.v2" - + ".InfoTypeTransformations.InfoTypeTransfo" - + "rmation\032\237\001\n\026InfoTypeTransformation\0223\n\nin" - + "fo_types\030\001 \003(\0132\037.google.privacy.dlp.v2.I" - + "nfoType\022P\n\030primitive_transformation\030\002 \001(" - + "\0132..google.privacy.dlp.v2.PrimitiveTrans" - + "formation\"\273\002\n\023FieldTransformation\022.\n\006fie" - + "lds\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldI" - + "d\0229\n\tcondition\030\003 \001(\0132&.google.privacy.dl" - + "p.v2.RecordCondition\022R\n\030primitive_transf" - + "ormation\030\004 \001(\0132..google.privacy.dlp.v2.P" - + "rimitiveTransformationH\000\022S\n\031info_type_tr" - + "ansformations\030\005 \001(\0132..google.privacy.dlp" - + ".v2.InfoTypeTransformationsH\000B\020\n\016transfo" - + "rmation\"\251\001\n\025RecordTransformations\022I\n\025fie" - + "ld_transformations\030\001 \003(\0132*.google.privac" - + "y.dlp.v2.FieldTransformation\022E\n\023record_s" - + "uppressions\030\002 \003(\0132(.google.privacy.dlp.v" - + "2.RecordSuppression\"N\n\021RecordSuppression" - + "\0229\n\tcondition\030\001 \001(\0132&.google.privacy.dlp" - + ".v2.RecordCondition\"\322\004\n\017RecordCondition\022" - + "G\n\013expressions\030\003 \001(\01322.google.privacy.dl" - + "p.v2.RecordCondition.Expressions\032\244\001\n\tCon" - + "dition\022-\n\005field\030\001 \001(\0132\036.google.privacy.d" - + "lp.v2.FieldId\022;\n\010operator\030\003 \001(\0162).google" - + ".privacy.dlp.v2.RelationalOperator\022+\n\005va" - + "lue\030\004 \001(\0132\034.google.privacy.dlp.v2.Value\032" - + "R\n\nConditions\022D\n\nconditions\030\001 \003(\01320.goog" - + "le.privacy.dlp.v2.RecordCondition.Condit" - + "ion\032\372\001\n\013Expressions\022\\\n\020logical_operator\030" - + "\001 \001(\0162B.google.privacy.dlp.v2.RecordCond" - + "ition.Expressions.LogicalOperator\022G\n\ncon" - + "ditions\030\003 \001(\01321.google.privacy.dlp.v2.Re" - + "cordCondition.ConditionsH\000\"<\n\017LogicalOpe" - + "rator\022 \n\034LOGICAL_OPERATOR_UNSPECIFIED\020\000\022" - + "\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026TransformationOverv" - + "iew\022\031\n\021transformed_bytes\030\002 \001(\003\022N\n\030transf" - + "ormation_summaries\030\003 \003(\0132,.google.privac" - + "y.dlp.v2.TransformationSummary\"\237\005\n\025Trans" - + "formationSummary\0222\n\tinfo_type\030\001 \001(\0132\037.go" - + "ogle.privacy.dlp.v2.InfoType\022-\n\005field\030\002 " - + "\001(\0132\036.google.privacy.dlp.v2.FieldId\022F\n\016t" - + "ransformation\030\003 \001(\0132..google.privacy.dlp" - + ".v2.PrimitiveTransformation\022I\n\025field_tra" - + "nsformations\030\005 \003(\0132*.google.privacy.dlp." - + "v2.FieldTransformation\022A\n\017record_suppres" - + "s\030\006 \001(\0132(.google.privacy.dlp.v2.RecordSu" - + "ppression\022K\n\007results\030\004 \003(\0132:.google.priv" - + "acy.dlp.v2.TransformationSummary.Summary" - + "Result\022\031\n\021transformed_bytes\030\007 \001(\003\032\204\001\n\rSu" - + "mmaryResult\022\r\n\005count\030\001 \001(\003\022S\n\004code\030\002 \001(\016" - + "2E.google.privacy.dlp.v2.TransformationS" - + "ummary.TransformationResultCode\022\017\n\007detai" - + "ls\030\003 \001(\t\"^\n\030TransformationResultCode\022*\n&" - + "TRANSFORMATION_RESULT_CODE_UNSPECIFIED\020\000" - + "\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002\"U\n\010Schedule\022?\n\032" - + "recurrence_period_duration\030\001 \001(\0132\031.googl" - + "e.protobuf.DurationH\000B\010\n\006option\"\352\001\n\017Insp" - + "ectTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014display_nam" - + "e\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_t" - + "ime\030\004 \001(\0132\032.google.protobuf.Timestamp\022/\n" - + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estamp\022<\n\016inspect_config\030\006 \001(\0132$.google." - + "privacy.dlp.v2.InspectConfig\"\363\001\n\022Deident" - + "ifyTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014display_nam" - + "e\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_t" - + "ime\030\004 \001(\0132\032.google.protobuf.Timestamp\022/\n" - + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estamp\022B\n\021deidentify_config\030\006 \001(\0132\'.goog" - + "le.privacy.dlp.v2.DeidentifyConfig\"\\\n\005Er" - + "ror\022#\n\007details\030\001 \001(\0132\022.google.rpc.Status" - + "\022.\n\ntimestamps\030\002 \003(\0132\032.google.protobuf.T" - + "imestamp\"\333\004\n\nJobTrigger\022\014\n\004name\030\001 \001(\t\022\024\n" - + "\014display_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t" - + "\022>\n\013inspect_job\030\004 \001(\0132\'.google.privacy.d" - + "lp.v2.InspectJobConfigH\000\022;\n\010triggers\030\005 \003" - + "(\0132).google.privacy.dlp.v2.JobTrigger.Tr" - + "igger\022,\n\006errors\030\006 \003(\0132\034.google.privacy.d" - + "lp.v2.Error\022/\n\013create_time\030\007 \001(\0132\032.googl" - + "e.protobuf.Timestamp\022/\n\013update_time\030\010 \001(" - + "\0132\032.google.protobuf.Timestamp\0221\n\rlast_ru" - + "n_time\030\t \001(\0132\032.google.protobuf.Timestamp" - + "\0228\n\006status\030\n \001(\0162(.google.privacy.dlp.v2" - + ".JobTrigger.Status\032I\n\007Trigger\0223\n\010schedul" - + "e\030\001 \001(\0132\037.google.privacy.dlp.v2.Schedule" - + "H\000B\t\n\007trigger\"H\n\006Status\022\026\n\022STATUS_UNSPEC" - + "IFIED\020\000\022\013\n\007HEALTHY\020\001\022\n\n\006PAUSED\020\002\022\r\n\tCANC" - + "ELLED\020\003B\005\n\003job\"\356\003\n\006Action\022C\n\rsave_findin" - + "gs\030\001 \001(\0132*.google.privacy.dlp.v2.Action." - + "SaveFindingsH\000\022@\n\007pub_sub\030\002 \001(\0132-.google" - + ".privacy.dlp.v2.Action.PublishToPubSubH\000" - + "\022U\n\027publish_summary_to_cscc\030\003 \001(\01322.goog" - + "le.privacy.dlp.v2.Action.PublishSummaryT" - + "oCsccH\000\022V\n\027job_notification_emails\030\010 \001(\013" - + "23.google.privacy.dlp.v2.Action.JobNotif" - + "icationEmailsH\000\032Q\n\014SaveFindings\022A\n\routpu" - + "t_config\030\001 \001(\0132*.google.privacy.dlp.v2.O" - + "utputStorageConfig\032 \n\017PublishToPubSub\022\r\n" - + "\005topic\030\001 \001(\t\032\026\n\024PublishSummaryToCscc\032\027\n\025" - + "JobNotificationEmailsB\010\n\006action\"\205\001\n\034Crea" - + "teInspectTemplateRequest\022\016\n\006parent\030\001 \001(\t" - + "\022@\n\020inspect_template\030\002 \001(\0132&.google.priv" - + "acy.dlp.v2.InspectTemplate\022\023\n\013template_i" - + "d\030\003 \001(\t\"\237\001\n\034UpdateInspectTemplateRequest" - + "\022\014\n\004name\030\001 \001(\t\022@\n\020inspect_template\030\002 \001(\013" - + "2&.google.privacy.dlp.v2.InspectTemplate" - + "\022/\n\013update_mask\030\003 \001(\0132\032.google.protobuf." - + "FieldMask\")\n\031GetInspectTemplateRequest\022\014" - + "\n\004name\030\001 \001(\t\"f\n\033ListInspectTemplatesRequ" - + "est\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\022" - + "\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\"z\n\034" - + "ListInspectTemplatesResponse\022A\n\021inspect_" - + "templates\030\001 \003(\0132&.google.privacy.dlp.v2." - + "InspectTemplate\022\027\n\017next_page_token\030\002 \001(\t" - + "\",\n\034DeleteInspectTemplateRequest\022\014\n\004name" - + "\030\001 \001(\t\"u\n\027CreateJobTriggerRequest\022\016\n\006par" - + "ent\030\001 \001(\t\0226\n\013job_trigger\030\002 \001(\0132!.google." - + "privacy.dlp.v2.JobTrigger\022\022\n\ntrigger_id\030" - + "\003 \001(\t\")\n\031ActivateJobTriggerRequest\022\014\n\004na" - + "me\030\001 \001(\t\"\220\001\n\027UpdateJobTriggerRequest\022\014\n\004" - + "name\030\001 \001(\t\0226\n\013job_trigger\030\002 \001(\0132!.google" - + ".privacy.dlp.v2.JobTrigger\022/\n\013update_mas" - + "k\030\003 \001(\0132\032.google.protobuf.FieldMask\"$\n\024G" - + "etJobTriggerRequest\022\014\n\004name\030\001 \001(\t\"\276\001\n\023Cr" - + "eateDlpJobRequest\022\016\n\006parent\030\001 \001(\t\022>\n\013ins" - + "pect_job\030\002 \001(\0132\'.google.privacy.dlp.v2.I" - + "nspectJobConfigH\000\022@\n\010risk_job\030\003 \001(\0132,.go" - + "ogle.privacy.dlp.v2.RiskAnalysisJobConfi" - + "gH\000\022\016\n\006job_id\030\004 \001(\tB\005\n\003job\"q\n\026ListJobTri" - + "ggersRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_tok" - + "en\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030" - + "\004 \001(\t\022\016\n\006filter\030\005 \001(\t\"k\n\027ListJobTriggers" - + "Response\0227\n\014job_triggers\030\001 \003(\0132!.google." - + "privacy.dlp.v2.JobTrigger\022\027\n\017next_page_t" - + "oken\030\002 \001(\t\"\'\n\027DeleteJobTriggerRequest\022\014\n" - + "\004name\030\001 \001(\t\"\335\001\n\020InspectJobConfig\022<\n\016stor" - + "age_config\030\001 \001(\0132$.google.privacy.dlp.v2" - + ".StorageConfig\022<\n\016inspect_config\030\002 \001(\0132$" - + ".google.privacy.dlp.v2.InspectConfig\022\035\n\025" - + "inspect_template_name\030\003 \001(\t\022.\n\007actions\030\004" - + " \003(\0132\035.google.privacy.dlp.v2.Action\"\336\004\n\006" - + "DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004type\030\002 \001(\0162!.goo" - + "gle.privacy.dlp.v2.DlpJobType\0225\n\005state\030\003" - + " \001(\0162&.google.privacy.dlp.v2.DlpJob.JobS" - + "tate\022K\n\014risk_details\030\004 \001(\01323.google.priv" - + "acy.dlp.v2.AnalyzeDataSourceRiskDetailsH" - + "\000\022J\n\017inspect_details\030\005 \001(\0132/.google.priv" - + "acy.dlp.v2.InspectDataSourceDetailsH\000\022/\n" - + "\013create_time\030\006 \001(\0132\032.google.protobuf.Tim" - + "estamp\022.\n\nstart_time\030\007 \001(\0132\032.google.prot" - + "obuf.Timestamp\022,\n\010end_time\030\010 \001(\0132\032.googl" - + "e.protobuf.Timestamp\022\030\n\020job_trigger_name" - + "\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034.google.privacy." - + "dlp.v2.Error\"c\n\010JobState\022\031\n\025JOB_STATE_UN" - + "SPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n" - + "\004DONE\020\003\022\014\n\010CANCELED\020\004\022\n\n\006FAILED\020\005B\t\n\007det" - + "ails\" \n\020GetDlpJobRequest\022\014\n\004name\030\001 \001(\t\"\236" - + "\001\n\022ListDlpJobsRequest\022\016\n\006parent\030\004 \001(\t\022\016\n" - + "\006filter\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" - + "_token\030\003 \001(\t\022/\n\004type\030\005 \001(\0162!.google.priv" - + "acy.dlp.v2.DlpJobType\022\020\n\010order_by\030\006 \001(\t\"" - + "[\n\023ListDlpJobsResponse\022+\n\004jobs\030\001 \003(\0132\035.g" - + "oogle.privacy.dlp.v2.DlpJob\022\027\n\017next_page" - + "_token\030\002 \001(\t\"#\n\023CancelDlpJobRequest\022\014\n\004n" - + "ame\030\001 \001(\t\"#\n\023DeleteDlpJobRequest\022\014\n\004name" - + "\030\001 \001(\t\"\216\001\n\037CreateDeidentifyTemplateReque" - + "st\022\016\n\006parent\030\001 \001(\t\022F\n\023deidentify_templat" - + "e\030\002 \001(\0132).google.privacy.dlp.v2.Deidenti" - + "fyTemplate\022\023\n\013template_id\030\003 \001(\t\"\250\001\n\037Upda" - + "teDeidentifyTemplateRequest\022\014\n\004name\030\001 \001(" - + "\t\022F\n\023deidentify_template\030\002 \001(\0132).google." - + "privacy.dlp.v2.DeidentifyTemplate\022/\n\013upd" - + "ate_mask\030\003 \001(\0132\032.google.protobuf.FieldMa" - + "sk\",\n\034GetDeidentifyTemplateRequest\022\014\n\004na" - + "me\030\001 \001(\t\"i\n\036ListDeidentifyTemplatesReque" - + "st\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\022\021" - + "\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\"\203\001\n\037" - + "ListDeidentifyTemplatesResponse\022G\n\024deide" - + "ntify_templates\030\001 \003(\0132).google.privacy.d" - + "lp.v2.DeidentifyTemplate\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"/\n\037DeleteDeidentifyTemplateReq" - + "uest\022\014\n\004name\030\001 \001(\t\"\364\001\n\033LargeCustomDictio" - + "naryConfig\022<\n\013output_path\030\001 \001(\0132\'.google" - + ".privacy.dlp.v2.CloudStoragePath\022L\n\026clou" - + "d_storage_file_set\030\002 \001(\0132*.google.privac" - + "y.dlp.v2.CloudStorageFileSetH\000\022?\n\017big_qu" - + "ery_field\030\003 \001(\0132$.google.privacy.dlp.v2." - + "BigQueryFieldH\000B\010\n\006source\"\240\001\n\024StoredInfo" - + "TypeConfig\022\024\n\014display_name\030\001 \001(\t\022\023\n\013desc" - + "ription\030\002 \001(\t\022U\n\027large_custom_dictionary" - + "\030\003 \001(\01322.google.privacy.dlp.v2.LargeCust" - + "omDictionaryConfigH\000B\006\n\004type\"\356\001\n\025StoredI" - + "nfoTypeVersion\022;\n\006config\030\001 \001(\0132+.google." - + "privacy.dlp.v2.StoredInfoTypeConfig\022/\n\013c" - + "reate_time\030\002 \001(\0132\032.google.protobuf.Times" - + "tamp\0229\n\005state\030\003 \001(\0162*.google.privacy.dlp" - + ".v2.StoredInfoTypeState\022,\n\006errors\030\004 \003(\0132" - + "\034.google.privacy.dlp.v2.Error\"\255\001\n\016Stored" - + "InfoType\022\014\n\004name\030\001 \001(\t\022E\n\017current_versio" - + "n\030\002 \001(\0132,.google.privacy.dlp.v2.StoredIn" - + "foTypeVersion\022F\n\020pending_versions\030\003 \003(\0132" + + "H\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001" + + "(\0132\026.google.protobuf.EmptyH\000B\005\n\003tag\032\276\002\n\016" + + "AuxiliaryTable\0223\n\005table\030\003 \001(\0132$.google.p" + + "rivacy.dlp.v2.BigQueryTable\022h\n\tquasi_ids" + + "\030\001 \003(\0132U.google.privacy.dlp.v2.PrivacyMe" + + "tric.KMapEstimationConfig.AuxiliaryTable" + + ".QuasiIdField\022:\n\022relative_frequency\030\002 \001(" + + "\0132\036.google.privacy.dlp.v2.FieldId\032Q\n\014Qua" + + "siIdField\022-\n\005field\030\001 \001(\0132\036.google.privac" + + "y.dlp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\252\001\n" + + "\035DeltaPresenceEstimationConfig\0221\n\tquasi_" + + "ids\030\001 \003(\0132\036.google.privacy.dlp.v2.QuasiI" + + "d\022\023\n\013region_code\030\002 \001(\t\022A\n\020auxiliary_tabl" + + "es\030\003 \003(\0132\'.google.privacy.dlp.v2.Statist" + + "icalTableB\006\n\004type\"\362\035\n\034AnalyzeDataSourceR" + + "iskDetails\022F\n\030requested_privacy_metric\030\001" + + " \001(\0132$.google.privacy.dlp.v2.PrivacyMetr" + + "ic\022D\n\026requested_source_table\030\002 \001(\0132$.goo" + + "gle.privacy.dlp.v2.BigQueryTable\022j\n\026nume" + + "rical_stats_result\030\003 \001(\0132H.google.privac" + + "y.dlp.v2.AnalyzeDataSourceRiskDetails.Nu" + + "mericalStatsResultH\000\022n\n\030categorical_stat" + + "s_result\030\004 \001(\0132J.google.privacy.dlp.v2.A" + + "nalyzeDataSourceRiskDetails.CategoricalS" + + "tatsResultH\000\022b\n\022k_anonymity_result\030\005 \001(\013" + + "2D.google.privacy.dlp.v2.AnalyzeDataSour" + + "ceRiskDetails.KAnonymityResultH\000\022b\n\022l_di" + + "versity_result\030\006 \001(\0132D.google.privacy.dl" + + "p.v2.AnalyzeDataSourceRiskDetails.LDiver" + + "sityResultH\000\022k\n\027k_map_estimation_result\030" + + "\007 \001(\0132H.google.privacy.dlp.v2.AnalyzeDat" + + "aSourceRiskDetails.KMapEstimationResultH" + + "\000\022}\n delta_presence_estimation_result\030\t " + + "\001(\0132Q.google.privacy.dlp.v2.AnalyzeDataS" + + "ourceRiskDetails.DeltaPresenceEstimation" + + "ResultH\000\032\257\001\n\024NumericalStatsResult\022/\n\tmin" + + "_value\030\001 \001(\0132\034.google.privacy.dlp.v2.Val" + + "ue\022/\n\tmax_value\030\002 \001(\0132\034.google.privacy.d" + + "lp.v2.Value\0225\n\017quantile_values\030\004 \003(\0132\034.g" + + "oogle.privacy.dlp.v2.Value\032\215\003\n\026Categoric" + + "alStatsResult\022\225\001\n!value_frequency_histog" + + "ram_buckets\030\005 \003(\0132j.google.privacy.dlp.v" + + "2.AnalyzeDataSourceRiskDetails.Categoric" + + "alStatsResult.CategoricalStatsHistogramB" + + "ucket\032\332\001\n\037CategoricalStatsHistogramBucke" + + "t\022#\n\033value_frequency_lower_bound\030\001 \001(\003\022#" + + "\n\033value_frequency_upper_bound\030\002 \001(\003\022\023\n\013b" + + "ucket_size\030\003 \001(\003\022<\n\rbucket_values\030\004 \003(\0132" + + "%.google.privacy.dlp.v2.ValueFrequency\022\032" + + "\n\022bucket_value_count\030\005 \001(\003\032\265\004\n\020KAnonymit" + + "yResult\022\213\001\n#equivalence_class_histogram_" + + "buckets\030\005 \003(\0132^.google.privacy.dlp.v2.An" + + "alyzeDataSourceRiskDetails.KAnonymityRes" + + "ult.KAnonymityHistogramBucket\032t\n\032KAnonym" + + "ityEquivalenceClass\0226\n\020quasi_ids_values\030" + + "\001 \003(\0132\034.google.privacy.dlp.v2.Value\022\036\n\026e" + + "quivalence_class_size\030\002 \001(\003\032\234\002\n\031KAnonymi" + + "tyHistogramBucket\022*\n\"equivalence_class_s" + + "ize_lower_bound\030\001 \001(\003\022*\n\"equivalence_cla" + + "ss_size_upper_bound\030\002 \001(\003\022\023\n\013bucket_size" + + "\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.google.p" + + "rivacy.dlp.v2.AnalyzeDataSourceRiskDetai" + + "ls.KAnonymityResult.KAnonymityEquivalenc" + + "eClass\022\032\n\022bucket_value_count\030\005 \001(\003\032\260\005\n\020L" + + "DiversityResult\022\223\001\n+sensitive_value_freq" + + "uency_histogram_buckets\030\005 \003(\0132^.google.p" + + "rivacy.dlp.v2.AnalyzeDataSourceRiskDetai" + + "ls.LDiversityResult.LDiversityHistogramB" + + "ucket\032\340\001\n\032LDiversityEquivalenceClass\0226\n\020" + + "quasi_ids_values\030\001 \003(\0132\034.google.privacy." + + "dlp.v2.Value\022\036\n\026equivalence_class_size\030\002" + + " \001(\003\022%\n\035num_distinct_sensitive_values\030\003 " + + "\001(\003\022C\n\024top_sensitive_values\030\004 \003(\0132%.goog" + + "le.privacy.dlp.v2.ValueFrequency\032\242\002\n\031LDi" + + "versityHistogramBucket\022-\n%sensitive_valu" + + "e_frequency_lower_bound\030\001 \001(\003\022-\n%sensiti" + + "ve_value_frequency_upper_bound\030\002 \001(\003\022\023\n\013" + + "bucket_size\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\013" + + "2_.google.privacy.dlp.v2.AnalyzeDataSour" + + "ceRiskDetails.LDiversityResult.LDiversit" + + "yEquivalenceClass\022\032\n\022bucket_value_count\030" + + "\005 \001(\003\032\225\004\n\024KMapEstimationResult\022\212\001\n\032k_map" + + "_estimation_histogram\030\001 \003(\0132f.google.pri" + + "vacy.dlp.v2.AnalyzeDataSourceRiskDetails" + + ".KMapEstimationResult.KMapEstimationHist" + + "ogramBucket\032r\n\033KMapEstimationQuasiIdValu" + + "es\0226\n\020quasi_ids_values\030\001 \003(\0132\034.google.pr" + + "ivacy.dlp.v2.Value\022\033\n\023estimated_anonymit" + + "y\030\002 \001(\003\032\373\001\n\035KMapEstimationHistogramBucke" + + "t\022\025\n\rmin_anonymity\030\001 \001(\003\022\025\n\rmax_anonymit" + + "y\030\002 \001(\003\022\023\n\013bucket_size\030\005 \001(\003\022{\n\rbucket_v" + + "alues\030\006 \003(\0132d.google.privacy.dlp.v2.Anal" + + "yzeDataSourceRiskDetails.KMapEstimationR" + + "esult.KMapEstimationQuasiIdValues\022\032\n\022buc" + + "ket_value_count\030\007 \001(\003\032\344\004\n\035DeltaPresenceE" + + "stimationResult\022\245\001\n#delta_presence_estim" + + "ation_histogram\030\001 \003(\0132x.google.privacy.d" + + "lp.v2.AnalyzeDataSourceRiskDetails.Delta" + + "PresenceEstimationResult.DeltaPresenceEs" + + "timationHistogramBucket\032}\n$DeltaPresence" + + "EstimationQuasiIdValues\0226\n\020quasi_ids_val" + + "ues\030\001 \003(\0132\034.google.privacy.dlp.v2.Value\022" + + "\035\n\025estimated_probability\030\002 \001(\001\032\233\002\n&Delta" + + "PresenceEstimationHistogramBucket\022\027\n\017min" + + "_probability\030\001 \001(\001\022\027\n\017max_probability\030\002 " + + "\001(\001\022\023\n\013bucket_size\030\005 \001(\003\022\215\001\n\rbucket_valu" + + "es\030\006 \003(\0132v.google.privacy.dlp.v2.Analyze" + + "DataSourceRiskDetails.DeltaPresenceEstim" + + "ationResult.DeltaPresenceEstimationQuasi" + + "IdValues\022\032\n\022bucket_value_count\030\007 \001(\003B\010\n\006" + + "result\"L\n\016ValueFrequency\022+\n\005value\030\001 \001(\0132" + + "\034.google.privacy.dlp.v2.Value\022\r\n\005count\030\002" + + " \001(\003\"\263\002\n\005Value\022\027\n\rinteger_value\030\001 \001(\003H\000\022" + + "\025\n\013float_value\030\002 \001(\001H\000\022\026\n\014string_value\030\003" + + " \001(\tH\000\022\027\n\rboolean_value\030\004 \001(\010H\000\0225\n\017times" + + "tamp_value\030\005 \001(\0132\032.google.protobuf.Times" + + "tampH\000\022,\n\ntime_value\030\006 \001(\0132\026.google.type" + + ".TimeOfDayH\000\022\'\n\ndate_value\030\007 \001(\0132\021.googl" + + "e.type.DateH\000\0223\n\021day_of_week_value\030\010 \001(\016" + + "2\026.google.type.DayOfWeekH\000B\006\n\004type\"Q\n\tQu" + + "oteInfo\0224\n\tdate_time\030\002 \001(\0132\037.google.priv" + + "acy.dlp.v2.DateTimeH\000B\016\n\014parsed_quote\"\337\001" + + "\n\010DateTime\022\037\n\004date\030\001 \001(\0132\021.google.type.D" + + "ate\022+\n\013day_of_week\030\002 \001(\0162\026.google.type.D" + + "ayOfWeek\022$\n\004time\030\003 \001(\0132\026.google.type.Tim" + + "eOfDay\022;\n\ttime_zone\030\004 \001(\0132(.google.priva" + + "cy.dlp.v2.DateTime.TimeZone\032\"\n\010TimeZone\022" + + "\026\n\016offset_minutes\030\001 \001(\005\"\311\001\n\020DeidentifyCo" + + "nfig\022S\n\031info_type_transformations\030\001 \001(\0132" + + "..google.privacy.dlp.v2.InfoTypeTransfor" + + "mationsH\000\022N\n\026record_transformations\030\002 \001(" + + "\0132,.google.privacy.dlp.v2.RecordTransfor" + + "mationsH\000B\020\n\016transformation\"\365\006\n\027Primitiv" + + "eTransformation\022C\n\016replace_config\030\001 \001(\0132" + + ").google.privacy.dlp.v2.ReplaceValueConf" + + "igH\000\022<\n\rredact_config\030\002 \001(\0132#.google.pri" + + "vacy.dlp.v2.RedactConfigH\000\022K\n\025character_" + + "mask_config\030\003 \001(\0132*.google.privacy.dlp.v" + + "2.CharacterMaskConfigH\000\022Y\n\035crypto_replac" + + "e_ffx_fpe_config\030\004 \001(\01320.google.privacy." + + "dlp.v2.CryptoReplaceFfxFpeConfigH\000\022V\n\033fi" + + "xed_size_bucketing_config\030\005 \001(\0132/.google" + + ".privacy.dlp.v2.FixedSizeBucketingConfig" + + "H\000\022B\n\020bucketing_config\030\006 \001(\0132&.google.pr" + + "ivacy.dlp.v2.BucketingConfigH\000\022Y\n\035replac" + + "e_with_info_type_config\030\007 \001(\01320.google.p" + + "rivacy.dlp.v2.ReplaceWithInfoTypeConfigH" + + "\000\022A\n\020time_part_config\030\010 \001(\0132%.google.pri" + + "vacy.dlp.v2.TimePartConfigH\000\022E\n\022crypto_h" + + "ash_config\030\t \001(\0132\'.google.privacy.dlp.v2" + + ".CryptoHashConfigH\000\022C\n\021date_shift_config" + + "\030\013 \001(\0132&.google.privacy.dlp.v2.DateShift" + + "ConfigH\000\022W\n\033crypto_deterministic_config\030" + + "\014 \001(\01320.google.privacy.dlp.v2.CryptoDete" + + "rministicConfigH\000B\020\n\016transformation\"\334\001\n\016" + + "TimePartConfig\022G\n\017part_to_extract\030\001 \001(\0162" + + "..google.privacy.dlp.v2.TimePartConfig.T" + + "imePart\"\200\001\n\010TimePart\022\031\n\025TIME_PART_UNSPEC" + + "IFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\020\n\014DAY_OF_M" + + "ONTH\020\003\022\017\n\013DAY_OF_WEEK\020\004\022\020\n\014WEEK_OF_YEAR\020" + + "\005\022\017\n\013HOUR_OF_DAY\020\006\"H\n\020CryptoHashConfig\0224" + + "\n\ncrypto_key\030\001 \001(\0132 .google.privacy.dlp." + + "v2.CryptoKey\"\300\001\n\031CryptoDeterministicConf" + + "ig\0224\n\ncrypto_key\030\001 \001(\0132 .google.privacy." + + "dlp.v2.CryptoKey\022<\n\023surrogate_info_type\030" + + "\002 \001(\0132\037.google.privacy.dlp.v2.InfoType\022/" + + "\n\007context\030\003 \001(\0132\036.google.privacy.dlp.v2." + + "FieldId\"E\n\022ReplaceValueConfig\022/\n\tnew_val" + + "ue\030\001 \001(\0132\034.google.privacy.dlp.v2.Value\"\033" + + "\n\031ReplaceWithInfoTypeConfig\"\016\n\014RedactCon" + + "fig\"\266\002\n\rCharsToIgnore\022\034\n\022characters_to_s" + + "kip\030\001 \001(\tH\000\022_\n\033common_characters_to_igno" + + "re\030\002 \001(\01628.google.privacy.dlp.v2.CharsTo" + + "Ignore.CommonCharsToIgnoreH\000\"\227\001\n\023CommonC" + + "harsToIgnore\022&\n\"COMMON_CHARS_TO_IGNORE_U" + + "NSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UPPER" + + "_CASE\020\002\022\024\n\020ALPHA_LOWER_CASE\020\003\022\017\n\013PUNCTUA" + + "TION\020\004\022\016\n\nWHITESPACE\020\005B\014\n\ncharacters\"\243\001\n" + + "\023CharacterMaskConfig\022\031\n\021masking_characte" + + "r\030\001 \001(\t\022\026\n\016number_to_mask\030\002 \001(\005\022\025\n\rrever" + + "se_order\030\003 \001(\010\022B\n\024characters_to_ignore\030\004" + + " \003(\0132$.google.privacy.dlp.v2.CharsToIgno" + + "re\"\225\001\n\030FixedSizeBucketingConfig\0221\n\013lower" + + "_bound\030\001 \001(\0132\034.google.privacy.dlp.v2.Val", + "ue\0221\n\013upper_bound\030\002 \001(\0132\034.google.privacy" + + ".dlp.v2.Value\022\023\n\013bucket_size\030\003 \001(\001\"\353\001\n\017B" + + "ucketingConfig\022>\n\007buckets\030\001 \003(\0132-.google" + + ".privacy.dlp.v2.BucketingConfig.Bucket\032\227" + + "\001\n\006Bucket\022)\n\003min\030\001 \001(\0132\034.google.privacy." + + "dlp.v2.Value\022)\n\003max\030\002 \001(\0132\034.google.priva" + + "cy.dlp.v2.Value\0227\n\021replacement_value\030\003 \001" + + "(\0132\034.google.privacy.dlp.v2.Value\"\364\003\n\031Cry" + + "ptoReplaceFfxFpeConfig\0224\n\ncrypto_key\030\001 \001" + + "(\0132 .google.privacy.dlp.v2.CryptoKey\022/\n\007" + + "context\030\002 \001(\0132\036.google.privacy.dlp.v2.Fi" + + "eldId\022c\n\017common_alphabet\030\004 \001(\0162H.google." + + "privacy.dlp.v2.CryptoReplaceFfxFpeConfig" + + ".FfxCommonNativeAlphabetH\000\022\031\n\017custom_alp" + + "habet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023surrog" + + "ate_info_type\030\010 \001(\0132\037.google.privacy.dlp" + + ".v2.InfoType\"\224\001\n\027FfxCommonNativeAlphabet" + + "\022*\n&FFX_COMMON_NATIVE_ALPHABET_UNSPECIFI" + + "ED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADECIMAL\020\002\022\034\n\030UP" + + "PER_CASE_ALPHA_NUMERIC\020\003\022\021\n\rALPHA_NUMERI" + + "C\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKey\022>\n\ttransie" + + "nt\030\001 \001(\0132).google.privacy.dlp.v2.Transie" + + "ntCryptoKeyH\000\022>\n\tunwrapped\030\002 \001(\0132).googl" + + "e.privacy.dlp.v2.UnwrappedCryptoKeyH\000\022A\n" + + "\013kms_wrapped\030\003 \001(\0132*.google.privacy.dlp." + + "v2.KmsWrappedCryptoKeyH\000B\010\n\006source\"\"\n\022Tr" + + "ansientCryptoKey\022\014\n\004name\030\001 \001(\t\"!\n\022Unwrap" + + "pedCryptoKey\022\013\n\003key\030\001 \001(\014\"C\n\023KmsWrappedC" + + "ryptoKey\022\023\n\013wrapped_key\030\001 \001(\014\022\027\n\017crypto_" + + "key_name\030\002 \001(\t\"\270\001\n\017DateShiftConfig\022\030\n\020up" + + "per_bound_days\030\001 \001(\005\022\030\n\020lower_bound_days" + + "\030\002 \001(\005\022/\n\007context\030\003 \001(\0132\036.google.privacy" + + ".dlp.v2.FieldId\0226\n\ncrypto_key\030\004 \001(\0132 .go" + + "ogle.privacy.dlp.v2.CryptoKeyH\000B\010\n\006metho" + + "d\"\233\002\n\027InfoTypeTransformations\022^\n\017transfo" + + "rmations\030\001 \003(\0132E.google.privacy.dlp.v2.I" + + "nfoTypeTransformations.InfoTypeTransform" + + "ation\032\237\001\n\026InfoTypeTransformation\0223\n\ninfo" + + "_types\030\001 \003(\0132\037.google.privacy.dlp.v2.Inf" + + "oType\022P\n\030primitive_transformation\030\002 \001(\0132" + + "..google.privacy.dlp.v2.PrimitiveTransfo" + + "rmation\"\273\002\n\023FieldTransformation\022.\n\006field" + + "s\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId\022" + + "9\n\tcondition\030\003 \001(\0132&.google.privacy.dlp." + + "v2.RecordCondition\022R\n\030primitive_transfor" + + "mation\030\004 \001(\0132..google.privacy.dlp.v2.Pri" + + "mitiveTransformationH\000\022S\n\031info_type_tran" + + "sformations\030\005 \001(\0132..google.privacy.dlp.v" + + "2.InfoTypeTransformationsH\000B\020\n\016transform" + + "ation\"\251\001\n\025RecordTransformations\022I\n\025field" + + "_transformations\030\001 \003(\0132*.google.privacy." + + "dlp.v2.FieldTransformation\022E\n\023record_sup" + + "pressions\030\002 \003(\0132(.google.privacy.dlp.v2." + + "RecordSuppression\"N\n\021RecordSuppression\0229" + + "\n\tcondition\030\001 \001(\0132&.google.privacy.dlp.v" + + "2.RecordCondition\"\322\004\n\017RecordCondition\022G\n" + + "\013expressions\030\003 \001(\01322.google.privacy.dlp." + + "v2.RecordCondition.Expressions\032\244\001\n\tCondi" + + "tion\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp" + + ".v2.FieldId\022;\n\010operator\030\003 \001(\0162).google.p" + + "rivacy.dlp.v2.RelationalOperator\022+\n\005valu" + + "e\030\004 \001(\0132\034.google.privacy.dlp.v2.Value\032R\n" + + "\nConditions\022D\n\nconditions\030\001 \003(\01320.google" + + ".privacy.dlp.v2.RecordCondition.Conditio" + + "n\032\372\001\n\013Expressions\022\\\n\020logical_operator\030\001 " + + "\001(\0162B.google.privacy.dlp.v2.RecordCondit" + + "ion.Expressions.LogicalOperator\022G\n\ncondi" + + "tions\030\003 \001(\01321.google.privacy.dlp.v2.Reco" + + "rdCondition.ConditionsH\000\"<\n\017LogicalOpera" + + "tor\022 \n\034LOGICAL_OPERATOR_UNSPECIFIED\020\000\022\007\n" + + "\003AND\020\001B\006\n\004type\"\203\001\n\026TransformationOvervie" + + "w\022\031\n\021transformed_bytes\030\002 \001(\003\022N\n\030transfor" + + "mation_summaries\030\003 \003(\0132,.google.privacy." + + "dlp.v2.TransformationSummary\"\237\005\n\025Transfo" + + "rmationSummary\0222\n\tinfo_type\030\001 \001(\0132\037.goog" + + "le.privacy.dlp.v2.InfoType\022-\n\005field\030\002 \001(" + + "\0132\036.google.privacy.dlp.v2.FieldId\022F\n\016tra" + + "nsformation\030\003 \001(\0132..google.privacy.dlp.v" + + "2.PrimitiveTransformation\022I\n\025field_trans" + + "formations\030\005 \003(\0132*.google.privacy.dlp.v2" + + ".FieldTransformation\022A\n\017record_suppress\030" + + "\006 \001(\0132(.google.privacy.dlp.v2.RecordSupp" + + "ression\022K\n\007results\030\004 \003(\0132:.google.privac" + + "y.dlp.v2.TransformationSummary.SummaryRe" + + "sult\022\031\n\021transformed_bytes\030\007 \001(\003\032\204\001\n\rSumm" + + "aryResult\022\r\n\005count\030\001 \001(\003\022S\n\004code\030\002 \001(\0162E" + + ".google.privacy.dlp.v2.TransformationSum" + + "mary.TransformationResultCode\022\017\n\007details" + + "\030\003 \001(\t\"^\n\030TransformationResultCode\022*\n&TR" + + "ANSFORMATION_RESULT_CODE_UNSPECIFIED\020\000\022\013" + + "\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002\"U\n\010Schedule\022?\n\032re" + + "currence_period_duration\030\001 \001(\0132\031.google." + + "protobuf.DurationH\000B\010\n\006option\"\352\001\n\017Inspec" + + "tTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030" + + "\002 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_tim" + + "e\030\004 \001(\0132\032.google.protobuf.Timestamp\022/\n\013u" + + "pdate_time\030\005 \001(\0132\032.google.protobuf.Times" + + "tamp\022<\n\016inspect_config\030\006 \001(\0132$.google.pr" + + "ivacy.dlp.v2.InspectConfig\"\363\001\n\022Deidentif" + + "yTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030" + + "\002 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_tim" + + "e\030\004 \001(\0132\032.google.protobuf.Timestamp\022/\n\013u" + + "pdate_time\030\005 \001(\0132\032.google.protobuf.Times" + + "tamp\022B\n\021deidentify_config\030\006 \001(\0132\'.google" + + ".privacy.dlp.v2.DeidentifyConfig\"\\\n\005Erro" + + "r\022#\n\007details\030\001 \001(\0132\022.google.rpc.Status\022." + + "\n\ntimestamps\030\002 \003(\0132\032.google.protobuf.Tim" + + "estamp\"\333\004\n\nJobTrigger\022\014\n\004name\030\001 \001(\t\022\024\n\014d" + + "isplay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022>" + + "\n\013inspect_job\030\004 \001(\0132\'.google.privacy.dlp" + + ".v2.InspectJobConfigH\000\022;\n\010triggers\030\005 \003(\013" + + "2).google.privacy.dlp.v2.JobTrigger.Trig" + + "ger\022,\n\006errors\030\006 \003(\0132\034.google.privacy.dlp" + + ".v2.Error\022/\n\013create_time\030\007 \001(\0132\032.google." + + "protobuf.Timestamp\022/\n\013update_time\030\010 \001(\0132" + + "\032.google.protobuf.Timestamp\0221\n\rlast_run_" + + "time\030\t \001(\0132\032.google.protobuf.Timestamp\0228" + + "\n\006status\030\n \001(\0162(.google.privacy.dlp.v2.J" + + "obTrigger.Status\032I\n\007Trigger\0223\n\010schedule\030" + + "\001 \001(\0132\037.google.privacy.dlp.v2.ScheduleH\000" + + "B\t\n\007trigger\"H\n\006Status\022\026\n\022STATUS_UNSPECIF" + + "IED\020\000\022\013\n\007HEALTHY\020\001\022\n\n\006PAUSED\020\002\022\r\n\tCANCEL" + + "LED\020\003B\005\n\003job\"\356\003\n\006Action\022C\n\rsave_findings" + + "\030\001 \001(\0132*.google.privacy.dlp.v2.Action.Sa" + + "veFindingsH\000\022@\n\007pub_sub\030\002 \001(\0132-.google.p" + + "rivacy.dlp.v2.Action.PublishToPubSubH\000\022U" + + "\n\027publish_summary_to_cscc\030\003 \001(\01322.google" + + ".privacy.dlp.v2.Action.PublishSummaryToC" + + "sccH\000\022V\n\027job_notification_emails\030\010 \001(\01323" + + ".google.privacy.dlp.v2.Action.JobNotific" + + "ationEmailsH\000\032Q\n\014SaveFindings\022A\n\routput_" + + "config\030\001 \001(\0132*.google.privacy.dlp.v2.Out" + + "putStorageConfig\032 \n\017PublishToPubSub\022\r\n\005t" + + "opic\030\001 \001(\t\032\026\n\024PublishSummaryToCscc\032\027\n\025Jo" + + "bNotificationEmailsB\010\n\006action\"\205\001\n\034Create" + + "InspectTemplateRequest\022\016\n\006parent\030\001 \001(\t\022@" + + "\n\020inspect_template\030\002 \001(\0132&.google.privac" + + "y.dlp.v2.InspectTemplate\022\023\n\013template_id\030" + + "\003 \001(\t\"\237\001\n\034UpdateInspectTemplateRequest\022\014" + + "\n\004name\030\001 \001(\t\022@\n\020inspect_template\030\002 \001(\0132&" + + ".google.privacy.dlp.v2.InspectTemplate\022/" + + "\n\013update_mask\030\003 \001(\0132\032.google.protobuf.Fi" + + "eldMask\")\n\031GetInspectTemplateRequest\022\014\n\004" + + "name\030\001 \001(\t\"f\n\033ListInspectTemplatesReques" + + "t\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\022\021\n" + + "\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\"z\n\034Li" + + "stInspectTemplatesResponse\022A\n\021inspect_te" + + "mplates\030\001 \003(\0132&.google.privacy.dlp.v2.In" + + "spectTemplate\022\027\n\017next_page_token\030\002 \001(\t\"," + + "\n\034DeleteInspectTemplateRequest\022\014\n\004name\030\001" + + " \001(\t\"u\n\027CreateJobTriggerRequest\022\016\n\006paren" + + "t\030\001 \001(\t\0226\n\013job_trigger\030\002 \001(\0132!.google.pr" + + "ivacy.dlp.v2.JobTrigger\022\022\n\ntrigger_id\030\003 " + + "\001(\t\")\n\031ActivateJobTriggerRequest\022\014\n\004name" + + "\030\001 \001(\t\"\220\001\n\027UpdateJobTriggerRequest\022\014\n\004na" + + "me\030\001 \001(\t\0226\n\013job_trigger\030\002 \001(\0132!.google.p" + + "rivacy.dlp.v2.JobTrigger\022/\n\013update_mask\030" + + "\003 \001(\0132\032.google.protobuf.FieldMask\"$\n\024Get" + + "JobTriggerRequest\022\014\n\004name\030\001 \001(\t\"\276\001\n\023Crea" + + "teDlpJobRequest\022\016\n\006parent\030\001 \001(\t\022>\n\013inspe" + + "ct_job\030\002 \001(\0132\'.google.privacy.dlp.v2.Ins" + + "pectJobConfigH\000\022@\n\010risk_job\030\003 \001(\0132,.goog" + + "le.privacy.dlp.v2.RiskAnalysisJobConfigH" + + "\000\022\016\n\006job_id\030\004 \001(\tB\005\n\003job\"q\n\026ListJobTrigg" + + "ersRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token" + + "\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 " + + "\001(\t\022\016\n\006filter\030\005 \001(\t\"k\n\027ListJobTriggersRe" + + "sponse\0227\n\014job_triggers\030\001 \003(\0132!.google.pr" + + "ivacy.dlp.v2.JobTrigger\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\'\n\027DeleteJobTriggerRequest\022\014\n\004n" + + "ame\030\001 \001(\t\"\335\001\n\020InspectJobConfig\022<\n\016storag" + + "e_config\030\001 \001(\0132$.google.privacy.dlp.v2.S" + + "torageConfig\022<\n\016inspect_config\030\002 \001(\0132$.g" + + "oogle.privacy.dlp.v2.InspectConfig\022\035\n\025in" + + "spect_template_name\030\003 \001(\t\022.\n\007actions\030\004 \003" + + "(\0132\035.google.privacy.dlp.v2.Action\"\336\004\n\006Dl" + + "pJob\022\014\n\004name\030\001 \001(\t\022/\n\004type\030\002 \001(\0162!.googl" + + "e.privacy.dlp.v2.DlpJobType\0225\n\005state\030\003 \001" + + "(\0162&.google.privacy.dlp.v2.DlpJob.JobSta" + + "te\022K\n\014risk_details\030\004 \001(\01323.google.privac" + + "y.dlp.v2.AnalyzeDataSourceRiskDetailsH\000\022" + + "J\n\017inspect_details\030\005 \001(\0132/.google.privac" + + "y.dlp.v2.InspectDataSourceDetailsH\000\022/\n\013c" + + "reate_time\030\006 \001(\0132\032.google.protobuf.Times" + + "tamp\022.\n\nstart_time\030\007 \001(\0132\032.google.protob" + + "uf.Timestamp\022,\n\010end_time\030\010 \001(\0132\032.google." + + "protobuf.Timestamp\022\030\n\020job_trigger_name\030\n" + + " \001(\t\022,\n\006errors\030\013 \003(\0132\034.google.privacy.dl" + + "p.v2.Error\"c\n\010JobState\022\031\n\025JOB_STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n\004D" + + "ONE\020\003\022\014\n\010CANCELED\020\004\022\n\n\006FAILED\020\005B\t\n\007detai" + + "ls\" \n\020GetDlpJobRequest\022\014\n\004name\030\001 \001(\t\"\236\001\n" + + "\022ListDlpJobsRequest\022\016\n\006parent\030\004 \001(\t\022\016\n\006f" + + "ilter\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\022/\n\004type\030\005 \001(\0162!.google.privac" + + "y.dlp.v2.DlpJobType\022\020\n\010order_by\030\006 \001(\t\"[\n" + + "\023ListDlpJobsResponse\022+\n\004jobs\030\001 \003(\0132\035.goo" + + "gle.privacy.dlp.v2.DlpJob\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\"#\n\023CancelDlpJobRequest\022\014\n\004nam" + + "e\030\001 \001(\t\"#\n\023DeleteDlpJobRequest\022\014\n\004name\030\001" + + " \001(\t\"\216\001\n\037CreateDeidentifyTemplateRequest" + + "\022\016\n\006parent\030\001 \001(\t\022F\n\023deidentify_template\030" + + "\002 \001(\0132).google.privacy.dlp.v2.Deidentify" + + "Template\022\023\n\013template_id\030\003 \001(\t\"\250\001\n\037Update" + + "DeidentifyTemplateRequest\022\014\n\004name\030\001 \001(\t\022" + + "F\n\023deidentify_template\030\002 \001(\0132).google.pr" + + "ivacy.dlp.v2.DeidentifyTemplate\022/\n\013updat" + + "e_mask\030\003 \001(\0132\032.google.protobuf.FieldMask" + + "\",\n\034GetDeidentifyTemplateRequest\022\014\n\004name" + + "\030\001 \001(\t\"i\n\036ListDeidentifyTemplatesRequest" + + "\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\022\021\n\t" + + "page_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\"\203\001\n\037Li" + + "stDeidentifyTemplatesResponse\022G\n\024deident" + + "ify_templates\030\001 \003(\0132).google.privacy.dlp" + + ".v2.DeidentifyTemplate\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"/\n\037DeleteDeidentifyTemplateReque" + + "st\022\014\n\004name\030\001 \001(\t\"\364\001\n\033LargeCustomDictiona" + + "ryConfig\022<\n\013output_path\030\001 \001(\0132\'.google.p" + + "rivacy.dlp.v2.CloudStoragePath\022L\n\026cloud_" + + "storage_file_set\030\002 \001(\0132*.google.privacy." + + "dlp.v2.CloudStorageFileSetH\000\022?\n\017big_quer" + + "y_field\030\003 \001(\0132$.google.privacy.dlp.v2.Bi" + + "gQueryFieldH\000B\010\n\006source\"8\n\032LargeCustomDi" + + "ctionaryStats\022\032\n\022approx_num_phrases\030\001 \001(" + + "\003\"\240\001\n\024StoredInfoTypeConfig\022\024\n\014display_na" + + "me\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022U\n\027large_c" + + "ustom_dictionary\030\003 \001(\01322.google.privacy." + + "dlp.v2.LargeCustomDictionaryConfigH\000B\006\n\004" + + "type\"s\n\023StoredInfoTypeStats\022T\n\027large_cus" + + "tom_dictionary\030\001 \001(\01321.google.privacy.dl" + + "p.v2.LargeCustomDictionaryStatsH\000B\006\n\004typ" + + "e\"\251\002\n\025StoredInfoTypeVersion\022;\n\006config\030\001 " + + "\001(\0132+.google.privacy.dlp.v2.StoredInfoTy" + + "peConfig\022/\n\013create_time\030\002 \001(\0132\032.google.p" + + "rotobuf.Timestamp\0229\n\005state\030\003 \001(\0162*.googl" + + "e.privacy.dlp.v2.StoredInfoTypeState\022,\n\006" + + "errors\030\004 \003(\0132\034.google.privacy.dlp.v2.Err" + + "or\0229\n\005stats\030\005 \001(\0132*.google.privacy.dlp.v" + + "2.StoredInfoTypeStats\"\255\001\n\016StoredInfoType" + + "\022\014\n\004name\030\001 \001(\t\022E\n\017current_version\030\002 \001(\0132" + ",.google.privacy.dlp.v2.StoredInfoTypeVe" - + "rsion\"\207\001\n\033CreateStoredInfoTypeRequest\022\016\n" - + "\006parent\030\001 \001(\t\022;\n\006config\030\002 \001(\0132+.google.p" - + "rivacy.dlp.v2.StoredInfoTypeConfig\022\033\n\023st" - + "ored_info_type_id\030\003 \001(\t\"\231\001\n\033UpdateStored" - + "InfoTypeRequest\022\014\n\004name\030\001 \001(\t\022;\n\006config\030" - + "\002 \001(\0132+.google.privacy.dlp.v2.StoredInfo" - + "TypeConfig\022/\n\013update_mask\030\003 \001(\0132\032.google" - + ".protobuf.FieldMask\"(\n\030GetStoredInfoType" - + "Request\022\014\n\004name\030\001 \001(\t\"e\n\032ListStoredInfoT" - + "ypesRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_toke" - + "n\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004" - + " \001(\t\"x\n\033ListStoredInfoTypesResponse\022@\n\021s" - + "tored_info_types\030\001 \003(\0132%.google.privacy." - + "dlp.v2.StoredInfoType\022\027\n\017next_page_token" - + "\030\002 \001(\t\"+\n\033DeleteStoredInfoTypeRequest\022\014\n" - + "\004name\030\001 \001(\t*M\n\rContentOption\022\027\n\023CONTENT_" - + "UNSPECIFIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021\n\rCONTE" - + "NT_IMAGE\020\002*\215\001\n\014MatchingType\022\035\n\031MATCHING_" - + "TYPE_UNSPECIFIED\020\000\022\034\n\030MATCHING_TYPE_FULL" - + "_MATCH\020\001\022\037\n\033MATCHING_TYPE_PARTIAL_MATCH\020" - + "\002\022\037\n\033MATCHING_TYPE_INVERSE_MATCH\020\003*P\n\023In" - + "foTypeSupportedBy\022\031\n\025ENUM_TYPE_UNSPECIFI" - + "ED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANALYSIS\020\002*\273\001\n" - + "\022RelationalOperator\022#\n\037RELATIONAL_OPERAT" - + "OR_UNSPECIFIED\020\000\022\014\n\010EQUAL_TO\020\001\022\020\n\014NOT_EQ" - + "UAL_TO\020\002\022\020\n\014GREATER_THAN\020\003\022\r\n\tLESS_THAN\020" - + "\004\022\032\n\026GREATER_THAN_OR_EQUALS\020\005\022\027\n\023LESS_TH" - + "AN_OR_EQUALS\020\006\022\n\n\006EXISTS\020\007*R\n\nDlpJobType" - + "\022\034\n\030DLP_JOB_TYPE_UNSPECIFIED\020\000\022\017\n\013INSPEC" - + "T_JOB\020\001\022\025\n\021RISK_ANALYSIS_JOB\020\002*n\n\023Stored" - + "InfoTypeState\022&\n\"STORED_INFO_TYPE_STATE_" - + "UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\t\n\005READY\020\002\022\n\n" - + "\006FAILED\020\003\022\013\n\007INVALID\020\0042\312,\n\nDlpService\022\241\001" - + "\n\016InspectContent\022,.google.privacy.dlp.v2" - + ".InspectContentRequest\032-.google.privacy." - + "dlp.v2.InspectContentResponse\"2\202\323\344\223\002,\"\'/" - + "v2/{parent=projects/*}/content:inspect:\001" - + "*\022\225\001\n\013RedactImage\022).google.privacy.dlp.v" - + "2.RedactImageRequest\032*.google.privacy.dl" - + "p.v2.RedactImageResponse\"/\202\323\344\223\002)\"$/v2/{p" - + "arent=projects/*}/image:redact:\001*\022\255\001\n\021De" - + "identifyContent\022/.google.privacy.dlp.v2." - + "DeidentifyContentRequest\0320.google.privac" - + "y.dlp.v2.DeidentifyContentResponse\"5\202\323\344\223" - + "\002/\"*/v2/{parent=projects/*}/content:deid" - + "entify:\001*\022\255\001\n\021ReidentifyContent\022/.google" - + ".privacy.dlp.v2.ReidentifyContentRequest" - + "\0320.google.privacy.dlp.v2.ReidentifyConte" - + "ntResponse\"5\202\323\344\223\002/\"*/v2/{parent=projects" - + "/*}/content:reidentify:\001*\022\201\001\n\rListInfoTy" - + "pes\022+.google.privacy.dlp.v2.ListInfoType" - + "sRequest\032,.google.privacy.dlp.v2.ListInf" - + "oTypesResponse\"\025\202\323\344\223\002\017\022\r/v2/infoTypes\022\335\001" - + "\n\025CreateInspectTemplate\0223.google.privacy" - + ".dlp.v2.CreateInspectTemplateRequest\032&.g" - + "oogle.privacy.dlp.v2.InspectTemplate\"g\202\323" - + "\344\223\002a\"-/v2/{parent=organizations/*}/inspe" - + "ctTemplates:\001*Z-\"(/v2/{parent=projects/*" - + "}/inspectTemplates:\001*\022\335\001\n\025UpdateInspectT" - + "emplate\0223.google.privacy.dlp.v2.UpdateIn" - + "spectTemplateRequest\032&.google.privacy.dl" - + "p.v2.InspectTemplate\"g\202\323\344\223\002a2-/v2/{name=" - + "organizations/*/inspectTemplates/*}:\001*Z-" - + "2(/v2/{name=projects/*/inspectTemplates/" - + "*}:\001*\022\321\001\n\022GetInspectTemplate\0220.google.pr" - + "ivacy.dlp.v2.GetInspectTemplateRequest\032&" - + ".google.privacy.dlp.v2.InspectTemplate\"a" - + "\202\323\344\223\002[\022-/v2/{name=organizations/*/inspec" - + "tTemplates/*}Z*\022(/v2/{name=projects/*/in" - + "spectTemplates/*}\022\342\001\n\024ListInspectTemplat" - + "es\0222.google.privacy.dlp.v2.ListInspectTe" - + "mplatesRequest\0323.google.privacy.dlp.v2.L" - + "istInspectTemplatesResponse\"a\202\323\344\223\002[\022-/v2" - + "/{parent=organizations/*}/inspectTemplat" - + "esZ*\022(/v2/{parent=projects/*}/inspectTem" - + "plates\022\307\001\n\025DeleteInspectTemplate\0223.googl" - + "e.privacy.dlp.v2.DeleteInspectTemplateRe" - + "quest\032\026.google.protobuf.Empty\"a\202\323\344\223\002[*-/" - + "v2/{name=organizations/*/inspectTemplate" - + "s/*}Z**(/v2/{name=projects/*/inspectTemp" - + "lates/*}\022\354\001\n\030CreateDeidentifyTemplate\0226." - + "google.privacy.dlp.v2.CreateDeidentifyTe" - + "mplateRequest\032).google.privacy.dlp.v2.De" - + "identifyTemplate\"m\202\323\344\223\002g\"0/v2/{parent=or" - + "ganizations/*}/deidentifyTemplates:\001*Z0\"" - + "+/v2/{parent=projects/*}/deidentifyTempl" - + "ates:\001*\022\354\001\n\030UpdateDeidentifyTemplate\0226.g" - + "oogle.privacy.dlp.v2.UpdateDeidentifyTem" - + "plateRequest\032).google.privacy.dlp.v2.Dei" - + "dentifyTemplate\"m\202\323\344\223\002g20/v2/{name=organ" - + "izations/*/deidentifyTemplates/*}:\001*Z02+" - + "/v2/{name=projects/*/deidentifyTemplates" - + "/*}:\001*\022\340\001\n\025GetDeidentifyTemplate\0223.googl" - + "e.privacy.dlp.v2.GetDeidentifyTemplateRe" + + "rsion\022F\n\020pending_versions\030\003 \003(\0132,.google" + + ".privacy.dlp.v2.StoredInfoTypeVersion\"\207\001" + + "\n\033CreateStoredInfoTypeRequest\022\016\n\006parent\030" + + "\001 \001(\t\022;\n\006config\030\002 \001(\0132+.google.privacy.d" + + "lp.v2.StoredInfoTypeConfig\022\033\n\023stored_inf" + + "o_type_id\030\003 \001(\t\"\231\001\n\033UpdateStoredInfoType" + + "Request\022\014\n\004name\030\001 \001(\t\022;\n\006config\030\002 \001(\0132+." + + "google.privacy.dlp.v2.StoredInfoTypeConf" + + "ig\022/\n\013update_mask\030\003 \001(\0132\032.google.protobu" + + "f.FieldMask\"(\n\030GetStoredInfoTypeRequest\022" + + "\014\n\004name\030\001 \001(\t\"e\n\032ListStoredInfoTypesRequ" + + "est\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_token\030\002 \001(\t\022" + + "\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\"x\n\033" + + "ListStoredInfoTypesResponse\022@\n\021stored_in" + + "fo_types\030\001 \003(\0132%.google.privacy.dlp.v2.S" + + "toredInfoType\022\027\n\017next_page_token\030\002 \001(\t\"+" + + "\n\033DeleteStoredInfoTypeRequest\022\014\n\004name\030\001 " + + "\001(\t*M\n\rContentOption\022\027\n\023CONTENT_UNSPECIF" + + "IED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021\n\rCONTENT_IMAGE" + + "\020\002*\215\001\n\014MatchingType\022\035\n\031MATCHING_TYPE_UNS" + + "PECIFIED\020\000\022\034\n\030MATCHING_TYPE_FULL_MATCH\020\001" + + "\022\037\n\033MATCHING_TYPE_PARTIAL_MATCH\020\002\022\037\n\033MAT" + + "CHING_TYPE_INVERSE_MATCH\020\003*P\n\023InfoTypeSu" + + "pportedBy\022\031\n\025ENUM_TYPE_UNSPECIFIED\020\000\022\013\n\007" + + "INSPECT\020\001\022\021\n\rRISK_ANALYSIS\020\002*\273\001\n\022Relatio" + + "nalOperator\022#\n\037RELATIONAL_OPERATOR_UNSPE" + + "CIFIED\020\000\022\014\n\010EQUAL_TO\020\001\022\020\n\014NOT_EQUAL_TO\020\002" + + "\022\020\n\014GREATER_THAN\020\003\022\r\n\tLESS_THAN\020\004\022\032\n\026GRE" + + "ATER_THAN_OR_EQUALS\020\005\022\027\n\023LESS_THAN_OR_EQ" + + "UALS\020\006\022\n\n\006EXISTS\020\007*R\n\nDlpJobType\022\034\n\030DLP_" + + "JOB_TYPE_UNSPECIFIED\020\000\022\017\n\013INSPECT_JOB\020\001\022" + + "\025\n\021RISK_ANALYSIS_JOB\020\002*n\n\023StoredInfoType" + + "State\022&\n\"STORED_INFO_TYPE_STATE_UNSPECIF" + + "IED\020\000\022\013\n\007PENDING\020\001\022\t\n\005READY\020\002\022\n\n\006FAILED\020" + + "\003\022\013\n\007INVALID\020\0042\341,\n\nDlpService\022\241\001\n\016Inspec" + + "tContent\022,.google.privacy.dlp.v2.Inspect" + + "ContentRequest\032-.google.privacy.dlp.v2.I" + + "nspectContentResponse\"2\202\323\344\223\002,\"\'/v2/{pare" + + "nt=projects/*}/content:inspect:\001*\022\225\001\n\013Re" + + "dactImage\022).google.privacy.dlp.v2.Redact" + + "ImageRequest\032*.google.privacy.dlp.v2.Red" + + "actImageResponse\"/\202\323\344\223\002)\"$/v2/{parent=pr" + + "ojects/*}/image:redact:\001*\022\255\001\n\021Deidentify" + + "Content\022/.google.privacy.dlp.v2.Deidenti" + + "fyContentRequest\0320.google.privacy.dlp.v2" + + ".DeidentifyContentResponse\"5\202\323\344\223\002/\"*/v2/" + + "{parent=projects/*}/content:deidentify:\001" + + "*\022\255\001\n\021ReidentifyContent\022/.google.privacy" + + ".dlp.v2.ReidentifyContentRequest\0320.googl" + + "e.privacy.dlp.v2.ReidentifyContentRespon" + + "se\"5\202\323\344\223\002/\"*/v2/{parent=projects/*}/cont" + + "ent:reidentify:\001*\022\201\001\n\rListInfoTypes\022+.go" + + "ogle.privacy.dlp.v2.ListInfoTypesRequest" + + "\032,.google.privacy.dlp.v2.ListInfoTypesRe" + + "sponse\"\025\202\323\344\223\002\017\022\r/v2/infoTypes\022\335\001\n\025Create" + + "InspectTemplate\0223.google.privacy.dlp.v2." + + "CreateInspectTemplateRequest\032&.google.pr" + + "ivacy.dlp.v2.InspectTemplate\"g\202\323\344\223\002a\"-/v" + + "2/{parent=organizations/*}/inspectTempla" + + "tes:\001*Z-\"(/v2/{parent=projects/*}/inspec" + + "tTemplates:\001*\022\335\001\n\025UpdateInspectTemplate\022" + + "3.google.privacy.dlp.v2.UpdateInspectTem" + + "plateRequest\032&.google.privacy.dlp.v2.Ins" + + "pectTemplate\"g\202\323\344\223\002a2-/v2/{name=organiza" + + "tions/*/inspectTemplates/*}:\001*Z-2(/v2/{n" + + "ame=projects/*/inspectTemplates/*}:\001*\022\321\001" + + "\n\022GetInspectTemplate\0220.google.privacy.dl" + + "p.v2.GetInspectTemplateRequest\032&.google." + + "privacy.dlp.v2.InspectTemplate\"a\202\323\344\223\002[\022-" + + "/v2/{name=organizations/*/inspectTemplat" + + "es/*}Z*\022(/v2/{name=projects/*/inspectTem" + + "plates/*}\022\342\001\n\024ListInspectTemplates\0222.goo" + + "gle.privacy.dlp.v2.ListInspectTemplatesR" + + "equest\0323.google.privacy.dlp.v2.ListInspe" + + "ctTemplatesResponse\"a\202\323\344\223\002[\022-/v2/{parent" + + "=organizations/*}/inspectTemplatesZ*\022(/v" + + "2/{parent=projects/*}/inspectTemplates\022\307" + + "\001\n\025DeleteInspectTemplate\0223.google.privac" + + "y.dlp.v2.DeleteInspectTemplateRequest\032\026." + + "google.protobuf.Empty\"a\202\323\344\223\002[*-/v2/{name" + + "=organizations/*/inspectTemplates/*}Z**(" + + "/v2/{name=projects/*/inspectTemplates/*}" + + "\022\354\001\n\030CreateDeidentifyTemplate\0226.google.p" + + "rivacy.dlp.v2.CreateDeidentifyTemplateRe" + "quest\032).google.privacy.dlp.v2.Deidentify" - + "Template\"g\202\323\344\223\002a\0220/v2/{name=organization" - + "s/*/deidentifyTemplates/*}Z-\022+/v2/{name=" - + "projects/*/deidentifyTemplates/*}\022\361\001\n\027Li" - + "stDeidentifyTemplates\0225.google.privacy.d" - + "lp.v2.ListDeidentifyTemplatesRequest\0326.g" - + "oogle.privacy.dlp.v2.ListDeidentifyTempl" - + "atesResponse\"g\202\323\344\223\002a\0220/v2/{parent=organi" - + "zations/*}/deidentifyTemplatesZ-\022+/v2/{p" - + "arent=projects/*}/deidentifyTemplates\022\323\001" - + "\n\030DeleteDeidentifyTemplate\0226.google.priv" - + "acy.dlp.v2.DeleteDeidentifyTemplateReque" - + "st\032\026.google.protobuf.Empty\"g\202\323\344\223\002a*0/v2/" - + "{name=organizations/*/deidentifyTemplate" - + "s/*}Z-*+/v2/{name=projects/*/deidentifyT" - + "emplates/*}\022\225\001\n\020CreateJobTrigger\022..googl" - + "e.privacy.dlp.v2.CreateJobTriggerRequest" - + "\032!.google.privacy.dlp.v2.JobTrigger\".\202\323\344" - + "\223\002(\"#/v2/{parent=projects/*}/jobTriggers" - + ":\001*\022\225\001\n\020UpdateJobTrigger\022..google.privac" - + "y.dlp.v2.UpdateJobTriggerRequest\032!.googl" - + "e.privacy.dlp.v2.JobTrigger\".\202\323\344\223\002(2#/v2" - + "/{name=projects/*/jobTriggers/*}:\001*\022\214\001\n\r" - + "GetJobTrigger\022+.google.privacy.dlp.v2.Ge" - + "tJobTriggerRequest\032!.google.privacy.dlp." - + "v2.JobTrigger\"+\202\323\344\223\002%\022#/v2/{name=project" - + "s/*/jobTriggers/*}\022\235\001\n\017ListJobTriggers\022-" - + ".google.privacy.dlp.v2.ListJobTriggersRe" - + "quest\032..google.privacy.dlp.v2.ListJobTri" - + "ggersResponse\"+\202\323\344\223\002%\022#/v2/{parent=proje" - + "cts/*}/jobTriggers\022\207\001\n\020DeleteJobTrigger\022" - + "..google.privacy.dlp.v2.DeleteJobTrigger" - + "Request\032\026.google.protobuf.Empty\"+\202\323\344\223\002%*" - + "#/v2/{name=projects/*/jobTriggers/*}\022\236\001\n" - + "\022ActivateJobTrigger\0220.google.privacy.dlp" - + ".v2.ActivateJobTriggerRequest\032\035.google.p" - + "rivacy.dlp.v2.DlpJob\"7\202\323\344\223\0021\",/v2/{name=" - + "projects/*/jobTriggers/*}:activate:\001*\022\205\001" - + "\n\014CreateDlpJob\022*.google.privacy.dlp.v2.C" - + "reateDlpJobRequest\032\035.google.privacy.dlp." - + "v2.DlpJob\"*\202\323\344\223\002$\"\037/v2/{parent=projects/" - + "*}/dlpJobs:\001*\022\215\001\n\013ListDlpJobs\022).google.p" - + "rivacy.dlp.v2.ListDlpJobsRequest\032*.googl" - + "e.privacy.dlp.v2.ListDlpJobsResponse\"\'\202\323" - + "\344\223\002!\022\037/v2/{parent=projects/*}/dlpJobs\022|\n" - + "\tGetDlpJob\022\'.google.privacy.dlp.v2.GetDl" - + "pJobRequest\032\035.google.privacy.dlp.v2.DlpJ" - + "ob\"\'\202\323\344\223\002!\022\037/v2/{name=projects/*/dlpJobs" - + "/*}\022{\n\014DeleteDlpJob\022*.google.privacy.dlp" - + ".v2.DeleteDlpJobRequest\032\026.google.protobu" - + "f.Empty\"\'\202\323\344\223\002!*\037/v2/{name=projects/*/dl" - + "pJobs/*}\022\205\001\n\014CancelDlpJob\022*.google.priva" - + "cy.dlp.v2.CancelDlpJobRequest\032\026.google.p" - + "rotobuf.Empty\"1\202\323\344\223\002+\"&/v2/{name=project" - + "s/*/dlpJobs/*}:cancel:\001*\022\330\001\n\024CreateStore" - + "dInfoType\0222.google.privacy.dlp.v2.Create" - + "StoredInfoTypeRequest\032%.google.privacy.d" - + "lp.v2.StoredInfoType\"e\202\323\344\223\002_\",/v2/{paren" - + "t=organizations/*}/storedInfoTypes:\001*Z,\"" - + "\'/v2/{parent=projects/*}/storedInfoTypes" - + ":\001*\022\330\001\n\024UpdateStoredInfoType\0222.google.pr" - + "ivacy.dlp.v2.UpdateStoredInfoTypeRequest" - + "\032%.google.privacy.dlp.v2.StoredInfoType\"" - + "e\202\323\344\223\002_2,/v2/{name=organizations/*/store" - + "dInfoTypes/*}:\001*Z,2\'/v2/{name=projects/*" - + "/storedInfoTypes/*}:\001*\022\314\001\n\021GetStoredInfo" - + "Type\022/.google.privacy.dlp.v2.GetStoredIn" + + "Template\"m\202\323\344\223\002g\"0/v2/{parent=organizati" + + "ons/*}/deidentifyTemplates:\001*Z0\"+/v2/{pa" + + "rent=projects/*}/deidentifyTemplates:\001*\022" + + "\354\001\n\030UpdateDeidentifyTemplate\0226.google.pr" + + "ivacy.dlp.v2.UpdateDeidentifyTemplateReq" + + "uest\032).google.privacy.dlp.v2.DeidentifyT" + + "emplate\"m\202\323\344\223\002g20/v2/{name=organizations" + + "/*/deidentifyTemplates/*}:\001*Z02+/v2/{nam" + + "e=projects/*/deidentifyTemplates/*}:\001*\022\340" + + "\001\n\025GetDeidentifyTemplate\0223.google.privac" + + "y.dlp.v2.GetDeidentifyTemplateRequest\032)." + + "google.privacy.dlp.v2.DeidentifyTemplate" + + "\"g\202\323\344\223\002a\0220/v2/{name=organizations/*/deid" + + "entifyTemplates/*}Z-\022+/v2/{name=projects" + + "/*/deidentifyTemplates/*}\022\361\001\n\027ListDeiden" + + "tifyTemplates\0225.google.privacy.dlp.v2.Li" + + "stDeidentifyTemplatesRequest\0326.google.pr" + + "ivacy.dlp.v2.ListDeidentifyTemplatesResp" + + "onse\"g\202\323\344\223\002a\0220/v2/{parent=organizations/" + + "*}/deidentifyTemplatesZ-\022+/v2/{parent=pr" + + "ojects/*}/deidentifyTemplates\022\323\001\n\030Delete" + + "DeidentifyTemplate\0226.google.privacy.dlp." + + "v2.DeleteDeidentifyTemplateRequest\032\026.goo" + + "gle.protobuf.Empty\"g\202\323\344\223\002a*0/v2/{name=or" + + "ganizations/*/deidentifyTemplates/*}Z-*+" + + "/v2/{name=projects/*/deidentifyTemplates" + + "/*}\022\225\001\n\020CreateJobTrigger\022..google.privac" + + "y.dlp.v2.CreateJobTriggerRequest\032!.googl" + + "e.privacy.dlp.v2.JobTrigger\".\202\323\344\223\002(\"#/v2" + + "/{parent=projects/*}/jobTriggers:\001*\022\225\001\n\020" + + "UpdateJobTrigger\022..google.privacy.dlp.v2" + + ".UpdateJobTriggerRequest\032!.google.privac" + + "y.dlp.v2.JobTrigger\".\202\323\344\223\002(2#/v2/{name=p" + + "rojects/*/jobTriggers/*}:\001*\022\214\001\n\rGetJobTr" + + "igger\022+.google.privacy.dlp.v2.GetJobTrig" + + "gerRequest\032!.google.privacy.dlp.v2.JobTr" + + "igger\"+\202\323\344\223\002%\022#/v2/{name=projects/*/jobT" + + "riggers/*}\022\235\001\n\017ListJobTriggers\022-.google." + + "privacy.dlp.v2.ListJobTriggersRequest\032.." + + "google.privacy.dlp.v2.ListJobTriggersRes" + + "ponse\"+\202\323\344\223\002%\022#/v2/{parent=projects/*}/j" + + "obTriggers\022\207\001\n\020DeleteJobTrigger\022..google" + + ".privacy.dlp.v2.DeleteJobTriggerRequest\032" + + "\026.google.protobuf.Empty\"+\202\323\344\223\002%*#/v2/{na" + + "me=projects/*/jobTriggers/*}\022\236\001\n\022Activat" + + "eJobTrigger\0220.google.privacy.dlp.v2.Acti" + + "vateJobTriggerRequest\032\035.google.privacy.d" + + "lp.v2.DlpJob\"7\202\323\344\223\0021\",/v2/{name=projects" + + "/*/jobTriggers/*}:activate:\001*\022\205\001\n\014Create" + + "DlpJob\022*.google.privacy.dlp.v2.CreateDlp" + + "JobRequest\032\035.google.privacy.dlp.v2.DlpJo" + + "b\"*\202\323\344\223\002$\"\037/v2/{parent=projects/*}/dlpJo" + + "bs:\001*\022\215\001\n\013ListDlpJobs\022).google.privacy.d" + + "lp.v2.ListDlpJobsRequest\032*.google.privac" + + "y.dlp.v2.ListDlpJobsResponse\"\'\202\323\344\223\002!\022\037/v" + + "2/{parent=projects/*}/dlpJobs\022|\n\tGetDlpJ" + + "ob\022\'.google.privacy.dlp.v2.GetDlpJobRequ" + + "est\032\035.google.privacy.dlp.v2.DlpJob\"\'\202\323\344\223" + + "\002!\022\037/v2/{name=projects/*/dlpJobs/*}\022{\n\014D" + + "eleteDlpJob\022*.google.privacy.dlp.v2.Dele" + + "teDlpJobRequest\032\026.google.protobuf.Empty\"" + + "\'\202\323\344\223\002!*\037/v2/{name=projects/*/dlpJobs/*}" + + "\022\205\001\n\014CancelDlpJob\022*.google.privacy.dlp.v" + + "2.CancelDlpJobRequest\032\026.google.protobuf." + + "Empty\"1\202\323\344\223\002+\"&/v2/{name=projects/*/dlpJ" + + "obs/*}:cancel:\001*\022\330\001\n\024CreateStoredInfoTyp" + + "e\0222.google.privacy.dlp.v2.CreateStoredIn" + "foTypeRequest\032%.google.privacy.dlp.v2.St" - + "oredInfoType\"_\202\323\344\223\002Y\022,/v2/{name=organiza", - "tions/*/storedInfoTypes/*}Z)\022\'/v2/{name=" - + "projects/*/storedInfoTypes/*}\022\335\001\n\023ListSt" - + "oredInfoTypes\0221.google.privacy.dlp.v2.Li" - + "stStoredInfoTypesRequest\0322.google.privac" - + "y.dlp.v2.ListStoredInfoTypesResponse\"_\202\323" - + "\344\223\002Y\022,/v2/{parent=organizations/*}/store" - + "dInfoTypesZ)\022\'/v2/{parent=projects/*}/st" - + "oredInfoTypes\022\303\001\n\024DeleteStoredInfoType\0222" - + ".google.privacy.dlp.v2.DeleteStoredInfoT" - + "ypeRequest\032\026.google.protobuf.Empty\"_\202\323\344\223" - + "\002Y*,/v2/{name=organizations/*/storedInfo" - + "Types/*}Z)*\'/v2/{name=projects/*/storedI" - + "nfoTypes/*}B\215\001\n\031com.google.privacy.dlp.v" - + "2B\010DlpProtoP\001Z8google.golang.org/genprot" - + "o/googleapis/privacy/dlp/v2;dlp\252\002\023Google" - + ".Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\V2b\006pro" - + "to3" + + "oredInfoType\"e\202\323\344\223\002_\",/v2/{parent=organi" + + "zations/*}/storedInfoTypes:\001*Z,\"\'/v2/{pa" + + "rent=projects/*}/storedInfoTypes:\001*\022\330\001\n\024" + + "UpdateStoredInfoType\0222.google.privacy.dl" + + "p.v2.UpdateStoredInfoTypeRequest\032%.googl" + + "e.privacy.dlp.v2.StoredInfoType\"e\202\323\344\223\002_2", + ",/v2/{name=organizations/*/storedInfoTyp" + + "es/*}:\001*Z,2\'/v2/{name=projects/*/storedI" + + "nfoTypes/*}:\001*\022\314\001\n\021GetStoredInfoType\022/.g" + + "oogle.privacy.dlp.v2.GetStoredInfoTypeRe" + + "quest\032%.google.privacy.dlp.v2.StoredInfo" + + "Type\"_\202\323\344\223\002Y\022,/v2/{name=organizations/*/" + + "storedInfoTypes/*}Z)\022\'/v2/{name=projects" + + "/*/storedInfoTypes/*}\022\335\001\n\023ListStoredInfo" + + "Types\0221.google.privacy.dlp.v2.ListStored" + + "InfoTypesRequest\0322.google.privacy.dlp.v2" + + ".ListStoredInfoTypesResponse\"_\202\323\344\223\002Y\022,/v" + + "2/{parent=organizations/*}/storedInfoTyp" + + "esZ)\022\'/v2/{parent=projects/*}/storedInfo" + + "Types\022\303\001\n\024DeleteStoredInfoType\0222.google." + + "privacy.dlp.v2.DeleteStoredInfoTypeReque" + + "st\032\026.google.protobuf.Empty\"_\202\323\344\223\002Y*,/v2/" + + "{name=organizations/*/storedInfoTypes/*}" + + "Z)*\'/v2/{name=projects/*/storedInfoTypes" + + "/*}\032\025\312A\022dlp.googleapis.comB\215\001\n\031com.googl" + + "e.privacy.dlp.v2B\010DlpProtoP\001Z8google.gol" + + "ang.org/genproto/googleapis/privacy/dlp/" + + "v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Cl" + + "oud\\Dlp\\V2b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -1463,7 +1477,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), com.google.privacy.dlp.v2.DlpStorage.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), @@ -2772,24 +2786,40 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "OutputPath", "CloudStorageFileSet", "BigQueryField", "Source", }); - internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor = + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor = getDescriptor().getMessageTypes().get(101); + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor, + new java.lang.String[] { + "ApproxNumPhrases", + }); + internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor = + getDescriptor().getMessageTypes().get(102); internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor, new java.lang.String[] { "DisplayName", "Description", "LargeCustomDictionary", "Type", }); + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor = + getDescriptor().getMessageTypes().get(103); + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor, + new java.lang.String[] { + "LargeCustomDictionary", "Type", + }); internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor = - getDescriptor().getMessageTypes().get(102); + getDescriptor().getMessageTypes().get(104); internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor, new java.lang.String[] { - "Config", "CreateTime", "State", "Errors", + "Config", "CreateTime", "State", "Errors", "Stats", }); internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor = - getDescriptor().getMessageTypes().get(103); + getDescriptor().getMessageTypes().get(105); internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor, @@ -2797,7 +2827,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", "CurrentVersion", "PendingVersions", }); internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(104); + getDescriptor().getMessageTypes().get(106); internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor, @@ -2805,7 +2835,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Parent", "Config", "StoredInfoTypeId", }); internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(105); + getDescriptor().getMessageTypes().get(107); internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor, @@ -2813,7 +2843,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", "Config", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(106); + getDescriptor().getMessageTypes().get(108); internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor, @@ -2821,7 +2851,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", }); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(107); + getDescriptor().getMessageTypes().get(109); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor, @@ -2829,7 +2859,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Parent", "PageToken", "PageSize", "OrderBy", }); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(108); + getDescriptor().getMessageTypes().get(110); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor, @@ -2837,7 +2867,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "StoredInfoTypes", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(109); + getDescriptor().getMessageTypes().get(111); internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor, @@ -2846,11 +2876,12 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); com.google.privacy.dlp.v2.DlpStorage.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java index 04f00f8d1acb..e7201a6a3d5e 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java @@ -147,122 +147,121 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n#google/privacy/dlp/v2/storage.proto\022\025g" + "oogle.privacy.dlp.v2\032\034google/api/annotat" - + "ions.proto\032\031google/api/resource.proto\032\037g" - + "oogle/protobuf/timestamp.proto\"\030\n\010InfoTy" - + "pe\022\014\n\004name\030\001 \001(\t\"K\n\nStoredType\022\014\n\004name\030\001" - + " \001(\t\022/\n\013create_time\030\002 \001(\0132\032.google.proto" - + "buf.Timestamp\"\310\013\n\016CustomInfoType\0222\n\tinfo" - + "_type\030\001 \001(\0132\037.google.privacy.dlp.v2.Info" - + "Type\0225\n\nlikelihood\030\006 \001(\0162!.google.privac" - + "y.dlp.v2.Likelihood\022F\n\ndictionary\030\002 \001(\0132" - + "0.google.privacy.dlp.v2.CustomInfoType.D" - + "ictionaryH\000\022<\n\005regex\030\003 \001(\0132+.google.priv" - + "acy.dlp.v2.CustomInfoType.RegexH\000\022M\n\016sur" - + "rogate_type\030\004 \001(\01323.google.privacy.dlp.v" - + "2.CustomInfoType.SurrogateTypeH\000\0228\n\013stor" - + "ed_type\030\005 \001(\0132!.google.privacy.dlp.v2.St" - + "oredTypeH\000\022L\n\017detection_rules\030\007 \003(\01323.go" - + "ogle.privacy.dlp.v2.CustomInfoType.Detec" - + "tionRule\022K\n\016exclusion_type\030\010 \001(\01623.googl" - + "e.privacy.dlp.v2.CustomInfoType.Exclusio" - + "nType\032\310\001\n\nDictionary\022N\n\tword_list\030\001 \001(\0132" - + "9.google.privacy.dlp.v2.CustomInfoType.D" - + "ictionary.WordListH\000\022E\n\022cloud_storage_pa" - + "th\030\003 \001(\0132\'.google.privacy.dlp.v2.CloudSt" - + "oragePathH\000\032\031\n\010WordList\022\r\n\005words\030\001 \003(\tB\010" - + "\n\006source\032/\n\005Regex\022\017\n\007pattern\030\001 \001(\t\022\025\n\rgr" - + "oup_indexes\030\002 \003(\005\032\017\n\rSurrogateType\032\276\004\n\rD" - + "etectionRule\022W\n\014hotword_rule\030\001 \001(\0132?.goo" - + "gle.privacy.dlp.v2.CustomInfoType.Detect" - + "ionRule.HotwordRuleH\000\0328\n\tProximity\022\025\n\rwi" - + "ndow_before\030\001 \001(\005\022\024\n\014window_after\030\002 \001(\005\032" - + "\202\001\n\024LikelihoodAdjustment\022=\n\020fixed_likeli" - + "hood\030\001 \001(\0162!.google.privacy.dlp.v2.Likel" - + "ihoodH\000\022\035\n\023relative_likelihood\030\002 \001(\005H\000B\014" - + "\n\nadjustment\032\214\002\n\013HotwordRule\022B\n\rhotword_" - + "regex\030\001 \001(\0132+.google.privacy.dlp.v2.Cust" - + "omInfoType.Regex\022P\n\tproximity\030\002 \001(\0132=.go" - + "ogle.privacy.dlp.v2.CustomInfoType.Detec" - + "tionRule.Proximity\022g\n\025likelihood_adjustm" - + "ent\030\003 \001(\0132H.google.privacy.dlp.v2.Custom" - + "InfoType.DetectionRule.LikelihoodAdjustm" - + "entB\006\n\004type\"K\n\rExclusionType\022\036\n\032EXCLUSIO" - + "N_TYPE_UNSPECIFIED\020\000\022\032\n\026EXCLUSION_TYPE_E" - + "XCLUDE\020\001B\006\n\004type\"\027\n\007FieldId\022\014\n\004name\030\001 \001(" - + "\t\"7\n\013PartitionId\022\022\n\nproject_id\030\002 \001(\t\022\024\n\014" - + "namespace_id\030\004 \001(\t\"\036\n\016KindExpression\022\014\n\004" - + "name\030\001 \001(\t\"\201\001\n\020DatastoreOptions\0228\n\014parti" - + "tion_id\030\001 \001(\0132\".google.privacy.dlp.v2.Pa" - + "rtitionId\0223\n\004kind\030\002 \001(\0132%.google.privacy" - + ".dlp.v2.KindExpression\"]\n\030CloudStorageRe" - + "gexFileSet\022\023\n\013bucket_name\030\001 \001(\t\022\025\n\rinclu" - + "de_regex\030\002 \003(\t\022\025\n\rexclude_regex\030\003 \003(\t\"\354\003" - + "\n\023CloudStorageOptions\022D\n\010file_set\030\001 \001(\0132" - + "2.google.privacy.dlp.v2.CloudStorageOpti" - + "ons.FileSet\022\034\n\024bytes_limit_per_file\030\004 \001(" - + "\003\022$\n\034bytes_limit_per_file_percent\030\010 \001(\005\022" - + "3\n\nfile_types\030\005 \003(\0162\037.google.privacy.dlp" - + ".v2.FileType\022N\n\rsample_method\030\006 \001(\01627.go" - + "ogle.privacy.dlp.v2.CloudStorageOptions." - + "SampleMethod\022\033\n\023files_limit_percent\030\007 \001(" - + "\005\032_\n\007FileSet\022\013\n\003url\030\001 \001(\t\022G\n\016regex_file_" - + "set\030\002 \001(\0132/.google.privacy.dlp.v2.CloudS" - + "torageRegexFileSet\"H\n\014SampleMethod\022\035\n\031SA" - + "MPLE_METHOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RA" - + "NDOM_START\020\002\"\"\n\023CloudStorageFileSet\022\013\n\003u" - + "rl\030\001 \001(\t\" \n\020CloudStoragePath\022\014\n\004path\030\001 \001" - + "(\t\"\213\003\n\017BigQueryOptions\022=\n\017table_referenc" - + "e\030\001 \001(\0132$.google.privacy.dlp.v2.BigQuery" - + "Table\022:\n\022identifying_fields\030\002 \003(\0132\036.goog" - + "le.privacy.dlp.v2.FieldId\022\022\n\nrows_limit\030" - + "\003 \001(\003\022\032\n\022rows_limit_percent\030\006 \001(\005\022J\n\rsam" - + "ple_method\030\004 \001(\01623.google.privacy.dlp.v2" - + ".BigQueryOptions.SampleMethod\0227\n\017exclude" - + "d_fields\030\005 \003(\0132\036.google.privacy.dlp.v2.F" - + "ieldId\"H\n\014SampleMethod\022\035\n\031SAMPLE_METHOD_" - + "UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002" - + "\"\232\004\n\rStorageConfig\022D\n\021datastore_options\030" - + "\002 \001(\0132\'.google.privacy.dlp.v2.DatastoreO" - + "ptionsH\000\022K\n\025cloud_storage_options\030\003 \001(\0132" - + "*.google.privacy.dlp.v2.CloudStorageOpti" - + "onsH\000\022C\n\021big_query_options\030\004 \001(\0132&.googl" - + "e.privacy.dlp.v2.BigQueryOptionsH\000\022L\n\017ti" - + "mespan_config\030\006 \001(\01323.google.privacy.dlp" - + ".v2.StorageConfig.TimespanConfig\032\332\001\n\016Tim" - + "espanConfig\022.\n\nstart_time\030\001 \001(\0132\032.google" - + ".protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032." - + "google.protobuf.Timestamp\0227\n\017timestamp_f" - + "ield\030\003 \001(\0132\036.google.privacy.dlp.v2.Field" - + "Id\0221\n)enable_auto_population_of_timespan" - + "_config\030\004 \001(\010B\006\n\004type\"`\n\013BigQueryKey\022=\n\017" - + "table_reference\030\001 \001(\0132$.google.privacy.d" - + "lp.v2.BigQueryTable\022\022\n\nrow_number\030\002 \001(\003\"" - + ">\n\014DatastoreKey\022.\n\nentity_key\030\001 \001(\0132\032.go" - + "ogle.privacy.dlp.v2.Key\"\273\001\n\003Key\0228\n\014parti" - + "tion_id\030\001 \001(\0132\".google.privacy.dlp.v2.Pa" - + "rtitionId\0224\n\004path\030\002 \003(\0132&.google.privacy" - + ".dlp.v2.Key.PathElement\032D\n\013PathElement\022\014" - + "\n\004kind\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022\016\n\004name\030\003 \001(\t" - + "H\000B\t\n\007id_type\"\241\001\n\tRecordKey\022<\n\rdatastore" - + "_key\030\002 \001(\0132#.google.privacy.dlp.v2.Datas" - + "toreKeyH\000\022;\n\rbig_query_key\030\003 \001(\0132\".googl" - + "e.privacy.dlp.v2.BigQueryKeyH\000\022\021\n\tid_val" - + "ues\030\005 \003(\tB\006\n\004type\"I\n\rBigQueryTable\022\022\n\npr" - + "oject_id\030\001 \001(\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010ta" - + "ble_id\030\003 \001(\t\"s\n\rBigQueryField\0223\n\005table\030\001" - + " \001(\0132$.google.privacy.dlp.v2.BigQueryTab" - + "le\022-\n\005field\030\002 \001(\0132\036.google.privacy.dlp.v" - + "2.FieldId\"9\n\010EntityId\022-\n\005field\030\001 \001(\0132\036.g" - + "oogle.privacy.dlp.v2.FieldId*t\n\nLikeliho" - + "od\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_U" - + "NLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n" - + "\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*P\n\010FileType\022\031" - + "\n\025FILE_TYPE_UNSPECIFIED\020\000\022\017\n\013BINARY_FILE" - + "\020\001\022\r\n\tTEXT_FILE\020\002\022\t\n\005IMAGE\020\003B\217\001\n\031com.goo" - + "gle.privacy.dlp.v2B\nDlpStorageP\001Z8google" - + ".golang.org/genproto/googleapis/privacy/" - + "dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Googl" - + "e\\Cloud\\Dlp\\V2b\006proto3" + + "ions.proto\032\037google/protobuf/timestamp.pr" + + "oto\"\030\n\010InfoType\022\014\n\004name\030\001 \001(\t\"K\n\nStoredT" + + "ype\022\014\n\004name\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032" + + ".google.protobuf.Timestamp\"\310\013\n\016CustomInf" + + "oType\0222\n\tinfo_type\030\001 \001(\0132\037.google.privac" + + "y.dlp.v2.InfoType\0225\n\nlikelihood\030\006 \001(\0162!." + + "google.privacy.dlp.v2.Likelihood\022F\n\ndict" + + "ionary\030\002 \001(\01320.google.privacy.dlp.v2.Cus" + + "tomInfoType.DictionaryH\000\022<\n\005regex\030\003 \001(\0132" + + "+.google.privacy.dlp.v2.CustomInfoType.R" + + "egexH\000\022M\n\016surrogate_type\030\004 \001(\01323.google." + + "privacy.dlp.v2.CustomInfoType.SurrogateT" + + "ypeH\000\0228\n\013stored_type\030\005 \001(\0132!.google.priv" + + "acy.dlp.v2.StoredTypeH\000\022L\n\017detection_rul" + + "es\030\007 \003(\01323.google.privacy.dlp.v2.CustomI" + + "nfoType.DetectionRule\022K\n\016exclusion_type\030" + + "\010 \001(\01623.google.privacy.dlp.v2.CustomInfo" + + "Type.ExclusionType\032\310\001\n\nDictionary\022N\n\twor" + + "d_list\030\001 \001(\01329.google.privacy.dlp.v2.Cus" + + "tomInfoType.Dictionary.WordListH\000\022E\n\022clo" + + "ud_storage_path\030\003 \001(\0132\'.google.privacy.d" + + "lp.v2.CloudStoragePathH\000\032\031\n\010WordList\022\r\n\005" + + "words\030\001 \003(\tB\010\n\006source\032/\n\005Regex\022\017\n\007patter" + + "n\030\001 \001(\t\022\025\n\rgroup_indexes\030\002 \003(\005\032\017\n\rSurrog" + + "ateType\032\276\004\n\rDetectionRule\022W\n\014hotword_rul" + + "e\030\001 \001(\0132?.google.privacy.dlp.v2.CustomIn" + + "foType.DetectionRule.HotwordRuleH\000\0328\n\tPr" + + "oximity\022\025\n\rwindow_before\030\001 \001(\005\022\024\n\014window" + + "_after\030\002 \001(\005\032\202\001\n\024LikelihoodAdjustment\022=\n" + + "\020fixed_likelihood\030\001 \001(\0162!.google.privacy" + + ".dlp.v2.LikelihoodH\000\022\035\n\023relative_likelih" + + "ood\030\002 \001(\005H\000B\014\n\nadjustment\032\214\002\n\013HotwordRul" + + "e\022B\n\rhotword_regex\030\001 \001(\0132+.google.privac" + + "y.dlp.v2.CustomInfoType.Regex\022P\n\tproximi" + + "ty\030\002 \001(\0132=.google.privacy.dlp.v2.CustomI" + + "nfoType.DetectionRule.Proximity\022g\n\025likel" + + "ihood_adjustment\030\003 \001(\0132H.google.privacy." + + "dlp.v2.CustomInfoType.DetectionRule.Like" + + "lihoodAdjustmentB\006\n\004type\"K\n\rExclusionTyp" + + "e\022\036\n\032EXCLUSION_TYPE_UNSPECIFIED\020\000\022\032\n\026EXC" + + "LUSION_TYPE_EXCLUDE\020\001B\006\n\004type\"\027\n\007FieldId" + + "\022\014\n\004name\030\001 \001(\t\"7\n\013PartitionId\022\022\n\nproject" + + "_id\030\002 \001(\t\022\024\n\014namespace_id\030\004 \001(\t\"\036\n\016KindE" + + "xpression\022\014\n\004name\030\001 \001(\t\"\201\001\n\020DatastoreOpt" + + "ions\0228\n\014partition_id\030\001 \001(\0132\".google.priv" + + "acy.dlp.v2.PartitionId\0223\n\004kind\030\002 \001(\0132%.g" + + "oogle.privacy.dlp.v2.KindExpression\"]\n\030C" + + "loudStorageRegexFileSet\022\023\n\013bucket_name\030\001" + + " \001(\t\022\025\n\rinclude_regex\030\002 \003(\t\022\025\n\rexclude_r" + + "egex\030\003 \003(\t\"\354\003\n\023CloudStorageOptions\022D\n\010fi" + + "le_set\030\001 \001(\01322.google.privacy.dlp.v2.Clo" + + "udStorageOptions.FileSet\022\034\n\024bytes_limit_" + + "per_file\030\004 \001(\003\022$\n\034bytes_limit_per_file_p" + + "ercent\030\010 \001(\005\0223\n\nfile_types\030\005 \003(\0162\037.googl" + + "e.privacy.dlp.v2.FileType\022N\n\rsample_meth" + + "od\030\006 \001(\01627.google.privacy.dlp.v2.CloudSt" + + "orageOptions.SampleMethod\022\033\n\023files_limit" + + "_percent\030\007 \001(\005\032_\n\007FileSet\022\013\n\003url\030\001 \001(\t\022G" + + "\n\016regex_file_set\030\002 \001(\0132/.google.privacy." + + "dlp.v2.CloudStorageRegexFileSet\"H\n\014Sampl" + + "eMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIED\020\000\022\007" + + "\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\"\n\023CloudStorag" + + "eFileSet\022\013\n\003url\030\001 \001(\t\" \n\020CloudStoragePat" + + "h\022\014\n\004path\030\001 \001(\t\"\213\003\n\017BigQueryOptions\022=\n\017t" + + "able_reference\030\001 \001(\0132$.google.privacy.dl" + + "p.v2.BigQueryTable\022:\n\022identifying_fields" + + "\030\002 \003(\0132\036.google.privacy.dlp.v2.FieldId\022\022" + + "\n\nrows_limit\030\003 \001(\003\022\032\n\022rows_limit_percent" + + "\030\006 \001(\005\022J\n\rsample_method\030\004 \001(\01623.google.p" + + "rivacy.dlp.v2.BigQueryOptions.SampleMeth" + + "od\0227\n\017excluded_fields\030\005 \003(\0132\036.google.pri" + + "vacy.dlp.v2.FieldId\"H\n\014SampleMethod\022\035\n\031S" + + "AMPLE_METHOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014R" + + "ANDOM_START\020\002\"\232\004\n\rStorageConfig\022D\n\021datas" + + "tore_options\030\002 \001(\0132\'.google.privacy.dlp." + + "v2.DatastoreOptionsH\000\022K\n\025cloud_storage_o" + + "ptions\030\003 \001(\0132*.google.privacy.dlp.v2.Clo" + + "udStorageOptionsH\000\022C\n\021big_query_options\030" + + "\004 \001(\0132&.google.privacy.dlp.v2.BigQueryOp" + + "tionsH\000\022L\n\017timespan_config\030\006 \001(\01323.googl" + + "e.privacy.dlp.v2.StorageConfig.TimespanC" + + "onfig\032\332\001\n\016TimespanConfig\022.\n\nstart_time\030\001" + + " \001(\0132\032.google.protobuf.Timestamp\022,\n\010end_" + + "time\030\002 \001(\0132\032.google.protobuf.Timestamp\0227" + + "\n\017timestamp_field\030\003 \001(\0132\036.google.privacy" + + ".dlp.v2.FieldId\0221\n)enable_auto_populatio" + + "n_of_timespan_config\030\004 \001(\010B\006\n\004type\"`\n\013Bi" + + "gQueryKey\022=\n\017table_reference\030\001 \001(\0132$.goo" + + "gle.privacy.dlp.v2.BigQueryTable\022\022\n\nrow_" + + "number\030\002 \001(\003\">\n\014DatastoreKey\022.\n\nentity_k" + + "ey\030\001 \001(\0132\032.google.privacy.dlp.v2.Key\"\273\001\n" + + "\003Key\0228\n\014partition_id\030\001 \001(\0132\".google.priv" + + "acy.dlp.v2.PartitionId\0224\n\004path\030\002 \003(\0132&.g" + + "oogle.privacy.dlp.v2.Key.PathElement\032D\n\013" + + "PathElement\022\014\n\004kind\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022" + + "\016\n\004name\030\003 \001(\tH\000B\t\n\007id_type\"\241\001\n\tRecordKey" + + "\022<\n\rdatastore_key\030\002 \001(\0132#.google.privacy" + + ".dlp.v2.DatastoreKeyH\000\022;\n\rbig_query_key\030" + + "\003 \001(\0132\".google.privacy.dlp.v2.BigQueryKe" + + "yH\000\022\021\n\tid_values\030\005 \003(\tB\006\n\004type\"I\n\rBigQue" + + "ryTable\022\022\n\nproject_id\030\001 \001(\t\022\022\n\ndataset_i" + + "d\030\002 \001(\t\022\020\n\010table_id\030\003 \001(\t\"s\n\rBigQueryFie" + + "ld\0223\n\005table\030\001 \001(\0132$.google.privacy.dlp.v" + + "2.BigQueryTable\022-\n\005field\030\002 \001(\0132\036.google." + + "privacy.dlp.v2.FieldId\"9\n\010EntityId\022-\n\005fi" + + "eld\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldI" + + "d*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIFIE" + + "D\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010" + + "POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*" + + "P\n\010FileType\022\031\n\025FILE_TYPE_UNSPECIFIED\020\000\022\017" + + "\n\013BINARY_FILE\020\001\022\r\n\tTEXT_FILE\020\002\022\t\n\005IMAGE\020" + + "\003B\217\001\n\031com.google.privacy.dlp.v2B\nDlpStor" + + "ageP\001Z8google.golang.org/genproto/google" + + "apis/privacy/dlp/v2;dlp\252\002\023Google.Cloud.D" + + "lp.V2\312\002\023Google\\Cloud\\Dlp\\V2b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -276,7 +275,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }, assigner); @@ -559,7 +557,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Field", }); com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java index a0fe5fe12eda..e6963ce9f789 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfig.java @@ -265,8 +265,7 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() { * * *
-   * Actions to execute at the completion of the job. Are executed in the order
-   * provided.
+   * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -278,8 +277,7 @@ public java.util.List getActionsList() { * * *
-   * Actions to execute at the completion of the job. Are executed in the order
-   * provided.
+   * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -292,8 +290,7 @@ public java.util.List getActionsList() { * * *
-   * Actions to execute at the completion of the job. Are executed in the order
-   * provided.
+   * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -305,8 +302,7 @@ public int getActionsCount() { * * *
-   * Actions to execute at the completion of the job. Are executed in the order
-   * provided.
+   * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -318,8 +314,7 @@ public com.google.privacy.dlp.v2.Action getActions(int index) { * * *
-   * Actions to execute at the completion of the job. Are executed in the order
-   * provided.
+   * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1240,8 +1235,7 @@ private void ensureActionsIsMutable() { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1257,8 +1251,7 @@ public java.util.List getActionsList() { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1274,8 +1267,7 @@ public int getActionsCount() { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1291,8 +1283,7 @@ public com.google.privacy.dlp.v2.Action getActions(int index) { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1314,8 +1305,7 @@ public Builder setActions(int index, com.google.privacy.dlp.v2.Action value) { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1334,8 +1324,7 @@ public Builder setActions(int index, com.google.privacy.dlp.v2.Action.Builder bu * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1357,8 +1346,7 @@ public Builder addActions(com.google.privacy.dlp.v2.Action value) { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1380,8 +1368,7 @@ public Builder addActions(int index, com.google.privacy.dlp.v2.Action value) { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1400,8 +1387,7 @@ public Builder addActions(com.google.privacy.dlp.v2.Action.Builder builderForVal * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1420,8 +1406,7 @@ public Builder addActions(int index, com.google.privacy.dlp.v2.Action.Builder bu * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1441,8 +1426,7 @@ public Builder addAllActions( * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1461,8 +1445,7 @@ public Builder clearActions() { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1481,8 +1464,7 @@ public Builder removeActions(int index) { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1494,8 +1476,7 @@ public com.google.privacy.dlp.v2.Action.Builder getActionsBuilder(int index) { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1511,8 +1492,7 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1529,8 +1509,7 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1543,8 +1522,7 @@ public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder() { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -1557,8 +1535,7 @@ public com.google.privacy.dlp.v2.Action.Builder addActionsBuilder(int index) { * * *
-     * Actions to execute at the completion of the job. Are executed in the order
-     * provided.
+     * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java index f53cef5301e7..6a2648f93340 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectJobConfigOrBuilder.java @@ -99,8 +99,7 @@ public interface InspectJobConfigOrBuilder * * *
-   * Actions to execute at the completion of the job. Are executed in the order
-   * provided.
+   * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -110,8 +109,7 @@ public interface InspectJobConfigOrBuilder * * *
-   * Actions to execute at the completion of the job. Are executed in the order
-   * provided.
+   * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -121,8 +119,7 @@ public interface InspectJobConfigOrBuilder * * *
-   * Actions to execute at the completion of the job. Are executed in the order
-   * provided.
+   * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -132,8 +129,7 @@ public interface InspectJobConfigOrBuilder * * *
-   * Actions to execute at the completion of the job. Are executed in the order
-   * provided.
+   * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; @@ -143,8 +139,7 @@ public interface InspectJobConfigOrBuilder * * *
-   * Actions to execute at the completion of the job. Are executed in the order
-   * provided.
+   * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.Action actions = 4; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java new file mode 100644 index 000000000000..d6f75b319465 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStats.java @@ -0,0 +1,515 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + * + * + *
+ * Summary statistics of a custom dictionary.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.LargeCustomDictionaryStats} + */ +public final class LargeCustomDictionaryStats extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.LargeCustomDictionaryStats) + LargeCustomDictionaryStatsOrBuilder { + private static final long serialVersionUID = 0L; + // Use LargeCustomDictionaryStats.newBuilder() to construct. + private LargeCustomDictionaryStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private LargeCustomDictionaryStats() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private LargeCustomDictionaryStats( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + approxNumPhrases_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.class, + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder.class); + } + + public static final int APPROX_NUM_PHRASES_FIELD_NUMBER = 1; + private long approxNumPhrases_; + /** + * + * + *
+   * Approximate number of distinct phrases in the dictionary.
+   * 
+ * + * int64 approx_num_phrases = 1; + */ + public long getApproxNumPhrases() { + return approxNumPhrases_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (approxNumPhrases_ != 0L) { + output.writeInt64(1, approxNumPhrases_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (approxNumPhrases_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, approxNumPhrases_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.LargeCustomDictionaryStats)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.LargeCustomDictionaryStats other = + (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) obj; + + if (getApproxNumPhrases() != other.getApproxNumPhrases()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + APPROX_NUM_PHRASES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getApproxNumPhrases()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.privacy.dlp.v2.LargeCustomDictionaryStats prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Summary statistics of a custom dictionary.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.LargeCustomDictionaryStats} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.LargeCustomDictionaryStats) + com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.class, + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.LargeCustomDictionaryStats.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + approxNumPhrases_ = 0L; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.LargeCustomDictionaryStats build() { + com.google.privacy.dlp.v2.LargeCustomDictionaryStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.LargeCustomDictionaryStats buildPartial() { + com.google.privacy.dlp.v2.LargeCustomDictionaryStats result = + new com.google.privacy.dlp.v2.LargeCustomDictionaryStats(this); + result.approxNumPhrases_ = approxNumPhrases_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.LargeCustomDictionaryStats) { + return mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.LargeCustomDictionaryStats other) { + if (other == com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance()) + return this; + if (other.getApproxNumPhrases() != 0L) { + setApproxNumPhrases(other.getApproxNumPhrases()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.LargeCustomDictionaryStats parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private long approxNumPhrases_; + /** + * + * + *
+     * Approximate number of distinct phrases in the dictionary.
+     * 
+ * + * int64 approx_num_phrases = 1; + */ + public long getApproxNumPhrases() { + return approxNumPhrases_; + } + /** + * + * + *
+     * Approximate number of distinct phrases in the dictionary.
+     * 
+ * + * int64 approx_num_phrases = 1; + */ + public Builder setApproxNumPhrases(long value) { + + approxNumPhrases_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Approximate number of distinct phrases in the dictionary.
+     * 
+ * + * int64 approx_num_phrases = 1; + */ + public Builder clearApproxNumPhrases() { + + approxNumPhrases_ = 0L; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.LargeCustomDictionaryStats) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.LargeCustomDictionaryStats) + private static final com.google.privacy.dlp.v2.LargeCustomDictionaryStats DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.LargeCustomDictionaryStats(); + } + + public static com.google.privacy.dlp.v2.LargeCustomDictionaryStats getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LargeCustomDictionaryStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LargeCustomDictionaryStats(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java new file mode 100644 index 000000000000..029464d64ae5 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/LargeCustomDictionaryStatsOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface LargeCustomDictionaryStatsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.LargeCustomDictionaryStats) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Approximate number of distinct phrases in the dictionary.
+   * 
+ * + * int64 approx_num_phrases = 1; + */ + long getApproxNumPhrases(); +} diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java index 1afce1d49ea2..db1ca9b5fdbf 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java @@ -187,13 +187,18 @@ public com.google.protobuf.ByteString getParentBytes() { * - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - `trigger_name` - The resource name of the trigger that created job. + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * Supported fields for risk analysis jobs: * - `state` - RUNNING|CANCELED|FINISHED|FAILED + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * The operator must be `=` or `!=`. * Examples: * * inspected_storage = cloud_storage AND state = done * * inspected_storage = cloud_storage OR inspected_storage = bigquery * * inspected_storage = cloud_storage AND (state = done OR state = canceled) + * * end_time > \"2017-12-12T00:00:00+00:00\" * The length of this field should be no more than 500 characters. * * @@ -224,13 +229,18 @@ public java.lang.String getFilter() { * - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - `trigger_name` - The resource name of the trigger that created job. + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * Supported fields for risk analysis jobs: * - `state` - RUNNING|CANCELED|FINISHED|FAILED + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * The operator must be `=` or `!=`. * Examples: * * inspected_storage = cloud_storage AND state = done * * inspected_storage = cloud_storage OR inspected_storage = bigquery * * inspected_storage = cloud_storage AND (state = done OR state = canceled) + * * end_time > \"2017-12-12T00:00:00+00:00\" * The length of this field should be no more than 500 characters. * * @@ -900,13 +910,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - `trigger_name` - The resource name of the trigger that created job. + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * Supported fields for risk analysis jobs: * - `state` - RUNNING|CANCELED|FINISHED|FAILED + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * The operator must be `=` or `!=`. * Examples: * * inspected_storage = cloud_storage AND state = done * * inspected_storage = cloud_storage OR inspected_storage = bigquery * * inspected_storage = cloud_storage AND (state = done OR state = canceled) + * * end_time > \"2017-12-12T00:00:00+00:00\" * The length of this field should be no more than 500 characters. * * @@ -937,13 +952,18 @@ public java.lang.String getFilter() { * - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - `trigger_name` - The resource name of the trigger that created job. + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * Supported fields for risk analysis jobs: * - `state` - RUNNING|CANCELED|FINISHED|FAILED + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * The operator must be `=` or `!=`. * Examples: * * inspected_storage = cloud_storage AND state = done * * inspected_storage = cloud_storage OR inspected_storage = bigquery * * inspected_storage = cloud_storage AND (state = done OR state = canceled) + * * end_time > \"2017-12-12T00:00:00+00:00\" * The length of this field should be no more than 500 characters. * * @@ -974,13 +994,18 @@ public com.google.protobuf.ByteString getFilterBytes() { * - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - `trigger_name` - The resource name of the trigger that created job. + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * Supported fields for risk analysis jobs: * - `state` - RUNNING|CANCELED|FINISHED|FAILED + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * The operator must be `=` or `!=`. * Examples: * * inspected_storage = cloud_storage AND state = done * * inspected_storage = cloud_storage OR inspected_storage = bigquery * * inspected_storage = cloud_storage AND (state = done OR state = canceled) + * * end_time > \"2017-12-12T00:00:00+00:00\" * The length of this field should be no more than 500 characters. * * @@ -1009,13 +1034,18 @@ public Builder setFilter(java.lang.String value) { * - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - `trigger_name` - The resource name of the trigger that created job. + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * Supported fields for risk analysis jobs: * - `state` - RUNNING|CANCELED|FINISHED|FAILED + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * The operator must be `=` or `!=`. * Examples: * * inspected_storage = cloud_storage AND state = done * * inspected_storage = cloud_storage OR inspected_storage = bigquery * * inspected_storage = cloud_storage AND (state = done OR state = canceled) + * * end_time > \"2017-12-12T00:00:00+00:00\" * The length of this field should be no more than 500 characters. * * @@ -1041,13 +1071,18 @@ public Builder clearFilter() { * - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - `trigger_name` - The resource name of the trigger that created job. + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * Supported fields for risk analysis jobs: * - `state` - RUNNING|CANCELED|FINISHED|FAILED + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * The operator must be `=` or `!=`. * Examples: * * inspected_storage = cloud_storage AND state = done * * inspected_storage = cloud_storage OR inspected_storage = bigquery * * inspected_storage = cloud_storage AND (state = done OR state = canceled) + * * end_time > \"2017-12-12T00:00:00+00:00\" * The length of this field should be no more than 500 characters. * * diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java index 93b392938921..6e2faae5a366 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java @@ -43,13 +43,18 @@ public interface ListDlpJobsRequestOrBuilder * - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - `trigger_name` - The resource name of the trigger that created job. + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * Supported fields for risk analysis jobs: * - `state` - RUNNING|CANCELED|FINISHED|FAILED + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * The operator must be `=` or `!=`. * Examples: * * inspected_storage = cloud_storage AND state = done * * inspected_storage = cloud_storage OR inspected_storage = bigquery * * inspected_storage = cloud_storage AND (state = done OR state = canceled) + * * end_time > \"2017-12-12T00:00:00+00:00\" * The length of this field should be no more than 500 characters. * * @@ -70,13 +75,18 @@ public interface ListDlpJobsRequestOrBuilder * - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - `trigger_name` - The resource name of the trigger that created job. + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * Supported fields for risk analysis jobs: * - `state` - RUNNING|CANCELED|FINISHED|FAILED + * - 'end_time` - Corresponds to time the job finished. + * - 'start_time` - Corresponds to time the job finished. * * The operator must be `=` or `!=`. * Examples: * * inspected_storage = cloud_storage AND state = done * * inspected_storage = cloud_storage OR inspected_storage = bigquery * * inspected_storage = cloud_storage AND (state = done OR state = canceled) + * * end_time > \"2017-12-12T00:00:00+00:00\" * The length of this field should be no more than 500 characters. * * diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java new file mode 100644 index 000000000000..d61477b5b47d --- /dev/null +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStats.java @@ -0,0 +1,799 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + * + * + *
+ * Statistics for a StoredInfoType.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeStats} + */ +public final class StoredInfoTypeStats extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StoredInfoTypeStats) + StoredInfoTypeStatsOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoredInfoTypeStats.newBuilder() to construct. + private StoredInfoTypeStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoredInfoTypeStats() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private StoredInfoTypeStats( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder subBuilder = null; + if (typeCase_ == 1) { + subBuilder = + ((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_).toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 1; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.StoredInfoTypeStats.class, + com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder.class); + } + + private int typeCase_ = 0; + private java.lang.Object type_; + + public enum TypeCase implements com.google.protobuf.Internal.EnumLite { + LARGE_CUSTOM_DICTIONARY(1), + TYPE_NOT_SET(0); + private final int value; + + private TypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static TypeCase valueOf(int value) { + return forNumber(value); + } + + public static TypeCase forNumber(int value) { + switch (value) { + case 1: + return LARGE_CUSTOM_DICTIONARY; + case 0: + return TYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); + } + + public static final int LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER = 1; + /** + * + * + *
+   * StoredInfoType where findings are defined by a dictionary of phrases.
+   * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + public boolean hasLargeCustomDictionary() { + return typeCase_ == 1; + } + /** + * + * + *
+   * StoredInfoType where findings are defined by a dictionary of phrases.
+   * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary() { + if (typeCase_ == 1) { + return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; + } + return com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); + } + /** + * + * + *
+   * StoredInfoType where findings are defined by a dictionary of phrases.
+   * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder + getLargeCustomDictionaryOrBuilder() { + if (typeCase_ == 1) { + return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; + } + return com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (typeCase_ == 1) { + output.writeMessage(1, (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (typeCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.StoredInfoTypeStats)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.StoredInfoTypeStats other = + (com.google.privacy.dlp.v2.StoredInfoTypeStats) obj; + + if (!getTypeCase().equals(other.getTypeCase())) return false; + switch (typeCase_) { + case 1: + if (!getLargeCustomDictionary().equals(other.getLargeCustomDictionary())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (typeCase_) { + case 1: + hash = (37 * hash) + LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER; + hash = (53 * hash) + getLargeCustomDictionary().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.privacy.dlp.v2.StoredInfoTypeStats prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Statistics for a StoredInfoType.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeStats} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StoredInfoTypeStats) + com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.StoredInfoTypeStats.class, + com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.StoredInfoTypeStats.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + typeCase_ = 0; + type_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.StoredInfoTypeStats getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.StoredInfoTypeStats build() { + com.google.privacy.dlp.v2.StoredInfoTypeStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.StoredInfoTypeStats buildPartial() { + com.google.privacy.dlp.v2.StoredInfoTypeStats result = + new com.google.privacy.dlp.v2.StoredInfoTypeStats(this); + if (typeCase_ == 1) { + if (largeCustomDictionaryBuilder_ == null) { + result.type_ = type_; + } else { + result.type_ = largeCustomDictionaryBuilder_.build(); + } + } + result.typeCase_ = typeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.StoredInfoTypeStats) { + return mergeFrom((com.google.privacy.dlp.v2.StoredInfoTypeStats) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeStats other) { + if (other == com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance()) return this; + switch (other.getTypeCase()) { + case LARGE_CUSTOM_DICTIONARY: + { + mergeLargeCustomDictionary(other.getLargeCustomDictionary()); + break; + } + case TYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.StoredInfoTypeStats parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.StoredInfoTypeStats) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int typeCase_ = 0; + private java.lang.Object type_; + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); + } + + public Builder clearType() { + typeCase_ = 0; + type_ = null; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.LargeCustomDictionaryStats, + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, + com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder> + largeCustomDictionaryBuilder_; + /** + * + * + *
+     * StoredInfoType where findings are defined by a dictionary of phrases.
+     * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + public boolean hasLargeCustomDictionary() { + return typeCase_ == 1; + } + /** + * + * + *
+     * StoredInfoType where findings are defined by a dictionary of phrases.
+     * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + public com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary() { + if (largeCustomDictionaryBuilder_ == null) { + if (typeCase_ == 1) { + return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; + } + return com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); + } else { + if (typeCase_ == 1) { + return largeCustomDictionaryBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); + } + } + /** + * + * + *
+     * StoredInfoType where findings are defined by a dictionary of phrases.
+     * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + public Builder setLargeCustomDictionary( + com.google.privacy.dlp.v2.LargeCustomDictionaryStats value) { + if (largeCustomDictionaryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + type_ = value; + onChanged(); + } else { + largeCustomDictionaryBuilder_.setMessage(value); + } + typeCase_ = 1; + return this; + } + /** + * + * + *
+     * StoredInfoType where findings are defined by a dictionary of phrases.
+     * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + public Builder setLargeCustomDictionary( + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder builderForValue) { + if (largeCustomDictionaryBuilder_ == null) { + type_ = builderForValue.build(); + onChanged(); + } else { + largeCustomDictionaryBuilder_.setMessage(builderForValue.build()); + } + typeCase_ = 1; + return this; + } + /** + * + * + *
+     * StoredInfoType where findings are defined by a dictionary of phrases.
+     * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + public Builder mergeLargeCustomDictionary( + com.google.privacy.dlp.v2.LargeCustomDictionaryStats value) { + if (largeCustomDictionaryBuilder_ == null) { + if (typeCase_ == 1 + && type_ != com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.newBuilder( + (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_) + .mergeFrom(value) + .buildPartial(); + } else { + type_ = value; + } + onChanged(); + } else { + if (typeCase_ == 1) { + largeCustomDictionaryBuilder_.mergeFrom(value); + } + largeCustomDictionaryBuilder_.setMessage(value); + } + typeCase_ = 1; + return this; + } + /** + * + * + *
+     * StoredInfoType where findings are defined by a dictionary of phrases.
+     * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + public Builder clearLargeCustomDictionary() { + if (largeCustomDictionaryBuilder_ == null) { + if (typeCase_ == 1) { + typeCase_ = 0; + type_ = null; + onChanged(); + } + } else { + if (typeCase_ == 1) { + typeCase_ = 0; + type_ = null; + } + largeCustomDictionaryBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * StoredInfoType where findings are defined by a dictionary of phrases.
+     * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + public com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder + getLargeCustomDictionaryBuilder() { + return getLargeCustomDictionaryFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * StoredInfoType where findings are defined by a dictionary of phrases.
+     * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder + getLargeCustomDictionaryOrBuilder() { + if ((typeCase_ == 1) && (largeCustomDictionaryBuilder_ != null)) { + return largeCustomDictionaryBuilder_.getMessageOrBuilder(); + } else { + if (typeCase_ == 1) { + return (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_; + } + return com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); + } + } + /** + * + * + *
+     * StoredInfoType where findings are defined by a dictionary of phrases.
+     * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.LargeCustomDictionaryStats, + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, + com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder> + getLargeCustomDictionaryFieldBuilder() { + if (largeCustomDictionaryBuilder_ == null) { + if (!(typeCase_ == 1)) { + type_ = com.google.privacy.dlp.v2.LargeCustomDictionaryStats.getDefaultInstance(); + } + largeCustomDictionaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.LargeCustomDictionaryStats, + com.google.privacy.dlp.v2.LargeCustomDictionaryStats.Builder, + com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder>( + (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_, + getParentForChildren(), + isClean()); + type_ = null; + } + typeCase_ = 1; + onChanged(); + ; + return largeCustomDictionaryBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.StoredInfoTypeStats) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoTypeStats) + private static final com.google.privacy.dlp.v2.StoredInfoTypeStats DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StoredInfoTypeStats(); + } + + public static com.google.privacy.dlp.v2.StoredInfoTypeStats getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoredInfoTypeStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StoredInfoTypeStats(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.StoredInfoTypeStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java new file mode 100644 index 000000000000..5296cf6109bc --- /dev/null +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeStatsOrBuilder.java @@ -0,0 +1,43 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface StoredInfoTypeStatsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredInfoTypeStats) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * StoredInfoType where findings are defined by a dictionary of phrases.
+   * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + boolean hasLargeCustomDictionary(); + /** + * + * + *
+   * StoredInfoType where findings are defined by a dictionary of phrases.
+   * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + com.google.privacy.dlp.v2.LargeCustomDictionaryStats getLargeCustomDictionary(); + /** + * + * + *
+   * StoredInfoType where findings are defined by a dictionary of phrases.
+   * 
+ * + * .google.privacy.dlp.v2.LargeCustomDictionaryStats large_custom_dictionary = 1; + */ + com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder getLargeCustomDictionaryOrBuilder(); + + public com.google.privacy.dlp.v2.StoredInfoTypeStats.TypeCase getTypeCase(); +} diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java index ecb4496269c2..521e27cf2619 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersion.java @@ -100,6 +100,22 @@ private StoredInfoTypeVersion( input.readMessage(com.google.privacy.dlp.v2.Error.parser(), extensionRegistry)); break; } + case 42: + { + com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder subBuilder = null; + if (stats_ != null) { + subBuilder = stats_.toBuilder(); + } + stats_ = + input.readMessage( + com.google.privacy.dlp.v2.StoredInfoTypeStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stats_); + stats_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -367,6 +383,47 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { return errors_.get(index); } + public static final int STATS_FIELD_NUMBER = 5; + private com.google.privacy.dlp.v2.StoredInfoTypeStats stats_; + /** + * + * + *
+   * Statistics about this storedInfoType version.
+   * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + public boolean hasStats() { + return stats_ != null; + } + /** + * + * + *
+   * Statistics about this storedInfoType version.
+   * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + public com.google.privacy.dlp.v2.StoredInfoTypeStats getStats() { + return stats_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() + : stats_; + } + /** + * + * + *
+   * Statistics about this storedInfoType version.
+   * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + public com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder() { + return getStats(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -395,6 +452,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < errors_.size(); i++) { output.writeMessage(4, errors_.get(i)); } + if (stats_ != null) { + output.writeMessage(5, getStats()); + } unknownFields.writeTo(output); } @@ -418,6 +478,9 @@ public int getSerializedSize() { for (int i = 0; i < errors_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, errors_.get(i)); } + if (stats_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStats()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -444,6 +507,10 @@ public boolean equals(final java.lang.Object obj) { } if (state_ != other.state_) return false; if (!getErrorsList().equals(other.getErrorsList())) return false; + if (hasStats() != other.hasStats()) return false; + if (hasStats()) { + if (!getStats().equals(other.getStats())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -469,6 +536,10 @@ public int hashCode() { hash = (37 * hash) + ERRORS_FIELD_NUMBER; hash = (53 * hash) + getErrorsList().hashCode(); } + if (hasStats()) { + hash = (37 * hash) + STATS_FIELD_NUMBER; + hash = (53 * hash) + getStats().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -637,6 +708,12 @@ public Builder clear() { } else { errorsBuilder_.clear(); } + if (statsBuilder_ == null) { + stats_ = null; + } else { + stats_ = null; + statsBuilder_ = null; + } return this; } @@ -686,6 +763,11 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion buildPartial() { } else { result.errors_ = errorsBuilder_.build(); } + if (statsBuilder_ == null) { + result.stats_ = stats_; + } else { + result.stats_ = statsBuilder_.build(); + } result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -773,6 +855,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.StoredInfoTypeVersion other) } } } + if (other.hasStats()) { + mergeStats(other.getStats()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1781,6 +1866,187 @@ public java.util.List getErrorsBuilderL return errorsBuilder_; } + private com.google.privacy.dlp.v2.StoredInfoTypeStats stats_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoTypeStats, + com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder> + statsBuilder_; + /** + * + * + *
+     * Statistics about this storedInfoType version.
+     * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + public boolean hasStats() { + return statsBuilder_ != null || stats_ != null; + } + /** + * + * + *
+     * Statistics about this storedInfoType version.
+     * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + public com.google.privacy.dlp.v2.StoredInfoTypeStats getStats() { + if (statsBuilder_ == null) { + return stats_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() + : stats_; + } else { + return statsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Statistics about this storedInfoType version.
+     * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + public Builder setStats(com.google.privacy.dlp.v2.StoredInfoTypeStats value) { + if (statsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stats_ = value; + onChanged(); + } else { + statsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Statistics about this storedInfoType version.
+     * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + public Builder setStats(com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder builderForValue) { + if (statsBuilder_ == null) { + stats_ = builderForValue.build(); + onChanged(); + } else { + statsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Statistics about this storedInfoType version.
+     * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + public Builder mergeStats(com.google.privacy.dlp.v2.StoredInfoTypeStats value) { + if (statsBuilder_ == null) { + if (stats_ != null) { + stats_ = + com.google.privacy.dlp.v2.StoredInfoTypeStats.newBuilder(stats_) + .mergeFrom(value) + .buildPartial(); + } else { + stats_ = value; + } + onChanged(); + } else { + statsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Statistics about this storedInfoType version.
+     * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + public Builder clearStats() { + if (statsBuilder_ == null) { + stats_ = null; + onChanged(); + } else { + stats_ = null; + statsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Statistics about this storedInfoType version.
+     * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + public com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder getStatsBuilder() { + + onChanged(); + return getStatsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Statistics about this storedInfoType version.
+     * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + public com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder() { + if (statsBuilder_ != null) { + return statsBuilder_.getMessageOrBuilder(); + } else { + return stats_ == null + ? com.google.privacy.dlp.v2.StoredInfoTypeStats.getDefaultInstance() + : stats_; + } + } + /** + * + * + *
+     * Statistics about this storedInfoType version.
+     * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoTypeStats, + com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder> + getStatsFieldBuilder() { + if (statsBuilder_ == null) { + statsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StoredInfoTypeStats, + com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder, + com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder>( + getStats(), getParentForChildren(), isClean()); + stats_ = null; + } + return statsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java index 294fa30ac3b1..f7ec0bac3f63 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeVersionOrBuilder.java @@ -196,4 +196,35 @@ public interface StoredInfoTypeVersionOrBuilder * repeated .google.privacy.dlp.v2.Error errors = 4; */ com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index); + + /** + * + * + *
+   * Statistics about this storedInfoType version.
+   * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + boolean hasStats(); + /** + * + * + *
+   * Statistics about this storedInfoType version.
+   * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + com.google.privacy.dlp.v2.StoredInfoTypeStats getStats(); + /** + * + * + *
+   * Statistics about this storedInfoType version.
+   * 
+ * + * .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + */ + com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder(); } diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto index 3a5dde11ff70..b9c5f6a58c05 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto @@ -18,7 +18,7 @@ syntax = "proto3"; package google.privacy.dlp.v2; import "google/api/annotations.proto"; -import "google/api/resource.proto"; +import "google/api/client.proto"; import "google/privacy/dlp/v2/storage.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; @@ -46,6 +46,8 @@ option php_namespace = "Google\\Cloud\\Dlp\\V2"; // To learn more about concepts and find how-to guides see // https://cloud.google.com/dlp/docs/. service DlpService { + option (google.api.default_host) = "dlp.googleapis.com"; + // Finds potentially sensitive info in content. // This method has limits on input size, processing time, and output size. // @@ -85,7 +87,8 @@ service DlpService { // When no InfoTypes or CustomInfoTypes are specified in this request, the // system will automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. - rpc DeidentifyContent(DeidentifyContentRequest) returns (DeidentifyContentResponse) { + rpc DeidentifyContent(DeidentifyContentRequest) + returns (DeidentifyContentResponse) { option (google.api.http) = { post: "/v2/{parent=projects/*}/content:deidentify" body: "*" @@ -96,7 +99,8 @@ service DlpService { // See // https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example // to learn more. - rpc ReidentifyContent(ReidentifyContentRequest) returns (ReidentifyContentResponse) { + rpc ReidentifyContent(ReidentifyContentRequest) + returns (ReidentifyContentResponse) { option (google.api.http) = { post: "/v2/{parent=projects/*}/content:reidentify" body: "*" @@ -115,7 +119,8 @@ service DlpService { // Creates an InspectTemplate for re-using frequently used configuration // for inspecting content, images, and storage. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc CreateInspectTemplate(CreateInspectTemplateRequest) returns (InspectTemplate) { + rpc CreateInspectTemplate(CreateInspectTemplateRequest) + returns (InspectTemplate) { option (google.api.http) = { post: "/v2/{parent=organizations/*}/inspectTemplates" body: "*" @@ -128,7 +133,8 @@ service DlpService { // Updates the InspectTemplate. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc UpdateInspectTemplate(UpdateInspectTemplateRequest) returns (InspectTemplate) { + rpc UpdateInspectTemplate(UpdateInspectTemplateRequest) + returns (InspectTemplate) { option (google.api.http) = { patch: "/v2/{name=organizations/*/inspectTemplates/*}" body: "*" @@ -144,31 +150,27 @@ service DlpService { rpc GetInspectTemplate(GetInspectTemplateRequest) returns (InspectTemplate) { option (google.api.http) = { get: "/v2/{name=organizations/*/inspectTemplates/*}" - additional_bindings { - get: "/v2/{name=projects/*/inspectTemplates/*}" - } + additional_bindings { get: "/v2/{name=projects/*/inspectTemplates/*}" } }; } // Lists InspectTemplates. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc ListInspectTemplates(ListInspectTemplatesRequest) returns (ListInspectTemplatesResponse) { + rpc ListInspectTemplates(ListInspectTemplatesRequest) + returns (ListInspectTemplatesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/inspectTemplates" - additional_bindings { - get: "/v2/{parent=projects/*}/inspectTemplates" - } + additional_bindings { get: "/v2/{parent=projects/*}/inspectTemplates" } }; } // Deletes an InspectTemplate. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc DeleteInspectTemplate(DeleteInspectTemplateRequest) returns (google.protobuf.Empty) { + rpc DeleteInspectTemplate(DeleteInspectTemplateRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/inspectTemplates/*}" - additional_bindings { - delete: "/v2/{name=projects/*/inspectTemplates/*}" - } + additional_bindings { delete: "/v2/{name=projects/*/inspectTemplates/*}" } }; } @@ -176,7 +178,8 @@ service DlpService { // for de-identifying content, images, and storage. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest) returns (DeidentifyTemplate) { + rpc CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest) + returns (DeidentifyTemplate) { option (google.api.http) = { post: "/v2/{parent=organizations/*}/deidentifyTemplates" body: "*" @@ -190,7 +193,8 @@ service DlpService { // Updates the DeidentifyTemplate. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest) returns (DeidentifyTemplate) { + rpc UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest) + returns (DeidentifyTemplate) { option (google.api.http) = { patch: "/v2/{name=organizations/*/deidentifyTemplates/*}" body: "*" @@ -204,31 +208,30 @@ service DlpService { // Gets a DeidentifyTemplate. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc GetDeidentifyTemplate(GetDeidentifyTemplateRequest) returns (DeidentifyTemplate) { + rpc GetDeidentifyTemplate(GetDeidentifyTemplateRequest) + returns (DeidentifyTemplate) { option (google.api.http) = { get: "/v2/{name=organizations/*/deidentifyTemplates/*}" - additional_bindings { - get: "/v2/{name=projects/*/deidentifyTemplates/*}" - } + additional_bindings { get: "/v2/{name=projects/*/deidentifyTemplates/*}" } }; } // Lists DeidentifyTemplates. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc ListDeidentifyTemplates(ListDeidentifyTemplatesRequest) returns (ListDeidentifyTemplatesResponse) { + rpc ListDeidentifyTemplates(ListDeidentifyTemplatesRequest) + returns (ListDeidentifyTemplatesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/deidentifyTemplates" - additional_bindings { - get: "/v2/{parent=projects/*}/deidentifyTemplates" - } + additional_bindings { get: "/v2/{parent=projects/*}/deidentifyTemplates" } }; } // Deletes a DeidentifyTemplate. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest) returns (google.protobuf.Empty) { + rpc DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/deidentifyTemplates/*}" additional_bindings { @@ -266,7 +269,8 @@ service DlpService { // Lists job triggers. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - rpc ListJobTriggers(ListJobTriggersRequest) returns (ListJobTriggersResponse) { + rpc ListJobTriggers(ListJobTriggersRequest) + returns (ListJobTriggersResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*}/jobTriggers" }; @@ -274,7 +278,8 @@ service DlpService { // Deletes a job trigger. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - rpc DeleteJobTrigger(DeleteJobTriggerRequest) returns (google.protobuf.Empty) { + rpc DeleteJobTrigger(DeleteJobTriggerRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/jobTriggers/*}" }; @@ -347,7 +352,8 @@ service DlpService { // Creates a pre-built stored infoType to be used for inspection. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc CreateStoredInfoType(CreateStoredInfoTypeRequest) returns (StoredInfoType) { + rpc CreateStoredInfoType(CreateStoredInfoTypeRequest) + returns (StoredInfoType) { option (google.api.http) = { post: "/v2/{parent=organizations/*}/storedInfoTypes" body: "*" @@ -362,7 +368,8 @@ service DlpService { // will continue to be used until the new version is ready. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc UpdateStoredInfoType(UpdateStoredInfoTypeRequest) returns (StoredInfoType) { + rpc UpdateStoredInfoType(UpdateStoredInfoTypeRequest) + returns (StoredInfoType) { option (google.api.http) = { patch: "/v2/{name=organizations/*/storedInfoTypes/*}" body: "*" @@ -379,33 +386,29 @@ service DlpService { rpc GetStoredInfoType(GetStoredInfoTypeRequest) returns (StoredInfoType) { option (google.api.http) = { get: "/v2/{name=organizations/*/storedInfoTypes/*}" - additional_bindings { - get: "/v2/{name=projects/*/storedInfoTypes/*}" - } + additional_bindings { get: "/v2/{name=projects/*/storedInfoTypes/*}" } }; } // Lists stored infoTypes. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc ListStoredInfoTypes(ListStoredInfoTypesRequest) returns (ListStoredInfoTypesResponse) { + rpc ListStoredInfoTypes(ListStoredInfoTypesRequest) + returns (ListStoredInfoTypesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/storedInfoTypes" - additional_bindings { - get: "/v2/{parent=projects/*}/storedInfoTypes" - } + additional_bindings { get: "/v2/{parent=projects/*}/storedInfoTypes" } }; } // Deletes a stored infoType. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc DeleteStoredInfoType(DeleteStoredInfoTypeRequest) returns (google.protobuf.Empty) { + rpc DeleteStoredInfoType(DeleteStoredInfoTypeRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/storedInfoTypes/*}" - additional_bindings { - delete: "/v2/{name=projects/*/storedInfoTypes/*}" - } + additional_bindings { delete: "/v2/{name=projects/*/storedInfoTypes/*}" } }; } } @@ -423,18 +426,6 @@ message ExcludeInfoTypes { repeated InfoType info_types = 1; } -// Options describing which parts of the provided content should be scanned. -enum ContentOption { - // Includes entire content of a file or a data stream. - CONTENT_UNSPECIFIED = 0; - - // Text content within the data, excluding any metadata. - CONTENT_TEXT = 1; - - // Images found in the data. - CONTENT_IMAGE = 2; -} - // The rule that specifies conditions when findings of infoTypes specified in // `InspectionRuleSet` are removed from results. message ExclusionRule { @@ -453,6 +444,18 @@ message ExclusionRule { MatchingType matching_type = 4; } +// Options describing which parts of the provided content should be scanned. +enum ContentOption { + // Includes entire content of a file or a data stream. + CONTENT_UNSPECIFIED = 0; + + // Text content within the data, excluding any metadata. + CONTENT_TEXT = 1; + + // Images found in the data. + CONTENT_IMAGE = 2; +} + // A single inspection rule to be applied to infoTypes, specified in // `InspectionRuleSet`. message InspectionRule { @@ -1364,7 +1367,8 @@ message AnalyzeDataSourceRiskDetails { } // Histogram of value frequencies in the column. - repeated CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + repeated CategoricalStatsHistogramBucket value_frequency_histogram_buckets = + 5; } // Result of the k-anonymity computation. @@ -1442,7 +1446,8 @@ message AnalyzeDataSourceRiskDetails { } // Histogram of l-diversity equivalence class sensitive value frequencies. - repeated LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + repeated LDiversityHistogramBucket + sensitive_value_frequency_histogram_buckets = 5; } // Result of the reidentifiability analysis. Note that these results are an @@ -1548,7 +1553,8 @@ message AnalyzeDataSourceRiskDetails { // {min_probability: 0.3, max_probability: 0.4, frequency: 99} // mean that there are no record with an estimated probability in [0.1, 0.2) // nor larger or equal to 0.4. - repeated DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + repeated DeltaPresenceEstimationHistogramBucket + delta_presence_estimation_histogram = 1; } // Privacy metric to compute. @@ -1782,16 +1788,12 @@ message ReplaceValueConfig { } // Replace each matching finding with the name of the info_type. -message ReplaceWithInfoTypeConfig { - -} +message ReplaceWithInfoTypeConfig {} // Redact a given value. For example, if used with an `InfoTypeTransformation` // transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the // output would be 'My phone number is '. -message RedactConfig { - -} +message RedactConfig {} // Characters to skip when doing deidentification of a value. These will be left // alone and skipped. @@ -2447,7 +2449,10 @@ message Action { OutputStorageConfig output_config = 1; } - // Publish the results of a DlpJob to a pub sub channel. + // Publish a message into given Pub/Sub topic when DlpJob has completed. The + // message contains a single field, `DlpJobName`, which is equal to the + // finished job's + // [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob). // Compatible with: Inspect, Risk message PublishToPubSub { // Cloud Pub/Sub topic to send notifications to. The topic must have given @@ -2467,15 +2472,11 @@ message Action { // service-specific policy, see https://cloud.google.com/terms/service-terms // Only a single instance of this action can be specified. // Compatible with: Inspect - message PublishSummaryToCscc { - - } + message PublishSummaryToCscc {} // Enable email notification to project owners and editors on jobs's // completion/failure. - message JobNotificationEmails { - - } + message JobNotificationEmails {} oneof action { // Save resulting findings in a provided location. @@ -2728,8 +2729,7 @@ message InspectJobConfig { // template. string inspect_template_name = 3; - // Actions to execute at the completion of the job. Are executed in the order - // provided. + // Actions to execute at the completion of the job. repeated Action actions = 4; } @@ -2837,8 +2837,12 @@ message ListDlpJobsRequest { // - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY // - `trigger_name` - The resource name of the trigger that created job. + // - 'end_time` - Corresponds to time the job finished. + // - 'start_time` - Corresponds to time the job finished. // * Supported fields for risk analysis jobs: // - `state` - RUNNING|CANCELED|FINISHED|FAILED + // - 'end_time` - Corresponds to time the job finished. + // - 'start_time` - Corresponds to time the job finished. // * The operator must be `=` or `!=`. // // Examples: @@ -2846,6 +2850,7 @@ message ListDlpJobsRequest { // * inspected_storage = cloud_storage AND state = done // * inspected_storage = cloud_storage OR inspected_storage = bigquery // * inspected_storage = cloud_storage AND (state = done OR state = canceled) + // * end_time > \"2017-12-12T00:00:00+00:00\" // // The length of this field should be no more than 500 characters. string filter = 1; @@ -3005,6 +3010,12 @@ message LargeCustomDictionaryConfig { } } +// Summary statistics of a custom dictionary. +message LargeCustomDictionaryStats { + // Approximate number of distinct phrases in the dictionary. + int64 approx_num_phrases = 1; +} + // Configuration for a StoredInfoType. message StoredInfoTypeConfig { // Display name of the StoredInfoType (max 256 characters). @@ -3019,6 +3030,14 @@ message StoredInfoTypeConfig { } } +// Statistics for a StoredInfoType. +message StoredInfoTypeStats { + oneof type { + // StoredInfoType where findings are defined by a dictionary of phrases. + LargeCustomDictionaryStats large_custom_dictionary = 1; + } +} + // Version of a StoredInfoType, including the configuration used to build it, // create timestamp, and current state. message StoredInfoTypeVersion { @@ -3045,6 +3064,9 @@ message StoredInfoTypeVersion { // storedInfoType to continue using it, reusing the same `config` if it was // not the source of the error. repeated Error errors = 4; + + // Statistics about this storedInfoType version. + StoredInfoTypeStats stats = 5; } // StoredInfoType resource message that contains information about the current diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto index 12b428407f11..846205f06a9a 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto @@ -18,7 +18,6 @@ syntax = "proto3"; package google.privacy.dlp.v2; import "google/api/annotations.proto"; -import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Dlp.V2"; @@ -135,9 +134,7 @@ message CustomInfoType { // output. This should be used in conjunction with a field on the // transformation such as `surrogate_info_type`. This CustomInfoType does // not support the use of `detection_rules`. - message SurrogateType { - - } + message SurrogateType {} // Rule for modifying a CustomInfoType to alter behavior under certain // circumstances, depending on the specific details of the rule. Not supported diff --git a/google-cloud-clients/google-cloud-dlp/synth.metadata b/google-cloud-clients/google-cloud-dlp/synth.metadata index c058779fb7dd..b3a117f0e4a2 100644 --- a/google-cloud-clients/google-cloud-dlp/synth.metadata +++ b/google-cloud-clients/google-cloud-dlp/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-04-02T07:43:39.461861Z", + "updateTime": "2019-06-06T07:44:01.009668Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.22", - "dockerImage": "googleapis/artman@sha256:e7f9554322a8aa1416c122c918fdc4cdec8cfe816f027fc948dec0be7edef320" + "version": "0.22.0", + "dockerImage": "googleapis/artman@sha256:72f6287a42490bfe1609aed491f29411af21df3f744199fe8bb8d276c1fdf419" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "6c48ab5aef47dc14e02e2dc718d232a28067129d", - "internalRef": "241437588" + "sha": "17ed79ade5047270c92dadabd3fc3e610267e0b5", + "internalRef": "251754861" } } ],