Package com.google.privacy.dlp.v2
Interface ContentLocationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContentLocation
,ContentLocation.Builder
public interface ContentLocationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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).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.RecordLocation
getRecordLocation()
Location within a row or record of a database table.RecordLocationOrBuilder
getRecordLocationOrBuilder()
Location within a row or record of a database table.boolean
hasContainerTimestamp()
Finding container modification timestamp, if applicable.boolean
hasDocumentLocation()
Location data for document files.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getContainerName
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:
- The containerName.
-
getContainerNameBytes
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;
- Returns:
- The bytes for containerName.
-
hasRecordLocation
boolean hasRecordLocation()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
- Returns:
- Whether the recordLocation field is set.
-
getRecordLocation
RecordLocation getRecordLocation()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
- Returns:
- The recordLocation.
-
getRecordLocationOrBuilder
RecordLocationOrBuilder getRecordLocationOrBuilder()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
-
hasImageLocation
boolean hasImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
- Returns:
- Whether the imageLocation field is set.
-
getImageLocation
ImageLocation getImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
- Returns:
- The imageLocation.
-
getImageLocationOrBuilder
ImageLocationOrBuilder getImageLocationOrBuilder()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
-
hasDocumentLocation
boolean hasDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
- Returns:
- Whether the documentLocation field is set.
-
getDocumentLocation
DocumentLocation getDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
- Returns:
- The documentLocation.
-
getDocumentLocationOrBuilder
DocumentLocationOrBuilder getDocumentLocationOrBuilder()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
-
hasMetadataLocation
boolean hasMetadataLocation()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
- Returns:
- Whether the metadataLocation field is set.
-
getMetadataLocation
MetadataLocation getMetadataLocation()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
- Returns:
- The metadataLocation.
-
getMetadataLocationOrBuilder
MetadataLocationOrBuilder getMetadataLocationOrBuilder()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
-
hasContainerTimestamp
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:
- Whether the containerTimestamp field is set.
-
getContainerTimestamp
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;
- Returns:
- The containerTimestamp.
-
getContainerTimestampOrBuilder
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;
-
getContainerVersion
String getContainerVersion()
Finding container version, if available ("generation" for Cloud Storage).
string container_version = 7;
- Returns:
- The containerVersion.
-
getContainerVersionBytes
com.google.protobuf.ByteString getContainerVersionBytes()
Finding container version, if available ("generation" for Cloud Storage).
string container_version = 7;
- Returns:
- The bytes for containerVersion.
-
getLocationCase
ContentLocation.LocationCase getLocationCase()
-
-