Interface SdpFinding.SdpFindingLocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SdpFinding.SdpFindingLocation,SdpFinding.SdpFindingLocation.Builder
- Enclosing class:
- SdpFinding
public static interface SdpFinding.SdpFindingLocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionZero-based byte offsets delimiting the finding.Zero-based byte offsets delimiting the finding.Unicode character offsets delimiting the finding.Unicode character offsets delimiting the finding.booleanZero-based byte offsets delimiting the finding.booleanUnicode character offsets delimiting the finding.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasByteRange
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1;- Returns:
- Whether the byteRange field is set.
-
getByteRange
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1;- Returns:
- The byteRange.
-
getByteRangeOrBuilder
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1; -
hasCodepointRange
boolean hasCodepointRange()Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2;- Returns:
- Whether the codepointRange field is set.
-
getCodepointRange
RangeInfo getCodepointRange()Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2;- Returns:
- The codepointRange.
-
getCodepointRangeOrBuilder
RangeInfoOrBuilder getCodepointRangeOrBuilder()Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2;
-