Interface SdpFinding.SdpFindingLocationOrBuilder (0.19.0)

publicstaticinterface SdpFinding.SdpFindingLocationOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getByteRange()

publicabstractRangeInfogetByteRange()

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()

publicabstractRangeInfoOrBuildergetByteRangeOrBuilder()

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()

publicabstractRangeInfogetCodepointRange()

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()

publicabstractRangeInfoOrBuildergetCodepointRangeOrBuilder()

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()

publicabstractbooleanhasByteRange()

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()

publicabstractbooleanhasCodepointRange()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.