Interface ContentLocationOrBuilder (3.58.0)

public interface ContentLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainerName()

public abstract 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;

Returns
Type Description
String

The containerName.

getContainerNameBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for containerName.

getContainerTimestamp()

public abstract 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;

Returns
Type Description
Timestamp

The containerTimestamp.

getContainerTimestampOrBuilder()

public abstract 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;

Returns
Type Description
TimestampOrBuilder

getContainerVersion()

public abstract String getContainerVersion()

Finding container version, if available ("generation" for Cloud Storage).

string container_version = 7;

Returns
Type Description
String

The containerVersion.

getContainerVersionBytes()

public abstract ByteString getContainerVersionBytes()

Finding container version, if available ("generation" for Cloud Storage).

string container_version = 7;

Returns
Type Description
ByteString

The bytes for containerVersion.

getDocumentLocation()

public abstract DocumentLocation getDocumentLocation()

Location data for document files.

.google.privacy.dlp.v2.DocumentLocation document_location = 5;

Returns
Type Description
DocumentLocation

The documentLocation.

getDocumentLocationOrBuilder()

public abstract DocumentLocationOrBuilder getDocumentLocationOrBuilder()

Location data for document files.

.google.privacy.dlp.v2.DocumentLocation document_location = 5;

Returns
Type Description
DocumentLocationOrBuilder

getImageLocation()

public abstract ImageLocation getImageLocation()

Location within an image's pixels.

.google.privacy.dlp.v2.ImageLocation image_location = 3;

Returns
Type Description
ImageLocation

The imageLocation.

getImageLocationOrBuilder()

public abstract ImageLocationOrBuilder getImageLocationOrBuilder()

Location within an image's pixels.

.google.privacy.dlp.v2.ImageLocation image_location = 3;

Returns
Type Description
ImageLocationOrBuilder

getLocationCase()

public abstract ContentLocation.LocationCase getLocationCase()
Returns
Type Description
ContentLocation.LocationCase

getMetadataLocation()

public abstract MetadataLocation getMetadataLocation()

Location within the metadata for inspected content.

.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;

Returns
Type Description
MetadataLocation

The metadataLocation.

getMetadataLocationOrBuilder()

public abstract MetadataLocationOrBuilder getMetadataLocationOrBuilder()

Location within the metadata for inspected content.

.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;

Returns
Type Description
MetadataLocationOrBuilder

getRecordLocation()

public abstract RecordLocation getRecordLocation()

Location within a row or record of a database table.

.google.privacy.dlp.v2.RecordLocation record_location = 2;

Returns
Type Description
RecordLocation

The recordLocation.

getRecordLocationOrBuilder()

public abstract RecordLocationOrBuilder getRecordLocationOrBuilder()

Location within a row or record of a database table.

.google.privacy.dlp.v2.RecordLocation record_location = 2;

Returns
Type Description
RecordLocationOrBuilder

hasContainerTimestamp()

public abstract 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;

Returns
Type Description
boolean

Whether the containerTimestamp field is set.

hasDocumentLocation()

public abstract boolean hasDocumentLocation()

Location data for document files.

.google.privacy.dlp.v2.DocumentLocation document_location = 5;

Returns
Type Description
boolean

Whether the documentLocation field is set.

hasImageLocation()

public abstract boolean hasImageLocation()

Location within an image's pixels.

.google.privacy.dlp.v2.ImageLocation image_location = 3;

Returns
Type Description
boolean

Whether the imageLocation field is set.

hasMetadataLocation()

public abstract boolean hasMetadataLocation()

Location within the metadata for inspected content.

.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;

Returns
Type Description
boolean

Whether the metadataLocation field is set.

hasRecordLocation()

public abstract boolean hasRecordLocation()

Location within a row or record of a database table.

.google.privacy.dlp.v2.RecordLocation record_location = 2;

Returns
Type Description
boolean

Whether the recordLocation field is set.