public final class ContentLocation extends com.google.protobuf.GeneratedMessageV3 implements ContentLocationOrBuilder
Precise location of the finding within a document, record, image, or metadata container.Protobuf type
google.privacy.dlp.v2.ContentLocation| Modifier and Type | Class and Description |
|---|---|
static class |
ContentLocation.Builder
Precise location of the finding within a document, record, image, or metadata
container.
|
static class |
ContentLocation.LocationCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTAINER_NAME_FIELD_NUMBER |
static int |
CONTAINER_TIMESTAMP_FIELD_NUMBER |
static int |
CONTAINER_VERSION_FIELD_NUMBER |
static int |
DOCUMENT_LOCATION_FIELD_NUMBER |
static int |
IMAGE_LOCATION_FIELD_NUMBER |
static int |
METADATA_LOCATION_FIELD_NUMBER |
static int |
RECORD_LOCATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getContainerName()
Name of the container where the finding is located.
|
com.google.protobuf.ByteString |
getContainerNameBytes()
Name of the container where the finding is located.
|
com.google.protobuf.Timestamp |
getContainerTimestamp()
Finding container modification timestamp, if applicable.
|
com.google.protobuf.TimestampOrBuilder |
getContainerTimestampOrBuilder()
Finding container modification timestamp, if applicable.
|
String |
getContainerVersion()
Finding container version, if available
("generation" for Cloud Storage).
|
com.google.protobuf.ByteString |
getContainerVersionBytes()
Finding container version, if available
("generation" for Cloud Storage).
|
static ContentLocation |
getDefaultInstance() |
ContentLocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DocumentLocation |
getDocumentLocation()
Location data for document files.
|
DocumentLocationOrBuilder |
getDocumentLocationOrBuilder()
Location data for document files.
|
ImageLocation |
getImageLocation()
Location within an image's pixels.
|
ImageLocationOrBuilder |
getImageLocationOrBuilder()
Location within an image's pixels.
|
ContentLocation.LocationCase |
getLocationCase() |
MetadataLocation |
getMetadataLocation()
Location within the metadata for inspected content.
|
MetadataLocationOrBuilder |
getMetadataLocationOrBuilder()
Location within the metadata for inspected content.
|
com.google.protobuf.Parser<ContentLocation> |
getParserForType() |
RecordLocation |
getRecordLocation()
Location within a row or record of a database table.
|
RecordLocationOrBuilder |
getRecordLocationOrBuilder()
Location within a row or record of a database table.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasContainerTimestamp()
Finding container modification timestamp, if applicable.
|
boolean |
hasDocumentLocation()
Location data for document files.
|
int |
hashCode() |
boolean |
hasImageLocation()
Location within an image's pixels.
|
boolean |
hasMetadataLocation()
Location within the metadata for inspected content.
|
boolean |
hasRecordLocation()
Location within a row or record of a database table.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ContentLocation.Builder |
newBuilder() |
static ContentLocation.Builder |
newBuilder(ContentLocation prototype) |
ContentLocation.Builder |
newBuilderForType() |
protected ContentLocation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ContentLocation |
parseDelimitedFrom(InputStream input) |
static ContentLocation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContentLocation |
parseFrom(byte[] data) |
static ContentLocation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContentLocation |
parseFrom(ByteBuffer data) |
static ContentLocation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContentLocation |
parseFrom(com.google.protobuf.ByteString data) |
static ContentLocation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContentLocation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ContentLocation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContentLocation |
parseFrom(InputStream input) |
static ContentLocation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ContentLocation> |
parser() |
ContentLocation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, waitpublic static final int CONTAINER_NAME_FIELD_NUMBER
public static final int RECORD_LOCATION_FIELD_NUMBER
public static final int IMAGE_LOCATION_FIELD_NUMBER
public static final int DOCUMENT_LOCATION_FIELD_NUMBER
public static final int METADATA_LOCATION_FIELD_NUMBER
public static final int CONTAINER_TIMESTAMP_FIELD_NUMBER
public static final int CONTAINER_VERSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ContentLocation.LocationCase getLocationCase()
getLocationCase in interface ContentLocationOrBuilderpublic String getContainerName()
Name of the container where the finding is located.
The top level name is the source file name or table name. Names of some
common storage containers are formatted as follows:
* BigQuery tables: `{project_id}:{dataset_id}.{table_id}`
* Cloud Storage files: `gs://{bucket}/{path}`
* Datastore namespace: {namespace}
Nested names could be absent if the embedded object has no string
identifier (for example, an image contained within a document).
string container_name = 1;getContainerName in interface ContentLocationOrBuilderpublic com.google.protobuf.ByteString getContainerNameBytes()
Name of the container where the finding is located.
The top level name is the source file name or table name. Names of some
common storage containers are formatted as follows:
* BigQuery tables: `{project_id}:{dataset_id}.{table_id}`
* Cloud Storage files: `gs://{bucket}/{path}`
* Datastore namespace: {namespace}
Nested names could be absent if the embedded object has no string
identifier (for example, an image contained within a document).
string container_name = 1;getContainerNameBytes in interface ContentLocationOrBuilderpublic boolean hasRecordLocation()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;hasRecordLocation in interface ContentLocationOrBuilderpublic RecordLocation getRecordLocation()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;getRecordLocation in interface ContentLocationOrBuilderpublic RecordLocationOrBuilder getRecordLocationOrBuilder()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;getRecordLocationOrBuilder in interface ContentLocationOrBuilderpublic boolean hasImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;hasImageLocation in interface ContentLocationOrBuilderpublic ImageLocation getImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;getImageLocation in interface ContentLocationOrBuilderpublic ImageLocationOrBuilder getImageLocationOrBuilder()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;getImageLocationOrBuilder in interface ContentLocationOrBuilderpublic boolean hasDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;hasDocumentLocation in interface ContentLocationOrBuilderpublic DocumentLocation getDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;getDocumentLocation in interface ContentLocationOrBuilderpublic DocumentLocationOrBuilder getDocumentLocationOrBuilder()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;getDocumentLocationOrBuilder in interface ContentLocationOrBuilderpublic boolean hasMetadataLocation()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;hasMetadataLocation in interface ContentLocationOrBuilderpublic MetadataLocation getMetadataLocation()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;getMetadataLocation in interface ContentLocationOrBuilderpublic MetadataLocationOrBuilder getMetadataLocationOrBuilder()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;getMetadataLocationOrBuilder in interface ContentLocationOrBuilderpublic boolean hasContainerTimestamp()
Finding container modification timestamp, if applicable. For Cloud Storage, this field contains the last file modification timestamp. For a BigQuery table, this field contains the last_modified_time property. For Datastore, this field isn't populated.
.google.protobuf.Timestamp container_timestamp = 6;hasContainerTimestamp in interface ContentLocationOrBuilderpublic com.google.protobuf.Timestamp getContainerTimestamp()
Finding container modification timestamp, if applicable. For Cloud Storage, this field contains the last file modification timestamp. For a BigQuery table, this field contains the last_modified_time property. For Datastore, this field isn't populated.
.google.protobuf.Timestamp container_timestamp = 6;getContainerTimestamp in interface ContentLocationOrBuilderpublic com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder()
Finding container modification timestamp, if applicable. For Cloud Storage, this field contains the last file modification timestamp. For a BigQuery table, this field contains the last_modified_time property. For Datastore, this field isn't populated.
.google.protobuf.Timestamp container_timestamp = 6;getContainerTimestampOrBuilder in interface ContentLocationOrBuilderpublic String getContainerVersion()
Finding container version, if available
("generation" for Cloud Storage).
string container_version = 7;getContainerVersion in interface ContentLocationOrBuilderpublic com.google.protobuf.ByteString getContainerVersionBytes()
Finding container version, if available
("generation" for Cloud Storage).
string container_version = 7;getContainerVersionBytes in interface ContentLocationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ContentLocation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentLocation parseFrom(InputStream input) throws IOException
IOExceptionpublic static ContentLocation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ContentLocation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ContentLocation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ContentLocation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ContentLocation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ContentLocation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ContentLocation.Builder newBuilder()
public static ContentLocation.Builder newBuilder(ContentLocation prototype)
public ContentLocation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ContentLocation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ContentLocation getDefaultInstance()
public static com.google.protobuf.Parser<ContentLocation> parser()
public com.google.protobuf.Parser<ContentLocation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ContentLocation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.