- 3.59.0 (latest)
- 3.58.0
- 3.57.0
- 3.56.0
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContentLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
build()
public ContentLocation build()
Returns | |
---|---|
Type | Description |
ContentLocation |
buildPartial()
public ContentLocation buildPartial()
Returns | |
---|---|
Type | Description |
ContentLocation |
clear()
public ContentLocation.Builder clear()
Returns | |
---|---|
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 example, an image contained within a document).
string container_name = 1;
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
This builder for chaining. |
clearContainerTimestamp()
public ContentLocation.Builder clearContainerTimestamp()
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 |
ContentLocation.Builder |
clearContainerVersion()
public ContentLocation.Builder clearContainerVersion()
Finding container version, if available ("generation" for Cloud Storage).
string container_version = 7;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
clearField(Descriptors.FieldDescriptor field)
public ContentLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
clearImageLocation()
public ContentLocation.Builder clearImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
clearLocation()
public ContentLocation.Builder clearLocation()
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
clearMetadataLocation()
public ContentLocation.Builder clearMetadataLocation()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ContentLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
clone()
public ContentLocation.Builder clone()
Returns | |
---|---|
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 example, an image contained within a document).
string container_name = 1;
Returns | |
---|---|
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 example, an image contained within a document).
string container_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for containerName. |
getContainerTimestamp()
public 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. |
getContainerTimestampBuilder()
public Timestamp.Builder getContainerTimestampBuilder()
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 |
Builder |
getContainerTimestampOrBuilder()
public 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 String getContainerVersion()
Finding container version, if available ("generation" for Cloud Storage).
string container_version = 7;
Returns | |
---|---|
Type | Description |
String |
The containerVersion. |
getContainerVersionBytes()
public ByteString getContainerVersionBytes()
Finding container version, if available ("generation" for Cloud Storage).
string container_version = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for containerVersion. |
getDefaultInstanceForType()
public ContentLocation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ContentLocation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDocumentLocation()
public DocumentLocation getDocumentLocation()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
Returns | |
---|---|
Type | Description |
DocumentLocation |
The documentLocation. |
getDocumentLocationBuilder()
public DocumentLocation.Builder getDocumentLocationBuilder()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
Returns | |
---|---|
Type | Description |
DocumentLocation.Builder |
getDocumentLocationOrBuilder()
public DocumentLocationOrBuilder getDocumentLocationOrBuilder()
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;
Returns | |
---|---|
Type | Description |
DocumentLocationOrBuilder |
getImageLocation()
public ImageLocation getImageLocation()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Returns | |
---|---|
Type | Description |
ImageLocation |
The imageLocation. |
getImageLocationBuilder()
public ImageLocation.Builder getImageLocationBuilder()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Returns | |
---|---|
Type | Description |
ImageLocation.Builder |
getImageLocationOrBuilder()
public ImageLocationOrBuilder getImageLocationOrBuilder()
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;
Returns | |
---|---|
Type | Description |
ImageLocationOrBuilder |
getLocationCase()
public ContentLocation.LocationCase getLocationCase()
Returns | |
---|---|
Type | Description |
ContentLocation.LocationCase |
getMetadataLocation()
public MetadataLocation getMetadataLocation()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
MetadataLocation.Builder |
getMetadataLocationOrBuilder()
public MetadataLocationOrBuilder getMetadataLocationOrBuilder()
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
RecordLocationOrBuilder |
hasContainerTimestamp()
public 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeContainerTimestamp(Timestamp value)
public ContentLocation.Builder mergeContainerTimestamp(Timestamp value)
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
DocumentLocation |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
mergeFrom(ContentLocation other)
public ContentLocation.Builder mergeFrom(ContentLocation other)
Parameter | |
---|---|
Name | Description |
other |
ContentLocation |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContentLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ContentLocation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ImageLocation |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
MetadataLocation |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
RecordLocation |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContentLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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 example, an image contained within a document).
string container_name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The containerName to set. |
Returns | |
---|---|
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 example, an image contained within a document).
string container_name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for containerName to set. |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
This builder for chaining. |
setContainerTimestamp(Timestamp value)
public ContentLocation.Builder setContainerTimestamp(Timestamp value)
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
setContainerTimestamp(Timestamp.Builder builderForValue)
public ContentLocation.Builder setContainerTimestamp(Timestamp.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
setContainerVersion(String value)
public ContentLocation.Builder setContainerVersion(String value)
Finding container version, if available ("generation" for Cloud Storage).
string container_version = 7;
Parameter | |
---|---|
Name | Description |
value |
String The containerVersion to set. |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
This builder for chaining. |
setContainerVersionBytes(ByteString value)
public ContentLocation.Builder setContainerVersionBytes(ByteString value)
Finding container version, if available ("generation" for Cloud Storage).
string container_version = 7;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for containerVersion to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
DocumentLocation |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
DocumentLocation.Builder |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ContentLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ImageLocation |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
ImageLocation.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
MetadataLocation |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
MetadataLocation.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
RecordLocation |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
RecordLocation.Builder |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContentLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ContentLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ContentLocation.Builder |