Package com.google.privacy.dlp.v2
Interface LocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Location,Location.Builder
@Generated
public interface LocationOrBuilder
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.Information about the container where this finding occurred, if available.Information about the container where this finding occurred, if available.getContentLocations(int index) List of nested objects pointing to the precise location of the finding within the file or record.intList of nested objects pointing to the precise location of the finding within the file or record.List of nested objects pointing to the precise location of the finding within the file or record.getContentLocationsOrBuilder(int index) List of nested objects pointing to the precise location of the finding within the file or record.List<? extends ContentLocationOrBuilder>List of nested objects pointing to the precise location of the finding within the file or record.booleanZero-based byte offsets delimiting the finding.booleanUnicode character offsets delimiting the finding.booleanInformation about the container where this finding occurred, if available.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. Omitted if content is an image.
.google.privacy.dlp.v2.Range byte_range = 1;- Returns:
- Whether the byteRange field is set.
-
getByteRange
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:
- The byteRange.
-
getByteRangeOrBuilder
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; -
hasCodepointRange
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:
- Whether the codepointRange field is set.
-
getCodepointRange
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:
- The codepointRange.
-
getCodepointRangeOrBuilder
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; -
getContentLocationsList
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; -
getContentLocations
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; -
getContentLocationsCount
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; -
getContentLocationsOrBuilderList
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; -
getContentLocationsOrBuilder
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; -
hasContainer
boolean hasContainer()Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;- Returns:
- Whether the container field is set.
-
getContainer
Container getContainer()Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;- Returns:
- The container.
-
getContainerOrBuilder
ContainerOrBuilder getContainerOrBuilder()Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;
-