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, unknownFields
memoizedSize
memoizedHashCode
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, 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 within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;
hasByteRange
in interface LocationOrBuilder
public Range getByteRange()
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;
getByteRange
in interface LocationOrBuilder
public RangeOrBuilder getByteRangeOrBuilder()
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;
getByteRangeOrBuilder
in interface LocationOrBuilder
public 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 LocationOrBuilder
public 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 LocationOrBuilder
public 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 LocationOrBuilder
public java.util.List<ImageLocation> getImageBoxesList()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;
getImageBoxesList
in interface LocationOrBuilder
public java.util.List<? extends ImageLocationOrBuilder> getImageBoxesOrBuilderList()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;
getImageBoxesOrBuilderList
in interface LocationOrBuilder
public int getImageBoxesCount()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;
getImageBoxesCount
in interface LocationOrBuilder
public ImageLocation getImageBoxes(int index)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;
getImageBoxes
in interface LocationOrBuilder
public ImageLocationOrBuilder getImageBoxesOrBuilder(int index)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;
getImageBoxesOrBuilder
in interface LocationOrBuilder
public boolean hasRecordKey()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;
hasRecordKey
in interface LocationOrBuilder
public RecordKey getRecordKey()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;
getRecordKey
in interface LocationOrBuilder
public RecordKeyOrBuilder getRecordKeyOrBuilder()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;
getRecordKeyOrBuilder
in interface LocationOrBuilder
public boolean hasFieldId()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;
hasFieldId
in interface LocationOrBuilder
public FieldId getFieldId()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;
getFieldId
in interface LocationOrBuilder
public FieldIdOrBuilder getFieldIdOrBuilder()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;
getFieldIdOrBuilder
in interface LocationOrBuilder
public boolean hasTableLocation()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;
hasTableLocation
in interface LocationOrBuilder
public TableLocation getTableLocation()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;
getTableLocation
in interface LocationOrBuilder
public TableLocationOrBuilder getTableLocationOrBuilder()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.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