public final class Location extends GeneratedMessageV3 implements LocationOrBuilder
Specifies the location of a finding within its source item.Protobuf type
google.privacy.dlp.v2beta1.Location| Modifier and Type | Class and Description |
|---|---|
static class |
Location.Builder
Specifies the location of a finding within its source item.
|
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 |
FIELD_ID_FIELD_NUMBER |
static int |
IMAGE_BOXES_FIELD_NUMBER |
static int |
RECORD_KEY_FIELD_NUMBER |
static int |
TABLE_LOCATION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Range |
getByteRange()
Zero-based byte offsets within a content item.
|
RangeOrBuilder |
getByteRangeOrBuilder()
Zero-based byte offsets within a content item.
|
Range |
getCodepointRange()
Character offsets within a content item, included when content type
is a text.
|
RangeOrBuilder |
getCodepointRangeOrBuilder()
Character offsets within a content item, included when content type
is a text.
|
static Location |
getDefaultInstance() |
Location |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
FieldId |
getFieldId()
Field id of the field containing the finding.
|
FieldIdOrBuilder |
getFieldIdOrBuilder()
Field id of the field containing the finding.
|
ImageLocation |
getImageBoxes(int index)
Location within an image's pixels.
|
int |
getImageBoxesCount()
Location within an image's pixels.
|
java.util.List<ImageLocation> |
getImageBoxesList()
Location within an image's pixels.
|
ImageLocationOrBuilder |
getImageBoxesOrBuilder(int index)
Location within an image's pixels.
|
java.util.List<? extends ImageLocationOrBuilder> |
getImageBoxesOrBuilderList()
Location within an image's pixels.
|
Parser<Location> |
getParserForType() |
RecordKey |
getRecordKey()
Key of the finding.
|
RecordKeyOrBuilder |
getRecordKeyOrBuilder()
Key of the finding.
|
int |
getSerializedSize() |
TableLocation |
getTableLocation()
Location within a `ContentItem.Table`.
|
TableLocationOrBuilder |
getTableLocationOrBuilder()
Location within a `ContentItem.Table`.
|
UnknownFieldSet |
getUnknownFields() |
boolean |
hasByteRange()
Zero-based byte offsets within a content item.
|
boolean |
hasCodepointRange()
Character offsets within a content item, included when content type
is a text.
|
boolean |
hasFieldId()
Field id of the field containing the finding.
|
int |
hashCode() |
boolean |
hasRecordKey()
Key of the finding.
|
boolean |
hasTableLocation()
Location within a `ContentItem.Table`.
|
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 IMAGE_BOXES_FIELD_NUMBER
public static final int RECORD_KEY_FIELD_NUMBER
public static final int FIELD_ID_FIELD_NUMBER
public static final int TABLE_LOCATION_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 within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;hasByteRange in interface LocationOrBuilderpublic Range getByteRange()
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;getByteRange in interface LocationOrBuilderpublic RangeOrBuilder getByteRangeOrBuilder()
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;getByteRangeOrBuilder in interface LocationOrBuilderpublic boolean hasCodepointRange()
Character offsets within a content item, included when content type is a text. Default charset assumed to be UTF-8.
.google.privacy.dlp.v2beta1.Range codepoint_range = 2;hasCodepointRange in interface LocationOrBuilderpublic Range getCodepointRange()
Character offsets within a content item, included when content type is a text. Default charset assumed to be UTF-8.
.google.privacy.dlp.v2beta1.Range codepoint_range = 2;getCodepointRange in interface LocationOrBuilderpublic RangeOrBuilder getCodepointRangeOrBuilder()
Character offsets within a content item, included when content type is a text. Default charset assumed to be UTF-8.
.google.privacy.dlp.v2beta1.Range codepoint_range = 2;getCodepointRangeOrBuilder in interface LocationOrBuilderpublic java.util.List<ImageLocation> getImageBoxesList()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;getImageBoxesList in interface LocationOrBuilderpublic java.util.List<? extends ImageLocationOrBuilder> getImageBoxesOrBuilderList()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;getImageBoxesOrBuilderList in interface LocationOrBuilderpublic int getImageBoxesCount()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;getImageBoxesCount in interface LocationOrBuilderpublic ImageLocation getImageBoxes(int index)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;getImageBoxes in interface LocationOrBuilderpublic ImageLocationOrBuilder getImageBoxesOrBuilder(int index)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;getImageBoxesOrBuilder in interface LocationOrBuilderpublic boolean hasRecordKey()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;hasRecordKey in interface LocationOrBuilderpublic RecordKey getRecordKey()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;getRecordKey in interface LocationOrBuilderpublic RecordKeyOrBuilder getRecordKeyOrBuilder()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;getRecordKeyOrBuilder in interface LocationOrBuilderpublic boolean hasFieldId()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;hasFieldId in interface LocationOrBuilderpublic FieldId getFieldId()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;getFieldId in interface LocationOrBuilderpublic FieldIdOrBuilder getFieldIdOrBuilder()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;getFieldIdOrBuilder in interface LocationOrBuilderpublic boolean hasTableLocation()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;hasTableLocation in interface LocationOrBuilderpublic TableLocation getTableLocation()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;getTableLocation in interface LocationOrBuilderpublic TableLocationOrBuilder getTableLocationOrBuilder()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;getTableLocationOrBuilder 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