- 3.56.0 (latest)
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class ContentLocation.Builder extends GeneratedMessageV3.Builder<ContentLocation.Builder> implements ContentLocationOrBuilder
Precise location of the finding within a document, record, image, or metadata container.
Protobuf type google.privacy.dlp.v2.ContentLocation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ContentLocation.BuilderImplements
ContentLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContentLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ContentLocation.Builder |
build()
public ContentLocation build()
Type | Description |
ContentLocation |
buildPartial()
public ContentLocation buildPartial()
Type | Description |
ContentLocation |
clear()
public ContentLocation.Builder clear()
Type | Description |
ContentLocation.Builder |
clearContainerName()
public ContentLocation.Builder clearContainerName()
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;
Type | Description |
ContentLocation.Builder | This builder for chaining. |
clearContainerTimestamp()
public ContentLocation.Builder clearContainerTimestamp()
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;
Type | Description |
ContentLocation.Builder |
clearContainerVersion()
public ContentLocation.Builder clearContainerVersion()
Findings container version, if available ("generation" for Google Cloud Storage).
string container_version = 7;
Type | Description |
ContentLocation.Builder | This builder for chaining. |
clearDocumentLocation()
public ContentLocation.Builder clearDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
Type | Description |
ContentLocation.Builder |
clearField(Descriptors.FieldDescriptor field)
public ContentLocation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ContentLocation.Builder |
clearImageLocation()
public ContentLocation.Builder clearImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Type | Description |
ContentLocation.Builder |
clearLocation()
public ContentLocation.Builder clearLocation()
Type | Description |
ContentLocation.Builder |
clearMetadataLocation()
public ContentLocation.Builder clearMetadataLocation()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
Type | Description |
ContentLocation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ContentLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ContentLocation.Builder |
clearRecordLocation()
public ContentLocation.Builder clearRecordLocation()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
Type | Description |
ContentLocation.Builder |
clone()
public ContentLocation.Builder clone()
Type | Description |
ContentLocation.Builder |
getContainerName()
public 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;
Type | Description |
String | The containerName. |
getContainerNameBytes()
public 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;
Type | Description |
ByteString | The bytes for containerName. |
getContainerTimestamp()
public 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;
Type | Description |
Timestamp | The containerTimestamp. |
getContainerTimestampBuilder()
public Timestamp.Builder getContainerTimestampBuilder()
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;
Type | Description |
Builder |
getContainerTimestampOrBuilder()
public 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;
Type | Description |
TimestampOrBuilder |
getContainerVersion()
public String getContainerVersion()
Findings container version, if available ("generation" for Google Cloud Storage).
string container_version = 7;
Type | Description |
String | The containerVersion. |
getContainerVersionBytes()
public ByteString getContainerVersionBytes()
Findings container version, if available ("generation" for Google Cloud Storage).
string container_version = 7;
Type | Description |
ByteString | The bytes for containerVersion. |
getDefaultInstanceForType()
public ContentLocation getDefaultInstanceForType()
Type | Description |
ContentLocation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDocumentLocation()
public DocumentLocation getDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
Type | Description |
DocumentLocation | The documentLocation. |
getDocumentLocationBuilder()
public DocumentLocation.Builder getDocumentLocationBuilder()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
Type | Description |
DocumentLocation.Builder |
getDocumentLocationOrBuilder()
public DocumentLocationOrBuilder getDocumentLocationOrBuilder()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
Type | Description |
DocumentLocationOrBuilder |
getImageLocation()
public ImageLocation getImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Type | Description |
ImageLocation | The imageLocation. |
getImageLocationBuilder()
public ImageLocation.Builder getImageLocationBuilder()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Type | Description |
ImageLocation.Builder |
getImageLocationOrBuilder()
public ImageLocationOrBuilder getImageLocationOrBuilder()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Type | Description |
ImageLocationOrBuilder |
getLocationCase()
public ContentLocation.LocationCase getLocationCase()
Type | Description |
ContentLocation.LocationCase |
getMetadataLocation()
public MetadataLocation getMetadataLocation()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
Type | Description |
MetadataLocation | The metadataLocation. |
getMetadataLocationBuilder()
public MetadataLocation.Builder getMetadataLocationBuilder()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
Type | Description |
MetadataLocation.Builder |
getMetadataLocationOrBuilder()
public MetadataLocationOrBuilder getMetadataLocationOrBuilder()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
Type | Description |
MetadataLocationOrBuilder |
getRecordLocation()
public RecordLocation getRecordLocation()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
Type | Description |
RecordLocation | The recordLocation. |
getRecordLocationBuilder()
public RecordLocation.Builder getRecordLocationBuilder()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
Type | Description |
RecordLocation.Builder |
getRecordLocationOrBuilder()
public RecordLocationOrBuilder getRecordLocationOrBuilder()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
Type | Description |
RecordLocationOrBuilder |
hasContainerTimestamp()
public 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;
Type | Description |
boolean | Whether the containerTimestamp field is set. |
hasDocumentLocation()
public boolean hasDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
Type | Description |
boolean | Whether the documentLocation field is set. |
hasImageLocation()
public boolean hasImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Type | Description |
boolean | Whether the imageLocation field is set. |
hasMetadataLocation()
public boolean hasMetadataLocation()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
Type | Description |
boolean | Whether the metadataLocation field is set. |
hasRecordLocation()
public boolean hasRecordLocation()
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
Type | Description |
boolean | Whether the recordLocation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeContainerTimestamp(Timestamp value)
public ContentLocation.Builder mergeContainerTimestamp(Timestamp value)
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;
Name | Description |
value | Timestamp |
Type | Description |
ContentLocation.Builder |
mergeDocumentLocation(DocumentLocation value)
public ContentLocation.Builder mergeDocumentLocation(DocumentLocation value)
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
Name | Description |
value | DocumentLocation |
Type | Description |
ContentLocation.Builder |
mergeFrom(ContentLocation other)
public ContentLocation.Builder mergeFrom(ContentLocation other)
Name | Description |
other | ContentLocation |
Type | Description |
ContentLocation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContentLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ContentLocation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ContentLocation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ContentLocation.Builder |
mergeImageLocation(ImageLocation value)
public ContentLocation.Builder mergeImageLocation(ImageLocation value)
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Name | Description |
value | ImageLocation |
Type | Description |
ContentLocation.Builder |
mergeMetadataLocation(MetadataLocation value)
public ContentLocation.Builder mergeMetadataLocation(MetadataLocation value)
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
Name | Description |
value | MetadataLocation |
Type | Description |
ContentLocation.Builder |
mergeRecordLocation(RecordLocation value)
public ContentLocation.Builder mergeRecordLocation(RecordLocation value)
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
Name | Description |
value | RecordLocation |
Type | Description |
ContentLocation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContentLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ContentLocation.Builder |
setContainerName(String value)
public ContentLocation.Builder setContainerName(String value)
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;
Name | Description |
value | String The containerName to set. |
Type | Description |
ContentLocation.Builder | This builder for chaining. |
setContainerNameBytes(ByteString value)
public ContentLocation.Builder setContainerNameBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for containerName to set. |
Type | Description |
ContentLocation.Builder | This builder for chaining. |
setContainerTimestamp(Timestamp value)
public ContentLocation.Builder setContainerTimestamp(Timestamp value)
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;
Name | Description |
value | Timestamp |
Type | Description |
ContentLocation.Builder |
setContainerTimestamp(Timestamp.Builder builderForValue)
public ContentLocation.Builder setContainerTimestamp(Timestamp.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
ContentLocation.Builder |
setContainerVersion(String value)
public ContentLocation.Builder setContainerVersion(String value)
Findings container version, if available ("generation" for Google Cloud Storage).
string container_version = 7;
Name | Description |
value | String The containerVersion to set. |
Type | Description |
ContentLocation.Builder | This builder for chaining. |
setContainerVersionBytes(ByteString value)
public ContentLocation.Builder setContainerVersionBytes(ByteString value)
Findings container version, if available ("generation" for Google Cloud Storage).
string container_version = 7;
Name | Description |
value | ByteString The bytes for containerVersion to set. |
Type | Description |
ContentLocation.Builder | This builder for chaining. |
setDocumentLocation(DocumentLocation value)
public ContentLocation.Builder setDocumentLocation(DocumentLocation value)
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
Name | Description |
value | DocumentLocation |
Type | Description |
ContentLocation.Builder |
setDocumentLocation(DocumentLocation.Builder builderForValue)
public ContentLocation.Builder setDocumentLocation(DocumentLocation.Builder builderForValue)
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
Name | Description |
builderForValue | DocumentLocation.Builder |
Type | Description |
ContentLocation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ContentLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ContentLocation.Builder |
setImageLocation(ImageLocation value)
public ContentLocation.Builder setImageLocation(ImageLocation value)
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Name | Description |
value | ImageLocation |
Type | Description |
ContentLocation.Builder |
setImageLocation(ImageLocation.Builder builderForValue)
public ContentLocation.Builder setImageLocation(ImageLocation.Builder builderForValue)
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Name | Description |
builderForValue | ImageLocation.Builder |
Type | Description |
ContentLocation.Builder |
setMetadataLocation(MetadataLocation value)
public ContentLocation.Builder setMetadataLocation(MetadataLocation value)
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
Name | Description |
value | MetadataLocation |
Type | Description |
ContentLocation.Builder |
setMetadataLocation(MetadataLocation.Builder builderForValue)
public ContentLocation.Builder setMetadataLocation(MetadataLocation.Builder builderForValue)
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
Name | Description |
builderForValue | MetadataLocation.Builder |
Type | Description |
ContentLocation.Builder |
setRecordLocation(RecordLocation value)
public ContentLocation.Builder setRecordLocation(RecordLocation value)
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
Name | Description |
value | RecordLocation |
Type | Description |
ContentLocation.Builder |
setRecordLocation(RecordLocation.Builder builderForValue)
public ContentLocation.Builder setRecordLocation(RecordLocation.Builder builderForValue)
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;
Name | Description |
builderForValue | RecordLocation.Builder |
Type | Description |
ContentLocation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContentLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ContentLocation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ContentLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ContentLocation.Builder |