Interface LocationOrBuilder (3.40.0)

public interface LocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getByteRange()

public abstract 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;

Returns
TypeDescription
Range

The byteRange.

getByteRangeOrBuilder()

public abstract RangeOrBuilder getByteRangeOrBuilder()

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;

Returns
TypeDescription
RangeOrBuilder

getCodepointRange()

public abstract 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;

Returns
TypeDescription
Range

The codepointRange.

getCodepointRangeOrBuilder()

public abstract RangeOrBuilder getCodepointRangeOrBuilder()

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;

Returns
TypeDescription
RangeOrBuilder

getContainer()

public abstract Container getContainer()

Information about the container where this finding occurred, if available.

.google.privacy.dlp.v2.Container container = 8;

Returns
TypeDescription
Container

The container.

getContainerOrBuilder()

public abstract ContainerOrBuilder getContainerOrBuilder()

Information about the container where this finding occurred, if available.

.google.privacy.dlp.v2.Container container = 8;

Returns
TypeDescription
ContainerOrBuilder

getContentLocations(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
ContentLocation

getContentLocationsCount()

public abstract 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;

Returns
TypeDescription
int

getContentLocationsList()

public abstract List<ContentLocation> 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;

Returns
TypeDescription
List<ContentLocation>

getContentLocationsOrBuilder(int index)

public abstract ContentLocationOrBuilder getContentLocationsOrBuilder(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;

Parameter
NameDescription
indexint
Returns
TypeDescription
ContentLocationOrBuilder

getContentLocationsOrBuilderList()

public abstract List<? extends 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;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.ContentLocationOrBuilder>

hasByteRange()

public abstract 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;

Returns
TypeDescription
boolean

Whether the byteRange field is set.

hasCodepointRange()

public abstract 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;

Returns
TypeDescription
boolean

Whether the codepointRange field is set.

hasContainer()

public abstract boolean hasContainer()

Information about the container where this finding occurred, if available.

.google.privacy.dlp.v2.Container container = 8;

Returns
TypeDescription
boolean

Whether the container field is set.