Interface SdpFinding.SdpFindingLocationOrBuilder (0.1.0)

public static interface SdpFinding.SdpFindingLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getByteRange()

public abstract RangeInfo 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.

.google.cloud.modelarmor.v1.RangeInfo byte_range = 1;

Returns
Type Description
RangeInfo

The byteRange.

getByteRangeOrBuilder()

public abstract RangeInfoOrBuilder 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.

.google.cloud.modelarmor.v1.RangeInfo byte_range = 1;

Returns
Type Description
RangeInfoOrBuilder

getCodepointRange()

public abstract RangeInfo getCodepointRange()

Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.

.google.cloud.modelarmor.v1.RangeInfo codepoint_range = 2;

Returns
Type Description
RangeInfo

The codepointRange.

getCodepointRangeOrBuilder()

public abstract RangeInfoOrBuilder getCodepointRangeOrBuilder()

Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.

.google.cloud.modelarmor.v1.RangeInfo codepoint_range = 2;

Returns
Type Description
RangeInfoOrBuilder

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.

.google.cloud.modelarmor.v1.RangeInfo 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.cloud.modelarmor.v1.RangeInfo codepoint_range = 2;

Returns
Type Description
boolean

Whether the codepointRange field is set.