com.google.privacy.dlp.v2.LocationOrBuilder 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 LocationOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Location)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Zero-based byte offsets delimiting the finding.
* These are relative to the finding's containing element.
* Note that when the content is not textual, this references
* the UTF-8 encoded textual representation of the content.
* Omitted if content is an image.
*
*
* .google.privacy.dlp.v2.Range byte_range = 1;
*
* @return Whether the byteRange field is set.
*/
boolean hasByteRange();
/**
*
*
*
* Zero-based byte offsets delimiting the finding.
* These are relative to the finding's containing element.
* Note that when the content is not textual, this references
* the UTF-8 encoded textual representation of the content.
* Omitted if content is an image.
*
*
* .google.privacy.dlp.v2.Range byte_range = 1;
*
* @return The byteRange.
*/
com.google.privacy.dlp.v2.Range getByteRange();
/**
*
*
*
* Zero-based byte offsets delimiting the finding.
* These are relative to the finding's containing element.
* Note that when the content is not textual, this references
* the UTF-8 encoded textual representation of the content.
* Omitted if content is an image.
*
*
* .google.privacy.dlp.v2.Range byte_range = 1;
*/
com.google.privacy.dlp.v2.RangeOrBuilder getByteRangeOrBuilder();
/**
*
*
*
* Unicode character offsets delimiting the finding.
* These are relative to the finding's containing element.
* Provided when the content is text.
*
*
* .google.privacy.dlp.v2.Range codepoint_range = 2;
*
* @return Whether the codepointRange field is set.
*/
boolean hasCodepointRange();
/**
*
*
*
* Unicode character offsets delimiting the finding.
* These are relative to the finding's containing element.
* Provided when the content is text.
*
*
* .google.privacy.dlp.v2.Range codepoint_range = 2;
*
* @return The codepointRange.
*/
com.google.privacy.dlp.v2.Range getCodepointRange();
/**
*
*
*
* Unicode character offsets delimiting the finding.
* These are relative to the finding's containing element.
* Provided when the content is text.
*
*
* .google.privacy.dlp.v2.Range codepoint_range = 2;
*/
com.google.privacy.dlp.v2.RangeOrBuilder getCodepointRangeOrBuilder();
/**
*
*
*
* List of nested objects pointing to the precise location of the finding
* within the file or record.
*
*
* repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
*/
java.util.List getContentLocationsList();
/**
*
*
*
* List of nested objects pointing to the precise location of the finding
* within the file or record.
*
*
* repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
*/
com.google.privacy.dlp.v2.ContentLocation getContentLocations(int index);
/**
*
*
*
* List of nested objects pointing to the precise location of the finding
* within the file or record.
*
*
* repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
*/
int getContentLocationsCount();
/**
*
*
*
* List of nested objects pointing to the precise location of the finding
* within the file or record.
*
*
* repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
*/
java.util.List extends com.google.privacy.dlp.v2.ContentLocationOrBuilder>
getContentLocationsOrBuilderList();
/**
*
*
*
* List of nested objects pointing to the precise location of the finding
* within the file or record.
*
*
* repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;
*/
com.google.privacy.dlp.v2.ContentLocationOrBuilder getContentLocationsOrBuilder(int index);
/**
*
*
*
* Information about the container where this finding occurred, if available.
*
*
* .google.privacy.dlp.v2.Container container = 8;
*
* @return Whether the container field is set.
*/
boolean hasContainer();
/**
*
*
*
* Information about the container where this finding occurred, if available.
*
*
* .google.privacy.dlp.v2.Container container = 8;
*
* @return The container.
*/
com.google.privacy.dlp.v2.Container getContainer();
/**
*
*
*
* Information about the container where this finding occurred, if available.
*
*
* .google.privacy.dlp.v2.Container container = 8;
*/
com.google.privacy.dlp.v2.ContainerOrBuilder getContainerOrBuilder();
}