Interface LocationOrBuilder (3.52.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
Type Description
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
Type Description
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
Type Description
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
Type Description
RangeOrBuilder

getContainer()

public abstract Container getContainer()

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

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the container field is set.