From 12aeb68a7626eecccc877bdc993e89150991718c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 May 2020 10:49:13 -0700 Subject: [PATCH] feat: add WORD and PDF file type enums and new MetadataLocation proto (#176) * Release new file type enums and new MetadataLocation proto. PiperOrigin-RevId: 310622219 Source-Author: Google APIs Source-Date: Fri May 8 13:49:57 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 1019b0d9dbd999e1107f90247fcc478678d1105c Source-Link: https://github.com/googleapis/googleapis/commit/1019b0d9dbd999e1107f90247fcc478678d1105c * ci(java): switch to GitHub Actions (#533) * ci: switch to GitHub Actions * update based on comment Source-Author: Stephanie Wang Source-Date: Mon May 11 12:54:00 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: 55cdc844877d97139f25004229842624a6a86a02 Source-Link: https://github.com/googleapis/synthtool/commit/55cdc844877d97139f25004229842624a6a86a02 * chore: move ci.yaml to workflows dir (#535) Source-Author: Stephanie Wang Source-Date: Mon May 11 16:24:04 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: 98c50772ec23295c64cf0d2ddf199ea52961fd4c Source-Link: https://github.com/googleapis/synthtool/commit/98c50772ec23295c64cf0d2ddf199ea52961fd4c --- .github/workflows/ci.yaml | 76 + .kokoro/build.bat | 2 +- .../privacy/dlp/v2/ByteContentItem.java | 46 +- .../privacy/dlp/v2/CloudStorageOptions.java | 51 + .../dlp/v2/CloudStorageOptionsOrBuilder.java | 15 + .../privacy/dlp/v2/ContentLocation.java | 300 +++ .../dlp/v2/ContentLocationOrBuilder.java | 35 + .../privacy/dlp/v2/DateShiftConfig.java | 36 +- .../dlp/v2/DateShiftConfigOrBuilder.java | 9 +- .../v2/DeleteDeidentifyTemplateRequest.java | 35 +- ...eteDeidentifyTemplateRequestOrBuilder.java | 10 +- .../dlp/v2/DeleteInspectTemplateRequest.java | 42 +- ...DeleteInspectTemplateRequestOrBuilder.java | 12 +- .../dlp/v2/DeleteStoredInfoTypeRequest.java | 28 +- .../DeleteStoredInfoTypeRequestOrBuilder.java | 8 +- .../com/google/privacy/dlp/v2/DlpJobType.java | 2 +- .../com/google/privacy/dlp/v2/DlpProto.java | 2296 +++++++++-------- .../com/google/privacy/dlp/v2/DlpStorage.java | 14 +- .../com/google/privacy/dlp/v2/FileType.java | 50 + .../com/google/privacy/dlp/v2/Finding.java | 106 +- .../google/privacy/dlp/v2/FindingName.java | 210 ++ .../privacy/dlp/v2/FindingOrBuilder.java | 34 +- .../dlp/v2/FixedSizeBucketingConfig.java | 160 +- .../v2/FixedSizeBucketingConfigOrBuilder.java | 40 +- .../dlp/v2/GetDeidentifyTemplateRequest.java | 42 +- ...GetDeidentifyTemplateRequestOrBuilder.java | 12 +- .../dlp/v2/GetInspectTemplateRequest.java | 28 +- .../GetInspectTemplateRequestOrBuilder.java | 8 +- .../dlp/v2/GetStoredInfoTypeRequest.java | 28 +- .../v2/GetStoredInfoTypeRequestOrBuilder.java | 8 +- .../dlp/v2/HybridInspectDlpJobRequest.java | 28 +- .../HybridInspectDlpJobRequestOrBuilder.java | 8 +- .../v2/HybridInspectJobTriggerRequest.java | 28 +- ...bridInspectJobTriggerRequestOrBuilder.java | 8 +- .../dlp/v2/HybridInspectStatistics.java | 4 +- .../privacy/dlp/v2/InfoTypeSupportedBy.java | 2 +- .../privacy/dlp/v2/InspectContentRequest.java | 14 + .../v2/InspectContentRequestOrBuilder.java | 4 + .../com/google/privacy/dlp/v2/JobTrigger.java | 92 +- .../privacy/dlp/v2/JobTriggerOrBuilder.java | 20 +- .../privacy/dlp/v2/MetadataLocation.java | 973 +++++++ .../dlp/v2/MetadataLocationOrBuilder.java | 87 + .../google/privacy/dlp/v2/MetadataType.java | 150 ++ .../google/privacy/dlp/v2/PrivacyMetric.java | 284 +- .../privacy/dlp/v2/RedactImageRequest.java | 7 + .../dlp/v2/RedactImageRequestOrBuilder.java | 2 + .../privacy/dlp/v2/StatisticalTable.java | 48 +- .../dlp/v2/StatisticalTableOrBuilder.java | 12 +- .../privacy/dlp/v2/StorageMetadataLabel.java | 590 +++++ .../dlp/v2/StorageMetadataLabelOrBuilder.java | 38 + .../privacy/dlp/v2/StoredInfoTypeState.java | 2 +- .../google/privacy/dlp/v2/TableLocation.java | 28 +- .../dlp/v2/TableLocationOrBuilder.java | 7 +- .../v2/UpdateDeidentifyTemplateRequest.java | 35 +- ...ateDeidentifyTemplateRequestOrBuilder.java | 10 +- .../dlp/v2/UpdateInspectTemplateRequest.java | 28 +- ...UpdateInspectTemplateRequestOrBuilder.java | 8 +- .../dlp/v2/UpdateStoredInfoTypeRequest.java | 28 +- .../UpdateStoredInfoTypeRequestOrBuilder.java | 8 +- .../proto/google/privacy/dlp/v2/dlp.proto | 426 +-- .../proto/google/privacy/dlp/v2/storage.proto | 16 +- synth.metadata | 8 +- 62 files changed, 4713 insertions(+), 2033 deletions(-) create mode 100644 .github/workflows/ci.yaml create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingName.java create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..445b4bf8 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,76 @@ +on: + push: + branches: + - master + pull_request: +name: ci +jobs: + units: + runs-on: ubuntu-latest + strategy: + matrix: + java: [7, 8, 11] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: ${{matrix.java}} + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: test + - name: coverage + uses: codecov/codecov-action@v1 + with: + name: actions ${{matrix.java}} + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.bat + env: + JOB_TYPE: test + dependencies: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/dependencies.sh + linkage-monitor: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/linkage-monitor.sh + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: lint + clirr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: clirr \ No newline at end of file diff --git a/.kokoro/build.bat b/.kokoro/build.bat index 2b039e5e..05826ad9 100644 --- a/.kokoro/build.bat +++ b/.kokoro/build.bat @@ -1,3 +1,3 @@ :: See documentation in type-shell-output.bat -"C:\Program Files\Git\bin\bash.exe" github/java-dlp/.kokoro/build.sh +"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java index ada1922d..eb130d99 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java @@ -121,7 +121,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The type of data being sent to in data.
+   * The type of data being sent for inspection.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.ByteContentItem.BytesType} @@ -197,6 +197,26 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { * TEXT_UTF8 = 5; */ TEXT_UTF8(5), + /** + * + * + *
+     * docx, docm, dotx, dotm
+     * 
+ * + * WORD_DOCUMENT = 7; + */ + WORD_DOCUMENT(7), + /** + * + * + *
+     * pdf
+     * 
+ * + * PDF = 8; + */ + PDF(8), /** * * @@ -280,6 +300,26 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { * TEXT_UTF8 = 5; */ public static final int TEXT_UTF8_VALUE = 5; + /** + * + * + *
+     * docx, docm, dotx, dotm
+     * 
+ * + * WORD_DOCUMENT = 7; + */ + public static final int WORD_DOCUMENT_VALUE = 7; + /** + * + * + *
+     * pdf
+     * 
+ * + * PDF = 8; + */ + public static final int PDF_VALUE = 8; /** * * @@ -329,6 +369,10 @@ public static BytesType forNumber(int value) { return IMAGE_SVG; case 5: return TEXT_UTF8; + case 7: + return WORD_DOCUMENT; + case 8: + return PDF; case 11: return AVRO; default: diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java index 1b7ce430..278cc7f7 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java @@ -1462,6 +1462,9 @@ public com.google.privacy.dlp.v2.FileType convert(java.lang.Integer from) { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -1480,6 +1483,9 @@ public java.util.List getFileTypesList() { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -1497,6 +1503,9 @@ public int getFileTypesCount() { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -1515,6 +1524,9 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -1532,6 +1544,9 @@ public java.util.List getFileTypesValueList() { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2345,6 +2360,9 @@ private void ensureFileTypesIsMutable() { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2363,6 +2381,9 @@ public java.util.List getFileTypesList() { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2380,6 +2401,9 @@ public int getFileTypesCount() { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2398,6 +2422,9 @@ public com.google.privacy.dlp.v2.FileType getFileTypes(int index) { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2423,6 +2450,9 @@ public Builder setFileTypes(int index, com.google.privacy.dlp.v2.FileType value) * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2447,6 +2477,9 @@ public Builder addFileTypes(com.google.privacy.dlp.v2.FileType value) { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2471,6 +2504,9 @@ public Builder addAllFileTypes( * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2491,6 +2527,9 @@ public Builder clearFileTypes() { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2508,6 +2547,9 @@ public java.util.List getFileTypesValueList() { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2526,6 +2568,9 @@ public int getFileTypesValue(int index) { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2548,6 +2593,9 @@ public Builder setFileTypesValue(int index, int value) { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -2569,6 +2617,9 @@ public Builder addFileTypesValue(int value) { * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java index d0043c32..1ba5c6cf 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java @@ -97,6 +97,9 @@ public interface CloudStorageOptionsOrBuilder * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -112,6 +115,9 @@ public interface CloudStorageOptionsOrBuilder * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -127,6 +133,9 @@ public interface CloudStorageOptionsOrBuilder * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -143,6 +152,9 @@ public interface CloudStorageOptionsOrBuilder * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; @@ -158,6 +170,9 @@ public interface CloudStorageOptionsOrBuilder * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files * is always scanned as well. + * Images are scanned only as binary if the specified region + * does not support image inspection and no file_types were specified. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * repeated .google.privacy.dlp.v2.FileType file_types = 5; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java index 4f83a07a..aef10ddc 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocation.java @@ -149,6 +149,22 @@ private ContentLocation( containerVersion_ = s; break; } + case 66: + { + com.google.privacy.dlp.v2.MetadataLocation.Builder subBuilder = null; + if (locationCase_ == 8) { + subBuilder = ((com.google.privacy.dlp.v2.MetadataLocation) location_).toBuilder(); + } + location_ = + input.readMessage( + com.google.privacy.dlp.v2.MetadataLocation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.MetadataLocation) location_); + location_ = subBuilder.buildPartial(); + } + locationCase_ = 8; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -193,6 +209,7 @@ public enum LocationCase RECORD_LOCATION(2), IMAGE_LOCATION(3), DOCUMENT_LOCATION(5), + METADATA_LOCATION(8), LOCATION_NOT_SET(0); private final int value; @@ -217,6 +234,8 @@ public static LocationCase forNumber(int value) { return IMAGE_LOCATION; case 5: return DOCUMENT_LOCATION; + case 8: + return METADATA_LOCATION; case 0: return LOCATION_NOT_SET; default: @@ -438,6 +457,54 @@ public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOr return com.google.privacy.dlp.v2.DocumentLocation.getDefaultInstance(); } + public static final int METADATA_LOCATION_FIELD_NUMBER = 8; + /** + * + * + *
+   * Location within the metadata for inspected content.
+   * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * + * @return Whether the metadataLocation field is set. + */ + public boolean hasMetadataLocation() { + return locationCase_ == 8; + } + /** + * + * + *
+   * Location within the metadata for inspected content.
+   * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * + * @return The metadataLocation. + */ + public com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation() { + if (locationCase_ == 8) { + return (com.google.privacy.dlp.v2.MetadataLocation) location_; + } + return com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); + } + /** + * + * + *
+   * Location within the metadata for inspected content.
+   * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + */ + public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOrBuilder() { + if (locationCase_ == 8) { + return (com.google.privacy.dlp.v2.MetadataLocation) location_; + } + return com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); + } + public static final int CONTAINER_TIMESTAMP_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp containerTimestamp_; /** @@ -573,6 +640,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getContainerVersionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, containerVersion_); } + if (locationCase_ == 8) { + output.writeMessage(8, (com.google.privacy.dlp.v2.MetadataLocation) location_); + } unknownFields.writeTo(output); } @@ -606,6 +676,11 @@ public int getSerializedSize() { if (!getContainerVersionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, containerVersion_); } + if (locationCase_ == 8) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.privacy.dlp.v2.MetadataLocation) location_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -639,6 +714,9 @@ public boolean equals(final java.lang.Object obj) { case 5: if (!getDocumentLocation().equals(other.getDocumentLocation())) return false; break; + case 8: + if (!getMetadataLocation().equals(other.getMetadataLocation())) return false; + break; case 0: default: } @@ -674,6 +752,10 @@ public int hashCode() { hash = (37 * hash) + DOCUMENT_LOCATION_FIELD_NUMBER; hash = (53 * hash) + getDocumentLocation().hashCode(); break; + case 8: + hash = (37 * hash) + METADATA_LOCATION_FIELD_NUMBER; + hash = (53 * hash) + getMetadataLocation().hashCode(); + break; case 0: default: } @@ -884,6 +966,13 @@ public com.google.privacy.dlp.v2.ContentLocation buildPartial() { result.location_ = documentLocationBuilder_.build(); } } + if (locationCase_ == 8) { + if (metadataLocationBuilder_ == null) { + result.location_ = location_; + } else { + result.location_ = metadataLocationBuilder_.build(); + } + } if (containerTimestampBuilder_ == null) { result.containerTimestamp_ = containerTimestamp_; } else { @@ -967,6 +1056,11 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ContentLocation other) { mergeDocumentLocation(other.getDocumentLocation()); break; } + case METADATA_LOCATION: + { + mergeMetadataLocation(other.getMetadataLocation()); + break; + } case LOCATION_NOT_SET: { break; @@ -1774,6 +1868,212 @@ public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOr return documentLocationBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.MetadataLocation, + com.google.privacy.dlp.v2.MetadataLocation.Builder, + com.google.privacy.dlp.v2.MetadataLocationOrBuilder> + metadataLocationBuilder_; + /** + * + * + *
+     * Location within the metadata for inspected content.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * + * @return Whether the metadataLocation field is set. + */ + public boolean hasMetadataLocation() { + return locationCase_ == 8; + } + /** + * + * + *
+     * Location within the metadata for inspected content.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * + * @return The metadataLocation. + */ + public com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation() { + if (metadataLocationBuilder_ == null) { + if (locationCase_ == 8) { + return (com.google.privacy.dlp.v2.MetadataLocation) location_; + } + return com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); + } else { + if (locationCase_ == 8) { + return metadataLocationBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); + } + } + /** + * + * + *
+     * Location within the metadata for inspected content.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + */ + public Builder setMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation value) { + if (metadataLocationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + location_ = value; + onChanged(); + } else { + metadataLocationBuilder_.setMessage(value); + } + locationCase_ = 8; + return this; + } + /** + * + * + *
+     * Location within the metadata for inspected content.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + */ + public Builder setMetadataLocation( + com.google.privacy.dlp.v2.MetadataLocation.Builder builderForValue) { + if (metadataLocationBuilder_ == null) { + location_ = builderForValue.build(); + onChanged(); + } else { + metadataLocationBuilder_.setMessage(builderForValue.build()); + } + locationCase_ = 8; + return this; + } + /** + * + * + *
+     * Location within the metadata for inspected content.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + */ + public Builder mergeMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation value) { + if (metadataLocationBuilder_ == null) { + if (locationCase_ == 8 + && location_ != com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance()) { + location_ = + com.google.privacy.dlp.v2.MetadataLocation.newBuilder( + (com.google.privacy.dlp.v2.MetadataLocation) location_) + .mergeFrom(value) + .buildPartial(); + } else { + location_ = value; + } + onChanged(); + } else { + if (locationCase_ == 8) { + metadataLocationBuilder_.mergeFrom(value); + } + metadataLocationBuilder_.setMessage(value); + } + locationCase_ = 8; + return this; + } + /** + * + * + *
+     * Location within the metadata for inspected content.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + */ + public Builder clearMetadataLocation() { + if (metadataLocationBuilder_ == null) { + if (locationCase_ == 8) { + locationCase_ = 0; + location_ = null; + onChanged(); + } + } else { + if (locationCase_ == 8) { + locationCase_ = 0; + location_ = null; + } + metadataLocationBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Location within the metadata for inspected content.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + */ + public com.google.privacy.dlp.v2.MetadataLocation.Builder getMetadataLocationBuilder() { + return getMetadataLocationFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Location within the metadata for inspected content.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + */ + public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOrBuilder() { + if ((locationCase_ == 8) && (metadataLocationBuilder_ != null)) { + return metadataLocationBuilder_.getMessageOrBuilder(); + } else { + if (locationCase_ == 8) { + return (com.google.privacy.dlp.v2.MetadataLocation) location_; + } + return com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); + } + } + /** + * + * + *
+     * Location within the metadata for inspected content.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.MetadataLocation, + com.google.privacy.dlp.v2.MetadataLocation.Builder, + com.google.privacy.dlp.v2.MetadataLocationOrBuilder> + getMetadataLocationFieldBuilder() { + if (metadataLocationBuilder_ == null) { + if (!(locationCase_ == 8)) { + location_ = com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); + } + metadataLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.MetadataLocation, + com.google.privacy.dlp.v2.MetadataLocation.Builder, + com.google.privacy.dlp.v2.MetadataLocationOrBuilder>( + (com.google.privacy.dlp.v2.MetadataLocation) location_, + getParentForChildren(), + isClean()); + location_ = null; + } + locationCase_ = 8; + onChanged(); + ; + return metadataLocationBuilder_; + } + private com.google.protobuf.Timestamp containerTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java index e5fd2a73..d37ce023 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentLocationOrBuilder.java @@ -167,6 +167,41 @@ public interface ContentLocationOrBuilder */ com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOrBuilder(); + /** + * + * + *
+   * Location within the metadata for inspected content.
+   * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * + * @return Whether the metadataLocation field is set. + */ + boolean hasMetadataLocation(); + /** + * + * + *
+   * Location within the metadata for inspected content.
+   * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + * + * @return The metadataLocation. + */ + com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation(); + /** + * + * + *
+   * Location within the metadata for inspected content.
+   * 
+ * + * .google.privacy.dlp.v2.MetadataLocation metadata_location = 8; + */ + com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOrBuilder(); + /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java index 19c3fc98..40bab571 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java @@ -195,9 +195,9 @@ public MethodCase getMethodCase() { * * *
-   * Required. Range of shift in days. Actual shift will be selected at random
-   * within this range (inclusive ends). Negative means shift to earlier in
-   * time. Must not be more than 365250 days (1000 years) each direction.
+   * Required. Range of shift in days. Actual shift will be selected at random within this
+   * range (inclusive ends). Negative means shift to earlier in time. Must not
+   * be more than 365250 days (1000 years) each direction.
    * For example, 3 means shift date to at most 3 days into the future.
    * 
* @@ -215,8 +215,7 @@ public int getUpperBoundDays() { * * *
-   * Required. For example, -5 means shift date to at most 5 days back in the
-   * past.
+   * Required. For example, -5 means shift date to at most 5 days back in the past.
    * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -754,9 +753,9 @@ public Builder clearMethod() { * * *
-     * Required. Range of shift in days. Actual shift will be selected at random
-     * within this range (inclusive ends). Negative means shift to earlier in
-     * time. Must not be more than 365250 days (1000 years) each direction.
+     * Required. Range of shift in days. Actual shift will be selected at random within this
+     * range (inclusive ends). Negative means shift to earlier in time. Must not
+     * be more than 365250 days (1000 years) each direction.
      * For example, 3 means shift date to at most 3 days into the future.
      * 
* @@ -771,9 +770,9 @@ public int getUpperBoundDays() { * * *
-     * Required. Range of shift in days. Actual shift will be selected at random
-     * within this range (inclusive ends). Negative means shift to earlier in
-     * time. Must not be more than 365250 days (1000 years) each direction.
+     * Required. Range of shift in days. Actual shift will be selected at random within this
+     * range (inclusive ends). Negative means shift to earlier in time. Must not
+     * be more than 365250 days (1000 years) each direction.
      * For example, 3 means shift date to at most 3 days into the future.
      * 
* @@ -792,9 +791,9 @@ public Builder setUpperBoundDays(int value) { * * *
-     * Required. Range of shift in days. Actual shift will be selected at random
-     * within this range (inclusive ends). Negative means shift to earlier in
-     * time. Must not be more than 365250 days (1000 years) each direction.
+     * Required. Range of shift in days. Actual shift will be selected at random within this
+     * range (inclusive ends). Negative means shift to earlier in time. Must not
+     * be more than 365250 days (1000 years) each direction.
      * For example, 3 means shift date to at most 3 days into the future.
      * 
* @@ -814,8 +813,7 @@ public Builder clearUpperBoundDays() { * * *
-     * Required. For example, -5 means shift date to at most 5 days back in the
-     * past.
+     * Required. For example, -5 means shift date to at most 5 days back in the past.
      * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -829,8 +827,7 @@ public int getLowerBoundDays() { * * *
-     * Required. For example, -5 means shift date to at most 5 days back in the
-     * past.
+     * Required. For example, -5 means shift date to at most 5 days back in the past.
      * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -848,8 +845,7 @@ public Builder setLowerBoundDays(int value) { * * *
-     * Required. For example, -5 means shift date to at most 5 days back in the
-     * past.
+     * Required. For example, -5 means shift date to at most 5 days back in the past.
      * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java index 1016a835..f5b33a7c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java @@ -27,9 +27,9 @@ public interface DateShiftConfigOrBuilder * * *
-   * Required. Range of shift in days. Actual shift will be selected at random
-   * within this range (inclusive ends). Negative means shift to earlier in
-   * time. Must not be more than 365250 days (1000 years) each direction.
+   * Required. Range of shift in days. Actual shift will be selected at random within this
+   * range (inclusive ends). Negative means shift to earlier in time. Must not
+   * be more than 365250 days (1000 years) each direction.
    * For example, 3 means shift date to at most 3 days into the future.
    * 
* @@ -43,8 +43,7 @@ public interface DateShiftConfigOrBuilder * * *
-   * Required. For example, -5 means shift date to at most 5 days back in the
-   * past.
+   * Required. For example, -5 means shift date to at most 5 days back in the past.
    * 
* * int32 lower_bound_days = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java index b7f29d6e..04eaa9fa 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java @@ -118,9 +118,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the organization and deidentify template to be
-   * deleted, for example
-   * `organizations/433245324/deidentifyTemplates/432452342` or
+   * Required. Resource name of the organization and deidentify template to be deleted,
+   * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* @@ -145,9 +144,8 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the organization and deidentify template to be
-   * deleted, for example
-   * `organizations/433245324/deidentifyTemplates/432452342` or
+   * Required. Resource name of the organization and deidentify template to be deleted,
+   * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* @@ -493,9 +491,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the organization and deidentify template to be
-     * deleted, for example
-     * `organizations/433245324/deidentifyTemplates/432452342` or
+     * Required. Resource name of the organization and deidentify template to be deleted,
+     * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* @@ -520,9 +517,8 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the organization and deidentify template to be
-     * deleted, for example
-     * `organizations/433245324/deidentifyTemplates/432452342` or
+     * Required. Resource name of the organization and deidentify template to be deleted,
+     * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* @@ -547,9 +543,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the organization and deidentify template to be
-     * deleted, for example
-     * `organizations/433245324/deidentifyTemplates/432452342` or
+     * Required. Resource name of the organization and deidentify template to be deleted,
+     * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* @@ -573,9 +568,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the organization and deidentify template to be
-     * deleted, for example
-     * `organizations/433245324/deidentifyTemplates/432452342` or
+     * Required. Resource name of the organization and deidentify template to be deleted,
+     * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* @@ -595,9 +589,8 @@ public Builder clearName() { * * *
-     * Required. Resource name of the organization and deidentify template to be
-     * deleted, for example
-     * `organizations/433245324/deidentifyTemplates/432452342` or
+     * Required. Resource name of the organization and deidentify template to be deleted,
+     * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java index c3ef7bda..4487162a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java @@ -27,9 +27,8 @@ public interface DeleteDeidentifyTemplateRequestOrBuilder * * *
-   * Required. Resource name of the organization and deidentify template to be
-   * deleted, for example
-   * `organizations/433245324/deidentifyTemplates/432452342` or
+   * Required. Resource name of the organization and deidentify template to be deleted,
+   * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* @@ -44,9 +43,8 @@ public interface DeleteDeidentifyTemplateRequestOrBuilder * * *
-   * Required. Resource name of the organization and deidentify template to be
-   * deleted, for example
-   * `organizations/433245324/deidentifyTemplates/432452342` or
+   * Required. Resource name of the organization and deidentify template to be deleted,
+   * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java index 9e9f8057..d2844d3d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java @@ -117,9 +117,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the organization and inspectTemplate to be
-   * deleted, for example `organizations/433245324/inspectTemplates/432452342`
-   * or projects/project-id/inspectTemplates/432452342.
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
    * 
* * @@ -143,9 +143,9 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the organization and inspectTemplate to be
-   * deleted, for example `organizations/433245324/inspectTemplates/432452342`
-   * or projects/project-id/inspectTemplates/432452342.
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
    * 
* * @@ -490,9 +490,9 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the organization and inspectTemplate to be
-     * deleted, for example `organizations/433245324/inspectTemplates/432452342`
-     * or projects/project-id/inspectTemplates/432452342.
+     * Required. Resource name of the organization and inspectTemplate to be deleted, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
+     * projects/project-id/inspectTemplates/432452342.
      * 
* * @@ -516,9 +516,9 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the organization and inspectTemplate to be
-     * deleted, for example `organizations/433245324/inspectTemplates/432452342`
-     * or projects/project-id/inspectTemplates/432452342.
+     * Required. Resource name of the organization and inspectTemplate to be deleted, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
+     * projects/project-id/inspectTemplates/432452342.
      * 
* * @@ -542,9 +542,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the organization and inspectTemplate to be
-     * deleted, for example `organizations/433245324/inspectTemplates/432452342`
-     * or projects/project-id/inspectTemplates/432452342.
+     * Required. Resource name of the organization and inspectTemplate to be deleted, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
+     * projects/project-id/inspectTemplates/432452342.
      * 
* * @@ -567,9 +567,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the organization and inspectTemplate to be
-     * deleted, for example `organizations/433245324/inspectTemplates/432452342`
-     * or projects/project-id/inspectTemplates/432452342.
+     * Required. Resource name of the organization and inspectTemplate to be deleted, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
+     * projects/project-id/inspectTemplates/432452342.
      * 
* * @@ -588,9 +588,9 @@ public Builder clearName() { * * *
-     * Required. Resource name of the organization and inspectTemplate to be
-     * deleted, for example `organizations/433245324/inspectTemplates/432452342`
-     * or projects/project-id/inspectTemplates/432452342.
+     * Required. Resource name of the organization and inspectTemplate to be deleted, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
+     * projects/project-id/inspectTemplates/432452342.
      * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java index 0e0650e0..cb4a86fd 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java @@ -27,9 +27,9 @@ public interface DeleteInspectTemplateRequestOrBuilder * * *
-   * Required. Resource name of the organization and inspectTemplate to be
-   * deleted, for example `organizations/433245324/inspectTemplates/432452342`
-   * or projects/project-id/inspectTemplates/432452342.
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
    * 
* * @@ -43,9 +43,9 @@ public interface DeleteInspectTemplateRequestOrBuilder * * *
-   * Required. Resource name of the organization and inspectTemplate to be
-   * deleted, for example `organizations/433245324/inspectTemplates/432452342`
-   * or projects/project-id/inspectTemplates/432452342.
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
+   * projects/project-id/inspectTemplates/432452342.
    * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java index 51de30f4..e84be35e 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java @@ -117,8 +117,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the organization and storedInfoType to be
-   * deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* @@ -143,8 +143,8 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the organization and storedInfoType to be
-   * deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* @@ -490,8 +490,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the organization and storedInfoType to be
-     * deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of the organization and storedInfoType to be deleted, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -516,8 +516,8 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the organization and storedInfoType to be
-     * deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of the organization and storedInfoType to be deleted, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -542,8 +542,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the organization and storedInfoType to be
-     * deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of the organization and storedInfoType to be deleted, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -567,8 +567,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the organization and storedInfoType to be
-     * deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of the organization and storedInfoType to be deleted, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -588,8 +588,8 @@ public Builder clearName() { * * *
-     * Required. Resource name of the organization and storedInfoType to be
-     * deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of the organization and storedInfoType to be deleted, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java index 2034e22b..75d4b810 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface DeleteStoredInfoTypeRequestOrBuilder * * *
-   * Required. Resource name of the organization and storedInfoType to be
-   * deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* @@ -43,8 +43,8 @@ public interface DeleteStoredInfoTypeRequestOrBuilder * * *
-   * Required. Resource name of the organization and storedInfoType to be
-   * deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java index 4c528dfd..dea2cf03 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java @@ -147,7 +147,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(4); + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(5); } private static final DlpJobType[] VALUES = values(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java index 1219699b..9e4b698c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java @@ -91,6 +91,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_privacy_dlp_v2_ContentLocation_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_privacy_dlp_v2_ContentLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -765,1033 +773,1042 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e.privacy.dlp.v2.InspectConfig.FindingLi" + "mits.InfoTypeLimit\032Y\n\rInfoTypeLimit\0222\n\ti" + "nfo_type\030\001 \001(\0132\037.google.privacy.dlp.v2.I" - + "nfoType\022\024\n\014max_findings\030\002 \001(\005\"\352\001\n\017ByteCo" + + "nfoType\022\024\n\014max_findings\030\002 \001(\005\"\206\002\n\017ByteCo" + "ntentItem\022>\n\004type\030\001 \001(\01620.google.privacy" + ".dlp.v2.ByteContentItem.BytesType\022\014\n\004dat" - + "a\030\002 \001(\014\"\210\001\n\tBytesType\022\032\n\026BYTES_TYPE_UNSP" + + "a\030\002 \001(\014\"\244\001\n\tBytesType\022\032\n\026BYTES_TYPE_UNSP" + "ECIFIED\020\000\022\t\n\005IMAGE\020\006\022\016\n\nIMAGE_JPEG\020\001\022\r\n\t" + "IMAGE_BMP\020\002\022\r\n\tIMAGE_PNG\020\003\022\r\n\tIMAGE_SVG\020" - + "\004\022\r\n\tTEXT_UTF8\020\005\022\010\n\004AVRO\020\013\"\227\001\n\013ContentIt" - + "em\022\017\n\005value\030\003 \001(\tH\000\022-\n\005table\030\004 \001(\0132\034.goo" - + "gle.privacy.dlp.v2.TableH\000\022;\n\tbyte_item\030" - + "\005 \001(\0132&.google.privacy.dlp.v2.ByteConten" - + "tItemH\000B\013\n\tdata_item\"\235\001\n\005Table\022/\n\007header" - + "s\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId\022" - + ".\n\004rows\030\002 \003(\0132 .google.privacy.dlp.v2.Ta" - + "ble.Row\0323\n\003Row\022,\n\006values\030\001 \003(\0132\034.google." - + "privacy.dlp.v2.Value\"]\n\rInspectResult\0220\n" - + "\010findings\030\001 \003(\0132\036.google.privacy.dlp.v2." - + "Finding\022\032\n\022findings_truncated\030\002 \001(\010\"\322\005\n\007" - + "Finding\022\014\n\004name\030\016 \001(\t\022\r\n\005quote\030\001 \001(\t\0222\n\t" - + "info_type\030\002 \001(\0132\037.google.privacy.dlp.v2." - + "InfoType\0225\n\nlikelihood\030\003 \001(\0162!.google.pr" - + "ivacy.dlp.v2.Likelihood\0221\n\010location\030\004 \001(" - + "\0132\037.google.privacy.dlp.v2.Location\022/\n\013cr" - + "eate_time\030\006 \001(\0132\032.google.protobuf.Timest" - + "amp\0224\n\nquote_info\030\007 \001(\0132 .google.privacy" - + ".dlp.v2.QuoteInfo\0225\n\rresource_name\030\010 \001(\t" - + "B\036\372A\033\n\031dlp.googleapis.com/DlpJob\0228\n\014trig" - + "ger_name\030\t \001(\tB\"\372A\037\n\035dlp.googleapis.com/" - + "JobTrigger\022:\n\006labels\030\n \003(\0132*.google.priv" - + "acy.dlp.v2.Finding.LabelsEntry\0223\n\017job_cr" - + "eate_time\030\013 \001(\0132\032.google.protobuf.Timest" - + "amp\0220\n\010job_name\030\r \001(\tB\036\372A\033\n\031dlp.googleap" - + "is.com/DlpJob\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" - + "\t\022\r\n\005value\030\002 \001(\t:\0028\001:b\352A_\n!dlp.googleapi" - + "s.com/InspectFinding\022:projects/{project}" - + "/locations/{location}/findings/{finding}" - + "\"\353\001\n\010Location\0220\n\nbyte_range\030\001 \001(\0132\034.goog" - + "le.privacy.dlp.v2.Range\0225\n\017codepoint_ran" - + "ge\030\002 \001(\0132\034.google.privacy.dlp.v2.Range\022A" - + "\n\021content_locations\030\007 \003(\0132&.google.priva" - + "cy.dlp.v2.ContentLocation\0223\n\tcontainer\030\010" - + " \001(\0132 .google.privacy.dlp.v2.Container\"\321" - + "\002\n\017ContentLocation\022\026\n\016container_name\030\001 \001" - + "(\t\022@\n\017record_location\030\002 \001(\0132%.google.pri" - + "vacy.dlp.v2.RecordLocationH\000\022>\n\016image_lo" - + "cation\030\003 \001(\0132$.google.privacy.dlp.v2.Ima" - + "geLocationH\000\022D\n\021document_location\030\005 \001(\0132" - + "\'.google.privacy.dlp.v2.DocumentLocation" - + "H\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." - + "v2.RecordKey\0220\n\010field_id\030\002 \001(\0132\036.google." - + "privacy.dlp.v2.FieldId\022<\n\016table_location" - + "\030\003 \001(\0132$.google.privacy.dlp.v2.TableLoca" - + "tion\"\"\n\rTableLocation\022\021\n\trow_index\030\001 \001(\003" - + "\"\254\001\n\tContainer\022\014\n\004type\030\001 \001(\t\022\022\n\nproject_" - + "id\030\002 \001(\t\022\021\n\tfull_path\030\003 \001(\t\022\021\n\troot_path" - + "\030\004 \001(\t\022\025\n\rrelative_path\030\005 \001(\t\022/\n\013update_" - + "time\030\006 \001(\0132\032.google.protobuf.Timestamp\022\017" - + "\n\007version\030\007 \001(\t\"#\n\005Range\022\r\n\005start\030\001 \001(\003\022" - + "\013\n\003end\030\002 \001(\003\"K\n\rImageLocation\022:\n\016boundin" - + "g_boxes\030\001 \003(\0132\".google.privacy.dlp.v2.Bo" - + "undingBox\"G\n\013BoundingBox\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\"\212\004\n\022RedactImageRequest\022@\n\006parent\030\001 \001(" - + "\tB0\372A-\n+cloudresourcemanager.googleapis." - + "com/Project\022\023\n\013location_id\030\010 \001(\t\022<\n\016insp" - + "ect_config\030\002 \001(\0132$.google.privacy.dlp.v2" - + ".InspectConfig\022_\n\027image_redaction_config" - + "s\030\005 \003(\0132>.google.privacy.dlp.v2.RedactIm" - + "ageRequest.ImageRedactionConfig\022\030\n\020inclu" - + "de_findings\030\006 \001(\010\0229\n\tbyte_item\030\007 \001(\0132&.g" - + "oogle.privacy.dlp.v2.ByteContentItem\032\250\001\n" - + "\024ImageRedactionConfig\0224\n\tinfo_type\030\001 \001(\013" - + "2\037.google.privacy.dlp.v2.InfoTypeH\000\022\031\n\017r" - + "edact_all_text\030\002 \001(\010H\000\0225\n\017redaction_colo" - + "r\030\003 \001(\0132\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\023RedactImageRespon" - + "se\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$.goo" - + "gle.privacy.dlp.v2.InspectResult\"\346\002\n\030Dei" - + "dentifyContentRequest\022@\n\006parent\030\001 \001(\tB0\372" - + "A-\n+cloudresourcemanager.googleapis.com/" - + "Project\022B\n\021deidentify_config\030\002 \001(\0132\'.goo" - + "gle.privacy.dlp.v2.DeidentifyConfig\022<\n\016i" - + "nspect_config\030\003 \001(\0132$.google.privacy.dlp" - + ".v2.InspectConfig\0220\n\004item\030\004 \001(\0132\".google" - + ".privacy.dlp.v2.ContentItem\022\035\n\025inspect_t" - + "emplate_name\030\005 \001(\t\022 \n\030deidentify_templat" - + "e_name\030\006 \001(\t\022\023\n\013location_id\030\007 \001(\t\"\216\001\n\031De" - + "identifyContentResponse\0220\n\004item\030\001 \001(\0132\"." - + "google.privacy.dlp.v2.ContentItem\022?\n\010ove" - + "rview\030\002 \001(\0132-.google.privacy.dlp.v2.Tran" - + "sformationOverview\"\351\002\n\030ReidentifyContent" - + "Request\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudre" - + "sourcemanager.googleapis.com/Project\022B\n\021" - + "reidentify_config\030\002 \001(\0132\'.google.privacy" - + ".dlp.v2.DeidentifyConfig\022<\n\016inspect_conf" - + "ig\030\003 \001(\0132$.google.privacy.dlp.v2.Inspect" - + "Config\0220\n\004item\030\004 \001(\0132\".google.privacy.dl" - + "p.v2.ContentItem\022\035\n\025inspect_template_nam" - + "e\030\005 \001(\t\022 \n\030reidentify_template_name\030\006 \001(" - + "\t\022\023\n\013location_id\030\007 \001(\t\"\216\001\n\031ReidentifyCon" - + "tentResponse\0220\n\004item\030\001 \001(\0132\".google.priv" - + "acy.dlp.v2.ContentItem\022?\n\010overview\030\002 \001(\013" - + "2-.google.privacy.dlp.v2.TransformationO" - + "verview\"\375\001\n\025InspectContentRequest\022@\n\006par" - + "ent\030\001 \001(\tB0\372A-\n+cloudresourcemanager.goo" - + "gleapis.com/Project\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\022\023\n\013location_id\030\005 \001(\t\"N\n\026InspectConten" - + "tResponse\0224\n\006result\030\001 \001(\0132$.google.priva" - + "cy.dlp.v2.InspectResult\"\267\002\n\023OutputStorag" - + "eConfig\0225\n\005table\030\001 \001(\0132$.google.privacy." - + "dlp.v2.BigQueryTableH\000\022N\n\routput_schema\030" - + "\003 \001(\01627.google.privacy.dlp.v2.OutputStor" - + "ageConfig.OutputSchema\"\220\001\n\014OutputSchema\022" - + "\035\n\031OUTPUT_SCHEMA_UNSPECIFIED\020\000\022\021\n\rBASIC_" - + "COLUMNS\020\001\022\017\n\013GCS_COLUMNS\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\rInfoTypeStats\0222\n\tin" - + "fo_type\030\001 \001(\0132\037.google.privacy.dlp.v2.In" - + "foType\022\r\n\005count\030\002 \001(\003\"\244\004\n\030InspectDataSou" - + "rceDetails\022[\n\021requested_options\030\002 \001(\0132@." - + "google.privacy.dlp.v2.InspectDataSourceD" - + "etails.RequestedOptions\022F\n\006result\030\003 \001(\0132" - + "6.google.privacy.dlp.v2.InspectDataSourc" - + "eDetails.Result\032\232\001\n\020RequestedOptions\022I\n\031" - + "snapshot_inspect_template\030\001 \001(\0132&.google" - + ".privacy.dlp.v2.InspectTemplate\022;\n\njob_c" - + "onfig\030\003 \001(\0132\'.google.privacy.dlp.v2.Insp" - + "ectJobConfig\032\305\001\n\006Result\022\027\n\017processed_byt" - + "es\030\001 \001(\003\022\035\n\025total_estimated_bytes\030\002 \001(\003\022" - + "=\n\017info_type_stats\030\003 \003(\0132$.google.privac" - + "y.dlp.v2.InfoTypeStats\022D\n\014hybrid_stats\030\007" - + " \001(\0132..google.privacy.dlp.v2.HybridInspe" - + "ctStatistics\"`\n\027HybridInspectStatistics\022" - + "\027\n\017processed_count\030\001 \001(\003\022\025\n\raborted_coun" - + "t\030\002 \001(\003\022\025\n\rpending_count\030\003 \001(\003\"\220\001\n\023InfoT" - + "ypeDescription\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*.googl" - + "e.privacy.dlp.v2.InfoTypeSupportedBy\022\023\n\013" - + "description\030\004 \001(\t\"R\n\024ListInfoTypesReques" - + "t\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t" - + "\022\023\n\013location_id\030\003 \001(\t\"W\n\025ListInfoTypesRe" - + "sponse\022>\n\ninfo_types\030\001 \003(\0132*.google.priv" - + "acy.dlp.v2.InfoTypeDescription\"\301\001\n\025RiskA" - + "nalysisJobConfig\022<\n\016privacy_metric\030\001 \001(\013" - + "2$.google.privacy.dlp.v2.PrivacyMetric\022:" - + "\n\014source_table\030\002 \001(\0132$.google.privacy.dl" - + "p.v2.BigQueryTable\022.\n\007actions\030\003 \003(\0132\035.go" - + "ogle.privacy.dlp.v2.Action\"\274\001\n\007QuasiId\0222" - + "\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fi" - + "eldIdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google.p" - + "rivacy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003" - + " \001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.protob" - + "uf.EmptyH\000B\005\n\003tag\"\276\002\n\020StatisticalTable\0228" - + "\n\005table\030\003 \001(\0132$.google.privacy.dlp.v2.Bi" - + "gQueryTableB\003\340A\002\022T\n\tquasi_ids\030\001 \003(\0132<.go" - + "ogle.privacy.dlp.v2.StatisticalTable.Qua" - + "siIdentifierFieldB\003\340A\002\022?\n\022relative_frequ" - + "ency\030\002 \001(\0132\036.google.privacy.dlp.v2.Field" - + "IdB\003\340A\002\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\"\223\017\n\rPrivacyMetric\022[\n\026" - + "numerical_stats_config\030\001 \001(\01329.google.pr" - + "ivacy.dlp.v2.PrivacyMetric.NumericalStat" - + "sConfigH\000\022_\n\030categorical_stats_config\030\002 " - + "\001(\0132;.google.privacy.dlp.v2.PrivacyMetri" - + "c.CategoricalStatsConfigH\000\022S\n\022k_anonymit" - + "y_config\030\003 \001(\01325.google.privacy.dlp.v2.P" - + "rivacyMetric.KAnonymityConfigH\000\022S\n\022l_div" - + "ersity_config\030\004 \001(\01325.google.privacy.dlp" - + ".v2.PrivacyMetric.LDiversityConfigH\000\022\\\n\027" - + "k_map_estimation_config\030\005 \001(\01329.google.p" - + "rivacy.dlp.v2.PrivacyMetric.KMapEstimati" - + "onConfigH\000\022n\n delta_presence_estimation_" - + "config\030\006 \001(\0132B.google.privacy.dlp.v2.Pri" - + "vacyMetric.DeltaPresenceEstimationConfig" - + "H\000\032E\n\024NumericalStatsConfig\022-\n\005field\030\001 \001(" - + "\0132\036.google.privacy.dlp.v2.FieldId\032G\n\026Cat" - + "egoricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.goo" - + "gle.privacy.dlp.v2.FieldId\032y\n\020KAnonymity" - + "Config\0221\n\tquasi_ids\030\001 \003(\0132\036.google.priva" - + "cy.dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037.g" - + "oogle.privacy.dlp.v2.EntityId\032\202\001\n\020LDiver" - + "sityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.p" - + "rivacy.dlp.v2.FieldId\022;\n\023sensitive_attri" - + "bute\030\002 \001(\0132\036.google.privacy.dlp.v2.Field" - + "Id\032\201\006\n\024KMapEstimationConfig\022]\n\tquasi_ids" - + "\030\001 \003(\0132E.google.privacy.dlp.v2.PrivacyMe" - + "tric.KMapEstimationConfig.TaggedFieldB\003\340" - + "A\002\022\023\n\013region_code\030\002 \001(\t\022b\n\020auxiliary_tab" - + "les\030\003 \003(\0132H.google.privacy.dlp.v2.Privac" - + "yMetric.KMapEstimationConfig.AuxiliaryTa" - + "ble\032\300\001\n\013TaggedField\0222\n\005field\030\001 \001(\0132\036.goo" - + "gle.privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinfo_" - + "type\030\002 \001(\0132\037.google.privacy.dlp.v2.InfoT" - + "ypeH\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\315" - + "\002\n\016AuxiliaryTable\0228\n\005table\030\003 \001(\0132$.googl" - + "e.privacy.dlp.v2.BigQueryTableB\003\340A\002\022m\n\tq" - + "uasi_ids\030\001 \003(\0132U.google.privacy.dlp.v2.P" - + "rivacyMetric.KMapEstimationConfig.Auxili" - + "aryTable.QuasiIdFieldB\003\340A\002\022?\n\022relative_f" - + "requency\030\002 \001(\0132\036.google.privacy.dlp.v2.F" - + "ieldIdB\003\340A\002\032Q\n\014QuasiIdField\022-\n\005field\030\001 \001" - + "(\0132\036.google.privacy.dlp.v2.FieldId\022\022\n\ncu" - + "stom_tag\030\002 \001(\t\032\257\001\n\035DeltaPresenceEstimati" - + "onConfig\0226\n\tquasi_ids\030\001 \003(\0132\036.google.pri" - + "vacy.dlp.v2.QuasiIdB\003\340A\002\022\023\n\013region_code\030" - + "\002 \001(\t\022A\n\020auxiliary_tables\030\003 \003(\0132\'.google" - + ".privacy.dlp.v2.StatisticalTableB\006\n\004type" - + "\"\362\035\n\034AnalyzeDataSourceRiskDetails\022F\n\030req" - + "uested_privacy_metric\030\001 \001(\0132$.google.pri" - + "vacy.dlp.v2.PrivacyMetric\022D\n\026requested_s" - + "ource_table\030\002 \001(\0132$.google.privacy.dlp.v" - + "2.BigQueryTable\022j\n\026numerical_stats_resul" - + "t\030\003 \001(\0132H.google.privacy.dlp.v2.AnalyzeD" - + "ataSourceRiskDetails.NumericalStatsResul" - + "tH\000\022n\n\030categorical_stats_result\030\004 \001(\0132J." - + "google.privacy.dlp.v2.AnalyzeDataSourceR" - + "iskDetails.CategoricalStatsResultH\000\022b\n\022k" - + "_anonymity_result\030\005 \001(\0132D.google.privacy" - + ".dlp.v2.AnalyzeDataSourceRiskDetails.KAn" - + "onymityResultH\000\022b\n\022l_diversity_result\030\006 " - + "\001(\0132D.google.privacy.dlp.v2.AnalyzeDataS" - + "ourceRiskDetails.LDiversityResultH\000\022k\n\027k" - + "_map_estimation_result\030\007 \001(\0132H.google.pr" - + "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail" - + "s.KMapEstimationResultH\000\022}\n delta_presen" - + "ce_estimation_result\030\t \001(\0132Q.google.priv" - + "acy.dlp.v2.AnalyzeDataSourceRiskDetails." - + "DeltaPresenceEstimationResultH\000\032\257\001\n\024Nume" - + "ricalStatsResult\022/\n\tmin_value\030\001 \001(\0132\034.go" - + "ogle.privacy.dlp.v2.Value\022/\n\tmax_value\030\002" - + " \001(\0132\034.google.privacy.dlp.v2.Value\0225\n\017qu" - + "antile_values\030\004 \003(\0132\034.google.privacy.dlp" - + ".v2.Value\032\215\003\n\026CategoricalStatsResult\022\225\001\n" - + "!value_frequency_histogram_buckets\030\005 \003(\013" - + "2j.google.privacy.dlp.v2.AnalyzeDataSour" - + "ceRiskDetails.CategoricalStatsResult.Cat" - + "egoricalStatsHistogramBucket\032\332\001\n\037Categor" - + "icalStatsHistogramBucket\022#\n\033value_freque" - + "ncy_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_co" - + "unt\030\005 \001(\003\032\265\004\n\020KAnonymityResult\022\213\001\n#equiv" - + "alence_class_histogram_buckets\030\005 \003(\0132^.g" + + "\004\022\r\n\tTEXT_UTF8\020\005\022\021\n\rWORD_DOCUMENT\020\007\022\007\n\003P" + + "DF\020\010\022\010\n\004AVRO\020\013\"\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&.goog" + + "le.privacy.dlp.v2.ByteContentItemH\000B\013\n\td" + + "ata_item\"\235\001\n\005Table\022/\n\007headers\030\001 \003(\0132\036.go" + + "ogle.privacy.dlp.v2.FieldId\022.\n\004rows\030\002 \003(" + + "\0132 .google.privacy.dlp.v2.Table.Row\0323\n\003R" + + "ow\022,\n\006values\030\001 \003(\0132\034.google.privacy.dlp." + + "v2.Value\"]\n\rInspectResult\0220\n\010findings\030\001 " + + "\003(\0132\036.google.privacy.dlp.v2.Finding\022\032\n\022f" + + "indings_truncated\030\002 \001(\010\"\313\005\n\007Finding\022\014\n\004n" + + "ame\030\016 \001(\t\022\r\n\005quote\030\001 \001(\t\0222\n\tinfo_type\030\002 " + + "\001(\0132\037.google.privacy.dlp.v2.InfoType\0225\n\n" + + "likelihood\030\003 \001(\0162!.google.privacy.dlp.v2" + + ".Likelihood\0221\n\010location\030\004 \001(\0132\037.google.p" + + "rivacy.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.Quot" + + "eInfo\0225\n\rresource_name\030\010 \001(\tB\036\372A\033\n\031dlp.g" + + "oogleapis.com/DlpJob\0228\n\014trigger_name\030\t \001" + + "(\tB\"\372A\037\n\035dlp.googleapis.com/JobTrigger\022:" + + "\n\006labels\030\n \003(\0132*.google.privacy.dlp.v2.F" + + "inding.LabelsEntry\0223\n\017job_create_time\030\013 " + + "\001(\0132\032.google.protobuf.Timestamp\0220\n\010job_n" + + "ame\030\r \001(\tB\036\372A\033\n\031dlp.googleapis.com/DlpJo" + + "b\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001:[\352AX\n\032dlp.googleapis.com/Findin" + + "g\022:projects/{project}/locations/{locatio" + + "n}/findings/{finding}\"\353\001\n\010Location\0220\n\nby" + + "te_range\030\001 \001(\0132\034.google.privacy.dlp.v2.R" + + "ange\0225\n\017codepoint_range\030\002 \001(\0132\034.google.p" + + "rivacy.dlp.v2.Range\022A\n\021content_locations" + + "\030\007 \003(\0132&.google.privacy.dlp.v2.ContentLo" + + "cation\0223\n\tcontainer\030\010 \001(\0132 .google.priva" + + "cy.dlp.v2.Container\"\227\003\n\017ContentLocation\022" + + "\026\n\016container_name\030\001 \001(\t\022@\n\017record_locati" + + "on\030\002 \001(\0132%.google.privacy.dlp.v2.RecordL" + + "ocationH\000\022>\n\016image_location\030\003 \001(\0132$.goog" + + "le.privacy.dlp.v2.ImageLocationH\000\022D\n\021doc" + + "ument_location\030\005 \001(\0132\'.google.privacy.dl" + + "p.v2.DocumentLocationH\000\022D\n\021metadata_loca" + + "tion\030\010 \001(\0132\'.google.privacy.dlp.v2.Metad" + + "ataLocationH\000\0227\n\023container_timestamp\030\006 \001" + + "(\0132\032.google.protobuf.Timestamp\022\031\n\021contai" + + "ner_version\030\007 \001(\tB\n\n\010location\"\224\001\n\020Metada" + + "taLocation\0221\n\004type\030\001 \001(\0162#.google.privac" + + "y.dlp.v2.MetadataType\022D\n\rstorage_label\030\003" + + " \001(\0132+.google.privacy.dlp.v2.StorageMeta" + + "dataLabelH\000B\007\n\005label\"#\n\024StorageMetadataL" + + "abel\022\013\n\003key\030\001 \001(\t\"\'\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\"" + + "\254\001\n\tContainer\022\014\n\004type\030\001 \001(\t\022\022\n\nproject_i" + + "d\030\002 \001(\t\022\021\n\tfull_path\030\003 \001(\t\022\021\n\troot_path\030" + + "\004 \001(\t\022\025\n\rrelative_path\030\005 \001(\t\022/\n\013update_t" + + "ime\030\006 \001(\0132\032.google.protobuf.Timestamp\022\017\n" + + "\007version\030\007 \001(\t\"#\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.Bou" + + "ndingBox\"G\n\013BoundingBox\022\013\n\003top\030\001 \001(\005\022\014\n\004" + + "left\030\002 \001(\005\022\r\n\005width\030\003 \001(\005\022\016\n\006height\030\004 \001(" + + "\005\"\212\004\n\022RedactImageRequest\022@\n\006parent\030\001 \001(\t" + + "B0\372A-\n+cloudresourcemanager.googleapis.c" + + "om/Project\022\023\n\013location_id\030\010 \001(\t\022<\n\016inspe" + + "ct_config\030\002 \001(\0132$.google.privacy.dlp.v2." + + "InspectConfig\022_\n\027image_redaction_configs" + + "\030\005 \003(\0132>.google.privacy.dlp.v2.RedactIma" + + "geRequest.ImageRedactionConfig\022\030\n\020includ" + + "e_findings\030\006 \001(\010\0229\n\tbyte_item\030\007 \001(\0132&.go" + + "ogle.privacy.dlp.v2.ByteContentItem\032\250\001\n\024" + + "ImageRedactionConfig\0224\n\tinfo_type\030\001 \001(\0132" + + "\037.google.privacy.dlp.v2.InfoTypeH\000\022\031\n\017re" + + "dact_all_text\030\002 \001(\010H\000\0225\n\017redaction_color" + + "\030\003 \001(\0132\034.google.privacy.dlp.v2.ColorB\010\n\006" + + "target\"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\023RedactImageRespons" + + "e\022\026\n\016redacted_image\030\001 \001(\014\022\026\n\016extracted_t" + + "ext\030\002 \001(\t\022<\n\016inspect_result\030\003 \001(\0132$.goog" + + "le.privacy.dlp.v2.InspectResult\"\346\002\n\030Deid" + + "entifyContentRequest\022@\n\006parent\030\001 \001(\tB0\372A" + + "-\n+cloudresourcemanager.googleapis.com/P" + + "roject\022B\n\021deidentify_config\030\002 \001(\0132\'.goog" + + "le.privacy.dlp.v2.DeidentifyConfig\022<\n\016in" + + "spect_config\030\003 \001(\0132$.google.privacy.dlp." + + "v2.InspectConfig\0220\n\004item\030\004 \001(\0132\".google." + + "privacy.dlp.v2.ContentItem\022\035\n\025inspect_te" + + "mplate_name\030\005 \001(\t\022 \n\030deidentify_template" + + "_name\030\006 \001(\t\022\023\n\013location_id\030\007 \001(\t\"\216\001\n\031Dei" + + "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\"\351\002\n\030ReidentifyContentR" + + "equest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudres" + + "ourcemanager.googleapis.com/Project\022B\n\021r" + + "eidentify_config\030\002 \001(\0132\'.google.privacy." + + "dlp.v2.DeidentifyConfig\022<\n\016inspect_confi" + + "g\030\003 \001(\0132$.google.privacy.dlp.v2.InspectC" + + "onfig\0220\n\004item\030\004 \001(\0132\".google.privacy.dlp" + + ".v2.ContentItem\022\035\n\025inspect_template_name" + + "\030\005 \001(\t\022 \n\030reidentify_template_name\030\006 \001(\t" + + "\022\023\n\013location_id\030\007 \001(\t\"\216\001\n\031ReidentifyCont" + + "entResponse\0220\n\004item\030\001 \001(\0132\".google.priva" + + "cy.dlp.v2.ContentItem\022?\n\010overview\030\002 \001(\0132" + + "-.google.privacy.dlp.v2.TransformationOv" + + "erview\"\375\001\n\025InspectContentRequest\022@\n\006pare" + + "nt\030\001 \001(\tB0\372A-\n+cloudresourcemanager.goog" + + "leapis.com/Project\022<\n\016inspect_config\030\002 \001" + + "(\0132$.google.privacy.dlp.v2.InspectConfig" + + "\0220\n\004item\030\003 \001(\0132\".google.privacy.dlp.v2.C" + + "ontentItem\022\035\n\025inspect_template_name\030\004 \001(" + + "\t\022\023\n\013location_id\030\005 \001(\t\"N\n\026InspectContent" + + "Response\0224\n\006result\030\001 \001(\0132$.google.privac" + + "y.dlp.v2.InspectResult\"\267\002\n\023OutputStorage" + + "Config\0225\n\005table\030\001 \001(\0132$.google.privacy.d" + + "lp.v2.BigQueryTableH\000\022N\n\routput_schema\030\003" + + " \001(\01627.google.privacy.dlp.v2.OutputStora" + + "geConfig.OutputSchema\"\220\001\n\014OutputSchema\022\035" + + "\n\031OUTPUT_SCHEMA_UNSPECIFIED\020\000\022\021\n\rBASIC_C" + + "OLUMNS\020\001\022\017\n\013GCS_COLUMNS\020\002\022\025\n\021DATASTORE_C" + + "OLUMNS\020\003\022\025\n\021BIG_QUERY_COLUMNS\020\004\022\017\n\013ALL_C" + + "OLUMNS\020\005B\006\n\004type\"R\n\rInfoTypeStats\0222\n\tinf" + + "o_type\030\001 \001(\0132\037.google.privacy.dlp.v2.Inf" + + "oType\022\r\n\005count\030\002 \001(\003\"\244\004\n\030InspectDataSour" + + "ceDetails\022[\n\021requested_options\030\002 \001(\0132@.g" + + "oogle.privacy.dlp.v2.InspectDataSourceDe" + + "tails.RequestedOptions\022F\n\006result\030\003 \001(\01326" + + ".google.privacy.dlp.v2.InspectDataSource" + + "Details.Result\032\232\001\n\020RequestedOptions\022I\n\031s" + + "napshot_inspect_template\030\001 \001(\0132&.google." + + "privacy.dlp.v2.InspectTemplate\022;\n\njob_co" + + "nfig\030\003 \001(\0132\'.google.privacy.dlp.v2.Inspe" + + "ctJobConfig\032\305\001\n\006Result\022\027\n\017processed_byte" + + "s\030\001 \001(\003\022\035\n\025total_estimated_bytes\030\002 \001(\003\022=" + + "\n\017info_type_stats\030\003 \003(\0132$.google.privacy" + + ".dlp.v2.InfoTypeStats\022D\n\014hybrid_stats\030\007 " + + "\001(\0132..google.privacy.dlp.v2.HybridInspec" + + "tStatistics\"`\n\027HybridInspectStatistics\022\027" + + "\n\017processed_count\030\001 \001(\003\022\025\n\raborted_count" + + "\030\002 \001(\003\022\025\n\rpending_count\030\003 \001(\003\"\220\001\n\023InfoTy" + + "peDescription\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + + "ame\030\002 \001(\t\022@\n\014supported_by\030\003 \003(\0162*.google" + + ".privacy.dlp.v2.InfoTypeSupportedBy\022\023\n\013d" + + "escription\030\004 \001(\t\"R\n\024ListInfoTypesRequest" + + "\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022" + + "\023\n\013location_id\030\003 \001(\t\"W\n\025ListInfoTypesRes" + + "ponse\022>\n\ninfo_types\030\001 \003(\0132*.google.priva" + + "cy.dlp.v2.InfoTypeDescription\"\301\001\n\025RiskAn" + + "alysisJobConfig\022<\n\016privacy_metric\030\001 \001(\0132" + + "$.google.privacy.dlp.v2.PrivacyMetric\022:\n" + + "\014source_table\030\002 \001(\0132$.google.privacy.dlp" + + ".v2.BigQueryTable\022.\n\007actions\030\003 \003(\0132\035.goo" + + "gle.privacy.dlp.v2.Action\"\274\001\n\007QuasiId\0222\n" + + "\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fie" + + "ldIdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google.pr" + + "ivacy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003 " + + "\001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.protobu" + + "f.EmptyH\000B\005\n\003tag\"\276\002\n\020StatisticalTable\0228\n" + + "\005table\030\003 \001(\0132$.google.privacy.dlp.v2.Big" + + "QueryTableB\003\340A\002\022T\n\tquasi_ids\030\001 \003(\0132<.goo" + + "gle.privacy.dlp.v2.StatisticalTable.Quas" + + "iIdentifierFieldB\003\340A\002\022?\n\022relative_freque" + + "ncy\030\002 \001(\0132\036.google.privacy.dlp.v2.FieldI" + + "dB\003\340A\002\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\"\223\017\n\rPrivacyMetric\022[\n\026n" + + "umerical_stats_config\030\001 \001(\01329.google.pri" + + "vacy.dlp.v2.PrivacyMetric.NumericalStats" + + "ConfigH\000\022_\n\030categorical_stats_config\030\002 \001" + + "(\0132;.google.privacy.dlp.v2.PrivacyMetric" + + ".CategoricalStatsConfigH\000\022S\n\022k_anonymity" + + "_config\030\003 \001(\01325.google.privacy.dlp.v2.Pr" + + "ivacyMetric.KAnonymityConfigH\000\022S\n\022l_dive" + + "rsity_config\030\004 \001(\01325.google.privacy.dlp." + + "v2.PrivacyMetric.LDiversityConfigH\000\022\\\n\027k" + + "_map_estimation_config\030\005 \001(\01329.google.pr" + + "ivacy.dlp.v2.PrivacyMetric.KMapEstimatio" + + "nConfigH\000\022n\n delta_presence_estimation_c" + + "onfig\030\006 \001(\0132B.google.privacy.dlp.v2.Priv" + + "acyMetric.DeltaPresenceEstimationConfigH" + + "\000\032E\n\024NumericalStatsConfig\022-\n\005field\030\001 \001(\013" + + "2\036.google.privacy.dlp.v2.FieldId\032G\n\026Cate" + + "goricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.goog" + + "le.privacy.dlp.v2.FieldId\032y\n\020KAnonymityC" + + "onfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.privac" + + "y.dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037.go" + + "ogle.privacy.dlp.v2.EntityId\032\202\001\n\020LDivers" + + "ityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.pr" + + "ivacy.dlp.v2.FieldId\022;\n\023sensitive_attrib" + + "ute\030\002 \001(\0132\036.google.privacy.dlp.v2.FieldI" + + "d\032\201\006\n\024KMapEstimationConfig\022]\n\tquasi_ids\030" + + "\001 \003(\0132E.google.privacy.dlp.v2.PrivacyMet" + + "ric.KMapEstimationConfig.TaggedFieldB\003\340A" + + "\002\022\023\n\013region_code\030\002 \001(\t\022b\n\020auxiliary_tabl" + + "es\030\003 \003(\0132H.google.privacy.dlp.v2.Privacy" + + "Metric.KMapEstimationConfig.AuxiliaryTab" + + "le\032\300\001\n\013TaggedField\0222\n\005field\030\001 \001(\0132\036.goog" + + "le.privacy.dlp.v2.FieldIdB\003\340A\002\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\315\002" + + "\n\016AuxiliaryTable\0228\n\005table\030\003 \001(\0132$.google" + + ".privacy.dlp.v2.BigQueryTableB\003\340A\002\022m\n\tqu" + + "asi_ids\030\001 \003(\0132U.google.privacy.dlp.v2.Pr" + + "ivacyMetric.KMapEstimationConfig.Auxilia" + + "ryTable.QuasiIdFieldB\003\340A\002\022?\n\022relative_fr" + + "equency\030\002 \001(\0132\036.google.privacy.dlp.v2.Fi" + + "eldIdB\003\340A\002\032Q\n\014QuasiIdField\022-\n\005field\030\001 \001(" + + "\0132\036.google.privacy.dlp.v2.FieldId\022\022\n\ncus" + + "tom_tag\030\002 \001(\t\032\257\001\n\035DeltaPresenceEstimatio" + + "nConfig\0226\n\tquasi_ids\030\001 \003(\0132\036.google.priv" + + "acy.dlp.v2.QuasiIdB\003\340A\002\022\023\n\013region_code\030\002" + + " \001(\t\022A\n\020auxiliary_tables\030\003 \003(\0132\'.google." + + "privacy.dlp.v2.StatisticalTableB\006\n\004type\"" + + "\362\035\n\034AnalyzeDataSourceRiskDetails\022F\n\030requ" + + "ested_privacy_metric\030\001 \001(\0132$.google.priv" + + "acy.dlp.v2.PrivacyMetric\022D\n\026requested_so" + + "urce_table\030\002 \001(\0132$.google.privacy.dlp.v2" + + ".BigQueryTable\022j\n\026numerical_stats_result" + + "\030\003 \001(\0132H.google.privacy.dlp.v2.AnalyzeDa" + + "taSourceRiskDetails.NumericalStatsResult" + + "H\000\022n\n\030categorical_stats_result\030\004 \001(\0132J.g" + "oogle.privacy.dlp.v2.AnalyzeDataSourceRi" - + "skDetails.KAnonymityResult.KAnonymityHis" - + "togramBucket\032t\n\032KAnonymityEquivalenceCla" - + "ss\0226\n\020quasi_ids_values\030\001 \003(\0132\034.google.pr" - + "ivacy.dlp.v2.Value\022\036\n\026equivalence_class_" - + "size\030\002 \001(\003\032\234\002\n\031KAnonymityHistogramBucket" - + "\022*\n\"equivalence_class_size_lower_bound\030\001" - + " \001(\003\022*\n\"equivalence_class_size_upper_bou" - + "nd\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.Ana" - + "lyzeDataSourceRiskDetails.KAnonymityResu" - + "lt.KAnonymityEquivalenceClass\022\032\n\022bucket_" - + "value_count\030\005 \001(\003\032\260\005\n\020LDiversityResult\022\223" - + "\001\n+sensitive_value_frequency_histogram_b" - + "uckets\030\005 \003(\0132^.google.privacy.dlp.v2.Ana" - + "lyzeDataSourceRiskDetails.LDiversityResu" - + "lt.LDiversityHistogramBucket\032\340\001\n\032LDivers" - + "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\022%\n\035num_disti" - + "nct_sensitive_values\030\003 \001(\003\022C\n\024top_sensit" - + "ive_values\030\004 \003(\0132%.google.privacy.dlp.v2" - + ".ValueFrequency\032\242\002\n\031LDiversityHistogramB" - + "ucket\022-\n%sensitive_value_frequency_lower" - + "_bound\030\001 \001(\003\022-\n%sensitive_value_frequenc" - + "y_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.AnalyzeDataSourceRiskDetails.LDi" - + "versityResult.LDiversityEquivalenceClass" - + "\022\032\n\022bucket_value_count\030\005 \001(\003\032\225\004\n\024KMapEst" - + "imationResult\022\212\001\n\032k_map_estimation_histo" - + "gram\030\001 \003(\0132f.google.privacy.dlp.v2.Analy" - + "zeDataSourceRiskDetails.KMapEstimationRe" - + "sult.KMapEstimationHistogramBucket\032r\n\033KM" - + "apEstimationQuasiIdValues\0226\n\020quasi_ids_v" - + "alues\030\001 \003(\0132\034.google.privacy.dlp.v2.Valu" - + "e\022\033\n\023estimated_anonymity\030\002 \001(\003\032\373\001\n\035KMapE" - + "stimationHistogramBucket\022\025\n\rmin_anonymit" - + "y\030\001 \001(\003\022\025\n\rmax_anonymity\030\002 \001(\003\022\023\n\013bucket" - + "_size\030\005 \001(\003\022{\n\rbucket_values\030\006 \003(\0132d.goo" - + "gle.privacy.dlp.v2.AnalyzeDataSourceRisk" - + "Details.KMapEstimationResult.KMapEstimat" - + "ionQuasiIdValues\022\032\n\022bucket_value_count\030\007" - + " \001(\003\032\344\004\n\035DeltaPresenceEstimationResult\022\245" - + "\001\n#delta_presence_estimation_histogram\030\001" - + " \003(\0132x.google.privacy.dlp.v2.AnalyzeData" - + "SourceRiskDetails.DeltaPresenceEstimatio" - + "nResult.DeltaPresenceEstimationHistogram" - + "Bucket\032}\n$DeltaPresenceEstimationQuasiId" - + "Values\0226\n\020quasi_ids_values\030\001 \003(\0132\034.googl" - + "e.privacy.dlp.v2.Value\022\035\n\025estimated_prob" - + "ability\030\002 \001(\001\032\233\002\n&DeltaPresenceEstimatio" - + "nHistogramBucket\022\027\n\017min_probability\030\001 \001(" - + "\001\022\027\n\017max_probability\030\002 \001(\001\022\023\n\013bucket_siz" - + "e\030\005 \001(\003\022\215\001\n\rbucket_values\030\006 \003(\0132v.google" - + ".privacy.dlp.v2.AnalyzeDataSourceRiskDet" - + "ails.DeltaPresenceEstimationResult.Delta" - + "PresenceEstimationQuasiIdValues\022\032\n\022bucke" - + "t_value_count\030\007 \001(\003B\010\n\006result\"L\n\016ValueFr" - + "equency\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\017timestamp_value\030\005 \001(\0132" - + "\032.google.protobuf.TimestampH\000\022,\n\ntime_va" - + "lue\030\006 \001(\0132\026.google.type.TimeOfDayH\000\022\'\n\nd" - + "ate_value\030\007 \001(\0132\021.google.type.DateH\000\0223\n\021" - + "day_of_week_value\030\010 \001(\0162\026.google.type.Da" - + "yOfWeekH\000B\006\n\004type\"Q\n\tQuoteInfo\0224\n\tdate_t" - + "ime\030\002 \001(\0132\037.google.privacy.dlp.v2.DateTi" - + "meH\000B\016\n\014parsed_quote\"\337\001\n\010DateTime\022\037\n\004dat" - + "e\030\001 \001(\0132\021.google.type.Date\022+\n\013day_of_wee" - + "k\030\002 \001(\0162\026.google.type.DayOfWeek\022$\n\004time\030" - + "\003 \001(\0132\026.google.type.TimeOfDay\022;\n\ttime_zo" - + "ne\030\004 \001(\0132(.google.privacy.dlp.v2.DateTim" - + "e.TimeZone\032\"\n\010TimeZone\022\026\n\016offset_minutes" - + "\030\001 \001(\005\"\244\002\n\020DeidentifyConfig\022S\n\031info_type" - + "_transformations\030\001 \001(\0132..google.privacy." - + "dlp.v2.InfoTypeTransformationsH\000\022N\n\026reco" - + "rd_transformations\030\002 \001(\0132,.google.privac" - + "y.dlp.v2.RecordTransformationsH\000\022Y\n\035tran" - + "sformation_error_handling\030\003 \001(\01322.google" - + ".privacy.dlp.v2.TransformationErrorHandl" - + "ingB\020\n\016transformation\"\205\002\n\033Transformation" - + "ErrorHandling\022T\n\013throw_error\030\001 \001(\0132=.goo" - + "gle.privacy.dlp.v2.TransformationErrorHa" - + "ndling.ThrowErrorH\000\022d\n\023leave_untransform" - + "ed\030\002 \001(\0132E.google.privacy.dlp.v2.Transfo" - + "rmationErrorHandling.LeaveUntransformedH" - + "\000\032\014\n\nThrowError\032\024\n\022LeaveUntransformedB\006\n" - + "\004mode\"\365\006\n\027PrimitiveTransformation\022C\n\016rep" - + "lace_config\030\001 \001(\0132).google.privacy.dlp.v" - + "2.ReplaceValueConfigH\000\022<\n\rredact_config\030" - + "\002 \001(\0132#.google.privacy.dlp.v2.RedactConf" - + "igH\000\022K\n\025character_mask_config\030\003 \001(\0132*.go" - + "ogle.privacy.dlp.v2.CharacterMaskConfigH" - + "\000\022Y\n\035crypto_replace_ffx_fpe_config\030\004 \001(\013" - + "20.google.privacy.dlp.v2.CryptoReplaceFf" - + "xFpeConfigH\000\022V\n\033fixed_size_bucketing_con" - + "fig\030\005 \001(\0132/.google.privacy.dlp.v2.FixedS" - + "izeBucketingConfigH\000\022B\n\020bucketing_config", - "\030\006 \001(\0132&.google.privacy.dlp.v2.Bucketing" - + "ConfigH\000\022Y\n\035replace_with_info_type_confi" - + "g\030\007 \001(\01320.google.privacy.dlp.v2.ReplaceW" - + "ithInfoTypeConfigH\000\022A\n\020time_part_config\030" - + "\010 \001(\0132%.google.privacy.dlp.v2.TimePartCo" - + "nfigH\000\022E\n\022crypto_hash_config\030\t \001(\0132\'.goo" - + "gle.privacy.dlp.v2.CryptoHashConfigH\000\022C\n" - + "\021date_shift_config\030\013 \001(\0132&.google.privac" - + "y.dlp.v2.DateShiftConfigH\000\022W\n\033crypto_det" - + "erministic_config\030\014 \001(\01320.google.privacy" - + ".dlp.v2.CryptoDeterministicConfigH\000B\020\n\016t" - + "ransformation\"\334\001\n\016TimePartConfig\022G\n\017part" - + "_to_extract\030\001 \001(\0162..google.privacy.dlp.v" - + "2.TimePartConfig.TimePart\"\200\001\n\010TimePart\022\031" - + "\n\025TIME_PART_UNSPECIFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005M" - + "ONTH\020\002\022\020\n\014DAY_OF_MONTH\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\020" - + "CryptoHashConfig\0224\n\ncrypto_key\030\001 \001(\0132 .g" - + "oogle.privacy.dlp.v2.CryptoKey\"\300\001\n\031Crypt" - + "oDeterministicConfig\0224\n\ncrypto_key\030\001 \001(\013" - + "2 .google.privacy.dlp.v2.CryptoKey\022<\n\023su" - + "rrogate_info_type\030\002 \001(\0132\037.google.privacy" - + ".dlp.v2.InfoType\022/\n\007context\030\003 \001(\0132\036.goog" - + "le.privacy.dlp.v2.FieldId\"E\n\022ReplaceValu" - + "eConfig\022/\n\tnew_value\030\001 \001(\0132\034.google.priv" - + "acy.dlp.v2.Value\"\033\n\031ReplaceWithInfoTypeC" - + "onfig\"\016\n\014RedactConfig\"\266\002\n\rCharsToIgnore\022" - + "\034\n\022characters_to_skip\030\001 \001(\tH\000\022_\n\033common_" - + "characters_to_ignore\030\002 \001(\01628.google.priv" - + "acy.dlp.v2.CharsToIgnore.CommonCharsToIg" - + "noreH\000\"\227\001\n\023CommonCharsToIgnore\022&\n\"COMMON" - + "_CHARS_TO_IGNORE_UNSPECIFIED\020\000\022\013\n\007NUMERI" - + "C\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020ALPHA_LOWER" - + "_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHITESPACE\020\005" - + "B\014\n\ncharacters\"\243\001\n\023CharacterMaskConfig\022\031" - + "\n\021masking_character\030\001 \001(\t\022\026\n\016number_to_m" - + "ask\030\002 \001(\005\022\025\n\rreverse_order\030\003 \001(\010\022B\n\024char" - + "acters_to_ignore\030\004 \003(\0132$.google.privacy." - + "dlp.v2.CharsToIgnore\"\244\001\n\030FixedSizeBucket" - + "ingConfig\0226\n\013lower_bound\030\001 \001(\0132\034.google." - + "privacy.dlp.v2.ValueB\003\340A\002\0226\n\013upper_bound" - + "\030\002 \001(\0132\034.google.privacy.dlp.v2.ValueB\003\340A" - + "\002\022\030\n\013bucket_size\030\003 \001(\001B\003\340A\002\"\353\001\n\017Bucketin" - + "gConfig\022>\n\007buckets\030\001 \003(\0132-.google.privac" - + "y.dlp.v2.BucketingConfig.Bucket\032\227\001\n\006Buck" - + "et\022)\n\003min\030\001 \001(\0132\034.google.privacy.dlp.v2." - + "Value\022)\n\003max\030\002 \001(\0132\034.google.privacy.dlp." - + "v2.Value\0227\n\021replacement_value\030\003 \001(\0132\034.go" - + "ogle.privacy.dlp.v2.Value\"\371\003\n\031CryptoRepl" - + "aceFfxFpeConfig\0229\n\ncrypto_key\030\001 \001(\0132 .go" - + "ogle.privacy.dlp.v2.CryptoKeyB\003\340A\002\022/\n\007co" - + "ntext\030\002 \001(\0132\036.google.privacy.dlp.v2.Fiel" - + "dId\022c\n\017common_alphabet\030\004 \001(\0162H.google.pr" - + "ivacy.dlp.v2.CryptoReplaceFfxFpeConfig.F" - + "fxCommonNativeAlphabetH\000\022\031\n\017custom_alpha" - + "bet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023surrogat" - + "e_info_type\030\010 \001(\0132\037.google.privacy.dlp.v" - + "2.InfoType\"\224\001\n\027FfxCommonNativeAlphabet\022*" - + "\n&FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED" - + "\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADECIMAL\020\002\022\034\n\030UPPE" - + "R_CASE_ALPHA_NUMERIC\020\003\022\021\n\rALPHA_NUMERIC\020" - + "\004B\n\n\010alphabet\"\330\001\n\tCryptoKey\022>\n\ttransient" - + "\030\001 \001(\0132).google.privacy.dlp.v2.Transient" - + "CryptoKeyH\000\022>\n\tunwrapped\030\002 \001(\0132).google." - + "privacy.dlp.v2.UnwrappedCryptoKeyH\000\022A\n\013k" - + "ms_wrapped\030\003 \001(\0132*.google.privacy.dlp.v2" - + ".KmsWrappedCryptoKeyH\000B\010\n\006source\"\'\n\022Tran" - + "sientCryptoKey\022\021\n\004name\030\001 \001(\tB\003\340A\002\"&\n\022Unw" - + "rappedCryptoKey\022\020\n\003key\030\001 \001(\014B\003\340A\002\"M\n\023Kms" - + "WrappedCryptoKey\022\030\n\013wrapped_key\030\001 \001(\014B\003\340" - + "A\002\022\034\n\017crypto_key_name\030\002 \001(\tB\003\340A\002\"\302\001\n\017Dat" - + "eShiftConfig\022\035\n\020upper_bound_days\030\001 \001(\005B\003" - + "\340A\002\022\035\n\020lower_bound_days\030\002 \001(\005B\003\340A\002\022/\n\007co" - + "ntext\030\003 \001(\0132\036.google.privacy.dlp.v2.Fiel" - + "dId\0226\n\ncrypto_key\030\004 \001(\0132 .google.privacy" - + ".dlp.v2.CryptoKeyH\000B\010\n\006method\"\245\002\n\027InfoTy" - + "peTransformations\022c\n\017transformations\030\001 \003" - + "(\0132E.google.privacy.dlp.v2.InfoTypeTrans" - + "formations.InfoTypeTransformationB\003\340A\002\032\244" - + "\001\n\026InfoTypeTransformation\0223\n\ninfo_types\030" - + "\001 \003(\0132\037.google.privacy.dlp.v2.InfoType\022U" - + "\n\030primitive_transformation\030\002 \001(\0132..googl" - + "e.privacy.dlp.v2.PrimitiveTransformation" - + "B\003\340A\002\"\300\002\n\023FieldTransformation\0223\n\006fields\030" - + "\001 \003(\0132\036.google.privacy.dlp.v2.FieldIdB\003\340" - + "A\002\0229\n\tcondition\030\003 \001(\0132&.google.privacy.d" - + "lp.v2.RecordCondition\022R\n\030primitive_trans" - + "formation\030\004 \001(\0132..google.privacy.dlp.v2." - + "PrimitiveTransformationH\000\022S\n\031info_type_t" - + "ransformations\030\005 \001(\0132..google.privacy.dl" - + "p.v2.InfoTypeTransformationsH\000B\020\n\016transf" - + "ormation\"\251\001\n\025RecordTransformations\022I\n\025fi" - + "eld_transformations\030\001 \003(\0132*.google.priva" - + "cy.dlp.v2.FieldTransformation\022E\n\023record_" - + "suppressions\030\002 \003(\0132(.google.privacy.dlp." - + "v2.RecordSuppression\"N\n\021RecordSuppressio" - + "n\0229\n\tcondition\030\001 \001(\0132&.google.privacy.dl" - + "p.v2.RecordCondition\"\334\004\n\017RecordCondition" - + "\022G\n\013expressions\030\003 \001(\01322.google.privacy.d" - + "lp.v2.RecordCondition.Expressions\032\256\001\n\tCo" - + "ndition\0222\n\005field\030\001 \001(\0132\036.google.privacy." - + "dlp.v2.FieldIdB\003\340A\002\022@\n\010operator\030\003 \001(\0162)." - + "google.privacy.dlp.v2.RelationalOperator" - + "B\003\340A\002\022+\n\005value\030\004 \001(\0132\034.google.privacy.dl" - + "p.v2.Value\032R\n\nConditions\022D\n\nconditions\030\001" - + " \003(\01320.google.privacy.dlp.v2.RecordCondi" - + "tion.Condition\032\372\001\n\013Expressions\022\\\n\020logica" - + "l_operator\030\001 \001(\0162B.google.privacy.dlp.v2" - + ".RecordCondition.Expressions.LogicalOper" - + "ator\022G\n\nconditions\030\003 \001(\01321.google.privac" - + "y.dlp.v2.RecordCondition.ConditionsH\000\"<\n" - + "\017LogicalOperator\022 \n\034LOGICAL_OPERATOR_UNS" - + "PECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026Transfor" - + "mationOverview\022\031\n\021transformed_bytes\030\002 \001(" - + "\003\022N\n\030transformation_summaries\030\003 \003(\0132,.go" - + "ogle.privacy.dlp.v2.TransformationSummar" - + "y\"\237\005\n\025TransformationSummary\0222\n\tinfo_type" - + "\030\001 \001(\0132\037.google.privacy.dlp.v2.InfoType\022" - + "-\n\005field\030\002 \001(\0132\036.google.privacy.dlp.v2.F" - + "ieldId\022F\n\016transformation\030\003 \001(\0132..google." - + "privacy.dlp.v2.PrimitiveTransformation\022I" - + "\n\025field_transformations\030\005 \003(\0132*.google.p" - + "rivacy.dlp.v2.FieldTransformation\022A\n\017rec" - + "ord_suppress\030\006 \001(\0132(.google.privacy.dlp." - + "v2.RecordSuppression\022K\n\007results\030\004 \003(\0132:." - + "google.privacy.dlp.v2.TransformationSumm" - + "ary.SummaryResult\022\031\n\021transformed_bytes\030\007" - + " \001(\003\032\204\001\n\rSummaryResult\022\r\n\005count\030\001 \001(\003\022S\n" - + "\004code\030\002 \001(\0162E.google.privacy.dlp.v2.Tran" - + "sformationSummary.TransformationResultCo" - + "de\022\017\n\007details\030\003 \001(\t\"^\n\030TransformationRes" - + "ultCode\022*\n&TRANSFORMATION_RESULT_CODE_UN" - + "SPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002\"U\n\010S" - + "chedule\022?\n\032recurrence_period_duration\030\001 " - + "\001(\0132\031.google.protobuf.DurationH\000B\010\n\006opti" - + "on\"\010\n\006Manual\"\302\004\n\017InspectTemplate\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\023\n\013des" - + "cription\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" - + "ime\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\022<\n\016inspect_config\030\006 \001(\0132$.google.priv" - + "acy.dlp.v2.InspectConfig:\306\002\352A\302\002\n\"dlp.goo" - + "gleapis.com/InspectTemplate\022@organizatio" - + "ns/{organization}/inspectTemplates/{insp" - + "ect_template}\0226projects/{project}/inspec" - + "tTemplates/{inspect_template}\022Uorganizat" - + "ions/{organization}/locations/{location}" - + "/inspectTemplates/{inspect_template}\022Kpr" - + "ojects/{project}/locations/{location}/in" - + "spectTemplates/{inspect_template}\"\346\004\n\022De" - + "identifyTemplate\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014d" - + "isplay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224" - + "\n\013create_time\030\004 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022B\n\021deidentify" - + "_config\030\006 \001(\0132\'.google.privacy.dlp.v2.De" - + "identifyConfig:\341\002\352A\335\002\n%dlp.googleapis.co" - + "m/DeidentifyTemplate\022Forganizations/{org" - + "anization}/deidentifyTemplates/{deidenti" - + "fy_template}\022\n\013inspect_job\030\004 \001(\0132\'." - + "google.privacy.dlp.v2.InspectJobConfigH\000" - + "\022;\n\010triggers\030\005 \003(\0132).google.privacy.dlp." - + "v2.JobTrigger.Trigger\0221\n\006errors\030\006 \003(\0132\034." - + "google.privacy.dlp.v2.ErrorB\003\340A\003\0224\n\013crea" - + "te_time\030\007 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\0226\n\rlast_run_time\030\t " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022=\n\006" - + "status\030\n \001(\0162(.google.privacy.dlp.v2.Job" - + "Trigger.StatusB\003\340A\002\032z\n\007Trigger\0223\n\010schedu" - + "le\030\001 \001(\0132\037.google.privacy.dlp.v2.Schedul" - + "eH\000\022/\n\006manual\030\002 \001(\0132\035.google.privacy.dlp" - + ".v2.ManualH\000B\t\n\007trigger\"H\n\006Status\022\026\n\022STA" - + "TUS_UNSPECIFIED\020\000\022\013\n\007HEALTHY\020\001\022\n\n\006PAUSED" - + "\020\002\022\r\n\tCANCELLED\020\003:\224\001\352A\220\001\n\035dlp.googleapis" - + ".com/JobTrigger\022,projects/{project}/jobT" - + "riggers/{job_trigger}\022Aprojects/{project" - + "}/locations/{location}/jobTriggers/{job_" - + "trigger}B\005\n\003job\"\364\005\n\006Action\022C\n\rsave_findi" - + "ngs\030\001 \001(\0132*.google.privacy.dlp.v2.Action" - + ".SaveFindingsH\000\022@\n\007pub_sub\030\002 \001(\0132-.googl" - + "e.privacy.dlp.v2.Action.PublishToPubSubH" - + "\000\022U\n\027publish_summary_to_cscc\030\003 \001(\01322.goo" - + "gle.privacy.dlp.v2.Action.PublishSummary" - + "ToCsccH\000\022q\n&publish_findings_to_cloud_da" - + "ta_catalog\030\005 \001(\0132?.google.privacy.dlp.v2" - + ".Action.PublishFindingsToCloudDataCatalo" - + "gH\000\022V\n\027job_notification_emails\030\010 \001(\01323.g" - + "oogle.privacy.dlp.v2.Action.JobNotificat" - + "ionEmailsH\000\022T\n\026publish_to_stackdriver\030\t " - + "\001(\01322.google.privacy.dlp.v2.Action.Publi" - + "shToStackdriverH\000\032Q\n\014SaveFindings\022A\n\rout" - + "put_config\030\001 \001(\0132*.google.privacy.dlp.v2" - + ".OutputStorageConfig\032 \n\017PublishToPubSub\022" - + "\r\n\005topic\030\001 \001(\t\032\026\n\024PublishSummaryToCscc\032#" - + "\n!PublishFindingsToCloudDataCatalog\032\027\n\025J" - + "obNotificationEmails\032\026\n\024PublishToStackdr" - + "iverB\010\n\006action\"\313\001\n\034CreateInspectTemplate" - + "Request\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.goo" - + "gleapis.com/InspectTemplate\022E\n\020inspect_t" - + "emplate\030\002 \001(\0132&.google.privacy.dlp.v2.In" - + "spectTemplateB\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022" - + "\023\n\013location_id\030\004 \001(\t\"\313\001\n\034UpdateInspectTe" - + "mplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp" - + ".googleapis.com/InspectTemplate\022@\n\020inspe" - + "ct_template\030\002 \001(\0132&.google.privacy.dlp.v" - + "2.InspectTemplate\022/\n\013update_mask\030\003 \001(\0132\032" - + ".google.protobuf.FieldMask\"U\n\031GetInspect" - + "TemplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"d" - + "lp.googleapis.com/InspectTemplate\"\247\001\n\033Li" - + "stInspectTemplatesRequest\022:\n\006parent\030\001 \001(" - + "\tB*\340A\002\372A$\022\"dlp.googleapis.com/InspectTem" - + "plate\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\023\n\013location_id\030\005 " - + "\001(\t\"z\n\034ListInspectTemplatesResponse\022A\n\021i" - + "nspect_templates\030\001 \003(\0132&.google.privacy." - + "dlp.v2.InspectTemplate\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"X\n\034DeleteInspectTemplateRequest\022" - + "8\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googleapis.co" - + "m/InspectTemplate\"\304\001\n\027CreateJobTriggerRe" - + "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" - + "urcemanager.googleapis.com/Project\022;\n\013jo" - + "b_trigger\030\002 \001(\0132!.google.privacy.dlp.v2." - + "JobTriggerB\003\340A\002\022\022\n\ntrigger_id\030\003 \001(\t\022\023\n\013l" - + "ocation_id\030\004 \001(\t\"P\n\031ActivateJobTriggerRe" + + "skDetails.CategoricalStatsResultH\000\022b\n\022k_" + + "anonymity_result\030\005 \001(\0132D.google.privacy." + + "dlp.v2.AnalyzeDataSourceRiskDetails.KAno" + + "nymityResultH\000\022b\n\022l_diversity_result\030\006 \001" + + "(\0132D.google.privacy.dlp.v2.AnalyzeDataSo" + + "urceRiskDetails.LDiversityResultH\000\022k\n\027k_" + + "map_estimation_result\030\007 \001(\0132H.google.pri" + + "vacy.dlp.v2.AnalyzeDataSourceRiskDetails" + + ".KMapEstimationResultH\000\022}\n delta_presenc" + + "e_estimation_result\030\t \001(\0132Q.google.priva" + + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.D" + + "eltaPresenceEstimationResultH\000\032\257\001\n\024Numer" + + "icalStatsResult\022/\n\tmin_value\030\001 \001(\0132\034.goo" + + "gle.privacy.dlp.v2.Value\022/\n\tmax_value\030\002 " + + "\001(\0132\034.google.privacy.dlp.v2.Value\0225\n\017qua" + + "ntile_values\030\004 \003(\0132\034.google.privacy.dlp." + + "v2.Value\032\215\003\n\026CategoricalStatsResult\022\225\001\n!" + + "value_frequency_histogram_buckets\030\005 \003(\0132" + + "j.google.privacy.dlp.v2.AnalyzeDataSourc" + + "eRiskDetails.CategoricalStatsResult.Cate" + + "goricalStatsHistogramBucket\032\332\001\n\037Categori" + + "calStatsHistogramBucket\022#\n\033value_frequen" + + "cy_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.d" + + "lp.v2.ValueFrequency\022\032\n\022bucket_value_cou" + + "nt\030\005 \001(\003\032\265\004\n\020KAnonymityResult\022\213\001\n#equiva" + + "lence_class_histogram_buckets\030\005 \003(\0132^.go" + + "ogle.privacy.dlp.v2.AnalyzeDataSourceRis" + + "kDetails.KAnonymityResult.KAnonymityHist" + + "ogramBucket\032t\n\032KAnonymityEquivalenceClas" + + "s\0226\n\020quasi_ids_values\030\001 \003(\0132\034.google.pri" + + "vacy.dlp.v2.Value\022\036\n\026equivalence_class_s" + + "ize\030\002 \001(\003\032\234\002\n\031KAnonymityHistogramBucket\022" + + "*\n\"equivalence_class_size_lower_bound\030\001 " + + "\001(\003\022*\n\"equivalence_class_size_upper_boun" + + "d\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucket_v" + + "alues\030\004 \003(\0132_.google.privacy.dlp.v2.Anal" + + "yzeDataSourceRiskDetails.KAnonymityResul" + + "t.KAnonymityEquivalenceClass\022\032\n\022bucket_v" + + "alue_count\030\005 \001(\003\032\260\005\n\020LDiversityResult\022\223\001" + + "\n+sensitive_value_frequency_histogram_bu" + + "ckets\030\005 \003(\0132^.google.privacy.dlp.v2.Anal" + + "yzeDataSourceRiskDetails.LDiversityResul" + + "t.LDiversityHistogramBucket\032\340\001\n\032LDiversi" + + "tyEquivalenceClass\0226\n\020quasi_ids_values\030\001" + + " \003(\0132\034.google.privacy.dlp.v2.Value\022\036\n\026eq" + + "uivalence_class_size\030\002 \001(\003\022%\n\035num_distin" + + "ct_sensitive_values\030\003 \001(\003\022C\n\024top_sensiti" + + "ve_values\030\004 \003(\0132%.google.privacy.dlp.v2." + + "ValueFrequency\032\242\002\n\031LDiversityHistogramBu" + + "cket\022-\n%sensitive_value_frequency_lower_" + + "bound\030\001 \001(\003\022-\n%sensitive_value_frequency" + + "_upper_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022" + + "v\n\rbucket_values\030\004 \003(\0132_.google.privacy." + + "dlp.v2.AnalyzeDataSourceRiskDetails.LDiv" + + "ersityResult.LDiversityEquivalenceClass\022" + + "\032\n\022bucket_value_count\030\005 \001(\003\032\225\004\n\024KMapEsti" + + "mationResult\022\212\001\n\032k_map_estimation_histog" + + "ram\030\001 \003(\0132f.google.privacy.dlp.v2.Analyz" + + "eDataSourceRiskDetails.KMapEstimationRes" + + "ult.KMapEstimationHistogramBucket\032r\n\033KMa" + + "pEstimationQuasiIdValues\0226\n\020quasi_ids_va" + + "lues\030\001 \003(\0132\034.google.privacy.dlp.v2.Value" + + "\022\033\n\023estimated_anonymity\030\002 \001(\003\032\373\001\n\035KMapEs" + + "timationHistogramBucket\022\025\n\rmin_anonymity" + + "\030\001 \001(\003\022\025\n\rmax_anonymity\030\002 \001(\003\022\023\n\013bucket_" + + "size\030\005 \001(\003\022{\n\rbucket_values\030\006 \003(\0132d.goog" + + "le.privacy.dlp.v2.AnalyzeDataSourceRiskD" + + "etails.KMapEstimationResult.KMapEstimati" + + "onQuasiIdValues\022\032\n\022bucket_value_count\030\007 " + + "\001(\003\032\344\004\n\035DeltaPresenceEstimationResult\022\245\001" + + "\n#delta_presence_estimation_histogram\030\001 " + + "\003(\0132x.google.privacy.dlp.v2.AnalyzeDataS" + + "ourceRiskDetails.DeltaPresenceEstimation" + + "Result.DeltaPresenceEstimationHistogramB" + + "ucket\032}\n$DeltaPresenceEstimationQuasiIdV" + + "alues\0226\n\020quasi_ids_values\030\001 \003(\0132\034.google" + + ".privacy.dlp.v2.Value\022\035\n\025estimated_proba" + + "bility\030\002 \001(\001\032\233\002\n&DeltaPresenceEstimation" + + "HistogramBucket\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_values\030\006 \003(\0132v.google." + + "privacy.dlp.v2.AnalyzeDataSourceRiskDeta" + + "ils.DeltaPresenceEstimationResult.DeltaP" + + "resenceEstimationQuasiIdValues\022\032\n\022bucket" + + "_value_count\030\007 \001(\003B\010\n\006result\"L\n\016ValueFre" + + "quency\022+\n\005value\030\001 \001(\0132\034.google.privacy.d" + + "lp.v2.Value\022\r\n\005count\030\002 \001(\003\"\263\002\n\005Value\022\027\n\r" + + "integer_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\017timestamp_value\030\005 \001(\0132\032" + + ".google.protobuf.TimestampH\000\022,\n\ntime_val" + + "ue\030\006 \001(\0132\026.google.type.TimeOfDayH\000\022\'\n\nda" + + "te_value\030\007 \001(\0132\021.google.type.DateH\000\0223\n\021d" + + "ay_of_week_value\030\010 \001(\0162\026.google.type.Day" + + "OfWeekH\000B\006\n\004type\"Q\n\tQuoteInfo\0224\n\tdate_ti" + + "me\030\002 \001(\0132\037.google.privacy.dlp.v2.DateTim" + + "eH\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.TimeOfDay\022;\n\ttime_zon" + + "e\030\004 \001(\0132(.google.privacy.dlp.v2.DateTime" + + ".TimeZone\032\"\n\010TimeZone\022\026\n\016offset_minutes\030" + + "\001 \001(\005\"\244\002\n\020DeidentifyConfig\022S\n\031info_type_" + + "transformations\030\001 \001(\0132..google.privacy.d" + + "lp.v2.InfoTypeTransformationsH\000\022N\n\026recor" + + "d_transformations\030\002 \001(\0132,.google.privacy" + + ".dlp.v2.RecordTransformationsH\000\022Y\n\035trans" + + "formation_error_handling\030\003 \001(\01322.google." + + "privacy.dlp.v2.TransformationErrorHandli" + + "ngB\020\n\016transformation\"\205\002\n\033TransformationE" + + "rrorHandling\022T\n\013throw_error\030\001 \001(\0132=.goog" + + "le.privacy.dlp.v2.TransformationErrorHan" + + "dling.ThrowErrorH\000\022d\n\023leave_untransforme" + + "d\030\002 \001(\0132E.google.privacy.dlp.v2.Transfor" + + "mationErrorHandling.LeaveUntransformedH\000" + + "\032\014\n\nThrowError\032\024\n\022LeaveUntransformedB\006\n\004" + + "mode\"\365\006\n\027PrimitiveTransformation\022C\n\016repl" + + "ace_config\030\001 \001(\0132).google.privacy.dlp.v2" + + ".ReplaceValueConfigH\000\022<\n\rredact_config\030\002" + + " \001(\0132#.google.privacy.dlp.v2.RedactConfi", + "gH\000\022K\n\025character_mask_config\030\003 \001(\0132*.goo" + + "gle.privacy.dlp.v2.CharacterMaskConfigH\000" + + "\022Y\n\035crypto_replace_ffx_fpe_config\030\004 \001(\0132" + + "0.google.privacy.dlp.v2.CryptoReplaceFfx" + + "FpeConfigH\000\022V\n\033fixed_size_bucketing_conf" + + "ig\030\005 \001(\0132/.google.privacy.dlp.v2.FixedSi" + + "zeBucketingConfigH\000\022B\n\020bucketing_config\030" + + "\006 \001(\0132&.google.privacy.dlp.v2.BucketingC" + + "onfigH\000\022Y\n\035replace_with_info_type_config" + + "\030\007 \001(\01320.google.privacy.dlp.v2.ReplaceWi" + + "thInfoTypeConfigH\000\022A\n\020time_part_config\030\010" + + " \001(\0132%.google.privacy.dlp.v2.TimePartCon" + + "figH\000\022E\n\022crypto_hash_config\030\t \001(\0132\'.goog" + + "le.privacy.dlp.v2.CryptoHashConfigH\000\022C\n\021" + + "date_shift_config\030\013 \001(\0132&.google.privacy" + + ".dlp.v2.DateShiftConfigH\000\022W\n\033crypto_dete" + + "rministic_config\030\014 \001(\01320.google.privacy." + + "dlp.v2.CryptoDeterministicConfigH\000B\020\n\016tr" + + "ansformation\"\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_UNSPECIFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005MO" + + "NTH\020\002\022\020\n\014DAY_OF_MONTH\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\020C" + + "ryptoHashConfig\0224\n\ncrypto_key\030\001 \001(\0132 .go" + + "ogle.privacy.dlp.v2.CryptoKey\"\300\001\n\031Crypto" + + "DeterministicConfig\0224\n\ncrypto_key\030\001 \001(\0132" + + " .google.privacy.dlp.v2.CryptoKey\022<\n\023sur" + + "rogate_info_type\030\002 \001(\0132\037.google.privacy." + + "dlp.v2.InfoType\022/\n\007context\030\003 \001(\0132\036.googl" + + "e.privacy.dlp.v2.FieldId\"E\n\022ReplaceValue" + + "Config\022/\n\tnew_value\030\001 \001(\0132\034.google.priva" + + "cy.dlp.v2.Value\"\033\n\031ReplaceWithInfoTypeCo" + + "nfig\"\016\n\014RedactConfig\"\266\002\n\rCharsToIgnore\022\034" + + "\n\022characters_to_skip\030\001 \001(\tH\000\022_\n\033common_c" + + "haracters_to_ignore\030\002 \001(\01628.google.priva" + + "cy.dlp.v2.CharsToIgnore.CommonCharsToIgn" + + "oreH\000\"\227\001\n\023CommonCharsToIgnore\022&\n\"COMMON_" + + "CHARS_TO_IGNORE_UNSPECIFIED\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\013PUNCTUATION\020\004\022\016\n\nWHITESPACE\020\005B" + + "\014\n\ncharacters\"\243\001\n\023CharacterMaskConfig\022\031\n" + + "\021masking_character\030\001 \001(\t\022\026\n\016number_to_ma" + + "sk\030\002 \001(\005\022\025\n\rreverse_order\030\003 \001(\010\022B\n\024chara" + + "cters_to_ignore\030\004 \003(\0132$.google.privacy.d" + + "lp.v2.CharsToIgnore\"\244\001\n\030FixedSizeBucketi" + + "ngConfig\0226\n\013lower_bound\030\001 \001(\0132\034.google.p" + + "rivacy.dlp.v2.ValueB\003\340A\002\0226\n\013upper_bound\030" + + "\002 \001(\0132\034.google.privacy.dlp.v2.ValueB\003\340A\002" + + "\022\030\n\013bucket_size\030\003 \001(\001B\003\340A\002\"\353\001\n\017Bucketing" + + "Config\022>\n\007buckets\030\001 \003(\0132-.google.privacy" + + ".dlp.v2.BucketingConfig.Bucket\032\227\001\n\006Bucke" + + "t\022)\n\003min\030\001 \001(\0132\034.google.privacy.dlp.v2.V" + + "alue\022)\n\003max\030\002 \001(\0132\034.google.privacy.dlp.v" + + "2.Value\0227\n\021replacement_value\030\003 \001(\0132\034.goo" + + "gle.privacy.dlp.v2.Value\"\371\003\n\031CryptoRepla" + + "ceFfxFpeConfig\0229\n\ncrypto_key\030\001 \001(\0132 .goo" + + "gle.privacy.dlp.v2.CryptoKeyB\003\340A\002\022/\n\007con" + + "text\030\002 \001(\0132\036.google.privacy.dlp.v2.Field" + + "Id\022c\n\017common_alphabet\030\004 \001(\0162H.google.pri" + + "vacy.dlp.v2.CryptoReplaceFfxFpeConfig.Ff" + + "xCommonNativeAlphabetH\000\022\031\n\017custom_alphab" + + "et\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023surrogate" + + "_info_type\030\010 \001(\0132\037.google.privacy.dlp.v2" + + ".InfoType\"\224\001\n\027FfxCommonNativeAlphabet\022*\n" + + "&FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\020" + + "\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADECIMAL\020\002\022\034\n\030UPPER" + + "_CASE_ALPHA_NUMERIC\020\003\022\021\n\rALPHA_NUMERIC\020\004" + + "B\n\n\010alphabet\"\330\001\n\tCryptoKey\022>\n\ttransient\030" + + "\001 \001(\0132).google.privacy.dlp.v2.TransientC" + + "ryptoKeyH\000\022>\n\tunwrapped\030\002 \001(\0132).google.p" + + "rivacy.dlp.v2.UnwrappedCryptoKeyH\000\022A\n\013km" + + "s_wrapped\030\003 \001(\0132*.google.privacy.dlp.v2." + + "KmsWrappedCryptoKeyH\000B\010\n\006source\"\'\n\022Trans" + + "ientCryptoKey\022\021\n\004name\030\001 \001(\tB\003\340A\002\"&\n\022Unwr" + + "appedCryptoKey\022\020\n\003key\030\001 \001(\014B\003\340A\002\"M\n\023KmsW" + + "rappedCryptoKey\022\030\n\013wrapped_key\030\001 \001(\014B\003\340A" + + "\002\022\034\n\017crypto_key_name\030\002 \001(\tB\003\340A\002\"\302\001\n\017Date" + + "ShiftConfig\022\035\n\020upper_bound_days\030\001 \001(\005B\003\340" + + "A\002\022\035\n\020lower_bound_days\030\002 \001(\005B\003\340A\002\022/\n\007con" + + "text\030\003 \001(\0132\036.google.privacy.dlp.v2.Field" + + "Id\0226\n\ncrypto_key\030\004 \001(\0132 .google.privacy." + + "dlp.v2.CryptoKeyH\000B\010\n\006method\"\245\002\n\027InfoTyp" + + "eTransformations\022c\n\017transformations\030\001 \003(" + + "\0132E.google.privacy.dlp.v2.InfoTypeTransf" + + "ormations.InfoTypeTransformationB\003\340A\002\032\244\001" + + "\n\026InfoTypeTransformation\0223\n\ninfo_types\030\001" + + " \003(\0132\037.google.privacy.dlp.v2.InfoType\022U\n" + + "\030primitive_transformation\030\002 \001(\0132..google" + + ".privacy.dlp.v2.PrimitiveTransformationB" + + "\003\340A\002\"\300\002\n\023FieldTransformation\0223\n\006fields\030\001" + + " \003(\0132\036.google.privacy.dlp.v2.FieldIdB\003\340A" + + "\002\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\"\334\004\n\017RecordCondition\022" + + "G\n\013expressions\030\003 \001(\01322.google.privacy.dl" + + "p.v2.RecordCondition.Expressions\032\256\001\n\tCon" + + "dition\0222\n\005field\030\001 \001(\0132\036.google.privacy.d" + + "lp.v2.FieldIdB\003\340A\002\022@\n\010operator\030\003 \001(\0162).g" + + "oogle.privacy.dlp.v2.RelationalOperatorB" + + "\003\340A\002\022+\n\005value\030\004 \001(\0132\034.google.privacy.dlp" + + ".v2.Value\032R\n\nConditions\022D\n\nconditions\030\001 " + + "\003(\01320.google.privacy.dlp.v2.RecordCondit" + + "ion.Condition\032\372\001\n\013Expressions\022\\\n\020logical" + + "_operator\030\001 \001(\0162B.google.privacy.dlp.v2." + + "RecordCondition.Expressions.LogicalOpera" + + "tor\022G\n\nconditions\030\003 \001(\01321.google.privacy" + + ".dlp.v2.RecordCondition.ConditionsH\000\"<\n\017" + + "LogicalOperator\022 \n\034LOGICAL_OPERATOR_UNSP" + + "ECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026Transform" + + "ationOverview\022\031\n\021transformed_bytes\030\002 \001(\003" + + "\022N\n\030transformation_summaries\030\003 \003(\0132,.goo" + + "gle.privacy.dlp.v2.TransformationSummary" + + "\"\237\005\n\025TransformationSummary\0222\n\tinfo_type\030" + + "\001 \001(\0132\037.google.privacy.dlp.v2.InfoType\022-" + + "\n\005field\030\002 \001(\0132\036.google.privacy.dlp.v2.Fi" + + "eldId\022F\n\016transformation\030\003 \001(\0132..google.p" + + "rivacy.dlp.v2.PrimitiveTransformation\022I\n" + + "\025field_transformations\030\005 \003(\0132*.google.pr" + + "ivacy.dlp.v2.FieldTransformation\022A\n\017reco" + + "rd_suppress\030\006 \001(\0132(.google.privacy.dlp.v" + + "2.RecordSuppression\022K\n\007results\030\004 \003(\0132:.g" + + "oogle.privacy.dlp.v2.TransformationSumma" + + "ry.SummaryResult\022\031\n\021transformed_bytes\030\007 " + + "\001(\003\032\204\001\n\rSummaryResult\022\r\n\005count\030\001 \001(\003\022S\n\004" + + "code\030\002 \001(\0162E.google.privacy.dlp.v2.Trans" + + "formationSummary.TransformationResultCod" + + "e\022\017\n\007details\030\003 \001(\t\"^\n\030TransformationResu" + + "ltCode\022*\n&TRANSFORMATION_RESULT_CODE_UNS" + + "PECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002\"U\n\010Sc" + + "hedule\022?\n\032recurrence_period_duration\030\001 \001" + + "(\0132\031.google.protobuf.DurationH\000B\010\n\006optio" + + "n\"\010\n\006Manual\"\302\004\n\017InspectTemplate\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\023\n\013desc" + + "ription\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\0224\n\013update_ti" + + "me\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\022<\n\016inspect_config\030\006 \001(\0132$.google.priva" + + "cy.dlp.v2.InspectConfig:\306\002\352A\302\002\n\"dlp.goog" + + "leapis.com/InspectTemplate\022@organization" + + "s/{organization}/inspectTemplates/{inspe" + + "ct_template}\0226projects/{project}/inspect" + + "Templates/{inspect_template}\022Uorganizati" + + "ons/{organization}/locations/{location}/" + + "inspectTemplates/{inspect_template}\022Kpro" + + "jects/{project}/locations/{location}/ins" + + "pectTemplates/{inspect_template}\"\346\004\n\022Dei" + + "dentifyTemplate\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014di" + + "splay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224\n" + + "\013create_time\030\004 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022B\n\021deidentify_" + + "config\030\006 \001(\0132\'.google.privacy.dlp.v2.Dei" + + "dentifyConfig:\341\002\352A\335\002\n%dlp.googleapis.com" + + "/DeidentifyTemplate\022Forganizations/{orga" + + "nization}/deidentifyTemplates/{deidentif" + + "y_template}\022\n\013inspect_job\030\004 \001(\0132\'.g" + + "oogle.privacy.dlp.v2.InspectJobConfigH\000\022" + + ";\n\010triggers\030\005 \003(\0132).google.privacy.dlp.v" + + "2.JobTrigger.Trigger\0221\n\006errors\030\006 \003(\0132\034.g" + + "oogle.privacy.dlp.v2.ErrorB\003\340A\003\0224\n\013creat" + + "e_time\030\007 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\0226\n\rlast_run_time\030\t \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022=\n\006s" + + "tatus\030\n \001(\0162(.google.privacy.dlp.v2.JobT" + + "rigger.StatusB\003\340A\002\032z\n\007Trigger\0223\n\010schedul" + + "e\030\001 \001(\0132\037.google.privacy.dlp.v2.Schedule" + + "H\000\022/\n\006manual\030\002 \001(\0132\035.google.privacy.dlp." + + "v2.ManualH\000B\t\n\007trigger\"H\n\006Status\022\026\n\022STAT" + + "US_UNSPECIFIED\020\000\022\013\n\007HEALTHY\020\001\022\n\n\006PAUSED\020" + + "\002\022\r\n\tCANCELLED\020\003:\224\001\352A\220\001\n\035dlp.googleapis." + + "com/JobTrigger\022,projects/{project}/jobTr" + + "iggers/{job_trigger}\022Aprojects/{project}" + + "/locations/{location}/jobTriggers/{job_t" + + "rigger}B\005\n\003job\"\364\005\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\022q\n&publish_findings_to_cloud_dat" + + "a_catalog\030\005 \001(\0132?.google.privacy.dlp.v2." + + "Action.PublishFindingsToCloudDataCatalog" + + "H\000\022V\n\027job_notification_emails\030\010 \001(\01323.go" + + "ogle.privacy.dlp.v2.Action.JobNotificati" + + "onEmailsH\000\022T\n\026publish_to_stackdriver\030\t \001" + + "(\01322.google.privacy.dlp.v2.Action.Publis" + + "hToStackdriverH\000\032Q\n\014SaveFindings\022A\n\routp" + + "ut_config\030\001 \001(\0132*.google.privacy.dlp.v2." + + "OutputStorageConfig\032 \n\017PublishToPubSub\022\r" + + "\n\005topic\030\001 \001(\t\032\026\n\024PublishSummaryToCscc\032#\n" + + "!PublishFindingsToCloudDataCatalog\032\027\n\025Jo" + + "bNotificationEmails\032\026\n\024PublishToStackdri" + + "verB\010\n\006action\"\313\001\n\034CreateInspectTemplateR" + + "equest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.goog" + + "leapis.com/InspectTemplate\022E\n\020inspect_te" + + "mplate\030\002 \001(\0132&.google.privacy.dlp.v2.Ins" + + "pectTemplateB\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022\023" + + "\n\013location_id\030\004 \001(\t\"\313\001\n\034UpdateInspectTem" + + "plateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp." + + "googleapis.com/InspectTemplate\022@\n\020inspec" + + "t_template\030\002 \001(\0132&.google.privacy.dlp.v2" + + ".InspectTemplate\022/\n\013update_mask\030\003 \001(\0132\032." + + "google.protobuf.FieldMask\"U\n\031GetInspectT" + + "emplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dl" + + "p.googleapis.com/InspectTemplate\"\247\001\n\033Lis" + + "tInspectTemplatesRequest\022:\n\006parent\030\001 \001(\t" + + "B*\340A\002\372A$\022\"dlp.googleapis.com/InspectTemp" + + "late\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\023\n\013location_id\030\005 \001" + + "(\t\"z\n\034ListInspectTemplatesResponse\022A\n\021in" + + "spect_templates\030\001 \003(\0132&.google.privacy.d" + + "lp.v2.InspectTemplate\022\027\n\017next_page_token" + + "\030\002 \001(\t\"X\n\034DeleteInspectTemplateRequest\0228" + + "\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googleapis.com" + + "/InspectTemplate\"\304\001\n\027CreateJobTriggerReq" + + "uest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresou" + + "rcemanager.googleapis.com/Project\022;\n\013job" + + "_trigger\030\002 \001(\0132!.google.privacy.dlp.v2.J" + + "obTriggerB\003\340A\002\022\022\n\ntrigger_id\030\003 \001(\t\022\023\n\013lo" + + "cation_id\030\004 \001(\t\"P\n\031ActivateJobTriggerReq" + + "uest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleap" + + "is.com/JobTrigger\"\267\001\n\027UpdateJobTriggerRe" + "quest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googlea" - + "pis.com/JobTrigger\"\267\001\n\027UpdateJobTriggerR" - + "equest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.google" - + "apis.com/JobTrigger\0226\n\013job_trigger\030\002 \001(\013" - + "2!.google.privacy.dlp.v2.JobTrigger\022/\n\013u" - + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" - + "Mask\"K\n\024GetJobTriggerRequest\0223\n\004name\030\001 \001" - + "(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTrigge" - + "r\"\210\002\n\023CreateDlpJobRequest\022C\n\006parent\030\001 \001(" - + "\tB3\340A\002\372A-\n+cloudresourcemanager.googleap" - + "is.com/Project\022>\n\013inspect_job\030\002 \001(\0132\'.go" - + "ogle.privacy.dlp.v2.InspectJobConfigH\000\022@" - + "\n\010risk_job\030\003 \001(\0132,.google.privacy.dlp.v2" - + ".RiskAnalysisJobConfigH\000\022\016\n\006job_id\030\004 \001(\t" - + "\022\023\n\013location_id\030\005 \001(\tB\005\n\003job\"\273\001\n\026ListJob" - + "TriggersRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n" - + "+cloudresourcemanager.googleapis.com/Pro" - + "ject\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\022\023\n" - + "\013location_id\030\007 \001(\t\"k\n\027ListJobTriggersRes" - + "ponse\0227\n\014job_triggers\030\001 \003(\0132!.google.pri" - + "vacy.dlp.v2.JobTrigger\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"N\n\027DeleteJobTriggerRequest\0223\n\004na" - + "me\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/Job" - + "Trigger\"\335\001\n\020InspectJobConfig\022<\n\016storage_" - + "config\030\001 \001(\0132$.google.privacy.dlp.v2.Sto" - + "rageConfig\022<\n\016inspect_config\030\002 \001(\0132$.goo" - + "gle.privacy.dlp.v2.InspectConfig\022\035\n\025insp" - + "ect_template_name\030\003 \001(\t\022.\n\007actions\030\004 \003(\013" - + "2\035.google.privacy.dlp.v2.Action\"\353\005\n\006DlpJ" - + "ob\022\014\n\004name\030\001 \001(\t\022/\n\004type\030\002 \001(\0162!.google." - + "privacy.dlp.v2.DlpJobType\0225\n\005state\030\003 \001(\016" - + "2&.google.privacy.dlp.v2.DlpJob.JobState" - + "\022K\n\014risk_details\030\004 \001(\01323.google.privacy." - + "dlp.v2.AnalyzeDataSourceRiskDetailsH\000\022J\n" - + "\017inspect_details\030\005 \001(\0132/.google.privacy." - + "dlp.v2.InspectDataSourceDetailsH\000\022/\n\013cre" - + "ate_time\030\006 \001(\0132\032.google.protobuf.Timesta" - + "mp\022.\n\nstart_time\030\007 \001(\0132\032.google.protobuf" - + ".Timestamp\022,\n\010end_time\030\010 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022\030\n\020job_trigger_name\030\n \001" - + "(\t\022,\n\006errors\030\013 \003(\0132\034.google.privacy.dlp." - + "v2.Error\"o\n\010JobState\022\031\n\025JOB_STATE_UNSPEC" - + "IFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DON" - + "E\020\003\022\014\n\010CANCELED\020\004\022\n\n\006FAILED\020\005\022\n\n\006ACTIVE\020" - + "\006:\177\352A|\n\031dlp.googleapis.com/DlpJob\022$proje" - + "cts/{project}/dlpJobs/{dlp_job}\0229project" - + "s/{project}/locations/{location}/dlpJobs" - + "/{dlp_job}B\t\n\007details\"C\n\020GetDlpJobReques" - + "t\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis." - + "com/DlpJob\"\350\001\n\022ListDlpJobsRequest\022C\n\006par" - + "ent\030\004 \001(\tB3\340A\002\372A-\n+cloudresourcemanager." - + "googleapis.com/Project\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.privacy.dlp.v2.DlpJ" - + "obType\022\020\n\010order_by\030\006 \001(\t\022\023\n\013location_id\030" - + "\007 \001(\t\"[\n\023ListDlpJobsResponse\022+\n\004jobs\030\001 \003" - + "(\0132\035.google.privacy.dlp.v2.DlpJob\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\"F\n\023CancelDlpJobReques" - + "t\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis." - + "com/DlpJob\"F\n\023FinishDlpJobRequest\022/\n\004nam" - + "e\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/DlpJ" - + "ob\"F\n\023DeleteDlpJobRequest\022/\n\004name\030\001 \001(\tB" - + "!\340A\002\372A\033\n\031dlp.googleapis.com/DlpJob\"\327\001\n\037C" - + "reateDeidentifyTemplateRequest\022=\n\006parent" - + "\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Deide" - + "ntifyTemplate\022K\n\023deidentify_template\030\002 \001" - + "(\0132).google.privacy.dlp.v2.DeidentifyTem" - + "plateB\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022\023\n\013locat" - + "ion_id\030\004 \001(\t\"\327\001\n\037UpdateDeidentifyTemplat" - + "eRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.goog" - + "leapis.com/DeidentifyTemplate\022F\n\023deident" - + "ify_template\030\002 \001(\0132).google.privacy.dlp." - + "v2.DeidentifyTemplate\022/\n\013update_mask\030\003 \001" - + "(\0132\032.google.protobuf.FieldMask\"[\n\034GetDei" - + "dentifyTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A" - + "\002\372A\'\n%dlp.googleapis.com/DeidentifyTempl" - + "ate\"\255\001\n\036ListDeidentifyTemplatesRequest\022=" - + "\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.c" - + "om/DeidentifyTemplate\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\023" - + "\n\013location_id\030\005 \001(\t\"\203\001\n\037ListDeidentifyTe" - + "mplatesResponse\022G\n\024deidentify_templates\030" - + "\001 \003(\0132).google.privacy.dlp.v2.Deidentify" - + "Template\022\027\n\017next_page_token\030\002 \001(\t\"^\n\037Del" - + "eteDeidentifyTemplateRequest\022;\n\004name\030\001 \001" - + "(\tB-\340A\002\372A\'\n%dlp.googleapis.com/Deidentif" - + "yTemplate\"\364\001\n\033LargeCustomDictionaryConfi" - + "g\022<\n\013output_path\030\001 \001(\0132\'.google.privacy." - + "dlp.v2.CloudStoragePath\022L\n\026cloud_storage" - + "_file_set\030\002 \001(\0132*.google.privacy.dlp.v2." - + "CloudStorageFileSetH\000\022?\n\017big_query_field" - + "\030\003 \001(\0132$.google.privacy.dlp.v2.BigQueryF" - + "ieldH\000B\010\n\006source\"8\n\032LargeCustomDictionar" - + "yStats\022\032\n\022approx_num_phrases\030\001 \001(\003\"\246\002\n\024S" - + "toredInfoTypeConfig\022\024\n\014display_name\030\001 \001(" - + "\t\022\023\n\013description\030\002 \001(\t\022U\n\027large_custom_d" - + "ictionary\030\003 \001(\01322.google.privacy.dlp.v2." - + "LargeCustomDictionaryConfigH\000\022F\n\ndiction" - + "ary\030\004 \001(\01320.google.privacy.dlp.v2.Custom" - + "InfoType.DictionaryH\000\022<\n\005regex\030\005 \001(\0132+.g" - + "oogle.privacy.dlp.v2.CustomInfoType.Rege" - + "xH\000B\006\n\004type\"s\n\023StoredInfoTypeStats\022T\n\027la" - + "rge_custom_dictionary\030\001 \001(\01321.google.pri" - + "vacy.dlp.v2.LargeCustomDictionaryStatsH\000" - + "B\006\n\004type\"\251\002\n\025StoredInfoTypeVersion\022;\n\006co" - + "nfig\030\001 \001(\0132+.google.privacy.dlp.v2.Store" - + "dInfoTypeConfig\022/\n\013create_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\0229\n\005state\030\003 \001(\0162" - + "*.google.privacy.dlp.v2.StoredInfoTypeSt" - + "ate\022,\n\006errors\030\004 \003(\0132\034.google.privacy.dlp" - + ".v2.Error\0229\n\005stats\030\005 \001(\0132*.google.privac" - + "y.dlp.v2.StoredInfoTypeStats\"\361\003\n\016StoredI" - + "nfoType\022\014\n\004name\030\001 \001(\t\022E\n\017current_version" - + "\030\002 \001(\0132,.google.privacy.dlp.v2.StoredInf" - + "oTypeVersion\022F\n\020pending_versions\030\003 \003(\0132," - + ".google.privacy.dlp.v2.StoredInfoTypeVer" - + "sion:\301\002\352A\275\002\n!dlp.googleapis.com/StoredIn" - + "foType\022?organizations/{organization}/sto" - + "redInfoTypes/{stored_info_type}\0225project" - + "s/{project}/storedInfoTypes/{stored_info" - + "_type}\022Torganizations/{organization}/loc" - + "ations/{location}/storedInfoTypes/{store" - + "d_info_type}\022Jprojects/{project}/locatio" - + "ns/{location}/storedInfoTypes/{stored_in" - + "fo_type}\"\314\001\n\033CreateStoredInfoTypeRequest" - + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis" - + ".com/StoredInfoType\022@\n\006config\030\002 \001(\0132+.go" - + "ogle.privacy.dlp.v2.StoredInfoTypeConfig" - + "B\003\340A\002\022\033\n\023stored_info_type_id\030\003 \001(\t\022\023\n\013lo" - + "cation_id\030\004 \001(\t\"\304\001\n\033UpdateStoredInfoType" - + "Request\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googl" - + "eapis.com/StoredInfoType\022;\n\006config\030\002 \001(\013" - + "2+.google.privacy.dlp.v2.StoredInfoTypeC" - + "onfig\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" - + "obuf.FieldMask\"S\n\030GetStoredInfoTypeReque" - + "st\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis" - + ".com/StoredInfoType\"\245\001\n\032ListStoredInfoTy" - + "pesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp." - + "googleapis.com/StoredInfoType\022\022\n\npage_to" - + "ken\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by" - + "\030\004 \001(\t\022\023\n\013location_id\030\005 \001(\t\"x\n\033ListStore" - + "dInfoTypesResponse\022@\n\021stored_info_types\030" - + "\001 \003(\0132%.google.privacy.dlp.v2.StoredInfo" - + "Type\022\027\n\017next_page_token\030\002 \001(\t\"V\n\033DeleteS" - + "toredInfoTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372" - + "A#\n!dlp.googleapis.com/StoredInfoType\"\224\001" - + "\n\036HybridInspectJobTriggerRequest\0223\n\004name" - + "\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTr" - + "igger\022=\n\013hybrid_item\030\003 \001(\0132(.google.priv" - + "acy.dlp.v2.HybridContentItem\"\214\001\n\032HybridI" - + "nspectDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A" - + "\033\n\031dlp.googleapis.com/DlpJob\022=\n\013hybrid_i" - + "tem\030\003 \001(\0132(.google.privacy.dlp.v2.Hybrid" - + "ContentItem\"\213\001\n\021HybridContentItem\0220\n\004ite" - + "m\030\001 \001(\0132\".google.privacy.dlp.v2.ContentI" - + "tem\022D\n\017finding_details\030\002 \001(\0132+.google.pr" - + "ivacy.dlp.v2.HybridFindingDetails\"\260\002\n\024Hy" - + "bridFindingDetails\022;\n\021container_details\030" - + "\001 \001(\0132 .google.privacy.dlp.v2.Container\022" - + "\023\n\013file_offset\030\002 \001(\003\022\022\n\nrow_offset\030\003 \001(\003" - + "\022:\n\rtable_options\030\004 \001(\0132#.google.privacy" - + ".dlp.v2.TableOptions\022G\n\006labels\030\005 \003(\01327.g" - + "oogle.privacy.dlp.v2.HybridFindingDetail" - + "s.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(", - "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\027\n\025HybridInspectRes" - + "ponse*\273\001\n\022RelationalOperator\022#\n\037RELATION" - + "AL_OPERATOR_UNSPECIFIED\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\tL" - + "ESS_THAN\020\004\022\032\n\026GREATER_THAN_OR_EQUALS\020\005\022\027" - + "\n\023LESS_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020\007*\215\001\n\014" - + "MatchingType\022\035\n\031MATCHING_TYPE_UNSPECIFIE" - + "D\020\000\022\034\n\030MATCHING_TYPE_FULL_MATCH\020\001\022\037\n\033MAT" - + "CHING_TYPE_PARTIAL_MATCH\020\002\022\037\n\033MATCHING_T" - + "YPE_INVERSE_MATCH\020\003*M\n\rContentOption\022\027\n\023" - + "CONTENT_UNSPECIFIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022" - + "\021\n\rCONTENT_IMAGE\020\002*P\n\023InfoTypeSupportedB" - + "y\022\031\n\025ENUM_TYPE_UNSPECIFIED\020\000\022\013\n\007INSPECT\020" - + "\001\022\021\n\rRISK_ANALYSIS\020\002*R\n\nDlpJobType\022\034\n\030DL" - + "P_JOB_TYPE_UNSPECIFIED\020\000\022\017\n\013INSPECT_JOB\020" - + "\001\022\025\n\021RISK_ANALYSIS_JOB\020\002*n\n\023StoredInfoTy" - + "peState\022&\n\"STORED_INFO_TYPE_STATE_UNSPEC" - + "IFIED\020\000\022\013\n\007PENDING\020\001\022\t\n\005READY\020\002\022\n\n\006FAILE" - + "D\020\003\022\013\n\007INVALID\020\0042\207M\n\nDlpService\022\347\001\n\016Insp" - + "ectContent\022,.google.privacy.dlp.v2.Inspe" - + "ctContentRequest\032-.google.privacy.dlp.v2" - + ".InspectContentResponse\"x\202\323\344\223\002r\"\'/v2/{pa" - + "rent=projects/*}/content:inspect:\001*ZD\"?/" - + "v2/{parent=projects/*}/locations/{locati" - + "on_id}/content:inspect:\001*\022\330\001\n\013RedactImag" - + "e\022).google.privacy.dlp.v2.RedactImageReq" - + "uest\032*.google.privacy.dlp.v2.RedactImage" - + "Response\"r\202\323\344\223\002l\"$/v2/{parent=projects/*" - + "}/image:redact:\001*ZA\"29/v2/{name=o" - + "rganizations/*/locations/*/inspectTempla" - + "tes/*}:\001*Z-2(/v2/{name=projects/*/inspec" - + "tTemplates/*}:\001*Z924/v2/{name=projects/*" - + "/locations/*/inspectTemplates/*}:\001*\332A!na" - + "me,inspect_template,update_mask\022\317\002\n\022GetI" - + "nspectTemplate\0220.google.privacy.dlp.v2.G" - + "etInspectTemplateRequest\032&.google.privac" - + "y.dlp.v2.InspectTemplate\"\336\001\202\323\344\223\002\320\001\022-/v2/" - + "{name=organizations/*/inspectTemplates/*" - + "}Z;\0229/v2/{name=organizations/*/locations" - + "/*/inspectTemplates/*}Z*\022(/v2/{name=proj" - + "ects/*/inspectTemplates/*}Z6\0224/v2/{name=" - + "projects/*/locations/*/inspectTemplates/" - + "*}\332A\004name\022\372\002\n\024ListInspectTemplates\0222.goo" - + "gle.privacy.dlp.v2.ListInspectTemplatesR" - + "equest\0323.google.privacy.dlp.v2.ListInspe" - + "ctTemplatesResponse\"\370\001\202\323\344\223\002\350\001\022-/v2/{pare" - + "nt=organizations/*}/inspectTemplatesZG\022E" - + "/v2/{parent=organizations/*}/locations/{" - + "location_id}/inspectTemplatesZ*\022(/v2/{pa" - + "rent=projects/*}/inspectTemplatesZB\022@/v2" - + "/{parent=projects/*}/locations/{location" - + "_id}/inspectTemplates\332A\006parent\022\305\002\n\025Delet" - + "eInspectTemplate\0223.google.privacy.dlp.v2" - + ".DeleteInspectTemplateRequest\032\026.google.p" - + "rotobuf.Empty\"\336\001\202\323\344\223\002\320\001*-/v2/{name=organ" - + "izations/*/inspectTemplates/*}Z;*9/v2/{n" - + "ame=organizations/*/locations/*/inspectT" - + "emplates/*}Z**(/v2/{name=projects/*/insp" - + "ectTemplates/*}Z6*4/v2/{name=projects/*/" - + "locations/*/inspectTemplates/*}\332A\004name\022\315" - + "\003\n\030CreateDeidentifyTemplate\0226.google.pri" - + "vacy.dlp.v2.CreateDeidentifyTemplateRequ" - + "est\032).google.privacy.dlp.v2.DeidentifyTe" - + "mplate\"\315\002\202\323\344\223\002\200\002\"0/v2/{parent=organizati" - + "ons/*}/deidentifyTemplates:\001*ZM\"H/v2/{pa" - + "rent=organizations/*}/locations/{locatio" - + "n_id}/deidentifyTemplates:\001*Z0\"+/v2/{par" - + "ent=projects/*}/deidentifyTemplates:\001*ZH" - + "\"C/v2/{parent=projects/*}/locations/{loc" - + "ation_id}/deidentifyTemplates:\001*\332A\032paren" - + "t,deidentify_template\332A&parent,deidentif" - + "y_template,location_id\022\226\003\n\030UpdateDeident" - + "ifyTemplate\0226.google.privacy.dlp.v2.Upda" - + "teDeidentifyTemplateRequest\032).google.pri" - + "vacy.dlp.v2.DeidentifyTemplate\"\226\002\202\323\344\223\002\350\001" - + "20/v2/{name=organizations/*/deidentifyTe" - + "mplates/*}:\001*ZA2\022*\"9/v2/{" - + "name=projects/*/locations/*/dlpJobs/*}:h" - + "ybridInspect:\001*\332A\004name\022\221\001\n\014FinishDlpJob\022" - + "*.google.privacy.dlp.v2.FinishDlpJobRequ" - + "est\032\026.google.protobuf.Empty\"=\202\323\344\223\0027\"2/v2" - + "/{name=projects/*/locations/*/dlpJobs/*}" - + ":finish:\001*\032F\312A\022dlp.googleapis.com\322A.http" - + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\205\002\n\031com.google.privacy.dlp.v2B\010DlpPro" - + "toP\001Z8google.golang.org/genproto/googlea" - + "pis/privacy/dlp/v2;dlp\252\002\023Google.Cloud.Dl" - + "p.V2\312\002\023Google\\Cloud\\Dlp\\V2\352\002\026Google::Clo" - + "ud::Dlp::V2\352A\\\n\'dlp.googleapis.com/Organ" - + "izationLocation\0221organizations/{organiza" - + "tion}/locations/{location}b\006proto3" + + "pis.com/JobTrigger\0226\n\013job_trigger\030\002 \001(\0132" + + "!.google.privacy.dlp.v2.JobTrigger\022/\n\013up" + + "date_mask\030\003 \001(\0132\032.google.protobuf.FieldM" + + "ask\"K\n\024GetJobTriggerRequest\0223\n\004name\030\001 \001(" + + "\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTrigger" + + "\"\210\002\n\023CreateDlpJobRequest\022C\n\006parent\030\001 \001(\t" + + "B3\340A\002\372A-\n+cloudresourcemanager.googleapi" + + "s.com/Project\022>\n\013inspect_job\030\002 \001(\0132\'.goo" + + "gle.privacy.dlp.v2.InspectJobConfigH\000\022@\n" + + "\010risk_job\030\003 \001(\0132,.google.privacy.dlp.v2." + + "RiskAnalysisJobConfigH\000\022\016\n\006job_id\030\004 \001(\t\022" + + "\023\n\013location_id\030\005 \001(\tB\005\n\003job\"\273\001\n\026ListJobT" + + "riggersRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+" + + "cloudresourcemanager.googleapis.com/Proj" + + "ect\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\022\023\n\013" + + "location_id\030\007 \001(\t\"k\n\027ListJobTriggersResp" + + "onse\0227\n\014job_triggers\030\001 \003(\0132!.google.priv" + + "acy.dlp.v2.JobTrigger\022\027\n\017next_page_token" + + "\030\002 \001(\t\"N\n\027DeleteJobTriggerRequest\0223\n\004nam" + + "e\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobT" + + "rigger\"\335\001\n\020InspectJobConfig\022<\n\016storage_c" + + "onfig\030\001 \001(\0132$.google.privacy.dlp.v2.Stor" + + "ageConfig\022<\n\016inspect_config\030\002 \001(\0132$.goog" + + "le.privacy.dlp.v2.InspectConfig\022\035\n\025inspe" + + "ct_template_name\030\003 \001(\t\022.\n\007actions\030\004 \003(\0132" + + "\035.google.privacy.dlp.v2.Action\"\353\005\n\006DlpJo" + + "b\022\014\n\004name\030\001 \001(\t\022/\n\004type\030\002 \001(\0162!.google.p" + + "rivacy.dlp.v2.DlpJobType\0225\n\005state\030\003 \001(\0162" + + "&.google.privacy.dlp.v2.DlpJob.JobState\022" + + "K\n\014risk_details\030\004 \001(\01323.google.privacy.d" + + "lp.v2.AnalyzeDataSourceRiskDetailsH\000\022J\n\017" + + "inspect_details\030\005 \001(\0132/.google.privacy.d" + + "lp.v2.InspectDataSourceDetailsH\000\022/\n\013crea" + + "te_time\030\006 \001(\0132\032.google.protobuf.Timestam" + + "p\022.\n\nstart_time\030\007 \001(\0132\032.google.protobuf." + + "Timestamp\022,\n\010end_time\030\010 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022\030\n\020job_trigger_name\030\n \001(" + + "\t\022,\n\006errors\030\013 \003(\0132\034.google.privacy.dlp.v" + + "2.Error\"o\n\010JobState\022\031\n\025JOB_STATE_UNSPECI" + + "FIED\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\005\022\n\n\006ACTIVE\020\006" + + ":\177\352A|\n\031dlp.googleapis.com/DlpJob\022$projec" + + "ts/{project}/dlpJobs/{dlp_job}\0229projects" + + "/{project}/locations/{location}/dlpJobs/" + + "{dlp_job}B\t\n\007details\"C\n\020GetDlpJobRequest" + + "\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.c" + + "om/DlpJob\"\350\001\n\022ListDlpJobsRequest\022C\n\006pare" + + "nt\030\004 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.g" + + "oogleapis.com/Project\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\004" + + "type\030\005 \001(\0162!.google.privacy.dlp.v2.DlpJo" + + "bType\022\020\n\010order_by\030\006 \001(\t\022\023\n\013location_id\030\007" + + " \001(\t\"[\n\023ListDlpJobsResponse\022+\n\004jobs\030\001 \003(" + + "\0132\035.google.privacy.dlp.v2.DlpJob\022\027\n\017next" + + "_page_token\030\002 \001(\t\"F\n\023CancelDlpJobRequest" + + "\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.c" + + "om/DlpJob\"F\n\023FinishDlpJobRequest\022/\n\004name" + + "\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/DlpJo" + + "b\"F\n\023DeleteDlpJobRequest\022/\n\004name\030\001 \001(\tB!" + + "\340A\002\372A\033\n\031dlp.googleapis.com/DlpJob\"\327\001\n\037Cr" + + "eateDeidentifyTemplateRequest\022=\n\006parent\030" + + "\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Deiden" + + "tifyTemplate\022K\n\023deidentify_template\030\002 \001(" + + "\0132).google.privacy.dlp.v2.DeidentifyTemp" + + "lateB\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022\023\n\013locati" + + "on_id\030\004 \001(\t\"\327\001\n\037UpdateDeidentifyTemplate" + + "Request\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googl" + + "eapis.com/DeidentifyTemplate\022F\n\023deidenti" + + "fy_template\030\002 \001(\0132).google.privacy.dlp.v" + + "2.DeidentifyTemplate\022/\n\013update_mask\030\003 \001(" + + "\0132\032.google.protobuf.FieldMask\"[\n\034GetDeid" + + "entifyTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002" + + "\372A\'\n%dlp.googleapis.com/DeidentifyTempla" + + "te\"\255\001\n\036ListDeidentifyTemplatesRequest\022=\n" + + "\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.co" + + "m/DeidentifyTemplate\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\023\n" + + "\013location_id\030\005 \001(\t\"\203\001\n\037ListDeidentifyTem" + + "platesResponse\022G\n\024deidentify_templates\030\001" + + " \003(\0132).google.privacy.dlp.v2.DeidentifyT" + + "emplate\022\027\n\017next_page_token\030\002 \001(\t\"^\n\037Dele" + + "teDeidentifyTemplateRequest\022;\n\004name\030\001 \001(" + + "\tB-\340A\002\372A\'\n%dlp.googleapis.com/Deidentify" + + "Template\"\364\001\n\033LargeCustomDictionaryConfig" + + "\022<\n\013output_path\030\001 \001(\0132\'.google.privacy.d" + + "lp.v2.CloudStoragePath\022L\n\026cloud_storage_" + + "file_set\030\002 \001(\0132*.google.privacy.dlp.v2.C" + + "loudStorageFileSetH\000\022?\n\017big_query_field\030" + + "\003 \001(\0132$.google.privacy.dlp.v2.BigQueryFi" + + "eldH\000B\010\n\006source\"8\n\032LargeCustomDictionary" + + "Stats\022\032\n\022approx_num_phrases\030\001 \001(\003\"\246\002\n\024St" + + "oredInfoTypeConfig\022\024\n\014display_name\030\001 \001(\t" + + "\022\023\n\013description\030\002 \001(\t\022U\n\027large_custom_di" + + "ctionary\030\003 \001(\01322.google.privacy.dlp.v2.L" + + "argeCustomDictionaryConfigH\000\022F\n\ndictiona" + + "ry\030\004 \001(\01320.google.privacy.dlp.v2.CustomI" + + "nfoType.DictionaryH\000\022<\n\005regex\030\005 \001(\0132+.go" + + "ogle.privacy.dlp.v2.CustomInfoType.Regex" + + "H\000B\006\n\004type\"s\n\023StoredInfoTypeStats\022T\n\027lar" + + "ge_custom_dictionary\030\001 \001(\01321.google.priv" + + "acy.dlp.v2.LargeCustomDictionaryStatsH\000B" + + "\006\n\004type\"\251\002\n\025StoredInfoTypeVersion\022;\n\006con" + + "fig\030\001 \001(\0132+.google.privacy.dlp.v2.Stored" + + "InfoTypeConfig\022/\n\013create_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0229\n\005state\030\003 \001(\0162*" + + ".google.privacy.dlp.v2.StoredInfoTypeSta" + + "te\022,\n\006errors\030\004 \003(\0132\034.google.privacy.dlp." + + "v2.Error\0229\n\005stats\030\005 \001(\0132*.google.privacy" + + ".dlp.v2.StoredInfoTypeStats\"\361\003\n\016StoredIn" + + "foType\022\014\n\004name\030\001 \001(\t\022E\n\017current_version\030" + + "\002 \001(\0132,.google.privacy.dlp.v2.StoredInfo" + + "TypeVersion\022F\n\020pending_versions\030\003 \003(\0132,." + + "google.privacy.dlp.v2.StoredInfoTypeVers" + + "ion:\301\002\352A\275\002\n!dlp.googleapis.com/StoredInf" + + "oType\022?organizations/{organization}/stor" + + "edInfoTypes/{stored_info_type}\0225projects" + + "/{project}/storedInfoTypes/{stored_info_" + + "type}\022Torganizations/{organization}/loca" + + "tions/{location}/storedInfoTypes/{stored" + + "_info_type}\022Jprojects/{project}/location" + + "s/{location}/storedInfoTypes/{stored_inf" + + "o_type}\"\314\001\n\033CreateStoredInfoTypeRequest\022" + + "9\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis." + + "com/StoredInfoType\022@\n\006config\030\002 \001(\0132+.goo" + + "gle.privacy.dlp.v2.StoredInfoTypeConfigB" + + "\003\340A\002\022\033\n\023stored_info_type_id\030\003 \001(\t\022\023\n\013loc" + + "ation_id\030\004 \001(\t\"\304\001\n\033UpdateStoredInfoTypeR" + + "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.google" + + "apis.com/StoredInfoType\022;\n\006config\030\002 \001(\0132" + + "+.google.privacy.dlp.v2.StoredInfoTypeCo" + + "nfig\022/\n\013update_mask\030\003 \001(\0132\032.google.proto" + + "buf.FieldMask\"S\n\030GetStoredInfoTypeReques" + + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis." + + "com/StoredInfoType\"\245\001\n\032ListStoredInfoTyp" + + "esRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.g" + + "oogleapis.com/StoredInfoType\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\023\n\013location_id\030\005 \001(\t\"x\n\033ListStored" + + "InfoTypesResponse\022@\n\021stored_info_types\030\001" + + " \003(\0132%.google.privacy.dlp.v2.StoredInfoT" + + "ype\022\027\n\017next_page_token\030\002 \001(\t\"V\n\033DeleteSt" + + "oredInfoTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A" + + "#\n!dlp.googleapis.com/StoredInfoType\"\224\001\n" + + "\036HybridInspectJobTriggerRequest\0223\n\004name\030" + + "\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTri" + + "gger\022=\n\013hybrid_item\030\003 \001(\0132(.google.priva" + + "cy.dlp.v2.HybridContentItem\"\214\001\n\032HybridIn" + + "spectDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033" + + "\n\031dlp.googleapis.com/DlpJob\022=\n\013hybrid_it" + + "em\030\003 \001(\0132(.google.privacy.dlp.v2.HybridC" + + "ontentItem\"\213\001\n\021HybridContentItem\0220\n\004item" + + "\030\001 \001(\0132\".google.privacy.dlp.v2.ContentIt" + + "em\022D\n\017finding_details\030\002 \001(\0132+.google.pri" + + "vacy.dlp.v2.HybridFindingDetails\"\260\002\n\024Hyb", + "ridFindingDetails\022;\n\021container_details\030\001" + + " \001(\0132 .google.privacy.dlp.v2.Container\022\023" + + "\n\013file_offset\030\002 \001(\003\022\022\n\nrow_offset\030\003 \001(\003\022" + + ":\n\rtable_options\030\004 \001(\0132#.google.privacy." + + "dlp.v2.TableOptions\022G\n\006labels\030\005 \003(\01327.go" + + "ogle.privacy.dlp.v2.HybridFindingDetails" + + ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\027\n\025HybridInspectResp" + + "onse*\273\001\n\022RelationalOperator\022#\n\037RELATIONA" + + "L_OPERATOR_UNSPECIFIED\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\tLE" + + "SS_THAN\020\004\022\032\n\026GREATER_THAN_OR_EQUALS\020\005\022\027\n" + + "\023LESS_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020\007*\215\001\n\014M" + + "atchingType\022\035\n\031MATCHING_TYPE_UNSPECIFIED" + + "\020\000\022\034\n\030MATCHING_TYPE_FULL_MATCH\020\001\022\037\n\033MATC" + + "HING_TYPE_PARTIAL_MATCH\020\002\022\037\n\033MATCHING_TY" + + "PE_INVERSE_MATCH\020\003*M\n\rContentOption\022\027\n\023C" + + "ONTENT_UNSPECIFIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021" + + "\n\rCONTENT_IMAGE\020\002*B\n\014MetadataType\022\034\n\030MET" + + "ADATATYPE_UNSPECIFIED\020\000\022\024\n\020STORAGE_METAD" + + "ATA\020\002*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM_TYP" + + "E_UNSPECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANA" + + "LYSIS\020\002*R\n\nDlpJobType\022\034\n\030DLP_JOB_TYPE_UN" + + "SPECIFIED\020\000\022\017\n\013INSPECT_JOB\020\001\022\025\n\021RISK_ANA" + + "LYSIS_JOB\020\002*n\n\023StoredInfoTypeState\022&\n\"ST" + + "ORED_INFO_TYPE_STATE_UNSPECIFIED\020\000\022\013\n\007PE" + + "NDING\020\001\022\t\n\005READY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALI" + + "D\020\0042\207M\n\nDlpService\022\347\001\n\016InspectContent\022,." + + "google.privacy.dlp.v2.InspectContentRequ" + + "est\032-.google.privacy.dlp.v2.InspectConte" + + "ntResponse\"x\202\323\344\223\002r\"\'/v2/{parent=projects" + + "/*}/content:inspect:\001*ZD\"?/v2/{parent=pr" + + "ojects/*}/locations/{location_id}/conten" + + "t:inspect:\001*\022\330\001\n\013RedactImage\022).google.pr" + + "ivacy.dlp.v2.RedactImageRequest\032*.google" + + ".privacy.dlp.v2.RedactImageResponse\"r\202\323\344" + + "\223\002l\"$/v2/{parent=projects/*}/image:redac" + + "t:\001*ZA\"29/v2/{name=organizations/" + + "*/locations/*/inspectTemplates/*}:\001*Z-2(" + + "/v2/{name=projects/*/inspectTemplates/*}" + + ":\001*Z924/v2/{name=projects/*/locations/*/" + + "inspectTemplates/*}:\001*\332A!name,inspect_te" + + "mplate,update_mask\022\317\002\n\022GetInspectTemplat" + + "e\0220.google.privacy.dlp.v2.GetInspectTemp" + + "lateRequest\032&.google.privacy.dlp.v2.Insp" + + "ectTemplate\"\336\001\202\323\344\223\002\320\001\022-/v2/{name=organiz" + + "ations/*/inspectTemplates/*}Z;\0229/v2/{nam" + + "e=organizations/*/locations/*/inspectTem" + + "plates/*}Z*\022(/v2/{name=projects/*/inspec" + + "tTemplates/*}Z6\0224/v2/{name=projects/*/lo" + + "cations/*/inspectTemplates/*}\332A\004name\022\372\002\n" + + "\024ListInspectTemplates\0222.google.privacy.d" + + "lp.v2.ListInspectTemplatesRequest\0323.goog" + + "le.privacy.dlp.v2.ListInspectTemplatesRe" + + "sponse\"\370\001\202\323\344\223\002\350\001\022-/v2/{parent=organizati" + + "ons/*}/inspectTemplatesZG\022E/v2/{parent=o" + + "rganizations/*}/locations/{location_id}/" + + "inspectTemplatesZ*\022(/v2/{parent=projects" + + "/*}/inspectTemplatesZB\022@/v2/{parent=proj" + + "ects/*}/locations/{location_id}/inspectT" + + "emplates\332A\006parent\022\305\002\n\025DeleteInspectTempl" + + "ate\0223.google.privacy.dlp.v2.DeleteInspec" + + "tTemplateRequest\032\026.google.protobuf.Empty" + + "\"\336\001\202\323\344\223\002\320\001*-/v2/{name=organizations/*/in" + + "spectTemplates/*}Z;*9/v2/{name=organizat" + + "ions/*/locations/*/inspectTemplates/*}Z*" + + "*(/v2/{name=projects/*/inspectTemplates/" + + "*}Z6*4/v2/{name=projects/*/locations/*/i" + + "nspectTemplates/*}\332A\004name\022\315\003\n\030CreateDeid" + + "entifyTemplate\0226.google.privacy.dlp.v2.C" + + "reateDeidentifyTemplateRequest\032).google." + + "privacy.dlp.v2.DeidentifyTemplate\"\315\002\202\323\344\223" + + "\002\200\002\"0/v2/{parent=organizations/*}/deiden" + + "tifyTemplates:\001*ZM\"H/v2/{parent=organiza" + + "tions/*}/locations/{location_id}/deident" + + "ifyTemplates:\001*Z0\"+/v2/{parent=projects/" + + "*}/deidentifyTemplates:\001*ZH\"C/v2/{parent" + + "=projects/*}/locations/{location_id}/dei" + + "dentifyTemplates:\001*\332A\032parent,deidentify_" + + "template\332A&parent,deidentify_template,lo" + + "cation_id\022\226\003\n\030UpdateDeidentifyTemplate\0226" + + ".google.privacy.dlp.v2.UpdateDeidentifyT" + + "emplateRequest\032).google.privacy.dlp.v2.D" + + "eidentifyTemplate\"\226\002\202\323\344\223\002\350\00120/v2/{name=o" + + "rganizations/*/deidentifyTemplates/*}:\001*" + + "ZA2\022*\"9/v2/{name=projects" + + "/*/locations/*/dlpJobs/*}:hybridInspect:" + + "\001*\332A\004name\022\221\001\n\014FinishDlpJob\022*.google.priv" + + "acy.dlp.v2.FinishDlpJobRequest\032\026.google." + + "protobuf.Empty\"=\202\323\344\223\0027\"2/v2/{name=projec" + + "ts/*/locations/*/dlpJobs/*}:finish:\001*\032F\312" + + "A\022dlp.googleapis.com\322A.https://www.googl" + + "eapis.com/auth/cloud-platformB\205\002\n\031com.go" + + "ogle.privacy.dlp.v2B\010DlpProtoP\001Z8google." + + "golang.org/genproto/googleapis/privacy/d" + + "lp/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google" + + "\\Cloud\\Dlp\\V2\352\002\026Google::Cloud::Dlp::V2\352A" + + "\\\n\'dlp.googleapis.com/OrganizationLocati" + + "on\0221organizations/{organization}/locatio" + + "ns/{location}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1961,12 +1978,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RecordLocation", "ImageLocation", "DocumentLocation", + "MetadataLocation", "ContainerTimestamp", "ContainerVersion", "Location", }); - internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor = + internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor = getDescriptor().getMessageTypes().get(12); + internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor, + new java.lang.String[] { + "Type", "StorageLabel", "Label", + }); + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor, + new java.lang.String[] { + "Key", + }); + internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor = + getDescriptor().getMessageTypes().get(14); internal_static_google_privacy_dlp_v2_DocumentLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DocumentLocation_descriptor, @@ -1974,7 +2008,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FileOffset", }); internal_static_google_privacy_dlp_v2_RecordLocation_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(15); internal_static_google_privacy_dlp_v2_RecordLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RecordLocation_descriptor, @@ -1982,7 +2016,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RecordKey", "FieldId", "TableLocation", }); internal_static_google_privacy_dlp_v2_TableLocation_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(16); internal_static_google_privacy_dlp_v2_TableLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_TableLocation_descriptor, @@ -1990,7 +2024,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RowIndex", }); internal_static_google_privacy_dlp_v2_Container_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(17); internal_static_google_privacy_dlp_v2_Container_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Container_descriptor, @@ -1998,7 +2032,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Type", "ProjectId", "FullPath", "RootPath", "RelativePath", "UpdateTime", "Version", }); internal_static_google_privacy_dlp_v2_Range_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(18); internal_static_google_privacy_dlp_v2_Range_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Range_descriptor, @@ -2006,7 +2040,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Start", "End", }); internal_static_google_privacy_dlp_v2_ImageLocation_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(19); internal_static_google_privacy_dlp_v2_ImageLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ImageLocation_descriptor, @@ -2014,7 +2048,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BoundingBoxes", }); internal_static_google_privacy_dlp_v2_BoundingBox_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(20); internal_static_google_privacy_dlp_v2_BoundingBox_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_BoundingBox_descriptor, @@ -2022,7 +2056,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Top", "Left", "Width", "Height", }); internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(21); internal_static_google_privacy_dlp_v2_RedactImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RedactImageRequest_descriptor, @@ -2043,7 +2077,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InfoType", "RedactAllText", "RedactionColor", "Target", }); internal_static_google_privacy_dlp_v2_Color_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(22); internal_static_google_privacy_dlp_v2_Color_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Color_descriptor, @@ -2051,7 +2085,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Red", "Green", "Blue", }); internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(23); internal_static_google_privacy_dlp_v2_RedactImageResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RedactImageResponse_descriptor, @@ -2059,7 +2093,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RedactedImage", "ExtractedText", "InspectResult", }); internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(24); internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeidentifyContentRequest_descriptor, @@ -2073,7 +2107,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LocationId", }); internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(25); internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeidentifyContentResponse_descriptor, @@ -2081,7 +2115,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Item", "Overview", }); internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(26); internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ReidentifyContentRequest_descriptor, @@ -2095,7 +2129,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LocationId", }); internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(27); internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ReidentifyContentResponse_descriptor, @@ -2103,7 +2137,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Item", "Overview", }); internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(28); internal_static_google_privacy_dlp_v2_InspectContentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InspectContentRequest_descriptor, @@ -2111,7 +2145,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "InspectConfig", "Item", "InspectTemplateName", "LocationId", }); internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(29); internal_static_google_privacy_dlp_v2_InspectContentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InspectContentResponse_descriptor, @@ -2119,7 +2153,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Result", }); internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(30); internal_static_google_privacy_dlp_v2_OutputStorageConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_OutputStorageConfig_descriptor, @@ -2127,7 +2161,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Table", "OutputSchema", "Type", }); internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(31); internal_static_google_privacy_dlp_v2_InfoTypeStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InfoTypeStats_descriptor, @@ -2135,7 +2169,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InfoType", "Count", }); internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(32); internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InspectDataSourceDetails_descriptor, @@ -2163,7 +2197,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProcessedBytes", "TotalEstimatedBytes", "InfoTypeStats", "HybridStats", }); internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(33); internal_static_google_privacy_dlp_v2_HybridInspectStatistics_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_HybridInspectStatistics_descriptor, @@ -2171,7 +2205,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ProcessedCount", "AbortedCount", "PendingCount", }); internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(34); internal_static_google_privacy_dlp_v2_InfoTypeDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor, @@ -2179,7 +2213,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "DisplayName", "SupportedBy", "Description", }); internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(35); internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor, @@ -2187,7 +2221,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LanguageCode", "Filter", "LocationId", }); internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(36); internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListInfoTypesResponse_descriptor, @@ -2195,7 +2229,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InfoTypes", }); internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageTypes().get(37); internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RiskAnalysisJobConfig_descriptor, @@ -2203,7 +2237,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PrivacyMetric", "SourceTable", "Actions", }); internal_static_google_privacy_dlp_v2_QuasiId_descriptor = - getDescriptor().getMessageTypes().get(36); + getDescriptor().getMessageTypes().get(38); internal_static_google_privacy_dlp_v2_QuasiId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_QuasiId_descriptor, @@ -2211,7 +2245,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Field", "InfoType", "CustomTag", "Inferred", "Tag", }); internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor = - getDescriptor().getMessageTypes().get(37); + getDescriptor().getMessageTypes().get(39); internal_static_google_privacy_dlp_v2_StatisticalTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StatisticalTable_descriptor, @@ -2227,7 +2261,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Field", "CustomTag", }); internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor = - getDescriptor().getMessageTypes().get(38); + getDescriptor().getMessageTypes().get(40); internal_static_google_privacy_dlp_v2_PrivacyMetric_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_PrivacyMetric_descriptor, @@ -2319,7 +2353,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "QuasiIds", "RegionCode", "AuxiliaryTables", }); internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor = - getDescriptor().getMessageTypes().get(39); + getDescriptor().getMessageTypes().get(41); internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_AnalyzeDataSourceRiskDetails_descriptor, @@ -2500,7 +2534,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MinProbability", "MaxProbability", "BucketSize", "BucketValues", "BucketValueCount", }); internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor = - getDescriptor().getMessageTypes().get(40); + getDescriptor().getMessageTypes().get(42); internal_static_google_privacy_dlp_v2_ValueFrequency_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ValueFrequency_descriptor, @@ -2508,7 +2542,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Value", "Count", }); internal_static_google_privacy_dlp_v2_Value_descriptor = - getDescriptor().getMessageTypes().get(41); + getDescriptor().getMessageTypes().get(43); internal_static_google_privacy_dlp_v2_Value_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Value_descriptor, @@ -2524,7 +2558,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Type", }); internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor = - getDescriptor().getMessageTypes().get(42); + getDescriptor().getMessageTypes().get(44); internal_static_google_privacy_dlp_v2_QuoteInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_QuoteInfo_descriptor, @@ -2532,7 +2566,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DateTime", "ParsedQuote", }); internal_static_google_privacy_dlp_v2_DateTime_descriptor = - getDescriptor().getMessageTypes().get(43); + getDescriptor().getMessageTypes().get(45); internal_static_google_privacy_dlp_v2_DateTime_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DateTime_descriptor, @@ -2548,7 +2582,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OffsetMinutes", }); internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor = - getDescriptor().getMessageTypes().get(44); + getDescriptor().getMessageTypes().get(46); internal_static_google_privacy_dlp_v2_DeidentifyConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeidentifyConfig_descriptor, @@ -2559,7 +2593,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Transformation", }); internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor = - getDescriptor().getMessageTypes().get(45); + getDescriptor().getMessageTypes().get(47); internal_static_google_privacy_dlp_v2_TransformationErrorHandling_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor, @@ -2583,7 +2617,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_privacy_dlp_v2_TransformationErrorHandling_LeaveUntransformed_descriptor, new java.lang.String[] {}); internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor = - getDescriptor().getMessageTypes().get(46); + getDescriptor().getMessageTypes().get(48); internal_static_google_privacy_dlp_v2_PrimitiveTransformation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_PrimitiveTransformation_descriptor, @@ -2602,7 +2636,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Transformation", }); internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor = - getDescriptor().getMessageTypes().get(47); + getDescriptor().getMessageTypes().get(49); internal_static_google_privacy_dlp_v2_TimePartConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor, @@ -2610,7 +2644,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PartToExtract", }); internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor = - getDescriptor().getMessageTypes().get(48); + getDescriptor().getMessageTypes().get(50); internal_static_google_privacy_dlp_v2_CryptoHashConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CryptoHashConfig_descriptor, @@ -2618,7 +2652,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CryptoKey", }); internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor = - getDescriptor().getMessageTypes().get(49); + getDescriptor().getMessageTypes().get(51); internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CryptoDeterministicConfig_descriptor, @@ -2626,7 +2660,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CryptoKey", "SurrogateInfoType", "Context", }); internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor = - getDescriptor().getMessageTypes().get(50); + getDescriptor().getMessageTypes().get(52); internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor, @@ -2634,19 +2668,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NewValue", }); internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor = - getDescriptor().getMessageTypes().get(51); + getDescriptor().getMessageTypes().get(53); internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor, new java.lang.String[] {}); internal_static_google_privacy_dlp_v2_RedactConfig_descriptor = - getDescriptor().getMessageTypes().get(52); + getDescriptor().getMessageTypes().get(54); internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RedactConfig_descriptor, new java.lang.String[] {}); internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor = - getDescriptor().getMessageTypes().get(53); + getDescriptor().getMessageTypes().get(55); internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor, @@ -2654,7 +2688,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CharactersToSkip", "CommonCharactersToIgnore", "Characters", }); internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor = - getDescriptor().getMessageTypes().get(54); + getDescriptor().getMessageTypes().get(56); internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor, @@ -2662,7 +2696,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MaskingCharacter", "NumberToMask", "ReverseOrder", "CharactersToIgnore", }); internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor = - getDescriptor().getMessageTypes().get(55); + getDescriptor().getMessageTypes().get(57); internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor, @@ -2670,7 +2704,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LowerBound", "UpperBound", "BucketSize", }); internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor = - getDescriptor().getMessageTypes().get(56); + getDescriptor().getMessageTypes().get(58); internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor, @@ -2686,7 +2720,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Min", "Max", "ReplacementValue", }); internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor = - getDescriptor().getMessageTypes().get(57); + getDescriptor().getMessageTypes().get(59); internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor, @@ -2700,7 +2734,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Alphabet", }); internal_static_google_privacy_dlp_v2_CryptoKey_descriptor = - getDescriptor().getMessageTypes().get(58); + getDescriptor().getMessageTypes().get(60); internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CryptoKey_descriptor, @@ -2708,7 +2742,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Transient", "Unwrapped", "KmsWrapped", "Source", }); internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(59); + getDescriptor().getMessageTypes().get(61); internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor, @@ -2716,7 +2750,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(60); + getDescriptor().getMessageTypes().get(62); internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor, @@ -2724,7 +2758,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", }); internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(61); + getDescriptor().getMessageTypes().get(63); internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor, @@ -2732,7 +2766,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "WrappedKey", "CryptoKeyName", }); internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor = - getDescriptor().getMessageTypes().get(62); + getDescriptor().getMessageTypes().get(64); internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor, @@ -2740,7 +2774,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UpperBoundDays", "LowerBoundDays", "Context", "CryptoKey", "Method", }); internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor = - getDescriptor().getMessageTypes().get(63); + getDescriptor().getMessageTypes().get(65); internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor, @@ -2758,7 +2792,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InfoTypes", "PrimitiveTransformation", }); internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor = - getDescriptor().getMessageTypes().get(64); + getDescriptor().getMessageTypes().get(66); internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor, @@ -2770,7 +2804,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Transformation", }); internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor = - getDescriptor().getMessageTypes().get(65); + getDescriptor().getMessageTypes().get(67); internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor, @@ -2778,7 +2812,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FieldTransformations", "RecordSuppressions", }); internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor = - getDescriptor().getMessageTypes().get(66); + getDescriptor().getMessageTypes().get(68); internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor, @@ -2786,7 +2820,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Condition", }); internal_static_google_privacy_dlp_v2_RecordCondition_descriptor = - getDescriptor().getMessageTypes().get(67); + getDescriptor().getMessageTypes().get(69); internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RecordCondition_descriptor, @@ -2818,7 +2852,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LogicalOperator", "Conditions", "Type", }); internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor = - getDescriptor().getMessageTypes().get(68); + getDescriptor().getMessageTypes().get(70); internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor, @@ -2826,7 +2860,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TransformedBytes", "TransformationSummaries", }); internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor = - getDescriptor().getMessageTypes().get(69); + getDescriptor().getMessageTypes().get(71); internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor, @@ -2850,7 +2884,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Count", "Code", "Details", }); internal_static_google_privacy_dlp_v2_Schedule_descriptor = - getDescriptor().getMessageTypes().get(70); + getDescriptor().getMessageTypes().get(72); internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Schedule_descriptor, @@ -2858,12 +2892,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RecurrencePeriodDuration", "Option", }); internal_static_google_privacy_dlp_v2_Manual_descriptor = - getDescriptor().getMessageTypes().get(71); + getDescriptor().getMessageTypes().get(73); internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Manual_descriptor, new java.lang.String[] {}); internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor = - getDescriptor().getMessageTypes().get(72); + getDescriptor().getMessageTypes().get(74); internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor, @@ -2871,7 +2905,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "InspectConfig", }); internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor = - getDescriptor().getMessageTypes().get(73); + getDescriptor().getMessageTypes().get(75); internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor, @@ -2879,7 +2913,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "DeidentifyConfig", }); internal_static_google_privacy_dlp_v2_Error_descriptor = - getDescriptor().getMessageTypes().get(74); + getDescriptor().getMessageTypes().get(76); internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Error_descriptor, @@ -2887,7 +2921,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Details", "Timestamps", }); internal_static_google_privacy_dlp_v2_JobTrigger_descriptor = - getDescriptor().getMessageTypes().get(75); + getDescriptor().getMessageTypes().get(77); internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_JobTrigger_descriptor, @@ -2913,7 +2947,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Schedule", "Manual", "Trigger", }); internal_static_google_privacy_dlp_v2_Action_descriptor = - getDescriptor().getMessageTypes().get(76); + getDescriptor().getMessageTypes().get(78); internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Action_descriptor, @@ -2967,7 +3001,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor, new java.lang.String[] {}); internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(77); + getDescriptor().getMessageTypes().get(79); internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor, @@ -2975,7 +3009,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "InspectTemplate", "TemplateId", "LocationId", }); internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(78); + getDescriptor().getMessageTypes().get(80); internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor, @@ -2983,7 +3017,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "InspectTemplate", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(79); + getDescriptor().getMessageTypes().get(81); internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor, @@ -2991,7 +3025,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(80); + getDescriptor().getMessageTypes().get(82); internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor, @@ -2999,7 +3033,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor = - getDescriptor().getMessageTypes().get(81); + getDescriptor().getMessageTypes().get(83); internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor, @@ -3007,7 +3041,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InspectTemplates", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(82); + getDescriptor().getMessageTypes().get(84); internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor, @@ -3015,7 +3049,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(83); + getDescriptor().getMessageTypes().get(85); internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor, @@ -3023,7 +3057,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "JobTrigger", "TriggerId", "LocationId", }); internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(84); + getDescriptor().getMessageTypes().get(86); internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor, @@ -3031,7 +3065,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(85); + getDescriptor().getMessageTypes().get(87); internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor, @@ -3039,7 +3073,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "JobTrigger", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(86); + getDescriptor().getMessageTypes().get(88); internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor, @@ -3047,7 +3081,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(87); + getDescriptor().getMessageTypes().get(89); internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor, @@ -3055,7 +3089,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "InspectJob", "RiskJob", "JobId", "LocationId", "Job", }); internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor = - getDescriptor().getMessageTypes().get(88); + getDescriptor().getMessageTypes().get(90); internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor, @@ -3063,7 +3097,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageToken", "PageSize", "OrderBy", "Filter", "LocationId", }); internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor = - getDescriptor().getMessageTypes().get(89); + getDescriptor().getMessageTypes().get(91); internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor, @@ -3071,7 +3105,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "JobTriggers", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(90); + getDescriptor().getMessageTypes().get(92); internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor, @@ -3079,7 +3113,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor = - getDescriptor().getMessageTypes().get(91); + getDescriptor().getMessageTypes().get(93); internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor, @@ -3087,7 +3121,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "StorageConfig", "InspectConfig", "InspectTemplateName", "Actions", }); internal_static_google_privacy_dlp_v2_DlpJob_descriptor = - getDescriptor().getMessageTypes().get(92); + getDescriptor().getMessageTypes().get(94); internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DlpJob_descriptor, @@ -3105,7 +3139,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Details", }); internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(93); + getDescriptor().getMessageTypes().get(95); internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor, @@ -3113,7 +3147,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(94); + getDescriptor().getMessageTypes().get(96); internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor, @@ -3121,7 +3155,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "Type", "OrderBy", "LocationId", }); internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(95); + getDescriptor().getMessageTypes().get(97); internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor, @@ -3129,7 +3163,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Jobs", "NextPageToken", }); internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(96); + getDescriptor().getMessageTypes().get(98); internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor, @@ -3137,7 +3171,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(97); + getDescriptor().getMessageTypes().get(99); internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor, @@ -3145,7 +3179,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(98); + getDescriptor().getMessageTypes().get(100); internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor, @@ -3153,7 +3187,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(99); + getDescriptor().getMessageTypes().get(101); internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor, @@ -3161,7 +3195,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "DeidentifyTemplate", "TemplateId", "LocationId", }); internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(100); + getDescriptor().getMessageTypes().get(102); internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor, @@ -3169,7 +3203,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "DeidentifyTemplate", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(101); + getDescriptor().getMessageTypes().get(103); internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor, @@ -3177,7 +3211,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(102); + getDescriptor().getMessageTypes().get(104); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor, @@ -3185,7 +3219,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor = - getDescriptor().getMessageTypes().get(103); + getDescriptor().getMessageTypes().get(105); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor, @@ -3193,7 +3227,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DeidentifyTemplates", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(104); + getDescriptor().getMessageTypes().get(106); internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor, @@ -3201,7 +3235,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor = - getDescriptor().getMessageTypes().get(105); + getDescriptor().getMessageTypes().get(107); internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor, @@ -3209,7 +3243,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OutputPath", "CloudStorageFileSet", "BigQueryField", "Source", }); internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor = - getDescriptor().getMessageTypes().get(106); + getDescriptor().getMessageTypes().get(108); internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor, @@ -3217,7 +3251,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ApproxNumPhrases", }); internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor = - getDescriptor().getMessageTypes().get(107); + getDescriptor().getMessageTypes().get(109); internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor, @@ -3225,7 +3259,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DisplayName", "Description", "LargeCustomDictionary", "Dictionary", "Regex", "Type", }); internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor = - getDescriptor().getMessageTypes().get(108); + getDescriptor().getMessageTypes().get(110); internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor, @@ -3233,7 +3267,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LargeCustomDictionary", "Type", }); internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor = - getDescriptor().getMessageTypes().get(109); + getDescriptor().getMessageTypes().get(111); internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor, @@ -3241,7 +3275,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Config", "CreateTime", "State", "Errors", "Stats", }); internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor = - getDescriptor().getMessageTypes().get(110); + getDescriptor().getMessageTypes().get(112); internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor, @@ -3249,7 +3283,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "CurrentVersion", "PendingVersions", }); internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(111); + getDescriptor().getMessageTypes().get(113); internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor, @@ -3257,7 +3291,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Config", "StoredInfoTypeId", "LocationId", }); internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(112); + getDescriptor().getMessageTypes().get(114); internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor, @@ -3265,7 +3299,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Config", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(113); + getDescriptor().getMessageTypes().get(115); internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor, @@ -3273,7 +3307,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(114); + getDescriptor().getMessageTypes().get(116); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor, @@ -3281,7 +3315,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(115); + getDescriptor().getMessageTypes().get(117); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor, @@ -3289,7 +3323,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "StoredInfoTypes", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(116); + getDescriptor().getMessageTypes().get(118); internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor, @@ -3297,7 +3331,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(117); + getDescriptor().getMessageTypes().get(119); internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor, @@ -3305,7 +3339,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "HybridItem", }); internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(118); + getDescriptor().getMessageTypes().get(120); internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor, @@ -3313,7 +3347,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "HybridItem", }); internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor = - getDescriptor().getMessageTypes().get(119); + getDescriptor().getMessageTypes().get(121); internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor, @@ -3321,7 +3355,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Item", "FindingDetails", }); internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor = - getDescriptor().getMessageTypes().get(120); + getDescriptor().getMessageTypes().get(122); internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor, @@ -3339,7 +3373,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor = - getDescriptor().getMessageTypes().get(121); + getDescriptor().getMessageTypes().get(123); internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor, diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java index 9375f11c..e68216f1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java @@ -292,14 +292,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogle.privacy.dlp.v2.FieldId*t\n\nLikelihoo" + "d\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UN" + "LIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006" - + "LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*Z\n\010FileType\022\031\n" + + "LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*m\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\003\022\010\n\004AVRO\020\007B\250\001" - + "\n\031com.google.privacy.dlp.v2B\nDlpStorageP" - + "\001Z8google.golang.org/genproto/googleapis" - + "/privacy/dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V" - + "2\312\002\023Google\\Cloud\\Dlp\\V2\352\002\026Google::Cloud:" - + ":Dlp::V2b\006proto3" + + "\001\022\r\n\tTEXT_FILE\020\002\022\t\n\005IMAGE\020\003\022\010\n\004WORD\020\005\022\007\n" + + "\003PDF\020\006\022\010\n\004AVRO\020\007B\250\001\n\031com.google.privacy." + + "dlp.v2B\nDlpStorageP\001Z8google.golang.org/" + + "genproto/googleapis/privacy/dlp/v2;dlp\252\002" + + "\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\" + + "V2\352\002\026Google::Cloud::Dlp::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java index 64dfae05..326c1751 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java @@ -70,11 +70,34 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { * Included file extensions: * bmp, gif, jpg, jpeg, jpe, png. * bytes_limit_per_file has no effect on image files. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * IMAGE = 3; */ IMAGE(3), + /** + * + * + *
+   * Included file extensions:
+   *   docx, dotx, docm, dotm
+   * 
+ * + * WORD = 5; + */ + WORD(5), + /** + * + * + *
+   * Included file extensions:
+   *   pdf
+   * 
+ * + * PDF = 6; + */ + PDF(6), /** * * @@ -131,11 +154,34 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { * Included file extensions: * bmp, gif, jpg, jpeg, jpe, png. * bytes_limit_per_file has no effect on image files. + * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * * IMAGE = 3; */ public static final int IMAGE_VALUE = 3; + /** + * + * + *
+   * Included file extensions:
+   *   docx, dotx, docm, dotm
+   * 
+ * + * WORD = 5; + */ + public static final int WORD_VALUE = 5; + /** + * + * + *
+   * Included file extensions:
+   *   pdf
+   * 
+ * + * PDF = 6; + */ + public static final int PDF_VALUE = 6; /** * * @@ -180,6 +226,10 @@ public static FileType forNumber(int value) { return TEXT_FILE; case 3: return IMAGE; + case 5: + return WORD; + case 6: + return PDF; case 7: return AVRO; default: diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java index e48c293e..b4610d6e 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java @@ -259,8 +259,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * *
    * Resource name in format
-   * projects/{project}/locations/{location}/findings/{finding}
-   * Populated only when viewing persisted findings.
+   * projects/{project}/locations/{location}/findings/{finding} Populated only
+   * when viewing persisted findings.
    * 
* * string name = 14; @@ -283,8 +283,8 @@ public java.lang.String getName() { * *
    * Resource name in format
-   * projects/{project}/locations/{location}/findings/{finding}
-   * Populated only when viewing persisted findings.
+   * projects/{project}/locations/{location}/findings/{finding} Populated only
+   * when viewing persisted findings.
    * 
* * string name = 14; @@ -629,10 +629,6 @@ public com.google.protobuf.ByteString getResourceNameBytes() { * *
    * Job trigger name, if applicable, for this finding.
-   * (-- api-linter: core::0122::name-suffix=disabled
-   *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-   *     resource names, but this has existed as part of the bigquery schema
-   *     before this rule existed. --)
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } @@ -655,10 +651,6 @@ public java.lang.String getTriggerName() { * *
    * Job trigger name, if applicable, for this finding.
-   * (-- api-linter: core::0122::name-suffix=disabled
-   *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-   *     resource names, but this has existed as part of the bigquery schema
-   *     before this rule existed. --)
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } @@ -706,7 +698,7 @@ public int getLabelsCount() { * * *
-   * The labels associated with this `InspectFinding`.
+   * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
    * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
@@ -734,7 +726,7 @@ public java.util.Map getLabels() {
    *
    *
    * 
-   * The labels associated with this `InspectFinding`.
+   * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
    * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
@@ -754,7 +746,7 @@ public java.util.Map getLabelsMap() {
    *
    *
    * 
-   * The labels associated with this `InspectFinding`.
+   * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
    * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
@@ -778,7 +770,7 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    *
    *
    * 
-   * The labels associated with this `InspectFinding`.
+   * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
    * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
@@ -854,10 +846,6 @@ public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() {
    *
    * 
    * The job that stored the finding.
-   * (-- api-linter: core::0122::name-suffix=disabled
-   *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-   *     resource names, but this has existed as part of the bigquery schema
-   *     before this rule existed. --)
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } @@ -880,10 +868,6 @@ public java.lang.String getJobName() { * *
    * The job that stored the finding.
-   * (-- api-linter: core::0122::name-suffix=disabled
-   *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-   *     resource names, but this has existed as part of the bigquery schema
-   *     before this rule existed. --)
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } @@ -1484,8 +1468,8 @@ public Builder mergeFrom( * *
      * Resource name in format
-     * projects/{project}/locations/{location}/findings/{finding}
-     * Populated only when viewing persisted findings.
+     * projects/{project}/locations/{location}/findings/{finding} Populated only
+     * when viewing persisted findings.
      * 
* * string name = 14; @@ -1508,8 +1492,8 @@ public java.lang.String getName() { * *
      * Resource name in format
-     * projects/{project}/locations/{location}/findings/{finding}
-     * Populated only when viewing persisted findings.
+     * projects/{project}/locations/{location}/findings/{finding} Populated only
+     * when viewing persisted findings.
      * 
* * string name = 14; @@ -1532,8 +1516,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Resource name in format
-     * projects/{project}/locations/{location}/findings/{finding}
-     * Populated only when viewing persisted findings.
+     * projects/{project}/locations/{location}/findings/{finding} Populated only
+     * when viewing persisted findings.
      * 
* * string name = 14; @@ -1555,8 +1539,8 @@ public Builder setName(java.lang.String value) { * *
      * Resource name in format
-     * projects/{project}/locations/{location}/findings/{finding}
-     * Populated only when viewing persisted findings.
+     * projects/{project}/locations/{location}/findings/{finding} Populated only
+     * when viewing persisted findings.
      * 
* * string name = 14; @@ -1574,8 +1558,8 @@ public Builder clearName() { * *
      * Resource name in format
-     * projects/{project}/locations/{location}/findings/{finding}
-     * Populated only when viewing persisted findings.
+     * projects/{project}/locations/{location}/findings/{finding} Populated only
+     * when viewing persisted findings.
      * 
* * string name = 14; @@ -2685,10 +2669,6 @@ public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { * *
      * Job trigger name, if applicable, for this finding.
-     * (-- api-linter: core::0122::name-suffix=disabled
-     *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-     *     resource names, but this has existed as part of the bigquery schema
-     *     before this rule existed. --)
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } @@ -2711,10 +2691,6 @@ public java.lang.String getTriggerName() { * *
      * Job trigger name, if applicable, for this finding.
-     * (-- api-linter: core::0122::name-suffix=disabled
-     *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-     *     resource names, but this has existed as part of the bigquery schema
-     *     before this rule existed. --)
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } @@ -2737,10 +2713,6 @@ public com.google.protobuf.ByteString getTriggerNameBytes() { * *
      * Job trigger name, if applicable, for this finding.
-     * (-- api-linter: core::0122::name-suffix=disabled
-     *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-     *     resource names, but this has existed as part of the bigquery schema
-     *     before this rule existed. --)
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } @@ -2762,10 +2734,6 @@ public Builder setTriggerName(java.lang.String value) { * *
      * Job trigger name, if applicable, for this finding.
-     * (-- api-linter: core::0122::name-suffix=disabled
-     *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-     *     resource names, but this has existed as part of the bigquery schema
-     *     before this rule existed. --)
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } @@ -2783,10 +2751,6 @@ public Builder clearTriggerName() { * *
      * Job trigger name, if applicable, for this finding.
-     * (-- api-linter: core::0122::name-suffix=disabled
-     *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-     *     resource names, but this has existed as part of the bigquery schema
-     *     before this rule existed. --)
      * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } @@ -2834,7 +2798,7 @@ public int getLabelsCount() { * * *
-     * The labels associated with this `InspectFinding`.
+     * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
      * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
@@ -2862,7 +2826,7 @@ public java.util.Map getLabels() {
      *
      *
      * 
-     * The labels associated with this `InspectFinding`.
+     * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
      * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
@@ -2882,7 +2846,7 @@ public java.util.Map getLabelsMap() {
      *
      *
      * 
-     * The labels associated with this `InspectFinding`.
+     * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
      * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
@@ -2907,7 +2871,7 @@ public java.lang.String getLabelsOrDefault(
      *
      *
      * 
-     * The labels associated with this `InspectFinding`.
+     * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
      * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
@@ -2939,7 +2903,7 @@ public Builder clearLabels() {
      *
      *
      * 
-     * The labels associated with this `InspectFinding`.
+     * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
      * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
@@ -2968,7 +2932,7 @@ public java.util.Map getMutableLabels() {
      *
      *
      * 
-     * The labels associated with this `InspectFinding`.
+     * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
      * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
@@ -2995,7 +2959,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      *
      * 
-     * The labels associated with this `InspectFinding`.
+     * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
      * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
@@ -3204,10 +3168,6 @@ public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder() {
      *
      * 
      * The job that stored the finding.
-     * (-- api-linter: core::0122::name-suffix=disabled
-     *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-     *     resource names, but this has existed as part of the bigquery schema
-     *     before this rule existed. --)
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } @@ -3230,10 +3190,6 @@ public java.lang.String getJobName() { * *
      * The job that stored the finding.
-     * (-- api-linter: core::0122::name-suffix=disabled
-     *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-     *     resource names, but this has existed as part of the bigquery schema
-     *     before this rule existed. --)
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } @@ -3256,10 +3212,6 @@ public com.google.protobuf.ByteString getJobNameBytes() { * *
      * The job that stored the finding.
-     * (-- api-linter: core::0122::name-suffix=disabled
-     *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-     *     resource names, but this has existed as part of the bigquery schema
-     *     before this rule existed. --)
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } @@ -3281,10 +3233,6 @@ public Builder setJobName(java.lang.String value) { * *
      * The job that stored the finding.
-     * (-- api-linter: core::0122::name-suffix=disabled
-     *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-     *     resource names, but this has existed as part of the bigquery schema
-     *     before this rule existed. --)
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } @@ -3302,10 +3250,6 @@ public Builder clearJobName() { * *
      * The job that stored the finding.
-     * (-- api-linter: core::0122::name-suffix=disabled
-     *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-     *     resource names, but this has existed as part of the bigquery schema
-     *     before this rule existed. --)
      * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingName.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingName.java new file mode 100644 index 00000000..7a26f557 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingName.java @@ -0,0 +1,210 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.privacy.dlp.v2; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ +@javax.annotation.Generated("by GAPIC protoc plugin") +public class FindingName implements ResourceName { + + private static final PathTemplate PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/findings/{finding}"); + + private volatile Map fieldValuesMap; + + private final String project; + private final String location; + private final String finding; + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getFinding() { + return finding; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + private FindingName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + finding = Preconditions.checkNotNull(builder.getFinding()); + } + + public static FindingName of(String project, String location, String finding) { + return newBuilder().setProject(project).setLocation(location).setFinding(finding).build(); + } + + public static String format(String project, String location, String finding) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setFinding(finding) + .build() + .toString(); + } + + public static FindingName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PATH_TEMPLATE.validatedMatch( + formattedString, "FindingName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("finding")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList(values.size()); + for (FindingName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PATH_TEMPLATE.matches(formattedString); + } + + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + fieldMapBuilder.put("project", project); + fieldMapBuilder.put("location", location); + fieldMapBuilder.put("finding", finding); + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PATH_TEMPLATE.instantiate("project", project, "location", location, "finding", finding); + } + + /** Builder for FindingName. */ + public static class Builder { + + private String project; + private String location; + private String finding; + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getFinding() { + return finding; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setFinding(String finding) { + this.finding = finding; + return this; + } + + private Builder() {} + + private Builder(FindingName findingName) { + project = findingName.project; + location = findingName.location; + finding = findingName.finding; + } + + public FindingName build() { + return new FindingName(this); + } + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof FindingName) { + FindingName that = (FindingName) o; + return (this.project.equals(that.project)) + && (this.location.equals(that.location)) + && (this.finding.equals(that.finding)); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= project.hashCode(); + h *= 1000003; + h ^= location.hashCode(); + h *= 1000003; + h ^= finding.hashCode(); + return h; + } +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java index 209bf2c1..65dde62d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java @@ -28,8 +28,8 @@ public interface FindingOrBuilder * *
    * Resource name in format
-   * projects/{project}/locations/{location}/findings/{finding}
-   * Populated only when viewing persisted findings.
+   * projects/{project}/locations/{location}/findings/{finding} Populated only
+   * when viewing persisted findings.
    * 
* * string name = 14; @@ -42,8 +42,8 @@ public interface FindingOrBuilder * *
    * Resource name in format
-   * projects/{project}/locations/{location}/findings/{finding}
-   * Populated only when viewing persisted findings.
+   * projects/{project}/locations/{location}/findings/{finding} Populated only
+   * when viewing persisted findings.
    * 
* * string name = 14; @@ -289,10 +289,6 @@ public interface FindingOrBuilder * *
    * Job trigger name, if applicable, for this finding.
-   * (-- api-linter: core::0122::name-suffix=disabled
-   *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-   *     resource names, but this has existed as part of the bigquery schema
-   *     before this rule existed. --)
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } @@ -305,10 +301,6 @@ public interface FindingOrBuilder * *
    * Job trigger name, if applicable, for this finding.
-   * (-- api-linter: core::0122::name-suffix=disabled
-   *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-   *     resource names, but this has existed as part of the bigquery schema
-   *     before this rule existed. --)
    * 
* * string trigger_name = 9 [(.google.api.resource_reference) = { ... } @@ -321,7 +313,7 @@ public interface FindingOrBuilder * * *
-   * The labels associated with this `InspectFinding`.
+   * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
    * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
@@ -339,7 +331,7 @@ public interface FindingOrBuilder
    *
    *
    * 
-   * The labels associated with this `InspectFinding`.
+   * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
    * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
@@ -360,7 +352,7 @@ public interface FindingOrBuilder
    *
    *
    * 
-   * The labels associated with this `InspectFinding`.
+   * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
    * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
@@ -378,7 +370,7 @@ public interface FindingOrBuilder
    *
    *
    * 
-   * The labels associated with this `InspectFinding`.
+   * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
    * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
@@ -396,7 +388,7 @@ public interface FindingOrBuilder
    *
    *
    * 
-   * The labels associated with this `InspectFinding`.
+   * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
    * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
@@ -451,10 +443,6 @@ public interface FindingOrBuilder
    *
    * 
    * The job that stored the finding.
-   * (-- api-linter: core::0122::name-suffix=disabled
-   *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-   *     resource names, but this has existed as part of the bigquery schema
-   *     before this rule existed. --)
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } @@ -467,10 +455,6 @@ public interface FindingOrBuilder * *
    * The job that stored the finding.
-   * (-- api-linter: core::0122::name-suffix=disabled
-   *     aip.dev/not-precedent: AIP-122 discourages _name suffixes for
-   *     resource names, but this has existed as part of the bigquery schema
-   *     before this rule existed. --)
    * 
* * string job_name = 13 [(.google.api.resource_reference) = { ... } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java index 6fbbdba6..1fe53331 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java @@ -154,9 +154,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Lower bound value of buckets. All values less than `lower_bound`
-   * are grouped together into a single bucket; for example if `lower_bound` =
-   * 10, then all values less than 10 are replaced with the value “-10”.
+   * Required. Lower bound value of buckets. All values less than `lower_bound` are
+   * grouped together into a single bucket; for example if `lower_bound` = 10,
+   * then all values less than 10 are replaced with the value “-10”.
    * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -171,9 +171,9 @@ public boolean hasLowerBound() { * * *
-   * Required. Lower bound value of buckets. All values less than `lower_bound`
-   * are grouped together into a single bucket; for example if `lower_bound` =
-   * 10, then all values less than 10 are replaced with the value “-10”.
+   * Required. Lower bound value of buckets. All values less than `lower_bound` are
+   * grouped together into a single bucket; for example if `lower_bound` = 10,
+   * then all values less than 10 are replaced with the value “-10”.
    * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -188,9 +188,9 @@ public com.google.privacy.dlp.v2.Value getLowerBound() { * * *
-   * Required. Lower bound value of buckets. All values less than `lower_bound`
-   * are grouped together into a single bucket; for example if `lower_bound` =
-   * 10, then all values less than 10 are replaced with the value “-10”.
+   * Required. Lower bound value of buckets. All values less than `lower_bound` are
+   * grouped together into a single bucket; for example if `lower_bound` = 10,
+   * then all values less than 10 are replaced with the value “-10”.
    * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -206,9 +206,9 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() { * * *
-   * Required. Upper bound value of buckets. All values greater than upper_bound
-   * are grouped together into a single bucket; for example if `upper_bound` =
-   * 89, then all values greater than 89 are replaced with the value “89+”.
+   * Required. Upper bound value of buckets. All values greater than upper_bound are
+   * grouped together into a single bucket; for example if `upper_bound` = 89,
+   * then all values greater than 89 are replaced with the value “89+”.
    * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -223,9 +223,9 @@ public boolean hasUpperBound() { * * *
-   * Required. Upper bound value of buckets. All values greater than upper_bound
-   * are grouped together into a single bucket; for example if `upper_bound` =
-   * 89, then all values greater than 89 are replaced with the value “89+”.
+   * Required. Upper bound value of buckets. All values greater than upper_bound are
+   * grouped together into a single bucket; for example if `upper_bound` = 89,
+   * then all values greater than 89 are replaced with the value “89+”.
    * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -240,9 +240,9 @@ public com.google.privacy.dlp.v2.Value getUpperBound() { * * *
-   * Required. Upper bound value of buckets. All values greater than upper_bound
-   * are grouped together into a single bucket; for example if `upper_bound` =
-   * 89, then all values greater than 89 are replaced with the value “89+”.
+   * Required. Upper bound value of buckets. All values greater than upper_bound are
+   * grouped together into a single bucket; for example if `upper_bound` = 89,
+   * then all values greater than 89 are replaced with the value “89+”.
    * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -258,8 +258,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() { * * *
-   * Required. Size of each bucket (except for minimum and maximum buckets). So
-   * if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
+   * Required. Size of each bucket (except for minimum and maximum buckets). So if
+   * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
    * following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
    * 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
    * 
@@ -670,9 +670,9 @@ public Builder mergeFrom( * * *
-     * Required. Lower bound value of buckets. All values less than `lower_bound`
-     * are grouped together into a single bucket; for example if `lower_bound` =
-     * 10, then all values less than 10 are replaced with the value “-10”.
+     * Required. Lower bound value of buckets. All values less than `lower_bound` are
+     * grouped together into a single bucket; for example if `lower_bound` = 10,
+     * then all values less than 10 are replaced with the value “-10”.
      * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -687,9 +687,9 @@ public boolean hasLowerBound() { * * *
-     * Required. Lower bound value of buckets. All values less than `lower_bound`
-     * are grouped together into a single bucket; for example if `lower_bound` =
-     * 10, then all values less than 10 are replaced with the value “-10”.
+     * Required. Lower bound value of buckets. All values less than `lower_bound` are
+     * grouped together into a single bucket; for example if `lower_bound` = 10,
+     * then all values less than 10 are replaced with the value “-10”.
      * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -710,9 +710,9 @@ public com.google.privacy.dlp.v2.Value getLowerBound() { * * *
-     * Required. Lower bound value of buckets. All values less than `lower_bound`
-     * are grouped together into a single bucket; for example if `lower_bound` =
-     * 10, then all values less than 10 are replaced with the value “-10”.
+     * Required. Lower bound value of buckets. All values less than `lower_bound` are
+     * grouped together into a single bucket; for example if `lower_bound` = 10,
+     * then all values less than 10 are replaced with the value “-10”.
      * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -735,9 +735,9 @@ public Builder setLowerBound(com.google.privacy.dlp.v2.Value value) { * * *
-     * Required. Lower bound value of buckets. All values less than `lower_bound`
-     * are grouped together into a single bucket; for example if `lower_bound` =
-     * 10, then all values less than 10 are replaced with the value “-10”.
+     * Required. Lower bound value of buckets. All values less than `lower_bound` are
+     * grouped together into a single bucket; for example if `lower_bound` = 10,
+     * then all values less than 10 are replaced with the value “-10”.
      * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -757,9 +757,9 @@ public Builder setLowerBound(com.google.privacy.dlp.v2.Value.Builder builderForV * * *
-     * Required. Lower bound value of buckets. All values less than `lower_bound`
-     * are grouped together into a single bucket; for example if `lower_bound` =
-     * 10, then all values less than 10 are replaced with the value “-10”.
+     * Required. Lower bound value of buckets. All values less than `lower_bound` are
+     * grouped together into a single bucket; for example if `lower_bound` = 10,
+     * then all values less than 10 are replaced with the value “-10”.
      * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -786,9 +786,9 @@ public Builder mergeLowerBound(com.google.privacy.dlp.v2.Value value) { * * *
-     * Required. Lower bound value of buckets. All values less than `lower_bound`
-     * are grouped together into a single bucket; for example if `lower_bound` =
-     * 10, then all values less than 10 are replaced with the value “-10”.
+     * Required. Lower bound value of buckets. All values less than `lower_bound` are
+     * grouped together into a single bucket; for example if `lower_bound` = 10,
+     * then all values less than 10 are replaced with the value “-10”.
      * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -809,9 +809,9 @@ public Builder clearLowerBound() { * * *
-     * Required. Lower bound value of buckets. All values less than `lower_bound`
-     * are grouped together into a single bucket; for example if `lower_bound` =
-     * 10, then all values less than 10 are replaced with the value “-10”.
+     * Required. Lower bound value of buckets. All values less than `lower_bound` are
+     * grouped together into a single bucket; for example if `lower_bound` = 10,
+     * then all values less than 10 are replaced with the value “-10”.
      * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -826,9 +826,9 @@ public com.google.privacy.dlp.v2.Value.Builder getLowerBoundBuilder() { * * *
-     * Required. Lower bound value of buckets. All values less than `lower_bound`
-     * are grouped together into a single bucket; for example if `lower_bound` =
-     * 10, then all values less than 10 are replaced with the value “-10”.
+     * Required. Lower bound value of buckets. All values less than `lower_bound` are
+     * grouped together into a single bucket; for example if `lower_bound` = 10,
+     * then all values less than 10 are replaced with the value “-10”.
      * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -847,9 +847,9 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() { * * *
-     * Required. Lower bound value of buckets. All values less than `lower_bound`
-     * are grouped together into a single bucket; for example if `lower_bound` =
-     * 10, then all values less than 10 are replaced with the value “-10”.
+     * Required. Lower bound value of buckets. All values less than `lower_bound` are
+     * grouped together into a single bucket; for example if `lower_bound` = 10,
+     * then all values less than 10 are replaced with the value “-10”.
      * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -882,9 +882,9 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getLowerBoundOrBuilder() { * * *
-     * Required. Upper bound value of buckets. All values greater than upper_bound
-     * are grouped together into a single bucket; for example if `upper_bound` =
-     * 89, then all values greater than 89 are replaced with the value “89+”.
+     * Required. Upper bound value of buckets. All values greater than upper_bound are
+     * grouped together into a single bucket; for example if `upper_bound` = 89,
+     * then all values greater than 89 are replaced with the value “89+”.
      * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -899,9 +899,9 @@ public boolean hasUpperBound() { * * *
-     * Required. Upper bound value of buckets. All values greater than upper_bound
-     * are grouped together into a single bucket; for example if `upper_bound` =
-     * 89, then all values greater than 89 are replaced with the value “89+”.
+     * Required. Upper bound value of buckets. All values greater than upper_bound are
+     * grouped together into a single bucket; for example if `upper_bound` = 89,
+     * then all values greater than 89 are replaced with the value “89+”.
      * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -922,9 +922,9 @@ public com.google.privacy.dlp.v2.Value getUpperBound() { * * *
-     * Required. Upper bound value of buckets. All values greater than upper_bound
-     * are grouped together into a single bucket; for example if `upper_bound` =
-     * 89, then all values greater than 89 are replaced with the value “89+”.
+     * Required. Upper bound value of buckets. All values greater than upper_bound are
+     * grouped together into a single bucket; for example if `upper_bound` = 89,
+     * then all values greater than 89 are replaced with the value “89+”.
      * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -947,9 +947,9 @@ public Builder setUpperBound(com.google.privacy.dlp.v2.Value value) { * * *
-     * Required. Upper bound value of buckets. All values greater than upper_bound
-     * are grouped together into a single bucket; for example if `upper_bound` =
-     * 89, then all values greater than 89 are replaced with the value “89+”.
+     * Required. Upper bound value of buckets. All values greater than upper_bound are
+     * grouped together into a single bucket; for example if `upper_bound` = 89,
+     * then all values greater than 89 are replaced with the value “89+”.
      * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -969,9 +969,9 @@ public Builder setUpperBound(com.google.privacy.dlp.v2.Value.Builder builderForV * * *
-     * Required. Upper bound value of buckets. All values greater than upper_bound
-     * are grouped together into a single bucket; for example if `upper_bound` =
-     * 89, then all values greater than 89 are replaced with the value “89+”.
+     * Required. Upper bound value of buckets. All values greater than upper_bound are
+     * grouped together into a single bucket; for example if `upper_bound` = 89,
+     * then all values greater than 89 are replaced with the value “89+”.
      * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -998,9 +998,9 @@ public Builder mergeUpperBound(com.google.privacy.dlp.v2.Value value) { * * *
-     * Required. Upper bound value of buckets. All values greater than upper_bound
-     * are grouped together into a single bucket; for example if `upper_bound` =
-     * 89, then all values greater than 89 are replaced with the value “89+”.
+     * Required. Upper bound value of buckets. All values greater than upper_bound are
+     * grouped together into a single bucket; for example if `upper_bound` = 89,
+     * then all values greater than 89 are replaced with the value “89+”.
      * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1021,9 +1021,9 @@ public Builder clearUpperBound() { * * *
-     * Required. Upper bound value of buckets. All values greater than upper_bound
-     * are grouped together into a single bucket; for example if `upper_bound` =
-     * 89, then all values greater than 89 are replaced with the value “89+”.
+     * Required. Upper bound value of buckets. All values greater than upper_bound are
+     * grouped together into a single bucket; for example if `upper_bound` = 89,
+     * then all values greater than 89 are replaced with the value “89+”.
      * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1038,9 +1038,9 @@ public com.google.privacy.dlp.v2.Value.Builder getUpperBoundBuilder() { * * *
-     * Required. Upper bound value of buckets. All values greater than upper_bound
-     * are grouped together into a single bucket; for example if `upper_bound` =
-     * 89, then all values greater than 89 are replaced with the value “89+”.
+     * Required. Upper bound value of buckets. All values greater than upper_bound are
+     * grouped together into a single bucket; for example if `upper_bound` = 89,
+     * then all values greater than 89 are replaced with the value “89+”.
      * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1059,9 +1059,9 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() { * * *
-     * Required. Upper bound value of buckets. All values greater than upper_bound
-     * are grouped together into a single bucket; for example if `upper_bound` =
-     * 89, then all values greater than 89 are replaced with the value “89+”.
+     * Required. Upper bound value of buckets. All values greater than upper_bound are
+     * grouped together into a single bucket; for example if `upper_bound` = 89,
+     * then all values greater than 89 are replaced with the value “89+”.
      * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1089,8 +1089,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() { * * *
-     * Required. Size of each bucket (except for minimum and maximum buckets). So
-     * if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
+     * Required. Size of each bucket (except for minimum and maximum buckets). So if
+     * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
      * following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
      * 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
      * 
@@ -1106,8 +1106,8 @@ public double getBucketSize() { * * *
-     * Required. Size of each bucket (except for minimum and maximum buckets). So
-     * if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
+     * Required. Size of each bucket (except for minimum and maximum buckets). So if
+     * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
      * following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
      * 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
      * 
@@ -1127,8 +1127,8 @@ public Builder setBucketSize(double value) { * * *
-     * Required. Size of each bucket (except for minimum and maximum buckets). So
-     * if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
+     * Required. Size of each bucket (except for minimum and maximum buckets). So if
+     * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
      * following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
      * 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
      * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java index 01024f7c..66c0fc14 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfigOrBuilder.java @@ -27,9 +27,9 @@ public interface FixedSizeBucketingConfigOrBuilder * * *
-   * Required. Lower bound value of buckets. All values less than `lower_bound`
-   * are grouped together into a single bucket; for example if `lower_bound` =
-   * 10, then all values less than 10 are replaced with the value “-10”.
+   * Required. Lower bound value of buckets. All values less than `lower_bound` are
+   * grouped together into a single bucket; for example if `lower_bound` = 10,
+   * then all values less than 10 are replaced with the value “-10”.
    * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -42,9 +42,9 @@ public interface FixedSizeBucketingConfigOrBuilder * * *
-   * Required. Lower bound value of buckets. All values less than `lower_bound`
-   * are grouped together into a single bucket; for example if `lower_bound` =
-   * 10, then all values less than 10 are replaced with the value “-10”.
+   * Required. Lower bound value of buckets. All values less than `lower_bound` are
+   * grouped together into a single bucket; for example if `lower_bound` = 10,
+   * then all values less than 10 are replaced with the value “-10”.
    * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -57,9 +57,9 @@ public interface FixedSizeBucketingConfigOrBuilder * * *
-   * Required. Lower bound value of buckets. All values less than `lower_bound`
-   * are grouped together into a single bucket; for example if `lower_bound` =
-   * 10, then all values less than 10 are replaced with the value “-10”.
+   * Required. Lower bound value of buckets. All values less than `lower_bound` are
+   * grouped together into a single bucket; for example if `lower_bound` = 10,
+   * then all values less than 10 are replaced with the value “-10”.
    * 
* * .google.privacy.dlp.v2.Value lower_bound = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -71,9 +71,9 @@ public interface FixedSizeBucketingConfigOrBuilder * * *
-   * Required. Upper bound value of buckets. All values greater than upper_bound
-   * are grouped together into a single bucket; for example if `upper_bound` =
-   * 89, then all values greater than 89 are replaced with the value “89+”.
+   * Required. Upper bound value of buckets. All values greater than upper_bound are
+   * grouped together into a single bucket; for example if `upper_bound` = 89,
+   * then all values greater than 89 are replaced with the value “89+”.
    * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -86,9 +86,9 @@ public interface FixedSizeBucketingConfigOrBuilder * * *
-   * Required. Upper bound value of buckets. All values greater than upper_bound
-   * are grouped together into a single bucket; for example if `upper_bound` =
-   * 89, then all values greater than 89 are replaced with the value “89+”.
+   * Required. Upper bound value of buckets. All values greater than upper_bound are
+   * grouped together into a single bucket; for example if `upper_bound` = 89,
+   * then all values greater than 89 are replaced with the value “89+”.
    * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -101,9 +101,9 @@ public interface FixedSizeBucketingConfigOrBuilder * * *
-   * Required. Upper bound value of buckets. All values greater than upper_bound
-   * are grouped together into a single bucket; for example if `upper_bound` =
-   * 89, then all values greater than 89 are replaced with the value “89+”.
+   * Required. Upper bound value of buckets. All values greater than upper_bound are
+   * grouped together into a single bucket; for example if `upper_bound` = 89,
+   * then all values greater than 89 are replaced with the value “89+”.
    * 
* * .google.privacy.dlp.v2.Value upper_bound = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -115,8 +115,8 @@ public interface FixedSizeBucketingConfigOrBuilder * * *
-   * Required. Size of each bucket (except for minimum and maximum buckets). So
-   * if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
+   * Required. Size of each bucket (except for minimum and maximum buckets). So if
+   * `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
    * following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
    * 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java index d91d618b..19af5d62 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java @@ -117,9 +117,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the organization and deidentify template to be
-   * read, for example `organizations/433245324/deidentifyTemplates/432452342`
-   * or projects/project-id/deidentifyTemplates/432452342.
+   * Required. Resource name of the organization and deidentify template to be read, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
    * 
* * @@ -143,9 +143,9 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the organization and deidentify template to be
-   * read, for example `organizations/433245324/deidentifyTemplates/432452342`
-   * or projects/project-id/deidentifyTemplates/432452342.
+   * Required. Resource name of the organization and deidentify template to be read, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
    * 
* * @@ -490,9 +490,9 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the organization and deidentify template to be
-     * read, for example `organizations/433245324/deidentifyTemplates/432452342`
-     * or projects/project-id/deidentifyTemplates/432452342.
+     * Required. Resource name of the organization and deidentify template to be read, for
+     * example `organizations/433245324/deidentifyTemplates/432452342` or
+     * projects/project-id/deidentifyTemplates/432452342.
      * 
* * @@ -516,9 +516,9 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the organization and deidentify template to be
-     * read, for example `organizations/433245324/deidentifyTemplates/432452342`
-     * or projects/project-id/deidentifyTemplates/432452342.
+     * Required. Resource name of the organization and deidentify template to be read, for
+     * example `organizations/433245324/deidentifyTemplates/432452342` or
+     * projects/project-id/deidentifyTemplates/432452342.
      * 
* * @@ -542,9 +542,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the organization and deidentify template to be
-     * read, for example `organizations/433245324/deidentifyTemplates/432452342`
-     * or projects/project-id/deidentifyTemplates/432452342.
+     * Required. Resource name of the organization and deidentify template to be read, for
+     * example `organizations/433245324/deidentifyTemplates/432452342` or
+     * projects/project-id/deidentifyTemplates/432452342.
      * 
* * @@ -567,9 +567,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the organization and deidentify template to be
-     * read, for example `organizations/433245324/deidentifyTemplates/432452342`
-     * or projects/project-id/deidentifyTemplates/432452342.
+     * Required. Resource name of the organization and deidentify template to be read, for
+     * example `organizations/433245324/deidentifyTemplates/432452342` or
+     * projects/project-id/deidentifyTemplates/432452342.
      * 
* * @@ -588,9 +588,9 @@ public Builder clearName() { * * *
-     * Required. Resource name of the organization and deidentify template to be
-     * read, for example `organizations/433245324/deidentifyTemplates/432452342`
-     * or projects/project-id/deidentifyTemplates/432452342.
+     * Required. Resource name of the organization and deidentify template to be read, for
+     * example `organizations/433245324/deidentifyTemplates/432452342` or
+     * projects/project-id/deidentifyTemplates/432452342.
      * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java index 1b7aa70c..d2fe67a9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java @@ -27,9 +27,9 @@ public interface GetDeidentifyTemplateRequestOrBuilder * * *
-   * Required. Resource name of the organization and deidentify template to be
-   * read, for example `organizations/433245324/deidentifyTemplates/432452342`
-   * or projects/project-id/deidentifyTemplates/432452342.
+   * Required. Resource name of the organization and deidentify template to be read, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
    * 
* * @@ -43,9 +43,9 @@ public interface GetDeidentifyTemplateRequestOrBuilder * * *
-   * Required. Resource name of the organization and deidentify template to be
-   * read, for example `organizations/433245324/deidentifyTemplates/432452342`
-   * or projects/project-id/deidentifyTemplates/432452342.
+   * Required. Resource name of the organization and deidentify template to be read, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
+   * projects/project-id/deidentifyTemplates/432452342.
    * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java index 8113660c..c1a8b62d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java @@ -117,8 +117,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the organization and inspectTemplate to be read,
-   * for example `organizations/433245324/inspectTemplates/432452342` or
+   * Required. Resource name of the organization and inspectTemplate to be read, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* @@ -143,8 +143,8 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the organization and inspectTemplate to be read,
-   * for example `organizations/433245324/inspectTemplates/432452342` or
+   * Required. Resource name of the organization and inspectTemplate to be read, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* @@ -489,8 +489,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the organization and inspectTemplate to be read,
-     * for example `organizations/433245324/inspectTemplates/432452342` or
+     * Required. Resource name of the organization and inspectTemplate to be read, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* @@ -515,8 +515,8 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the organization and inspectTemplate to be read,
-     * for example `organizations/433245324/inspectTemplates/432452342` or
+     * Required. Resource name of the organization and inspectTemplate to be read, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* @@ -541,8 +541,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the organization and inspectTemplate to be read,
-     * for example `organizations/433245324/inspectTemplates/432452342` or
+     * Required. Resource name of the organization and inspectTemplate to be read, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* @@ -566,8 +566,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the organization and inspectTemplate to be read,
-     * for example `organizations/433245324/inspectTemplates/432452342` or
+     * Required. Resource name of the organization and inspectTemplate to be read, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* @@ -587,8 +587,8 @@ public Builder clearName() { * * *
-     * Required. Resource name of the organization and inspectTemplate to be read,
-     * for example `organizations/433245324/inspectTemplates/432452342` or
+     * Required. Resource name of the organization and inspectTemplate to be read, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java index b6e68e78..f0a69421 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface GetInspectTemplateRequestOrBuilder * * *
-   * Required. Resource name of the organization and inspectTemplate to be read,
-   * for example `organizations/433245324/inspectTemplates/432452342` or
+   * Required. Resource name of the organization and inspectTemplate to be read, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* @@ -43,8 +43,8 @@ public interface GetInspectTemplateRequestOrBuilder * * *
-   * Required. Resource name of the organization and inspectTemplate to be read,
-   * for example `organizations/433245324/inspectTemplates/432452342` or
+   * Required. Resource name of the organization and inspectTemplate to be read, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java index 60248ad8..4353927b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java @@ -117,8 +117,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the organization and storedInfoType to be read,
-   * for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of the organization and storedInfoType to be read, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* @@ -143,8 +143,8 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the organization and storedInfoType to be read,
-   * for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of the organization and storedInfoType to be read, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* @@ -489,8 +489,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the organization and storedInfoType to be read,
-     * for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of the organization and storedInfoType to be read, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -515,8 +515,8 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the organization and storedInfoType to be read,
-     * for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of the organization and storedInfoType to be read, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -541,8 +541,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the organization and storedInfoType to be read,
-     * for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of the organization and storedInfoType to be read, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -566,8 +566,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the organization and storedInfoType to be read,
-     * for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of the organization and storedInfoType to be read, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -587,8 +587,8 @@ public Builder clearName() { * * *
-     * Required. Resource name of the organization and storedInfoType to be read,
-     * for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of the organization and storedInfoType to be read, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java index 9b4cdad7..42cbf504 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface GetStoredInfoTypeRequestOrBuilder * * *
-   * Required. Resource name of the organization and storedInfoType to be read,
-   * for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of the organization and storedInfoType to be read, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* @@ -43,8 +43,8 @@ public interface GetStoredInfoTypeRequestOrBuilder * * *
-   * Required. Resource name of the organization and storedInfoType to be read,
-   * for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of the organization and storedInfoType to be read, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java index 4e64bf66..c10af262 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequest.java @@ -133,8 +133,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the job to execute a hybrid inspect on, for
-   * example `projects/dlp-test-project/dlpJob/53234423`.
+   * Required. Resource name of the job to execute a hybrid inspect on, for example
+   * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* * @@ -158,8 +158,8 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the job to execute a hybrid inspect on, for
-   * example `projects/dlp-test-project/dlpJob/53234423`.
+   * Required. Resource name of the job to execute a hybrid inspect on, for example
+   * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* * @@ -576,8 +576,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the job to execute a hybrid inspect on, for
-     * example `projects/dlp-test-project/dlpJob/53234423`.
+     * Required. Resource name of the job to execute a hybrid inspect on, for example
+     * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* * @@ -601,8 +601,8 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the job to execute a hybrid inspect on, for
-     * example `projects/dlp-test-project/dlpJob/53234423`.
+     * Required. Resource name of the job to execute a hybrid inspect on, for example
+     * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* * @@ -626,8 +626,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the job to execute a hybrid inspect on, for
-     * example `projects/dlp-test-project/dlpJob/53234423`.
+     * Required. Resource name of the job to execute a hybrid inspect on, for example
+     * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* * @@ -650,8 +650,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the job to execute a hybrid inspect on, for
-     * example `projects/dlp-test-project/dlpJob/53234423`.
+     * Required. Resource name of the job to execute a hybrid inspect on, for example
+     * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* * @@ -670,8 +670,8 @@ public Builder clearName() { * * *
-     * Required. Resource name of the job to execute a hybrid inspect on, for
-     * example `projects/dlp-test-project/dlpJob/53234423`.
+     * Required. Resource name of the job to execute a hybrid inspect on, for example
+     * `projects/dlp-test-project/dlpJob/53234423`.
      * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java index e6f39f79..b6bab6b4 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectDlpJobRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface HybridInspectDlpJobRequestOrBuilder * * *
-   * Required. Resource name of the job to execute a hybrid inspect on, for
-   * example `projects/dlp-test-project/dlpJob/53234423`.
+   * Required. Resource name of the job to execute a hybrid inspect on, for example
+   * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* * @@ -42,8 +42,8 @@ public interface HybridInspectDlpJobRequestOrBuilder * * *
-   * Required. Resource name of the job to execute a hybrid inspect on, for
-   * example `projects/dlp-test-project/dlpJob/53234423`.
+   * Required. Resource name of the job to execute a hybrid inspect on, for example
+   * `projects/dlp-test-project/dlpJob/53234423`.
    * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java index 6c1ea46d..782b7a1a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequest.java @@ -134,8 +134,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the trigger to execute a hybrid inspect on, for
-   * example `projects/dlp-test-project/jobTriggers/53234423`.
+   * Required. Resource name of the trigger to execute a hybrid inspect on, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* * @@ -159,8 +159,8 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the trigger to execute a hybrid inspect on, for
-   * example `projects/dlp-test-project/jobTriggers/53234423`.
+   * Required. Resource name of the trigger to execute a hybrid inspect on, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* * @@ -578,8 +578,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the trigger to execute a hybrid inspect on, for
-     * example `projects/dlp-test-project/jobTriggers/53234423`.
+     * Required. Resource name of the trigger to execute a hybrid inspect on, for example
+     * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* * @@ -603,8 +603,8 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the trigger to execute a hybrid inspect on, for
-     * example `projects/dlp-test-project/jobTriggers/53234423`.
+     * Required. Resource name of the trigger to execute a hybrid inspect on, for example
+     * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* * @@ -628,8 +628,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the trigger to execute a hybrid inspect on, for
-     * example `projects/dlp-test-project/jobTriggers/53234423`.
+     * Required. Resource name of the trigger to execute a hybrid inspect on, for example
+     * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* * @@ -652,8 +652,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the trigger to execute a hybrid inspect on, for
-     * example `projects/dlp-test-project/jobTriggers/53234423`.
+     * Required. Resource name of the trigger to execute a hybrid inspect on, for example
+     * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* * @@ -672,8 +672,8 @@ public Builder clearName() { * * *
-     * Required. Resource name of the trigger to execute a hybrid inspect on, for
-     * example `projects/dlp-test-project/jobTriggers/53234423`.
+     * Required. Resource name of the trigger to execute a hybrid inspect on, for example
+     * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java index 94363c8a..93e2f12d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectJobTriggerRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface HybridInspectJobTriggerRequestOrBuilder * * *
-   * Required. Resource name of the trigger to execute a hybrid inspect on, for
-   * example `projects/dlp-test-project/jobTriggers/53234423`.
+   * Required. Resource name of the trigger to execute a hybrid inspect on, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* * @@ -42,8 +42,8 @@ public interface HybridInspectJobTriggerRequestOrBuilder * * *
-   * Required. Resource name of the trigger to execute a hybrid inspect on, for
-   * example `projects/dlp-test-project/jobTriggers/53234423`.
+   * Required. Resource name of the trigger to execute a hybrid inspect on, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java index ed8ecde7..23455ef1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridInspectStatistics.java @@ -22,7 +22,7 @@ * * *
- * Statistics related to processing hybrid inspect requests.s
+ * Statistics related to processing hybrid inspect requests.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectStatistics} @@ -354,7 +354,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Statistics related to processing hybrid inspect requests.s
+   * Statistics related to processing hybrid inspect requests.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.HybridInspectStatistics} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java index de3e0b32..e6511563 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSupportedBy.java @@ -149,7 +149,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(3); + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(4); } private static final InfoTypeSupportedBy[] VALUES = values(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java index 2e009c86..23ab6786 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java @@ -360,6 +360,8 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() { *
    * The geographic location to process content inspection. Reserved for future
    * extensions.
+   * When inspecting images location is restricted to 'global', 'us', 'asia',
+   * and 'europe'.
    * 
* * string location_id = 5; @@ -383,6 +385,8 @@ public java.lang.String getLocationId() { *
    * The geographic location to process content inspection. Reserved for future
    * extensions.
+   * When inspecting images location is restricted to 'global', 'us', 'asia',
+   * and 'europe'.
    * 
* * string location_id = 5; @@ -1421,6 +1425,8 @@ public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) *
      * The geographic location to process content inspection. Reserved for future
      * extensions.
+     * When inspecting images location is restricted to 'global', 'us', 'asia',
+     * and 'europe'.
      * 
* * string location_id = 5; @@ -1444,6 +1450,8 @@ public java.lang.String getLocationId() { *
      * The geographic location to process content inspection. Reserved for future
      * extensions.
+     * When inspecting images location is restricted to 'global', 'us', 'asia',
+     * and 'europe'.
      * 
* * string location_id = 5; @@ -1467,6 +1475,8 @@ public com.google.protobuf.ByteString getLocationIdBytes() { *
      * The geographic location to process content inspection. Reserved for future
      * extensions.
+     * When inspecting images location is restricted to 'global', 'us', 'asia',
+     * and 'europe'.
      * 
* * string location_id = 5; @@ -1489,6 +1499,8 @@ public Builder setLocationId(java.lang.String value) { *
      * The geographic location to process content inspection. Reserved for future
      * extensions.
+     * When inspecting images location is restricted to 'global', 'us', 'asia',
+     * and 'europe'.
      * 
* * string location_id = 5; @@ -1507,6 +1519,8 @@ public Builder clearLocationId() { *
      * The geographic location to process content inspection. Reserved for future
      * extensions.
+     * When inspecting images location is restricted to 'global', 'us', 'asia',
+     * and 'europe'.
      * 
* * string location_id = 5; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java index ab0562a0..97477214 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java @@ -160,6 +160,8 @@ public interface InspectContentRequestOrBuilder *
    * The geographic location to process content inspection. Reserved for future
    * extensions.
+   * When inspecting images location is restricted to 'global', 'us', 'asia',
+   * and 'europe'.
    * 
* * string location_id = 5; @@ -173,6 +175,8 @@ public interface InspectContentRequestOrBuilder *
    * The geographic location to process content inspection. Reserved for future
    * extensions.
+   * When inspecting images location is restricted to 'global', 'us', 'asia',
+   * and 'europe'.
    * 
* * string location_id = 5; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java index ac8ce630..e3002be2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java @@ -1950,8 +1950,8 @@ public com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilde * * *
-   * Output only. A stream of errors encountered when the trigger was activated.
-   * Repeated errors may result in the JobTrigger automatically being paused.
+   * Output only. A stream of errors encountered when the trigger was activated. Repeated
+   * errors may result in the JobTrigger automatically being paused.
    * Will return the last 100 errors. Whenever the JobTrigger is modified
    * this list will be cleared.
    * 
@@ -1967,8 +1967,8 @@ public java.util.List getErrorsList() { * * *
-   * Output only. A stream of errors encountered when the trigger was activated.
-   * Repeated errors may result in the JobTrigger automatically being paused.
+   * Output only. A stream of errors encountered when the trigger was activated. Repeated
+   * errors may result in the JobTrigger automatically being paused.
    * Will return the last 100 errors. Whenever the JobTrigger is modified
    * this list will be cleared.
    * 
@@ -1985,8 +1985,8 @@ public java.util.List getErrorsList() { * * *
-   * Output only. A stream of errors encountered when the trigger was activated.
-   * Repeated errors may result in the JobTrigger automatically being paused.
+   * Output only. A stream of errors encountered when the trigger was activated. Repeated
+   * errors may result in the JobTrigger automatically being paused.
    * Will return the last 100 errors. Whenever the JobTrigger is modified
    * this list will be cleared.
    * 
@@ -2002,8 +2002,8 @@ public int getErrorsCount() { * * *
-   * Output only. A stream of errors encountered when the trigger was activated.
-   * Repeated errors may result in the JobTrigger automatically being paused.
+   * Output only. A stream of errors encountered when the trigger was activated. Repeated
+   * errors may result in the JobTrigger automatically being paused.
    * Will return the last 100 errors. Whenever the JobTrigger is modified
    * this list will be cleared.
    * 
@@ -2019,8 +2019,8 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { * * *
-   * Output only. A stream of errors encountered when the trigger was activated.
-   * Repeated errors may result in the JobTrigger automatically being paused.
+   * Output only. A stream of errors encountered when the trigger was activated. Repeated
+   * errors may result in the JobTrigger automatically being paused.
    * Will return the last 100 errors. Whenever the JobTrigger is modified
    * this list will be cleared.
    * 
@@ -3769,8 +3769,8 @@ private void ensureErrorsIsMutable() { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -3790,8 +3790,8 @@ public java.util.List getErrorsList() { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -3811,8 +3811,8 @@ public int getErrorsCount() { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -3832,8 +3832,8 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -3859,8 +3859,8 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error value) { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -3883,8 +3883,8 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -3910,8 +3910,8 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error value) { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -3937,8 +3937,8 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error value) { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -3961,8 +3961,8 @@ public Builder addErrors(com.google.privacy.dlp.v2.Error.Builder builderForValue * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -3985,8 +3985,8 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -4010,8 +4010,8 @@ public Builder addAllErrors( * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -4034,8 +4034,8 @@ public Builder clearErrors() { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -4058,8 +4058,8 @@ public Builder removeErrors(int index) { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -4075,8 +4075,8 @@ public com.google.privacy.dlp.v2.Error.Builder getErrorsBuilder(int index) { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -4096,8 +4096,8 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -4118,8 +4118,8 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -4136,8 +4136,8 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder() { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
@@ -4154,8 +4154,8 @@ public com.google.privacy.dlp.v2.Error.Builder addErrorsBuilder(int index) { * * *
-     * Output only. A stream of errors encountered when the trigger was activated.
-     * Repeated errors may result in the JobTrigger automatically being paused.
+     * Output only. A stream of errors encountered when the trigger was activated. Repeated
+     * errors may result in the JobTrigger automatically being paused.
      * Will return the last 100 errors. Whenever the JobTrigger is modified
      * this list will be cleared.
      * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java index f68c70f7..5acc7e47 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java @@ -203,8 +203,8 @@ public interface JobTriggerOrBuilder * * *
-   * Output only. A stream of errors encountered when the trigger was activated.
-   * Repeated errors may result in the JobTrigger automatically being paused.
+   * Output only. A stream of errors encountered when the trigger was activated. Repeated
+   * errors may result in the JobTrigger automatically being paused.
    * Will return the last 100 errors. Whenever the JobTrigger is modified
    * this list will be cleared.
    * 
@@ -218,8 +218,8 @@ public interface JobTriggerOrBuilder * * *
-   * Output only. A stream of errors encountered when the trigger was activated.
-   * Repeated errors may result in the JobTrigger automatically being paused.
+   * Output only. A stream of errors encountered when the trigger was activated. Repeated
+   * errors may result in the JobTrigger automatically being paused.
    * Will return the last 100 errors. Whenever the JobTrigger is modified
    * this list will be cleared.
    * 
@@ -233,8 +233,8 @@ public interface JobTriggerOrBuilder * * *
-   * Output only. A stream of errors encountered when the trigger was activated.
-   * Repeated errors may result in the JobTrigger automatically being paused.
+   * Output only. A stream of errors encountered when the trigger was activated. Repeated
+   * errors may result in the JobTrigger automatically being paused.
    * Will return the last 100 errors. Whenever the JobTrigger is modified
    * this list will be cleared.
    * 
@@ -248,8 +248,8 @@ public interface JobTriggerOrBuilder * * *
-   * Output only. A stream of errors encountered when the trigger was activated.
-   * Repeated errors may result in the JobTrigger automatically being paused.
+   * Output only. A stream of errors encountered when the trigger was activated. Repeated
+   * errors may result in the JobTrigger automatically being paused.
    * Will return the last 100 errors. Whenever the JobTrigger is modified
    * this list will be cleared.
    * 
@@ -263,8 +263,8 @@ public interface JobTriggerOrBuilder * * *
-   * Output only. A stream of errors encountered when the trigger was activated.
-   * Repeated errors may result in the JobTrigger automatically being paused.
+   * Output only. A stream of errors encountered when the trigger was activated. Repeated
+   * errors may result in the JobTrigger automatically being paused.
    * Will return the last 100 errors. Whenever the JobTrigger is modified
    * this list will be cleared.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java new file mode 100644 index 00000000..d5ac575e --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocation.java @@ -0,0 +1,973 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + * + * + *
+ * Metadata Location
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.MetadataLocation} + */ +public final class MetadataLocation extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.MetadataLocation) + MetadataLocationOrBuilder { + private static final long serialVersionUID = 0L; + // Use MetadataLocation.newBuilder() to construct. + private MetadataLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MetadataLocation() { + type_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MetadataLocation(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private MetadataLocation( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: + { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + case 26: + { + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder subBuilder = null; + if (labelCase_ == 3) { + subBuilder = ((com.google.privacy.dlp.v2.StorageMetadataLabel) label_).toBuilder(); + } + label_ = + input.readMessage( + com.google.privacy.dlp.v2.StorageMetadataLabel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.StorageMetadataLabel) label_); + label_ = subBuilder.buildPartial(); + } + labelCase_ = 3; + 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_MetadataLocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.MetadataLocation.class, + com.google.privacy.dlp.v2.MetadataLocation.Builder.class); + } + + private int labelCase_ = 0; + private java.lang.Object label_; + + public enum LabelCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + STORAGE_LABEL(3), + LABEL_NOT_SET(0); + private final int value; + + private LabelCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LabelCase valueOf(int value) { + return forNumber(value); + } + + public static LabelCase forNumber(int value) { + switch (value) { + case 3: + return STORAGE_LABEL; + case 0: + return LABEL_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public LabelCase getLabelCase() { + return LabelCase.forNumber(labelCase_); + } + + public static final int TYPE_FIELD_NUMBER = 1; + private int type_; + /** + * + * + *
+   * Type of metadata containing the finding.
+   * 
+ * + * .google.privacy.dlp.v2.MetadataType type = 1; + * + * @return The enum numeric value on the wire for type. + */ + public int getTypeValue() { + return type_; + } + /** + * + * + *
+   * Type of metadata containing the finding.
+   * 
+ * + * .google.privacy.dlp.v2.MetadataType type = 1; + * + * @return The type. + */ + public com.google.privacy.dlp.v2.MetadataType getType() { + @SuppressWarnings("deprecation") + com.google.privacy.dlp.v2.MetadataType result = + com.google.privacy.dlp.v2.MetadataType.valueOf(type_); + return result == null ? com.google.privacy.dlp.v2.MetadataType.UNRECOGNIZED : result; + } + + public static final int STORAGE_LABEL_FIELD_NUMBER = 3; + /** + * + * + *
+   * Storage metadata.
+   * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * + * @return Whether the storageLabel field is set. + */ + public boolean hasStorageLabel() { + return labelCase_ == 3; + } + /** + * + * + *
+   * Storage metadata.
+   * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * + * @return The storageLabel. + */ + public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() { + if (labelCase_ == 3) { + return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; + } + return com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); + } + /** + * + * + *
+   * Storage metadata.
+   * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + */ + public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOrBuilder() { + if (labelCase_ == 3) { + return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; + } + return com.google.privacy.dlp.v2.StorageMetadataLabel.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 (type_ != com.google.privacy.dlp.v2.MetadataType.METADATATYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(1, type_); + } + if (labelCase_ == 3) { + output.writeMessage(3, (com.google.privacy.dlp.v2.StorageMetadataLabel) label_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (type_ != com.google.privacy.dlp.v2.MetadataType.METADATATYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + } + if (labelCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.privacy.dlp.v2.StorageMetadataLabel) label_); + } + 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.MetadataLocation)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.MetadataLocation other = + (com.google.privacy.dlp.v2.MetadataLocation) obj; + + if (type_ != other.type_) return false; + if (!getLabelCase().equals(other.getLabelCase())) return false; + switch (labelCase_) { + case 3: + if (!getStorageLabel().equals(other.getStorageLabel())) 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(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + switch (labelCase_) { + case 3: + hash = (37 * hash) + STORAGE_LABEL_FIELD_NUMBER; + hash = (53 * hash) + getStorageLabel().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.MetadataLocation 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.MetadataLocation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.MetadataLocation parseFrom( + 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.MetadataLocation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.MetadataLocation 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.MetadataLocation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.MetadataLocation 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.MetadataLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.MetadataLocation parseDelimitedFrom( + java.io.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.MetadataLocation 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.MetadataLocation 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.MetadataLocation 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; + } + /** + * + * + *
+   * Metadata Location
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.MetadataLocation} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.MetadataLocation) + com.google.privacy.dlp.v2.MetadataLocationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_MetadataLocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_MetadataLocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.MetadataLocation.class, + com.google.privacy.dlp.v2.MetadataLocation.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.MetadataLocation.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(); + type_ = 0; + + labelCase_ = 0; + label_ = 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_MetadataLocation_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.MetadataLocation getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.MetadataLocation build() { + com.google.privacy.dlp.v2.MetadataLocation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.MetadataLocation buildPartial() { + com.google.privacy.dlp.v2.MetadataLocation result = + new com.google.privacy.dlp.v2.MetadataLocation(this); + result.type_ = type_; + if (labelCase_ == 3) { + if (storageLabelBuilder_ == null) { + result.label_ = label_; + } else { + result.label_ = storageLabelBuilder_.build(); + } + } + result.labelCase_ = labelCase_; + 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.MetadataLocation) { + return mergeFrom((com.google.privacy.dlp.v2.MetadataLocation) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.MetadataLocation other) { + if (other == com.google.privacy.dlp.v2.MetadataLocation.getDefaultInstance()) return this; + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + switch (other.getLabelCase()) { + case STORAGE_LABEL: + { + mergeStorageLabel(other.getStorageLabel()); + break; + } + case LABEL_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.MetadataLocation parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.MetadataLocation) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int labelCase_ = 0; + private java.lang.Object label_; + + public LabelCase getLabelCase() { + return LabelCase.forNumber(labelCase_); + } + + public Builder clearLabel() { + labelCase_ = 0; + label_ = null; + onChanged(); + return this; + } + + private int type_ = 0; + /** + * + * + *
+     * Type of metadata containing the finding.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataType type = 1; + * + * @return The enum numeric value on the wire for type. + */ + public int getTypeValue() { + return type_; + } + /** + * + * + *
+     * Type of metadata containing the finding.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataType type = 1; + * + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + type_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Type of metadata containing the finding.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataType type = 1; + * + * @return The type. + */ + public com.google.privacy.dlp.v2.MetadataType getType() { + @SuppressWarnings("deprecation") + com.google.privacy.dlp.v2.MetadataType result = + com.google.privacy.dlp.v2.MetadataType.valueOf(type_); + return result == null ? com.google.privacy.dlp.v2.MetadataType.UNRECOGNIZED : result; + } + /** + * + * + *
+     * Type of metadata containing the finding.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataType type = 1; + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(com.google.privacy.dlp.v2.MetadataType value) { + if (value == null) { + throw new NullPointerException(); + } + + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Type of metadata containing the finding.
+     * 
+ * + * .google.privacy.dlp.v2.MetadataType type = 1; + * + * @return This builder for chaining. + */ + public Builder clearType() { + + type_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StorageMetadataLabel, + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, + com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder> + storageLabelBuilder_; + /** + * + * + *
+     * Storage metadata.
+     * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * + * @return Whether the storageLabel field is set. + */ + public boolean hasStorageLabel() { + return labelCase_ == 3; + } + /** + * + * + *
+     * Storage metadata.
+     * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * + * @return The storageLabel. + */ + public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() { + if (storageLabelBuilder_ == null) { + if (labelCase_ == 3) { + return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; + } + return com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); + } else { + if (labelCase_ == 3) { + return storageLabelBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); + } + } + /** + * + * + *
+     * Storage metadata.
+     * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + */ + public Builder setStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel value) { + if (storageLabelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + label_ = value; + onChanged(); + } else { + storageLabelBuilder_.setMessage(value); + } + labelCase_ = 3; + return this; + } + /** + * + * + *
+     * Storage metadata.
+     * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + */ + public Builder setStorageLabel( + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder builderForValue) { + if (storageLabelBuilder_ == null) { + label_ = builderForValue.build(); + onChanged(); + } else { + storageLabelBuilder_.setMessage(builderForValue.build()); + } + labelCase_ = 3; + return this; + } + /** + * + * + *
+     * Storage metadata.
+     * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + */ + public Builder mergeStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel value) { + if (storageLabelBuilder_ == null) { + if (labelCase_ == 3 + && label_ != com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance()) { + label_ = + com.google.privacy.dlp.v2.StorageMetadataLabel.newBuilder( + (com.google.privacy.dlp.v2.StorageMetadataLabel) label_) + .mergeFrom(value) + .buildPartial(); + } else { + label_ = value; + } + onChanged(); + } else { + if (labelCase_ == 3) { + storageLabelBuilder_.mergeFrom(value); + } + storageLabelBuilder_.setMessage(value); + } + labelCase_ = 3; + return this; + } + /** + * + * + *
+     * Storage metadata.
+     * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + */ + public Builder clearStorageLabel() { + if (storageLabelBuilder_ == null) { + if (labelCase_ == 3) { + labelCase_ = 0; + label_ = null; + onChanged(); + } + } else { + if (labelCase_ == 3) { + labelCase_ = 0; + label_ = null; + } + storageLabelBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Storage metadata.
+     * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + */ + public com.google.privacy.dlp.v2.StorageMetadataLabel.Builder getStorageLabelBuilder() { + return getStorageLabelFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Storage metadata.
+     * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + */ + public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOrBuilder() { + if ((labelCase_ == 3) && (storageLabelBuilder_ != null)) { + return storageLabelBuilder_.getMessageOrBuilder(); + } else { + if (labelCase_ == 3) { + return (com.google.privacy.dlp.v2.StorageMetadataLabel) label_; + } + return com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); + } + } + /** + * + * + *
+     * Storage metadata.
+     * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StorageMetadataLabel, + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, + com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder> + getStorageLabelFieldBuilder() { + if (storageLabelBuilder_ == null) { + if (!(labelCase_ == 3)) { + label_ = com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); + } + storageLabelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.StorageMetadataLabel, + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder, + com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder>( + (com.google.privacy.dlp.v2.StorageMetadataLabel) label_, + getParentForChildren(), + isClean()); + label_ = null; + } + labelCase_ = 3; + onChanged(); + ; + return storageLabelBuilder_; + } + + @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.MetadataLocation) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.MetadataLocation) + private static final com.google.privacy.dlp.v2.MetadataLocation DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.MetadataLocation(); + } + + public static com.google.privacy.dlp.v2.MetadataLocation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetadataLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MetadataLocation(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.MetadataLocation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java new file mode 100644 index 00000000..d1605fee --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataLocationOrBuilder.java @@ -0,0 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface MetadataLocationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.MetadataLocation) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Type of metadata containing the finding.
+   * 
+ * + * .google.privacy.dlp.v2.MetadataType type = 1; + * + * @return The enum numeric value on the wire for type. + */ + int getTypeValue(); + /** + * + * + *
+   * Type of metadata containing the finding.
+   * 
+ * + * .google.privacy.dlp.v2.MetadataType type = 1; + * + * @return The type. + */ + com.google.privacy.dlp.v2.MetadataType getType(); + + /** + * + * + *
+   * Storage metadata.
+   * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * + * @return Whether the storageLabel field is set. + */ + boolean hasStorageLabel(); + /** + * + * + *
+   * Storage metadata.
+   * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * + * @return The storageLabel. + */ + com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel(); + /** + * + * + *
+   * Storage metadata.
+   * 
+ * + * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + */ + com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOrBuilder(); + + public com.google.privacy.dlp.v2.MetadataLocation.LabelCase getLabelCase(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java new file mode 100644 index 00000000..c891a5d3 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/MetadataType.java @@ -0,0 +1,150 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + * + * + *
+ * Type of metadata containing the finding.
+ * 
+ * + * Protobuf enum {@code google.privacy.dlp.v2.MetadataType} + */ +public enum MetadataType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+   * Unused
+   * 
+ * + * METADATATYPE_UNSPECIFIED = 0; + */ + METADATATYPE_UNSPECIFIED(0), + /** + * + * + *
+   * General file metadata provided by GCS.
+   * 
+ * + * STORAGE_METADATA = 2; + */ + STORAGE_METADATA(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+   * Unused
+   * 
+ * + * METADATATYPE_UNSPECIFIED = 0; + */ + public static final int METADATATYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+   * General file metadata provided by GCS.
+   * 
+ * + * STORAGE_METADATA = 2; + */ + public static final int STORAGE_METADATA_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MetadataType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static MetadataType forNumber(int value) { + switch (value) { + case 0: + return METADATATYPE_UNSPECIFIED; + case 2: + return STORAGE_METADATA; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MetadataType findValueByNumber(int number) { + return MetadataType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(3); + } + + private static final MetadataType[] VALUES = values(); + + public static MetadataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private MetadataType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.MetadataType) +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java index 5b2349d1..f33ea53a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrivacyMetric.java @@ -4693,8 +4693,8 @@ public interface KMapEstimationConfigOrBuilder * * *
-     * Required. Fields considered to be quasi-identifiers. No two columns can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two columns can have the
+     * same tag.
      * 
* * @@ -4707,8 +4707,8 @@ public interface KMapEstimationConfigOrBuilder * * *
-     * Required. Fields considered to be quasi-identifiers. No two columns can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two columns can have the
+     * same tag.
      * 
* * @@ -4720,8 +4720,8 @@ public interface KMapEstimationConfigOrBuilder * * *
-     * Required. Fields considered to be quasi-identifiers. No two columns can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two columns can have the
+     * same tag.
      * 
* * @@ -4733,8 +4733,8 @@ public interface KMapEstimationConfigOrBuilder * * *
-     * Required. Fields considered to be quasi-identifiers. No two columns can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two columns can have the
+     * same tag.
      * 
* * @@ -4749,8 +4749,8 @@ public interface KMapEstimationConfigOrBuilder * * *
-     * Required. Fields considered to be quasi-identifiers. No two columns can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two columns can have the
+     * same tag.
      * 
* * @@ -6979,8 +6979,8 @@ public interface AuxiliaryTableOrBuilder * * *
-       * Required. The relative frequency column must contain a floating-point
-       * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+       * Required. The relative frequency column must contain a floating-point number
+       * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* * @@ -6994,8 +6994,8 @@ public interface AuxiliaryTableOrBuilder * * *
-       * Required. The relative frequency column must contain a floating-point
-       * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+       * Required. The relative frequency column must contain a floating-point number
+       * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* * @@ -7009,8 +7009,8 @@ public interface AuxiliaryTableOrBuilder * * *
-       * Required. The relative frequency column must contain a floating-point
-       * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+       * Required. The relative frequency column must contain a floating-point number
+       * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* * @@ -8339,8 +8339,8 @@ public int getQuasiIdsCount() { * * *
-       * Required. The relative frequency column must contain a floating-point
-       * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+       * Required. The relative frequency column must contain a floating-point number
+       * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* * @@ -8356,8 +8356,8 @@ public boolean hasRelativeFrequency() { * * *
-       * Required. The relative frequency column must contain a floating-point
-       * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+       * Required. The relative frequency column must contain a floating-point number
+       * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* * @@ -8375,8 +8375,8 @@ public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { * * *
-       * Required. The relative frequency column must contain a floating-point
-       * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+       * Required. The relative frequency column must contain a floating-point number
+       * between 0 and 1 (inclusive). Null values are assumed to be zero.
        * 
* * @@ -9496,8 +9496,8 @@ public Builder removeQuasiIds(int index) { * * *
-         * Required. The relative frequency column must contain a floating-point
-         * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+         * Required. The relative frequency column must contain a floating-point number
+         * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* * @@ -9513,8 +9513,8 @@ public boolean hasRelativeFrequency() { * * *
-         * Required. The relative frequency column must contain a floating-point
-         * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+         * Required. The relative frequency column must contain a floating-point number
+         * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* * @@ -9536,8 +9536,8 @@ public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { * * *
-         * Required. The relative frequency column must contain a floating-point
-         * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+         * Required. The relative frequency column must contain a floating-point number
+         * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* * @@ -9561,8 +9561,8 @@ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { * * *
-         * Required. The relative frequency column must contain a floating-point
-         * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+         * Required. The relative frequency column must contain a floating-point number
+         * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* * @@ -9584,8 +9584,8 @@ public Builder setRelativeFrequency( * * *
-         * Required. The relative frequency column must contain a floating-point
-         * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+         * Required. The relative frequency column must contain a floating-point number
+         * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* * @@ -9613,8 +9613,8 @@ public Builder mergeRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { * * *
-         * Required. The relative frequency column must contain a floating-point
-         * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+         * Required. The relative frequency column must contain a floating-point number
+         * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* * @@ -9636,8 +9636,8 @@ public Builder clearRelativeFrequency() { * * *
-         * Required. The relative frequency column must contain a floating-point
-         * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+         * Required. The relative frequency column must contain a floating-point number
+         * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* * @@ -9653,8 +9653,8 @@ public com.google.privacy.dlp.v2.FieldId.Builder getRelativeFrequencyBuilder() { * * *
-         * Required. The relative frequency column must contain a floating-point
-         * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+         * Required. The relative frequency column must contain a floating-point number
+         * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* * @@ -9674,8 +9674,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder( * * *
-         * Required. The relative frequency column must contain a floating-point
-         * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+         * Required. The relative frequency column must contain a floating-point number
+         * between 0 and 1 (inclusive). Null values are assumed to be zero.
          * 
* * @@ -9763,8 +9763,8 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * Required. Fields considered to be quasi-identifiers. No two columns can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two columns can have the
+     * same tag.
      * 
* * @@ -9779,8 +9779,8 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * Required. Fields considered to be quasi-identifiers. No two columns can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two columns can have the
+     * same tag.
      * 
* * @@ -9797,8 +9797,8 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * Required. Fields considered to be quasi-identifiers. No two columns can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two columns can have the
+     * same tag.
      * 
* * @@ -9812,8 +9812,8 @@ public int getQuasiIdsCount() { * * *
-     * Required. Fields considered to be quasi-identifiers. No two columns can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two columns can have the
+     * same tag.
      * 
* * @@ -9828,8 +9828,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField * * *
-     * Required. Fields considered to be quasi-identifiers. No two columns can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two columns can have the
+     * same tag.
      * 
* * @@ -10453,8 +10453,8 @@ private void ensureQuasiIdsIsMutable() { * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10474,8 +10474,8 @@ private void ensureQuasiIdsIsMutable() { * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10493,8 +10493,8 @@ public int getQuasiIdsCount() { * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10513,8 +10513,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10540,8 +10540,8 @@ public Builder setQuasiIds( * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10565,8 +10565,8 @@ public Builder setQuasiIds( * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10591,8 +10591,8 @@ public Builder addQuasiIds( * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10618,8 +10618,8 @@ public Builder addQuasiIds( * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10642,8 +10642,8 @@ public Builder addQuasiIds( * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10667,8 +10667,8 @@ public Builder addQuasiIds( * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10693,8 +10693,8 @@ public Builder addAllQuasiIds( * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10715,8 +10715,8 @@ public Builder clearQuasiIds() { * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10737,8 +10737,8 @@ public Builder removeQuasiIds(int index) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10753,8 +10753,8 @@ public Builder removeQuasiIds(int index) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10773,8 +10773,8 @@ public Builder removeQuasiIds(int index) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10795,8 +10795,8 @@ public Builder removeQuasiIds(int index) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10814,8 +10814,8 @@ public Builder removeQuasiIds(int index) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -10834,8 +10834,8 @@ public Builder removeQuasiIds(int index) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two columns can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two columns can have the
+       * same tag.
        * 
* * @@ -11506,8 +11506,8 @@ public interface DeltaPresenceEstimationConfigOrBuilder * * *
-     * Required. Fields considered to be quasi-identifiers. No two fields can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two fields can have the
+     * same tag.
      * 
* * @@ -11519,8 +11519,8 @@ public interface DeltaPresenceEstimationConfigOrBuilder * * *
-     * Required. Fields considered to be quasi-identifiers. No two fields can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two fields can have the
+     * same tag.
      * 
* * @@ -11532,8 +11532,8 @@ public interface DeltaPresenceEstimationConfigOrBuilder * * *
-     * Required. Fields considered to be quasi-identifiers. No two fields can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two fields can have the
+     * same tag.
      * 
* * @@ -11545,8 +11545,8 @@ public interface DeltaPresenceEstimationConfigOrBuilder * * *
-     * Required. Fields considered to be quasi-identifiers. No two fields can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two fields can have the
+     * same tag.
      * 
* * @@ -11558,8 +11558,8 @@ public interface DeltaPresenceEstimationConfigOrBuilder * * *
-     * Required. Fields considered to be quasi-identifiers. No two fields can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two fields can have the
+     * same tag.
      * 
* * @@ -11795,8 +11795,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Required. Fields considered to be quasi-identifiers. No two fields can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two fields can have the
+     * same tag.
      * 
* * @@ -11810,8 +11810,8 @@ public java.util.List getQuasiIdsList() { * * *
-     * Required. Fields considered to be quasi-identifiers. No two fields can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two fields can have the
+     * same tag.
      * 
* * @@ -11826,8 +11826,8 @@ public java.util.List getQuasiIdsList() { * * *
-     * Required. Fields considered to be quasi-identifiers. No two fields can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two fields can have the
+     * same tag.
      * 
* * @@ -11841,8 +11841,8 @@ public int getQuasiIdsCount() { * * *
-     * Required. Fields considered to be quasi-identifiers. No two fields can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two fields can have the
+     * same tag.
      * 
* * @@ -11856,8 +11856,8 @@ public com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index) { * * *
-     * Required. Fields considered to be quasi-identifiers. No two fields can
-     * have the same tag.
+     * Required. Fields considered to be quasi-identifiers. No two fields can have the
+     * same tag.
      * 
* * @@ -12464,8 +12464,8 @@ private void ensureQuasiIdsIsMutable() { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12483,8 +12483,8 @@ public java.util.List getQuasiIdsList() { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12502,8 +12502,8 @@ public int getQuasiIdsCount() { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12521,8 +12521,8 @@ public com.google.privacy.dlp.v2.QuasiId getQuasiIds(int index) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12546,8 +12546,8 @@ public Builder setQuasiIds(int index, com.google.privacy.dlp.v2.QuasiId value) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12569,8 +12569,8 @@ public Builder setQuasiIds( * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12594,8 +12594,8 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.QuasiId value) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12619,8 +12619,8 @@ public Builder addQuasiIds(int index, com.google.privacy.dlp.v2.QuasiId value) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12641,8 +12641,8 @@ public Builder addQuasiIds(com.google.privacy.dlp.v2.QuasiId.Builder builderForV * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12664,8 +12664,8 @@ public Builder addQuasiIds( * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12687,8 +12687,8 @@ public Builder addAllQuasiIds( * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12709,8 +12709,8 @@ public Builder clearQuasiIds() { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12731,8 +12731,8 @@ public Builder removeQuasiIds(int index) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12746,8 +12746,8 @@ public com.google.privacy.dlp.v2.QuasiId.Builder getQuasiIdsBuilder(int index) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12765,8 +12765,8 @@ public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12785,8 +12785,8 @@ public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12801,8 +12801,8 @@ public com.google.privacy.dlp.v2.QuasiId.Builder addQuasiIdsBuilder() { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * @@ -12817,8 +12817,8 @@ public com.google.privacy.dlp.v2.QuasiId.Builder addQuasiIdsBuilder(int index) { * * *
-       * Required. Fields considered to be quasi-identifiers. No two fields can
-       * have the same tag.
+       * Required. Fields considered to be quasi-identifiers. No two fields can have the
+       * same tag.
        * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java index a18306ca..290e6c5b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java @@ -1590,6 +1590,7 @@ public com.google.protobuf.ByteString getParentBytes() { *
    * The geographic location to process the request. Reserved for future
    * extensions.
+   * Location is restricted to 'global', 'us', 'asia', and 'europe'.
    * 
* * string location_id = 8; @@ -1613,6 +1614,7 @@ public java.lang.String getLocationId() { *
    * The geographic location to process the request. Reserved for future
    * extensions.
+   * Location is restricted to 'global', 'us', 'asia', and 'europe'.
    * 
* * string location_id = 8; @@ -2395,6 +2397,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { *
      * The geographic location to process the request. Reserved for future
      * extensions.
+     * Location is restricted to 'global', 'us', 'asia', and 'europe'.
      * 
* * string location_id = 8; @@ -2418,6 +2421,7 @@ public java.lang.String getLocationId() { *
      * The geographic location to process the request. Reserved for future
      * extensions.
+     * Location is restricted to 'global', 'us', 'asia', and 'europe'.
      * 
* * string location_id = 8; @@ -2441,6 +2445,7 @@ public com.google.protobuf.ByteString getLocationIdBytes() { *
      * The geographic location to process the request. Reserved for future
      * extensions.
+     * Location is restricted to 'global', 'us', 'asia', and 'europe'.
      * 
* * string location_id = 8; @@ -2463,6 +2468,7 @@ public Builder setLocationId(java.lang.String value) { *
      * The geographic location to process the request. Reserved for future
      * extensions.
+     * Location is restricted to 'global', 'us', 'asia', and 'europe'.
      * 
* * string location_id = 8; @@ -2481,6 +2487,7 @@ public Builder clearLocationId() { *
      * The geographic location to process the request. Reserved for future
      * extensions.
+     * Location is restricted to 'global', 'us', 'asia', and 'europe'.
      * 
* * string location_id = 8; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java index 3aa411f6..f928ac46 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java @@ -54,6 +54,7 @@ public interface RedactImageRequestOrBuilder *
    * The geographic location to process the request. Reserved for future
    * extensions.
+   * Location is restricted to 'global', 'us', 'asia', and 'europe'.
    * 
* * string location_id = 8; @@ -67,6 +68,7 @@ public interface RedactImageRequestOrBuilder *
    * The geographic location to process the request. Reserved for future
    * extensions.
+   * Location is restricted to 'global', 'us', 'asia', and 'europe'.
    * 
* * string location_id = 8; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java index 241c5528..99fb4317 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTable.java @@ -1271,8 +1271,8 @@ public com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField getQuasiI * * *
-   * Required. The relative frequency column must contain a floating-point
-   * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+   * Required. The relative frequency column must contain a floating-point number
+   * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* * @@ -1288,8 +1288,8 @@ public boolean hasRelativeFrequency() { * * *
-   * Required. The relative frequency column must contain a floating-point
-   * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+   * Required. The relative frequency column must contain a floating-point number
+   * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* * @@ -1307,8 +1307,8 @@ public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { * * *
-   * Required. The relative frequency column must contain a floating-point
-   * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+   * Required. The relative frequency column must contain a floating-point number
+   * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* * @@ -2356,8 +2356,8 @@ public Builder removeQuasiIds(int index) { * * *
-     * Required. The relative frequency column must contain a floating-point
-     * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+     * Required. The relative frequency column must contain a floating-point number
+     * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* * @@ -2373,8 +2373,8 @@ public boolean hasRelativeFrequency() { * * *
-     * Required. The relative frequency column must contain a floating-point
-     * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+     * Required. The relative frequency column must contain a floating-point number
+     * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* * @@ -2396,8 +2396,8 @@ public com.google.privacy.dlp.v2.FieldId getRelativeFrequency() { * * *
-     * Required. The relative frequency column must contain a floating-point
-     * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+     * Required. The relative frequency column must contain a floating-point number
+     * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* * @@ -2421,8 +2421,8 @@ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { * * *
-     * Required. The relative frequency column must contain a floating-point
-     * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+     * Required. The relative frequency column must contain a floating-point number
+     * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* * @@ -2443,8 +2443,8 @@ public Builder setRelativeFrequency(com.google.privacy.dlp.v2.FieldId.Builder bu * * *
-     * Required. The relative frequency column must contain a floating-point
-     * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+     * Required. The relative frequency column must contain a floating-point number
+     * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* * @@ -2472,8 +2472,8 @@ public Builder mergeRelativeFrequency(com.google.privacy.dlp.v2.FieldId value) { * * *
-     * Required. The relative frequency column must contain a floating-point
-     * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+     * Required. The relative frequency column must contain a floating-point number
+     * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* * @@ -2495,8 +2495,8 @@ public Builder clearRelativeFrequency() { * * *
-     * Required. The relative frequency column must contain a floating-point
-     * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+     * Required. The relative frequency column must contain a floating-point number
+     * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* * @@ -2512,8 +2512,8 @@ public com.google.privacy.dlp.v2.FieldId.Builder getRelativeFrequencyBuilder() { * * *
-     * Required. The relative frequency column must contain a floating-point
-     * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+     * Required. The relative frequency column must contain a floating-point number
+     * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* * @@ -2533,8 +2533,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder( * * *
-     * Required. The relative frequency column must contain a floating-point
-     * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+     * Required. The relative frequency column must contain a floating-point number
+     * between 0 and 1 (inclusive). Null values are assumed to be zero.
      * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java index f38e3a00..241449da 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StatisticalTableOrBuilder.java @@ -128,8 +128,8 @@ com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder getQuas * * *
-   * Required. The relative frequency column must contain a floating-point
-   * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+   * Required. The relative frequency column must contain a floating-point number
+   * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* * @@ -143,8 +143,8 @@ com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder getQuas * * *
-   * Required. The relative frequency column must contain a floating-point
-   * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+   * Required. The relative frequency column must contain a floating-point number
+   * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* * @@ -158,8 +158,8 @@ com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder getQuas * * *
-   * Required. The relative frequency column must contain a floating-point
-   * number between 0 and 1 (inclusive). Null values are assumed to be zero.
+   * Required. The relative frequency column must contain a floating-point number
+   * between 0 and 1 (inclusive). Null values are assumed to be zero.
    * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java new file mode 100644 index 00000000..e24da738 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabel.java @@ -0,0 +1,590 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + * + * + *
+ * Storage metadata label to indicate which metadata entry contains findings.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.StorageMetadataLabel} + */ +public final class StorageMetadataLabel extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.StorageMetadataLabel) + StorageMetadataLabelOrBuilder { + private static final long serialVersionUID = 0L; + // Use StorageMetadataLabel.newBuilder() to construct. + private StorageMetadataLabel(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StorageMetadataLabel() { + key_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StorageMetadataLabel(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private StorageMetadataLabel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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: + { + java.lang.String s = input.readStringRequireUtf8(); + + key_ = s; + 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_StorageMetadataLabel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.StorageMetadataLabel.class, + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder.class); + } + + public static final int KEY_FIELD_NUMBER = 1; + private volatile java.lang.Object key_; + /** + * string key = 1; + * + * @return The key. + */ + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } + } + /** + * string key = 1; + * + * @return The bytes for key. + */ + public com.google.protobuf.ByteString getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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 (!getKeyBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getKeyBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); + } + 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.StorageMetadataLabel)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.StorageMetadataLabel other = + (com.google.privacy.dlp.v2.StorageMetadataLabel) obj; + + if (!getKey().equals(other.getKey())) 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) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.StorageMetadataLabel 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.StorageMetadataLabel parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseFrom( + 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.StorageMetadataLabel parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.StorageMetadataLabel 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.StorageMetadataLabel parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.StorageMetadataLabel 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.StorageMetadataLabel parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.StorageMetadataLabel parseDelimitedFrom( + java.io.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.StorageMetadataLabel 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.StorageMetadataLabel 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.StorageMetadataLabel 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; + } + /** + * + * + *
+   * Storage metadata label to indicate which metadata entry contains findings.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.StorageMetadataLabel} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.StorageMetadataLabel) + com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_StorageMetadataLabel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.StorageMetadataLabel.class, + com.google.privacy.dlp.v2.StorageMetadataLabel.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.StorageMetadataLabel.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(); + key_ = ""; + + 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_StorageMetadataLabel_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.StorageMetadataLabel getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.StorageMetadataLabel build() { + com.google.privacy.dlp.v2.StorageMetadataLabel result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.StorageMetadataLabel buildPartial() { + com.google.privacy.dlp.v2.StorageMetadataLabel result = + new com.google.privacy.dlp.v2.StorageMetadataLabel(this); + result.key_ = key_; + 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.StorageMetadataLabel) { + return mergeFrom((com.google.privacy.dlp.v2.StorageMetadataLabel) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.StorageMetadataLabel other) { + if (other == com.google.privacy.dlp.v2.StorageMetadataLabel.getDefaultInstance()) return this; + if (!other.getKey().isEmpty()) { + key_ = other.key_; + onChanged(); + } + 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.StorageMetadataLabel parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.StorageMetadataLabel) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object key_ = ""; + /** + * string key = 1; + * + * @return The key. + */ + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + key_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string key = 1; + * + * @return The bytes for key. + */ + public com.google.protobuf.ByteString getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string key = 1; + * + * @param value The key to set. + * @return This builder for chaining. + */ + public Builder setKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + key_ = value; + onChanged(); + return this; + } + /** + * string key = 1; + * + * @return This builder for chaining. + */ + public Builder clearKey() { + + key_ = getDefaultInstance().getKey(); + onChanged(); + return this; + } + /** + * string key = 1; + * + * @param value The bytes for key to set. + * @return This builder for chaining. + */ + public Builder setKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + key_ = value; + 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.StorageMetadataLabel) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StorageMetadataLabel) + private static final com.google.privacy.dlp.v2.StorageMetadataLabel DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.StorageMetadataLabel(); + } + + public static com.google.privacy.dlp.v2.StorageMetadataLabel getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageMetadataLabel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StorageMetadataLabel(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.StorageMetadataLabel getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java new file mode 100644 index 00000000..e4834262 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageMetadataLabelOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface StorageMetadataLabelOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StorageMetadataLabel) + com.google.protobuf.MessageOrBuilder { + + /** + * string key = 1; + * + * @return The key. + */ + java.lang.String getKey(); + /** + * string key = 1; + * + * @return The bytes for key. + */ + com.google.protobuf.ByteString getKeyBytes(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java index 5bb6daa2..fa740579 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java @@ -199,7 +199,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(5); + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(6); } private static final StoredInfoTypeState[] VALUES = values(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java index 0b44dc26..d3c1c708 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocation.java @@ -113,7 +113,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The zero-based index of the row where the finding is located.
+   * The zero-based index of the row where the finding is located. Only
+   * populated for resources that have a natural ordering, not BigQuery. In
+   * BigQuery, to identify the row a finding came from, populate
+   * BigQueryOptions.identifying_fields with your primary key column names and
+   * when you store the findings the value of those columns will be stored
+   * inside of Finding.
    * 
* * int64 row_index = 1; @@ -443,7 +448,12 @@ public Builder mergeFrom( * * *
-     * The zero-based index of the row where the finding is located.
+     * The zero-based index of the row where the finding is located. Only
+     * populated for resources that have a natural ordering, not BigQuery. In
+     * BigQuery, to identify the row a finding came from, populate
+     * BigQueryOptions.identifying_fields with your primary key column names and
+     * when you store the findings the value of those columns will be stored
+     * inside of Finding.
      * 
* * int64 row_index = 1; @@ -457,7 +467,12 @@ public long getRowIndex() { * * *
-     * The zero-based index of the row where the finding is located.
+     * The zero-based index of the row where the finding is located. Only
+     * populated for resources that have a natural ordering, not BigQuery. In
+     * BigQuery, to identify the row a finding came from, populate
+     * BigQueryOptions.identifying_fields with your primary key column names and
+     * when you store the findings the value of those columns will be stored
+     * inside of Finding.
      * 
* * int64 row_index = 1; @@ -475,7 +490,12 @@ public Builder setRowIndex(long value) { * * *
-     * The zero-based index of the row where the finding is located.
+     * The zero-based index of the row where the finding is located. Only
+     * populated for resources that have a natural ordering, not BigQuery. In
+     * BigQuery, to identify the row a finding came from, populate
+     * BigQueryOptions.identifying_fields with your primary key column names and
+     * when you store the findings the value of those columns will be stored
+     * inside of Finding.
      * 
* * int64 row_index = 1; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java index 96b07434..1368fa25 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableLocationOrBuilder.java @@ -27,7 +27,12 @@ public interface TableLocationOrBuilder * * *
-   * The zero-based index of the row where the finding is located.
+   * The zero-based index of the row where the finding is located. Only
+   * populated for resources that have a natural ordering, not BigQuery. In
+   * BigQuery, to identify the row a finding came from, populate
+   * BigQueryOptions.identifying_fields with your primary key column names and
+   * when you store the findings the value of those columns will be stored
+   * inside of Finding.
    * 
* * int64 row_index = 1; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java index 436877d5..e47101f2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java @@ -149,9 +149,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of organization and deidentify template to be
-   * updated, for example
-   * `organizations/433245324/deidentifyTemplates/432452342` or
+   * Required. Resource name of organization and deidentify template to be updated, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* @@ -176,9 +175,8 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of organization and deidentify template to be
-   * updated, for example
-   * `organizations/433245324/deidentifyTemplates/432452342` or
+   * Required. Resource name of organization and deidentify template to be updated, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* @@ -668,9 +666,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of organization and deidentify template to be
-     * updated, for example
-     * `organizations/433245324/deidentifyTemplates/432452342` or
+     * Required. Resource name of organization and deidentify template to be updated, for
+     * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* @@ -695,9 +692,8 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of organization and deidentify template to be
-     * updated, for example
-     * `organizations/433245324/deidentifyTemplates/432452342` or
+     * Required. Resource name of organization and deidentify template to be updated, for
+     * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* @@ -722,9 +718,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of organization and deidentify template to be
-     * updated, for example
-     * `organizations/433245324/deidentifyTemplates/432452342` or
+     * Required. Resource name of organization and deidentify template to be updated, for
+     * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* @@ -748,9 +743,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of organization and deidentify template to be
-     * updated, for example
-     * `organizations/433245324/deidentifyTemplates/432452342` or
+     * Required. Resource name of organization and deidentify template to be updated, for
+     * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* @@ -770,9 +764,8 @@ public Builder clearName() { * * *
-     * Required. Resource name of organization and deidentify template to be
-     * updated, for example
-     * `organizations/433245324/deidentifyTemplates/432452342` or
+     * Required. Resource name of organization and deidentify template to be updated, for
+     * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java index 627e64d6..4dd521b8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java @@ -27,9 +27,8 @@ public interface UpdateDeidentifyTemplateRequestOrBuilder * * *
-   * Required. Resource name of organization and deidentify template to be
-   * updated, for example
-   * `organizations/433245324/deidentifyTemplates/432452342` or
+   * Required. Resource name of organization and deidentify template to be updated, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* @@ -44,9 +43,8 @@ public interface UpdateDeidentifyTemplateRequestOrBuilder * * *
-   * Required. Resource name of organization and deidentify template to be
-   * updated, for example
-   * `organizations/433245324/deidentifyTemplates/432452342` or
+   * Required. Resource name of organization and deidentify template to be updated, for
+   * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java index 795739b6..1903c9d2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java @@ -148,8 +148,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of organization and inspectTemplate to be updated,
-   * for example `organizations/433245324/inspectTemplates/432452342` or
+   * Required. Resource name of organization and inspectTemplate to be updated, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* @@ -174,8 +174,8 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of organization and inspectTemplate to be updated,
-   * for example `organizations/433245324/inspectTemplates/432452342` or
+   * Required. Resource name of organization and inspectTemplate to be updated, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* @@ -665,8 +665,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of organization and inspectTemplate to be updated,
-     * for example `organizations/433245324/inspectTemplates/432452342` or
+     * Required. Resource name of organization and inspectTemplate to be updated, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* @@ -691,8 +691,8 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of organization and inspectTemplate to be updated,
-     * for example `organizations/433245324/inspectTemplates/432452342` or
+     * Required. Resource name of organization and inspectTemplate to be updated, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* @@ -717,8 +717,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of organization and inspectTemplate to be updated,
-     * for example `organizations/433245324/inspectTemplates/432452342` or
+     * Required. Resource name of organization and inspectTemplate to be updated, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* @@ -742,8 +742,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of organization and inspectTemplate to be updated,
-     * for example `organizations/433245324/inspectTemplates/432452342` or
+     * Required. Resource name of organization and inspectTemplate to be updated, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* @@ -763,8 +763,8 @@ public Builder clearName() { * * *
-     * Required. Resource name of organization and inspectTemplate to be updated,
-     * for example `organizations/433245324/inspectTemplates/432452342` or
+     * Required. Resource name of organization and inspectTemplate to be updated, for
+     * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java index 5b29f331..e98a8648 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface UpdateInspectTemplateRequestOrBuilder * * *
-   * Required. Resource name of organization and inspectTemplate to be updated,
-   * for example `organizations/433245324/inspectTemplates/432452342` or
+   * Required. Resource name of organization and inspectTemplate to be updated, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* @@ -43,8 +43,8 @@ public interface UpdateInspectTemplateRequestOrBuilder * * *
-   * Required. Resource name of organization and inspectTemplate to be updated,
-   * for example `organizations/433245324/inspectTemplates/432452342` or
+   * Required. Resource name of organization and inspectTemplate to be updated, for
+   * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java index e2cd5003..7b7ae6e2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java @@ -148,8 +148,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of organization and storedInfoType to be updated,
-   * for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of organization and storedInfoType to be updated, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* @@ -174,8 +174,8 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of organization and storedInfoType to be updated,
-   * for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of organization and storedInfoType to be updated, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* @@ -671,8 +671,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of organization and storedInfoType to be updated,
-     * for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of organization and storedInfoType to be updated, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -697,8 +697,8 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of organization and storedInfoType to be updated,
-     * for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of organization and storedInfoType to be updated, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -723,8 +723,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of organization and storedInfoType to be updated,
-     * for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of organization and storedInfoType to be updated, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -748,8 +748,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of organization and storedInfoType to be updated,
-     * for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of organization and storedInfoType to be updated, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* @@ -769,8 +769,8 @@ public Builder clearName() { * * *
-     * Required. Resource name of organization and storedInfoType to be updated,
-     * for example `organizations/433245324/storedInfoTypes/432452342` or
+     * Required. Resource name of organization and storedInfoType to be updated, for
+     * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java index dffd72fd..db754e33 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface UpdateStoredInfoTypeRequestOrBuilder * * *
-   * Required. Resource name of organization and storedInfoType to be updated,
-   * for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of organization and storedInfoType to be updated, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* @@ -43,8 +43,8 @@ public interface UpdateStoredInfoTypeRequestOrBuilder * * *
-   * Required. Resource name of organization and storedInfoType to be updated,
-   * for example `organizations/433245324/storedInfoTypes/432452342` or
+   * Required. Resource name of organization and storedInfoType to be updated, for
+   * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* diff --git a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto index d0ab08df..1de24b88 100644 --- a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto +++ b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto @@ -53,8 +53,7 @@ option (google.api.resource_definition) = { // https://cloud.google.com/dlp/docs/. service DlpService { option (google.api.default_host) = "dlp.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; // Finds potentially sensitive info in content. // This method has limits on input size, processing time, and output size. @@ -103,8 +102,7 @@ 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: "*" @@ -119,8 +117,7 @@ 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: "*" @@ -137,7 +134,9 @@ service DlpService { rpc ListInfoTypes(ListInfoTypesRequest) returns (ListInfoTypesResponse) { option (google.api.http) = { get: "/v2/infoTypes" - additional_bindings { get: "/v2/locations/{location_id}/infoTypes" } + additional_bindings { + get: "/v2/locations/{location_id}/infoTypes" + } }; option (google.api.method_signature) = "location_id"; } @@ -145,8 +144,7 @@ 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: "*" @@ -164,14 +162,12 @@ service DlpService { } }; option (google.api.method_signature) = "parent,inspect_template"; - option (google.api.method_signature) = - "parent,inspect_template,location_id"; + option (google.api.method_signature) = "parent,inspect_template,location_id"; } // 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: "*" @@ -199,7 +195,9 @@ service DlpService { additional_bindings { get: "/v2/{name=organizations/*/locations/*/inspectTemplates/*}" } - additional_bindings { get: "/v2/{name=projects/*/inspectTemplates/*}" } + additional_bindings { + get: "/v2/{name=projects/*/inspectTemplates/*}" + } additional_bindings { get: "/v2/{name=projects/*/locations/*/inspectTemplates/*}" } @@ -209,14 +207,15 @@ service DlpService { // 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=organizations/*}/locations/{location_id}/inspectTemplates" } - additional_bindings { get: "/v2/{parent=projects/*}/inspectTemplates" } + additional_bindings { + get: "/v2/{parent=projects/*}/inspectTemplates" + } additional_bindings { get: "/v2/{parent=projects/*}/locations/{location_id}/inspectTemplates" } @@ -226,14 +225,15 @@ service DlpService { // 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=organizations/*/locations/*/inspectTemplates/*}" } - additional_bindings { delete: "/v2/{name=projects/*/inspectTemplates/*}" } + additional_bindings { + delete: "/v2/{name=projects/*/inspectTemplates/*}" + } additional_bindings { delete: "/v2/{name=projects/*/locations/*/inspectTemplates/*}" } @@ -245,8 +245,7 @@ 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: "*" @@ -264,15 +263,13 @@ service DlpService { } }; option (google.api.method_signature) = "parent,deidentify_template"; - option (google.api.method_signature) = - "parent,deidentify_template,location_id"; + option (google.api.method_signature) = "parent,deidentify_template,location_id"; } // 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: "*" @@ -289,21 +286,21 @@ service DlpService { body: "*" } }; - option (google.api.method_signature) = - "name,deidentify_template,update_mask"; + option (google.api.method_signature) = "name,deidentify_template,update_mask"; } // 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=organizations/*/locations/*/deidentifyTemplates/*}" } - additional_bindings { get: "/v2/{name=projects/*/deidentifyTemplates/*}" } + additional_bindings { + get: "/v2/{name=projects/*/deidentifyTemplates/*}" + } additional_bindings { get: "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}" } @@ -314,14 +311,15 @@ service DlpService { // 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=organizations/*}/locations/{location_id}/deidentifyTemplates" } - additional_bindings { get: "/v2/{parent=projects/*}/deidentifyTemplates" } + additional_bindings { + get: "/v2/{parent=projects/*}/deidentifyTemplates" + } additional_bindings { get: "/v2/{parent=projects/*}/locations/{location_id}/deidentifyTemplates" } @@ -332,8 +330,7 @@ service DlpService { // 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 { @@ -385,8 +382,7 @@ service DlpService { // Early access feature is in a pre-release state and might change or have // limited support. For more information, see // https://cloud.google.com/products#product-launch-stages. - rpc HybridInspectJobTrigger(HybridInspectJobTriggerRequest) - returns (HybridInspectResponse) { + rpc HybridInspectJobTrigger(HybridInspectJobTriggerRequest) returns (HybridInspectResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/jobTriggers/*}:hybridInspect" body: "*" @@ -408,8 +404,7 @@ 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" additional_bindings { @@ -421,8 +416,7 @@ 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/*}" additional_bindings { @@ -486,7 +480,9 @@ service DlpService { rpc GetDlpJob(GetDlpJobRequest) returns (DlpJob) { option (google.api.http) = { get: "/v2/{name=projects/*/dlpJobs/*}" - additional_bindings { get: "/v2/{name=projects/*/locations/*/dlpJobs/*}" } + additional_bindings { + get: "/v2/{name=projects/*/locations/*/dlpJobs/*}" + } }; option (google.api.method_signature) = "name"; } @@ -525,8 +521,7 @@ 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: "*" @@ -551,8 +546,7 @@ 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: "*" @@ -581,7 +575,9 @@ service DlpService { additional_bindings { get: "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}" } - additional_bindings { get: "/v2/{name=projects/*/storedInfoTypes/*}" } + additional_bindings { + get: "/v2/{name=projects/*/storedInfoTypes/*}" + } additional_bindings { get: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" } @@ -592,14 +588,15 @@ service DlpService { // 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=organizations/*}/locations/{location_id}/storedInfoTypes" } - additional_bindings { get: "/v2/{parent=projects/*}/storedInfoTypes" } + additional_bindings { + get: "/v2/{parent=projects/*}/storedInfoTypes" + } additional_bindings { get: "/v2/{parent=projects/*}/locations/{location_id}/storedInfoTypes" } @@ -610,14 +607,15 @@ service DlpService { // 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=organizations/*/locations/*/storedInfoTypes/*}" } - additional_bindings { delete: "/v2/{name=projects/*/storedInfoTypes/*}" } + additional_bindings { + delete: "/v2/{name=projects/*/storedInfoTypes/*}" + } additional_bindings { delete: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" } @@ -631,8 +629,7 @@ service DlpService { // Early access feature is in a pre-release state and might change or have // limited support. For more information, see // https://cloud.google.com/products#product-launch-stages. - rpc HybridInspectDlpJob(HybridInspectDlpJobRequest) - returns (HybridInspectResponse) { + rpc HybridInspectDlpJob(HybridInspectDlpJobRequest) returns (HybridInspectResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect" body: "*" @@ -786,7 +783,7 @@ message InspectConfig { // Container for bytes to inspect or redact. message ByteContentItem { - // The type of data being sent to in data. + // The type of data being sent for inspection. enum BytesType { // Unused BYTES_TYPE_UNSPECIFIED = 0; @@ -809,6 +806,12 @@ message ByteContentItem { // plain text TEXT_UTF8 = 5; + // docx, docm, dotx, dotm + WORD_DOCUMENT = 7; + + // pdf + PDF = 8; + // avro AVRO = 11; } @@ -871,13 +874,13 @@ message InspectResult { // Represents a piece of potentially sensitive content. message Finding { option (google.api.resource) = { - type: "dlp.googleapis.com/InspectFinding" + type: "dlp.googleapis.com/Finding" pattern: "projects/{project}/locations/{location}/findings/{finding}" }; // Resource name in format - // projects/{project}/locations/{location}/findings/{finding} - // Populated only when viewing persisted findings. + // projects/{project}/locations/{location}/findings/{finding} Populated only + // when viewing persisted findings. string name = 14; // The content that was found. Even if the content is not textual, it @@ -906,19 +909,16 @@ message Finding { QuoteInfo quote_info = 7; // The job that stored the finding. - string resource_name = 8 - [(google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }]; + string resource_name = 8 [(google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + }]; // Job trigger name, if applicable, for this finding. - // (-- api-linter: core::0122::name-suffix=disabled - // aip.dev/not-precedent: AIP-122 discourages _name suffixes for - // resource names, but this has existed as part of the bigquery schema - // before this rule existed. --) - string trigger_name = 9 [ - (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } - ]; + string trigger_name = 9 [(google.api.resource_reference) = { + type: "dlp.googleapis.com/JobTrigger" + }]; - // The labels associated with this `InspectFinding`. + // The labels associated with this `Finding`. // // Label keys must be between 1 and 63 characters long and must conform // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. @@ -937,12 +937,9 @@ message Finding { google.protobuf.Timestamp job_create_time = 11; // The job that stored the finding. - // (-- api-linter: core::0122::name-suffix=disabled - // aip.dev/not-precedent: AIP-122 discourages _name suffixes for - // resource names, but this has existed as part of the bigquery schema - // before this rule existed. --) - string job_name = 13 - [(google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }]; + string job_name = 13 [(google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + }]; } // Specifies the location of the finding. @@ -992,6 +989,9 @@ message ContentLocation { // Location data for document files. DocumentLocation document_location = 5; + + // Location within the metadata for inspected content. + MetadataLocation metadata_location = 8; } // Findings container modification timestamp, if applicable. @@ -1005,6 +1005,24 @@ message ContentLocation { string container_version = 7; } +// Metadata Location +message MetadataLocation { + // Type of metadata containing the finding. + MetadataType type = 1; + + // Label of the piece of metadata containing the finding, for example - + // latitude, author, caption. + oneof label { + // Storage metadata. + StorageMetadataLabel storage_label = 3; + } +} + +// Storage metadata label to indicate which metadata entry contains findings. +message StorageMetadataLabel { + string key = 1; +} + // Location of a finding within a document. message DocumentLocation { // Offset of the line, from the beginning of the file, where the finding @@ -1026,7 +1044,12 @@ message RecordLocation { // Location of a finding within a table. message TableLocation { - // The zero-based index of the row where the finding is located. + // The zero-based index of the row where the finding is located. Only + // populated for resources that have a natural ordering, not BigQuery. In + // BigQuery, to identify the row a finding came from, populate + // BigQueryOptions.identifying_fields with your primary key column names and + // when you store the findings the value of those columns will be stored + // inside of Finding. int64 row_index = 1; } @@ -1128,11 +1151,12 @@ message RedactImageRequest { // The parent resource name, for example projects/my-project-id. string parent = 1 [(google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" - }]; + type: "cloudresourcemanager.googleapis.com/Project" + }]; // The geographic location to process the request. Reserved for future // extensions. + // Location is restricted to 'global', 'us', 'asia', and 'europe'. string location_id = 8; // Configuration for the inspector. @@ -1179,8 +1203,8 @@ message RedactImageResponse { message DeidentifyContentRequest { // The parent resource name, for example projects/my-project-id. string parent = 1 [(google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" - }]; + type: "cloudresourcemanager.googleapis.com/Project" + }]; // Configuration for the de-identification of the content item. // Items specified here will override the template referenced by the @@ -1284,8 +1308,8 @@ message ReidentifyContentResponse { message InspectContentRequest { // The parent resource name, for example projects/my-project-id. string parent = 1 [(google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" - }]; + type: "cloudresourcemanager.googleapis.com/Project" + }]; // Configuration for the inspector. What specified here will override // the template referenced by the inspect_template_name argument. @@ -1303,6 +1327,8 @@ message InspectContentRequest { // The geographic location to process content inspection. Reserved for future // extensions. + // When inspecting images location is restricted to 'global', 'us', 'asia', + // and 'europe'. string location_id = 5; } @@ -1416,7 +1442,7 @@ message InspectDataSourceDetails { Result result = 3; } -// Statistics related to processing hybrid inspect requests.s +// Statistics related to processing hybrid inspect requests. message HybridInspectStatistics { // The number of hybrid inspection requests processed within this job. int64 processed_count = 1; @@ -1536,11 +1562,10 @@ message StatisticalTable { BigQueryTable table = 3 [(google.api.field_behavior) = REQUIRED]; // Required. Quasi-identifier columns. - repeated QuasiIdentifierField quasi_ids = 1 - [(google.api.field_behavior) = REQUIRED]; + repeated QuasiIdentifierField quasi_ids = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The relative frequency column must contain a floating-point - // number between 0 and 1 (inclusive). Null values are assumed to be zero. + // Required. The relative frequency column must contain a floating-point number + // between 0 and 1 (inclusive). Null values are assumed to be zero. FieldId relative_frequency = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -1653,16 +1678,15 @@ message PrivacyMetric { BigQueryTable table = 3 [(google.api.field_behavior) = REQUIRED]; // Required. Quasi-identifier columns. - repeated QuasiIdField quasi_ids = 1 - [(google.api.field_behavior) = REQUIRED]; + repeated QuasiIdField quasi_ids = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The relative frequency column must contain a floating-point - // number between 0 and 1 (inclusive). Null values are assumed to be zero. + // Required. The relative frequency column must contain a floating-point number + // between 0 and 1 (inclusive). Null values are assumed to be zero. FieldId relative_frequency = 2 [(google.api.field_behavior) = REQUIRED]; } - // Required. Fields considered to be quasi-identifiers. No two columns can - // have the same tag. + // Required. Fields considered to be quasi-identifiers. No two columns can have the + // same tag. repeated TaggedField quasi_ids = 1 [(google.api.field_behavior) = REQUIRED]; // ISO 3166-1 alpha-2 region code to use in the statistical modeling. @@ -1681,8 +1705,8 @@ message PrivacyMetric { // Similarly to the k-map metric, we cannot compute δ-presence exactly without // knowing the attack dataset, so we use a statistical model instead. message DeltaPresenceEstimationConfig { - // Required. Fields considered to be quasi-identifiers. No two fields can - // have the same tag. + // Required. Fields considered to be quasi-identifiers. No two fields can have the + // same tag. repeated QuasiId quasi_ids = 1 [(google.api.field_behavior) = REQUIRED]; // ISO 3166-1 alpha-2 region code to use in the statistical modeling. @@ -1755,8 +1779,7 @@ 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. @@ -1836,8 +1859,7 @@ 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 @@ -1943,8 +1965,7 @@ 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. @@ -2080,13 +2101,17 @@ message DeidentifyConfig { // `TransformationOverviews`. message TransformationErrorHandling { // Throw an error and fail the request when a transformation error occurs. - message ThrowError {} + message ThrowError { + + } // Skips the data without modifying it if the requested transformation would // cause an error. For example, if a `DateShift` transformation were applied // an an IP address, this mode would leave the IP address unchanged in the // response. - message LeaveUntransformed {} + message LeaveUntransformed { + + } // How transformation errors should be handled. oneof mode { @@ -2248,12 +2273,16 @@ 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. @@ -2337,18 +2366,18 @@ message CharacterMaskConfig { // // See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more. message FixedSizeBucketingConfig { - // Required. Lower bound value of buckets. All values less than `lower_bound` - // are grouped together into a single bucket; for example if `lower_bound` = - // 10, then all values less than 10 are replaced with the value “-10”. + // Required. Lower bound value of buckets. All values less than `lower_bound` are + // grouped together into a single bucket; for example if `lower_bound` = 10, + // then all values less than 10 are replaced with the value “-10”. Value lower_bound = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Upper bound value of buckets. All values greater than upper_bound - // are grouped together into a single bucket; for example if `upper_bound` = - // 89, then all values greater than 89 are replaced with the value “89+”. + // Required. Upper bound value of buckets. All values greater than upper_bound are + // grouped together into a single bucket; for example if `upper_bound` = 89, + // then all values greater than 89 are replaced with the value “89+”. Value upper_bound = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. Size of each bucket (except for minimum and maximum buckets). So - // if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the + // Required. Size of each bucket (except for minimum and maximum buckets). So if + // `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the // following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, // 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works. double bucket_size = 3 [(google.api.field_behavior) = REQUIRED]; @@ -2542,15 +2571,14 @@ message KmsWrappedCryptoKey { // same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting // to learn more. message DateShiftConfig { - // Required. Range of shift in days. Actual shift will be selected at random - // within this range (inclusive ends). Negative means shift to earlier in - // time. Must not be more than 365250 days (1000 years) each direction. + // Required. Range of shift in days. Actual shift will be selected at random within this + // range (inclusive ends). Negative means shift to earlier in time. Must not + // be more than 365250 days (1000 years) each direction. // // For example, 3 means shift date to at most 3 days into the future. int32 upper_bound_days = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. For example, -5 means shift date to at most 5 days back in the - // past. + // Required. For example, -5 means shift date to at most 5 days back in the past. int32 lower_bound_days = 2 [(google.api.field_behavior) = REQUIRED]; // Points to the field that contains the context, for example, an entity id. @@ -2582,14 +2610,12 @@ message InfoTypeTransformations { repeated InfoType info_types = 1; // Required. Primitive transformation to apply to the infoType. - PrimitiveTransformation primitive_transformation = 2 - [(google.api.field_behavior) = REQUIRED]; + PrimitiveTransformation primitive_transformation = 2 [(google.api.field_behavior) = REQUIRED]; } // Required. Transformation for each infoType. Cannot specify more than one // for a given infoType. - repeated InfoTypeTransformation transformations = 1 - [(google.api.field_behavior) = REQUIRED]; + repeated InfoTypeTransformation transformations = 1 [(google.api.field_behavior) = REQUIRED]; } // The transformation to apply to the field. @@ -2783,7 +2809,9 @@ message Schedule { // Job trigger option for hybrid jobs. Jobs must be manually created // and finished. -message Manual {} +message Manual { + +} // The inspectTemplate contains a configuration (set of types of sensitive data // to be detected) to be used anywhere you otherwise would normally specify @@ -2812,12 +2840,10 @@ message InspectTemplate { string description = 3; // Output only. The creation timestamp of an inspectTemplate. - google.protobuf.Timestamp create_time = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of an inspectTemplate. - google.protobuf.Timestamp update_time = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // The core content of the template. Configuration of the scanning process. InspectConfig inspect_config = 6; @@ -2848,12 +2874,10 @@ message DeidentifyTemplate { string description = 3; // Output only. The creation timestamp of an inspectTemplate. - google.protobuf.Timestamp create_time = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of an inspectTemplate. - google.protobuf.Timestamp update_time = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // ///////////// // The core content of the template // /////////////// DeidentifyConfig deidentify_config = 6; @@ -2932,23 +2956,20 @@ message JobTrigger { // a single Schedule trigger and must have at least one object. repeated Trigger triggers = 5; - // Output only. A stream of errors encountered when the trigger was activated. - // Repeated errors may result in the JobTrigger automatically being paused. + // Output only. A stream of errors encountered when the trigger was activated. Repeated + // errors may result in the JobTrigger automatically being paused. // Will return the last 100 errors. Whenever the JobTrigger is modified // this list will be cleared. repeated Error errors = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The creation timestamp of a triggeredJob. - google.protobuf.Timestamp create_time = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of a triggeredJob. - google.protobuf.Timestamp update_time = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp of the last time this trigger executed. - google.protobuf.Timestamp last_run_time = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp last_run_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. A status for this trigger. Status status = 10 [(google.api.field_behavior) = REQUIRED]; @@ -2989,7 +3010,9 @@ 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 { + + } // Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the // results of the DlpJob will be applied to the entry for the resource scanned @@ -3001,17 +3024,23 @@ message Action { // Only a single instance of this action can be specified and only allowed if // all resources being scanned are BigQuery tables. // Compatible with: Inspect - message PublishFindingsToCloudDataCatalog {} + message PublishFindingsToCloudDataCatalog { + + } // Enable email notification to project owners and editors on jobs's // completion/failure. - message JobNotificationEmails {} + message JobNotificationEmails { + + } // Enable Stackdriver metric dlp.googleapis.com/finding_count. This // will publish a metric to stack driver on each infotype requested and // how many findings were found for it. CustomDetectors will be bucketed // as 'Custom' under the Stackdriver label 'info_type'. - message PublishToStackdriver {} + message PublishToStackdriver { + + } oneof action { // Save resulting findings in a provided location. @@ -3024,8 +3053,7 @@ message Action { PublishSummaryToCscc publish_summary_to_cscc = 3; // Publish findings to Cloud Datahub. - PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = - 5; + PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; // Enable email notification for project owners and editors on job's // completion/failure. @@ -3063,8 +3091,8 @@ message CreateInspectTemplateRequest { // Request message for UpdateInspectTemplate. message UpdateInspectTemplateRequest { - // Required. Resource name of organization and inspectTemplate to be updated, - // for example `organizations/433245324/inspectTemplates/432452342` or + // Required. Resource name of organization and inspectTemplate to be updated, for + // example `organizations/433245324/inspectTemplates/432452342` or // projects/project-id/inspectTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -3082,8 +3110,8 @@ message UpdateInspectTemplateRequest { // Request message for GetInspectTemplate. message GetInspectTemplateRequest { - // Required. Resource name of the organization and inspectTemplate to be read, - // for example `organizations/433245324/inspectTemplates/432452342` or + // Required. Resource name of the organization and inspectTemplate to be read, for + // example `organizations/433245324/inspectTemplates/432452342` or // projects/project-id/inspectTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -3144,9 +3172,9 @@ message ListInspectTemplatesResponse { // Request message for DeleteInspectTemplate. message DeleteInspectTemplateRequest { - // Required. Resource name of the organization and inspectTemplate to be - // deleted, for example `organizations/433245324/inspectTemplates/432452342` - // or projects/project-id/inspectTemplates/432452342. + // Required. Resource name of the organization and inspectTemplate to be deleted, for + // example `organizations/433245324/inspectTemplates/432452342` or + // projects/project-id/inspectTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3185,7 +3213,9 @@ message ActivateJobTriggerRequest { // `projects/dlp-test-project/jobTriggers/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } + (google.api.resource_reference) = { + type: "dlp.googleapis.com/JobTrigger" + } ]; } @@ -3195,7 +3225,9 @@ message UpdateJobTriggerRequest { // `projects/dlp-test-project/jobTriggers/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } + (google.api.resource_reference) = { + type: "dlp.googleapis.com/JobTrigger" + } ]; // New JobTrigger value. @@ -3211,7 +3243,9 @@ message GetJobTriggerRequest { // `projects/dlp-test-project/jobTriggers/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } + (google.api.resource_reference) = { + type: "dlp.googleapis.com/JobTrigger" + } ]; } @@ -3329,7 +3363,9 @@ message DeleteJobTriggerRequest { // `projects/dlp-test-project/jobTriggers/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } + (google.api.resource_reference) = { + type: "dlp.googleapis.com/JobTrigger" + } ]; } @@ -3425,7 +3461,9 @@ message GetDlpJobRequest { // Required. The name of the DlpJob resource. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" } + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + } ]; } @@ -3512,7 +3550,9 @@ message CancelDlpJobRequest { // Required. The name of the DlpJob resource to be cancelled. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" } + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + } ]; } @@ -3521,7 +3561,9 @@ message FinishDlpJobRequest { // Required. The name of the DlpJob resource to be cancelled. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" } + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + } ]; } @@ -3530,7 +3572,9 @@ message DeleteDlpJobRequest { // Required. The name of the DlpJob resource to be deleted. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" } + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + } ]; } @@ -3546,8 +3590,7 @@ message CreateDeidentifyTemplateRequest { ]; // Required. The DeidentifyTemplate to create. - DeidentifyTemplate deidentify_template = 2 - [(google.api.field_behavior) = REQUIRED]; + DeidentifyTemplate deidentify_template = 2 [(google.api.field_behavior) = REQUIRED]; // The template id can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular @@ -3562,9 +3605,8 @@ message CreateDeidentifyTemplateRequest { // Request message for UpdateDeidentifyTemplate. message UpdateDeidentifyTemplateRequest { - // Required. Resource name of organization and deidentify template to be - // updated, for example - // `organizations/433245324/deidentifyTemplates/432452342` or + // Required. Resource name of organization and deidentify template to be updated, for + // example `organizations/433245324/deidentifyTemplates/432452342` or // projects/project-id/deidentifyTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -3582,9 +3624,9 @@ message UpdateDeidentifyTemplateRequest { // Request message for GetDeidentifyTemplate. message GetDeidentifyTemplateRequest { - // Required. Resource name of the organization and deidentify template to be - // read, for example `organizations/433245324/deidentifyTemplates/432452342` - // or projects/project-id/deidentifyTemplates/432452342. + // Required. Resource name of the organization and deidentify template to be read, for + // example `organizations/433245324/deidentifyTemplates/432452342` or + // projects/project-id/deidentifyTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3645,9 +3687,8 @@ message ListDeidentifyTemplatesResponse { // Request message for DeleteDeidentifyTemplate. message DeleteDeidentifyTemplateRequest { - // Required. Resource name of the organization and deidentify template to be - // deleted, for example - // `organizations/433245324/deidentifyTemplates/432452342` or + // Required. Resource name of the organization and deidentify template to be deleted, + // for example `organizations/433245324/deidentifyTemplates/432452342` or // projects/project-id/deidentifyTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -3799,8 +3840,8 @@ message CreateStoredInfoTypeRequest { // Request message for UpdateStoredInfoType. message UpdateStoredInfoTypeRequest { - // Required. Resource name of organization and storedInfoType to be updated, - // for example `organizations/433245324/storedInfoTypes/432452342` or + // Required. Resource name of organization and storedInfoType to be updated, for + // example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -3820,8 +3861,8 @@ message UpdateStoredInfoTypeRequest { // Request message for GetStoredInfoType. message GetStoredInfoTypeRequest { - // Required. Resource name of the organization and storedInfoType to be read, - // for example `organizations/433245324/storedInfoTypes/432452342` or + // Required. Resource name of the organization and storedInfoType to be read, for + // example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -3883,8 +3924,8 @@ message ListStoredInfoTypesResponse { // Request message for DeleteStoredInfoType. message DeleteStoredInfoTypeRequest { - // Required. Resource name of the organization and storedInfoType to be - // deleted, for example `organizations/433245324/storedInfoTypes/432452342` or + // Required. Resource name of the organization and storedInfoType to be deleted, for + // example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -3896,11 +3937,13 @@ message DeleteStoredInfoTypeRequest { // Request to search for potentially sensitive info in a custom location. message HybridInspectJobTriggerRequest { - // Required. Resource name of the trigger to execute a hybrid inspect on, for - // example `projects/dlp-test-project/jobTriggers/53234423`. + // Required. Resource name of the trigger to execute a hybrid inspect on, for example + // `projects/dlp-test-project/jobTriggers/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } + (google.api.resource_reference) = { + type: "dlp.googleapis.com/JobTrigger" + } ]; // The item to inspect. @@ -3909,11 +3952,13 @@ message HybridInspectJobTriggerRequest { // Request to search for potentially sensitive info in a custom location. message HybridInspectDlpJobRequest { - // Required. Resource name of the job to execute a hybrid inspect on, for - // example `projects/dlp-test-project/dlpJob/53234423`. + // Required. Resource name of the job to execute a hybrid inspect on, for example + // `projects/dlp-test-project/dlpJob/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" } + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + } ]; // The item to inspect. @@ -3973,7 +4018,9 @@ message HybridFindingDetails { } // Quota exceeded errors will be thrown once quota has been met. -message HybridInspectResponse {} +message HybridInspectResponse { + +} // Operators available for comparing the value of fields. enum RelationalOperator { @@ -4043,6 +4090,15 @@ enum ContentOption { CONTENT_IMAGE = 2; } +// Type of metadata containing the finding. +enum MetadataType { + // Unused + METADATATYPE_UNSPECIFIED = 0; + + // General file metadata provided by GCS. + STORAGE_METADATA = 2; +} + // Parts of the APIs which use certain infoTypes. enum InfoTypeSupportedBy { // Unused. diff --git a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto index f0348501..9408d6de 100644 --- a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto +++ b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto @@ -134,7 +134,9 @@ 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 { + + } // Deprecated; use `InspectionRuleSet` instead. Rule for modifying a // `CustomInfoType` to alter behavior under certain circumstances, depending @@ -391,6 +393,9 @@ message CloudStorageOptions { // If empty, all files are scanned and available data format processors // are applied. In addition, the binary content of the selected files // is always scanned as well. + // Images are scanned only as binary if the specified region + // does not support image inspection and no file_types were specified. + // Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. repeated FileType file_types = 5; SampleMethod sample_method = 6; @@ -534,8 +539,17 @@ enum FileType { // Included file extensions: // bmp, gif, jpg, jpeg, jpe, png. // bytes_limit_per_file has no effect on image files. + // Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. IMAGE = 3; + // Included file extensions: + // docx, dotx, docm, dotm + WORD = 5; + + // Included file extensions: + // pdf + PDF = 6; + // Included file extensions: // avro AVRO = 7; diff --git a/synth.metadata b/synth.metadata index 5c3000e1..28ec4bee 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,22 +4,22 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dlp.git", - "sha": "4ff47e3a126e27331bcf43730d3c14e02b2d0f4b" + "sha": "a1b65d4fb390533ba5a92d03bfe482455ef43163" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "f78da0d54c78aa8f66d52a448db1f7ec0e0fd591", - "internalRef": "309415646" + "sha": "aed11c01e52921613b9ee469c2d85f5f33175fb7", + "internalRef": "310660461" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f8a9933e5e98202b04ef427f28d1d79221190fa4" + "sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c" } } ],