Interface ContentLocationOrBuilder (3.6.7)

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 an example an image contained within a document).

string container_name = 1;

Returns
TypeDescription
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 an example an image contained within a document).

string container_name = 1;

Returns
TypeDescription
ByteString

The bytes for containerName.

getContainerTimestamp()

public abstract Timestamp getContainerTimestamp()

Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.

.google.protobuf.Timestamp container_timestamp = 6;

Returns
TypeDescription
Timestamp

The containerTimestamp.

getContainerTimestampOrBuilder()

public abstract TimestampOrBuilder getContainerTimestampOrBuilder()

Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.

.google.protobuf.Timestamp container_timestamp = 6;

Returns
TypeDescription
TimestampOrBuilder

getContainerVersion()

public abstract String getContainerVersion()

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

string container_version = 7;

Returns
TypeDescription
String

The containerVersion.

getContainerVersionBytes()

public abstract ByteString getContainerVersionBytes()

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

string container_version = 7;

Returns
TypeDescription
ByteString

The bytes for containerVersion.

getDocumentLocation()

public abstract DocumentLocation getDocumentLocation()

Location data for document files.

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

Returns
TypeDescription
DocumentLocation

The documentLocation.

getDocumentLocationOrBuilder()

public abstract DocumentLocationOrBuilder getDocumentLocationOrBuilder()

Location data for document files.

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

Returns
TypeDescription
DocumentLocationOrBuilder

getImageLocation()

public abstract ImageLocation getImageLocation()

Location within an image's pixels.

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

Returns
TypeDescription
ImageLocation

The imageLocation.

getImageLocationOrBuilder()

public abstract ImageLocationOrBuilder getImageLocationOrBuilder()

Location within an image's pixels.

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

Returns
TypeDescription
ImageLocationOrBuilder

getLocationCase()

public abstract ContentLocation.LocationCase getLocationCase()
Returns
TypeDescription
ContentLocation.LocationCase

getMetadataLocation()

public abstract MetadataLocation getMetadataLocation()

Location within the metadata for inspected content.

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

Returns
TypeDescription
MetadataLocation

The metadataLocation.

getMetadataLocationOrBuilder()

public abstract MetadataLocationOrBuilder getMetadataLocationOrBuilder()

Location within the metadata for inspected content.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RecordLocationOrBuilder

hasContainerTimestamp()

public abstract boolean hasContainerTimestamp()

Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.

.google.protobuf.Timestamp container_timestamp = 6;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the recordLocation field is set.