com.google.privacy.dlp.v2.HybridOptionsOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dlp-v2 Show documentation
Show all versions of proto-google-cloud-dlp-v2 Show documentation
PROTO library for proto-google-cloud-dlp-v2
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/storage.proto
// Protobuf Java Version: 3.25.4
package com.google.privacy.dlp.v2;
public interface HybridOptionsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridOptions)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* A short description of where the data is coming from. Will be stored once
* in the job. 256 max length.
*
*
* string description = 1;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* A short description of where the data is coming from. Will be stored once
* in the job. 256 max length.
*
*
* string description = 1;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* These are labels that each inspection request must include within their
* 'finding_labels' map. Request may contain others, but any missing one of
* these will be rejected.
*
* 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])?`.
*
* No more than 10 keys can be required.
*
*
* repeated string required_finding_label_keys = 2;
*
* @return A list containing the requiredFindingLabelKeys.
*/
java.util.List getRequiredFindingLabelKeysList();
/**
*
*
*
* These are labels that each inspection request must include within their
* 'finding_labels' map. Request may contain others, but any missing one of
* these will be rejected.
*
* 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])?`.
*
* No more than 10 keys can be required.
*
*
* repeated string required_finding_label_keys = 2;
*
* @return The count of requiredFindingLabelKeys.
*/
int getRequiredFindingLabelKeysCount();
/**
*
*
*
* These are labels that each inspection request must include within their
* 'finding_labels' map. Request may contain others, but any missing one of
* these will be rejected.
*
* 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])?`.
*
* No more than 10 keys can be required.
*
*
* repeated string required_finding_label_keys = 2;
*
* @param index The index of the element to return.
* @return The requiredFindingLabelKeys at the given index.
*/
java.lang.String getRequiredFindingLabelKeys(int index);
/**
*
*
*
* These are labels that each inspection request must include within their
* 'finding_labels' map. Request may contain others, but any missing one of
* these will be rejected.
*
* 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])?`.
*
* No more than 10 keys can be required.
*
*
* repeated string required_finding_label_keys = 2;
*
* @param index The index of the value to return.
* @return The bytes of the requiredFindingLabelKeys at the given index.
*/
com.google.protobuf.ByteString getRequiredFindingLabelKeysBytes(int index);
/**
*
*
*
* To organize findings, these labels will be added to each 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
* to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
*
* No more than 10 labels can be associated with a given finding.
*
* Examples:
*
* * `"environment" : "production"`
* * `"pipeline" : "etl"`
*
*
* map<string, string> labels = 3;
*/
int getLabelsCount();
/**
*
*
*
* To organize findings, these labels will be added to each 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
* to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
*
* No more than 10 labels can be associated with a given finding.
*
* Examples:
*
* * `"environment" : "production"`
* * `"pipeline" : "etl"`
*
*
* map<string, string> labels = 3;
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* To organize findings, these labels will be added to each 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
* to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
*
* No more than 10 labels can be associated with a given finding.
*
* Examples:
*
* * `"environment" : "production"`
* * `"pipeline" : "etl"`
*
*
* map<string, string> labels = 3;
*/
java.util.Map getLabelsMap();
/**
*
*
*
* To organize findings, these labels will be added to each 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
* to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
*
* No more than 10 labels can be associated with a given finding.
*
* Examples:
*
* * `"environment" : "production"`
* * `"pipeline" : "etl"`
*
*
* map<string, string> labels = 3;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* To organize findings, these labels will be added to each 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
* to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
*
* No more than 10 labels can be associated with a given finding.
*
* Examples:
*
* * `"environment" : "production"`
* * `"pipeline" : "etl"`
*
*
* map<string, string> labels = 3;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* If the container is a table, additional information to make findings
* meaningful such as the columns that are primary keys.
*
*
* .google.privacy.dlp.v2.TableOptions table_options = 4;
*
* @return Whether the tableOptions field is set.
*/
boolean hasTableOptions();
/**
*
*
*
* If the container is a table, additional information to make findings
* meaningful such as the columns that are primary keys.
*
*
* .google.privacy.dlp.v2.TableOptions table_options = 4;
*
* @return The tableOptions.
*/
com.google.privacy.dlp.v2.TableOptions getTableOptions();
/**
*
*
*
* If the container is a table, additional information to make findings
* meaningful such as the columns that are primary keys.
*
*
* .google.privacy.dlp.v2.TableOptions table_options = 4;
*/
com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder();
}