public final class Location extends 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.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BYTE_RANGE_FIELD_NUMBER |
static int |
CODEPOINT_RANGE_FIELD_NUMBER |
static int |
CONTENT_LOCATIONS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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.
|
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.
|
java.util.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.
|
java.util.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 Descriptors.Descriptor |
getDescriptor() |
Parser<Location> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
boolean |
hasByteRange()
Zero-based byte offsets delimiting the finding.
|
boolean |
hasCodepointRange()
Unicode character offsets delimiting the finding.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Location.Builder |
newBuilder() |
static Location.Builder |
newBuilder(Location prototype) |
Location.Builder |
newBuilderForType() |
protected Location.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Location |
parseDelimitedFrom(java.io.InputStream input) |
static Location |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Location |
parseFrom(byte[] data) |
static Location |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Location |
parseFrom(java.nio.ByteBuffer data) |
static Location |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Location |
parseFrom(ByteString data) |
static Location |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Location |
parseFrom(CodedInputStream input) |
static Location |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Location |
parseFrom(java.io.InputStream input) |
static Location |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Location> |
parser() |
Location.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int BYTE_RANGE_FIELD_NUMBER
public static final int CODEPOINT_RANGE_FIELD_NUMBER
public static final int CONTENT_LOCATIONS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class 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 java.util.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 java.util.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 final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Location parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Location parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Location parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Location parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Location parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Location parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Location parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Location parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Location parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Location parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Location parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Location.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Location.Builder newBuilder()
public static Location.Builder newBuilder(Location prototype)
public Location.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Location.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Location getDefaultInstance()
public Parser<Location> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Location getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder