public final class Location extends GeneratedMessageV3 implements LocationOrBuilder
Specifies the location of the finding.Protobuf type
google.privacy.dlp.v2beta2.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 |
FIELD_ID_FIELD_NUMBER |
static int |
IMAGE_BOXES_FIELD_NUMBER |
static int |
RECORD_KEY_FIELD_NUMBER |
static int |
TABLE_LOCATION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
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.
|
static Location |
getDefaultInstance() |
Location |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
FieldId |
getFieldId()
The pointer to the property or cell that contained the finding.
|
FieldIdOrBuilder |
getFieldIdOrBuilder()
The pointer to the property or cell that contained the finding.
|
ImageLocation |
getImageBoxes(int index)
The area within the image that contained the finding.
|
int |
getImageBoxesCount()
The area within the image that contained the finding.
|
java.util.List<ImageLocation> |
getImageBoxesList()
The area within the image that contained the finding.
|
ImageLocationOrBuilder |
getImageBoxesOrBuilder(int index)
The area within the image that contained the finding.
|
java.util.List<? extends ImageLocationOrBuilder> |
getImageBoxesOrBuilderList()
The area within the image that contained the finding.
|
Parser<Location> |
getParserForType() |
RecordKey |
getRecordKey()
The pointer to the record in storage that contained the field the
finding was found in.
|
RecordKeyOrBuilder |
getRecordKeyOrBuilder()
The pointer to the record in storage that contained the field the
finding was found in.
|
int |
getSerializedSize() |
TableLocation |
getTableLocation()
The pointer to the row of the table that contained the finding.
|
TableLocationOrBuilder |
getTableLocationOrBuilder()
The pointer to the row of the table that contained the finding.
|
UnknownFieldSet |
getUnknownFields() |
boolean |
hasByteRange()
Zero-based byte offsets delimiting the finding.
|
boolean |
hasCodepointRange()
Unicode character offsets delimiting the finding.
|
boolean |
hasFieldId()
The pointer to the property or cell that contained the finding.
|
int |
hashCode() |
boolean |
hasRecordKey()
The pointer to the record in storage that contained the field the
finding was found in.
|
boolean |
hasTableLocation()
The pointer to the row of the table that contained the finding.
|
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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.v2beta2.Range byte_range = 1;
hasByteRange
in interface LocationOrBuilder
public 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.v2beta2.Range byte_range = 1;
getByteRange
in interface LocationOrBuilder
public 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.v2beta2.Range byte_range = 1;
getByteRangeOrBuilder
in interface LocationOrBuilder
public 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.v2beta2.Range codepoint_range = 2;
hasCodepointRange
in interface LocationOrBuilder
public 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.v2beta2.Range codepoint_range = 2;
getCodepointRange
in interface LocationOrBuilder
public 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.v2beta2.Range codepoint_range = 2;
getCodepointRangeOrBuilder
in interface LocationOrBuilder
public java.util.List<ImageLocation> getImageBoxesList()
The area within the image that contained the finding. Provided when the content is an image.
repeated .google.privacy.dlp.v2beta2.ImageLocation image_boxes = 3;
getImageBoxesList
in interface LocationOrBuilder
public java.util.List<? extends ImageLocationOrBuilder> getImageBoxesOrBuilderList()
The area within the image that contained the finding. Provided when the content is an image.
repeated .google.privacy.dlp.v2beta2.ImageLocation image_boxes = 3;
getImageBoxesOrBuilderList
in interface LocationOrBuilder
public int getImageBoxesCount()
The area within the image that contained the finding. Provided when the content is an image.
repeated .google.privacy.dlp.v2beta2.ImageLocation image_boxes = 3;
getImageBoxesCount
in interface LocationOrBuilder
public ImageLocation getImageBoxes(int index)
The area within the image that contained the finding. Provided when the content is an image.
repeated .google.privacy.dlp.v2beta2.ImageLocation image_boxes = 3;
getImageBoxes
in interface LocationOrBuilder
public ImageLocationOrBuilder getImageBoxesOrBuilder(int index)
The area within the image that contained the finding. Provided when the content is an image.
repeated .google.privacy.dlp.v2beta2.ImageLocation image_boxes = 3;
getImageBoxesOrBuilder
in interface LocationOrBuilder
public boolean hasRecordKey()
The pointer to the record in storage that contained the field the finding was found in. Provided when the finding's containing element is a property of a storage object.
.google.privacy.dlp.v2beta2.RecordKey record_key = 4;
hasRecordKey
in interface LocationOrBuilder
public RecordKey getRecordKey()
The pointer to the record in storage that contained the field the finding was found in. Provided when the finding's containing element is a property of a storage object.
.google.privacy.dlp.v2beta2.RecordKey record_key = 4;
getRecordKey
in interface LocationOrBuilder
public RecordKeyOrBuilder getRecordKeyOrBuilder()
The pointer to the record in storage that contained the field the finding was found in. Provided when the finding's containing element is a property of a storage object.
.google.privacy.dlp.v2beta2.RecordKey record_key = 4;
getRecordKeyOrBuilder
in interface LocationOrBuilder
public boolean hasFieldId()
The pointer to the property or cell that contained the finding. Provided when the finding's containing element is a cell in a table or a property of storage object.
.google.privacy.dlp.v2beta2.FieldId field_id = 5;
hasFieldId
in interface LocationOrBuilder
public FieldId getFieldId()
The pointer to the property or cell that contained the finding. Provided when the finding's containing element is a cell in a table or a property of storage object.
.google.privacy.dlp.v2beta2.FieldId field_id = 5;
getFieldId
in interface LocationOrBuilder
public FieldIdOrBuilder getFieldIdOrBuilder()
The pointer to the property or cell that contained the finding. Provided when the finding's containing element is a cell in a table or a property of storage object.
.google.privacy.dlp.v2beta2.FieldId field_id = 5;
getFieldIdOrBuilder
in interface LocationOrBuilder
public boolean hasTableLocation()
The pointer to the row of the table that contained the finding. Provided when the finding's containing element is a cell of a table.
.google.privacy.dlp.v2beta2.TableLocation table_location = 6;
hasTableLocation
in interface LocationOrBuilder
public TableLocation getTableLocation()
The pointer to the row of the table that contained the finding. Provided when the finding's containing element is a cell of a table.
.google.privacy.dlp.v2beta2.TableLocation table_location = 6;
getTableLocation
in interface LocationOrBuilder
public TableLocationOrBuilder getTableLocationOrBuilder()
The pointer to the row of the table that contained the finding. Provided when the finding's containing element is a cell of a table.
.google.privacy.dlp.v2beta2.TableLocation table_location = 6;
getTableLocationOrBuilder
in interface LocationOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Location parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Location parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Location parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Location parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Location parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Location parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Location parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Location parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Location parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Location parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Location parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Location.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Location.Builder newBuilder()
public static Location.Builder newBuilder(Location prototype)
public Location.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Location.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Location getDefaultInstance()
public Parser<Location> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Location getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder