com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder 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/dlp.proto
// Protobuf Java Version: 3.25.4
package com.google.privacy.dlp.v2;
public interface HybridFindingDetailsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridFindingDetails)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Details about the container where the content being inspected is from.
*
*
* .google.privacy.dlp.v2.Container container_details = 1;
*
* @return Whether the containerDetails field is set.
*/
boolean hasContainerDetails();
/**
*
*
*
* Details about the container where the content being inspected is from.
*
*
* .google.privacy.dlp.v2.Container container_details = 1;
*
* @return The containerDetails.
*/
com.google.privacy.dlp.v2.Container getContainerDetails();
/**
*
*
*
* Details about the container where the content being inspected is from.
*
*
* .google.privacy.dlp.v2.Container container_details = 1;
*/
com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder();
/**
*
*
*
* Offset in bytes of the line, from the beginning of the file, where the
* finding is located. Populate if the item being scanned is only part of a
* bigger item, such as a shard of a file and you want to track the absolute
* position of the finding.
*
*
* int64 file_offset = 2;
*
* @return The fileOffset.
*/
long getFileOffset();
/**
*
*
*
* Offset of the row for tables. Populate if the row(s) being scanned are
* part of a bigger dataset and you want to keep track of their absolute
* position.
*
*
* int64 row_offset = 3;
*
* @return The rowOffset.
*/
long getRowOffset();
/**
*
*
*
* If the container is a table, additional information to make findings
* meaningful such as the columns that are primary keys. If not known ahead
* of time, can also be set within each inspect hybrid call and the two
* will be merged. Note that identifying_fields will only be stored to
* BigQuery, and only if the BigQuery action has been included.
*
*
* .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. If not known ahead
* of time, can also be set within each inspect hybrid call and the two
* will be merged. Note that identifying_fields will only be stored to
* BigQuery, and only if the BigQuery action has been included.
*
*
* .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. If not known ahead
* of time, can also be set within each inspect hybrid call and the two
* will be merged. Note that identifying_fields will only be stored to
* BigQuery, and only if the BigQuery action has been included.
*
*
* .google.privacy.dlp.v2.TableOptions table_options = 4;
*/
com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder();
/**
*
*
*
* Labels to represent user provided metadata about the data being inspected.
* If configured by the job, some key values may be required.
* The labels associated with `Finding`'s produced by hybrid
* inspection.
*
* 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 = 5;
*/
int getLabelsCount();
/**
*
*
*
* Labels to represent user provided metadata about the data being inspected.
* If configured by the job, some key values may be required.
* The labels associated with `Finding`'s produced by hybrid
* inspection.
*
* 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 = 5;
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* Labels to represent user provided metadata about the data being inspected.
* If configured by the job, some key values may be required.
* The labels associated with `Finding`'s produced by hybrid
* inspection.
*
* 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 = 5;
*/
java.util.Map getLabelsMap();
/**
*
*
*
* Labels to represent user provided metadata about the data being inspected.
* If configured by the job, some key values may be required.
* The labels associated with `Finding`'s produced by hybrid
* inspection.
*
* 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 = 5;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Labels to represent user provided metadata about the data being inspected.
* If configured by the job, some key values may be required.
* The labels associated with `Finding`'s produced by hybrid
* inspection.
*
* 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 = 5;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
}