public final class Location extends com.google.protobuf.GeneratedMessageV3 implements LocationOrBuilder
Specifies the location of the finding.Protobuf type
google.privacy.dlp.v2.Location| Modifier and Type | Class and Description |
|---|---|
static class |
Location.Builder
Specifies the location of the finding.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BYTE_RANGE_FIELD_NUMBER |
static int |
CODEPOINT_RANGE_FIELD_NUMBER |
static int |
CONTAINER_FIELD_NUMBER |
static int |
CONTENT_LOCATIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Range |
getByteRange()
Zero-based byte offsets delimiting the finding.
|
RangeOrBuilder |
getByteRangeOrBuilder()
Zero-based byte offsets delimiting the finding.
|
Range |
getCodepointRange()
Unicode character offsets delimiting the finding.
|
RangeOrBuilder |
getCodepointRangeOrBuilder()
Unicode character offsets delimiting the finding.
|
Container |
getContainer()
Information about the container where this finding occurred, if available.
|
ContainerOrBuilder |
getContainerOrBuilder()
Information about the container where this finding occurred, if available.
|
ContentLocation |
getContentLocations(int index)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
int |
getContentLocationsCount()
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.
|
ContentLocationOrBuilder |
getContentLocationsOrBuilder(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.
|
static Location |
getDefaultInstance() |
Location |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Location> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasByteRange()
Zero-based byte offsets delimiting the finding.
|
boolean |
hasCodepointRange()
Unicode character offsets delimiting the finding.
|
boolean |
hasContainer()
Information about the container where this finding occurred, if available.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Location.Builder |
newBuilder() |
static Location.Builder |
newBuilder(Location prototype) |
Location.Builder |
newBuilderForType() |
protected Location.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Location |
parseDelimitedFrom(InputStream input) |
static Location |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Location |
parseFrom(byte[] data) |
static Location |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Location |
parseFrom(ByteBuffer data) |
static Location |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Location |
parseFrom(com.google.protobuf.ByteString data) |
static Location |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Location |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Location |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Location |
parseFrom(InputStream input) |
static Location |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Location> |
parser() |
Location.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BYTE_RANGE_FIELD_NUMBER
public static final int CODEPOINT_RANGE_FIELD_NUMBER
public static final int CONTENT_LOCATIONS_FIELD_NUMBER
public static final int CONTAINER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasByteRange in interface LocationOrBuilderpublic 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;getByteRange in interface LocationOrBuilderpublic 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;getByteRangeOrBuilder in interface LocationOrBuilderpublic 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;hasCodepointRange in interface LocationOrBuilderpublic 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;getCodepointRange in interface LocationOrBuilderpublic 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;getCodepointRangeOrBuilder in interface LocationOrBuilderpublic 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;getContentLocationsList in interface LocationOrBuilderpublic 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;getContentLocationsOrBuilderList in interface LocationOrBuilderpublic 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;getContentLocationsCount in interface LocationOrBuilderpublic 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;getContentLocations in interface LocationOrBuilderpublic 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;getContentLocationsOrBuilder in interface LocationOrBuilderpublic boolean hasContainer()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;hasContainer in interface LocationOrBuilderpublic Container getContainer()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;getContainer in interface LocationOrBuilderpublic ContainerOrBuilder getContainerOrBuilder()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;getContainerOrBuilder in interface LocationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Location parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Location parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Location parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Location parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Location parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Location parseFrom(InputStream input) throws IOException
IOExceptionpublic static Location parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Location parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Location parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Location parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Location parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Location.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Location.Builder newBuilder()
public static Location.Builder newBuilder(Location prototype)
public Location.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Location.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Location getDefaultInstance()
public static com.google.protobuf.Parser<Location> parser()
public com.google.protobuf.Parser<Location> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Location getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.