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, 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.
|
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, 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 CONTENT_LOCATIONS_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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.Range codepoint_range = 2;
getCodepointRangeOrBuilder
in interface LocationOrBuilder
public 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 LocationOrBuilder
public 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 LocationOrBuilder
public 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 LocationOrBuilder
public 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 LocationOrBuilder
public 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 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