|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
| 3 | + * in compliance with the License. You may obtain a copy of the License at |
| 4 | + * |
| 5 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | + * |
| 7 | + * Unless required by applicable law or agreed to in writing, software distributed under the License |
| 8 | + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
| 9 | + * or implied. See the License for the specific language governing permissions and limitations under |
| 10 | + * the License. |
| 11 | + */ |
| 12 | +/* |
| 13 | + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ |
| 14 | + * Modify at your own risk. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.google.api.services.dlp.v2.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * Collection of findings saved to a Cloud Storage bucket. This is used as the proto schema for |
| 21 | + * textproto files created when specifying a cloud storage path to save Inspect findings. |
| 22 | + * |
| 23 | + * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is |
| 24 | + * transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed |
| 25 | + * explanation see: |
| 26 | + * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> |
| 27 | + * </p> |
| 28 | + * |
| 29 | + * @author Google, Inc. |
| 30 | + */ |
| 31 | +@SuppressWarnings("javadoc") |
| 32 | +public final class GooglePrivacyDlpV2SaveToGcsFindingsOutput extends com.google.api.client.json.GenericJson { |
| 33 | + |
| 34 | + /** |
| 35 | + * List of findings. |
| 36 | + * The value may be {@code null}. |
| 37 | + */ |
| 38 | + @com.google.api.client.util.Key |
| 39 | + private java.util.List<GooglePrivacyDlpV2Finding> findings; |
| 40 | + |
| 41 | + static { |
| 42 | + // hack to force ProGuard to consider GooglePrivacyDlpV2Finding used, since otherwise it would be stripped out |
| 43 | + // see https://github.com/google/google-api-java-client/issues/543 |
| 44 | + com.google.api.client.util.Data.nullOf(GooglePrivacyDlpV2Finding.class); |
| 45 | + } |
| 46 | + |
| 47 | + /** |
| 48 | + * List of findings. |
| 49 | + * @return value or {@code null} for none |
| 50 | + */ |
| 51 | + public java.util.List<GooglePrivacyDlpV2Finding> getFindings() { |
| 52 | + return findings; |
| 53 | + } |
| 54 | + |
| 55 | + /** |
| 56 | + * List of findings. |
| 57 | + * @param findings findings or {@code null} for none |
| 58 | + */ |
| 59 | + public GooglePrivacyDlpV2SaveToGcsFindingsOutput setFindings(java.util.List<GooglePrivacyDlpV2Finding> findings) { |
| 60 | + this.findings = findings; |
| 61 | + return this; |
| 62 | + } |
| 63 | + |
| 64 | + @Override |
| 65 | + public GooglePrivacyDlpV2SaveToGcsFindingsOutput set(String fieldName, Object value) { |
| 66 | + return (GooglePrivacyDlpV2SaveToGcsFindingsOutput) super.set(fieldName, value); |
| 67 | + } |
| 68 | + |
| 69 | + @Override |
| 70 | + public GooglePrivacyDlpV2SaveToGcsFindingsOutput clone() { |
| 71 | + return (GooglePrivacyDlpV2SaveToGcsFindingsOutput) super.clone(); |
| 72 | + } |
| 73 | + |
| 74 | +} |
0 commit comments