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
public interface LocationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RangegetByteRange()Zero-based byte offsets delimiting the finding.RangeOrBuildergetByteRangeOrBuilder()Zero-based byte offsets delimiting the finding.RangegetCodepointRange()Unicode character offsets delimiting the finding.RangeOrBuildergetCodepointRangeOrBuilder()Unicode character offsets delimiting the finding.ContainergetContainer()Information about the container where this finding occurred, if available.ContainerOrBuildergetContainerOrBuilder()Information about the container where this finding occurred, if available.ContentLocationgetContentLocations(int index)List of nested objects pointing to the precise location of the finding within the file or record.intgetContentLocationsCount()List of nested objects pointing to the precise location of the finding within the file or record.List<ContentLocation>getContentLocationsList()List of nested objects pointing to the precise location of the finding within the file or record.ContentLocationOrBuildergetContentLocationsOrBuilder(int index)List of nested objects pointing to the precise location of the finding within the file or record.List<? extends ContentLocationOrBuilder>getContentLocationsOrBuilderList()List of nested objects pointing to the precise location of the finding within the file or record.booleanhasByteRange()Zero-based byte offsets delimiting the finding.booleanhasCodepointRange()Unicode character offsets delimiting the finding.booleanhasContainer()Information about the container where this finding occurred, if available.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
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;
-
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
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;
-
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;
-
-