Package com.google.privacy.dlp.v2
Class ContentLocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ContentLocation.Builder>
com.google.privacy.dlp.v2.ContentLocation.Builder
- All Implemented Interfaces:
ContentLocationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ContentLocation
public static final class ContentLocation.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Name of the container where the finding is located.Finding container modification timestamp, if applicable.Finding container version, if available ("generation" for Cloud Storage).Location data for document files.Location within an image's pixels.Location within the metadata for inspected content.Location within a row or record of a database table.Name of the container where the finding is located.com.google.protobuf.ByteStringName of the container where the finding is located.com.google.protobuf.TimestampFinding container modification timestamp, if applicable.com.google.protobuf.Timestamp.BuilderFinding container modification timestamp, if applicable.com.google.protobuf.TimestampOrBuilderFinding container modification timestamp, if applicable.Finding container version, if available ("generation" for Cloud Storage).com.google.protobuf.ByteStringFinding container version, if available ("generation" for Cloud Storage).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorLocation data for document files.Location data for document files.Location data for document files.Location within an image's pixels.Location within an image's pixels.Location within an image's pixels.Location within the metadata for inspected content.Location within the metadata for inspected content.Location within the metadata for inspected content.Location within a row or record of a database table.Location within a row or record of a database table.Location within a row or record of a database table.booleanFinding container modification timestamp, if applicable.booleanLocation data for document files.booleanLocation within an image's pixels.booleanLocation within the metadata for inspected content.booleanLocation within a row or record of a database table.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeContainerTimestamp(com.google.protobuf.Timestamp value) Finding container modification timestamp, if applicable.Location data for document files.mergeFrom(ContentLocation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeImageLocation(ImageLocation value) Location within an image's pixels.Location within the metadata for inspected content.Location within a row or record of a database table.setContainerName(String value) Name of the container where the finding is located.setContainerNameBytes(com.google.protobuf.ByteString value) Name of the container where the finding is located.setContainerTimestamp(com.google.protobuf.Timestamp value) Finding container modification timestamp, if applicable.setContainerTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) Finding container modification timestamp, if applicable.setContainerVersion(String value) Finding container version, if available ("generation" for Cloud Storage).setContainerVersionBytes(com.google.protobuf.ByteString value) Finding container version, if available ("generation" for Cloud Storage).Location data for document files.setDocumentLocation(DocumentLocation.Builder builderForValue) Location data for document files.setImageLocation(ImageLocation value) Location within an image's pixels.setImageLocation(ImageLocation.Builder builderForValue) Location within an image's pixels.Location within the metadata for inspected content.setMetadataLocation(MetadataLocation.Builder builderForValue) Location within the metadata for inspected content.setRecordLocation(RecordLocation value) Location within a row or record of a database table.setRecordLocation(RecordLocation.Builder builderForValue) Location within a row or record of a database table.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ContentLocation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ContentLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ContentLocation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContentLocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ContentLocation.Builder>
-
mergeFrom
public ContentLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContentLocation.Builder>- Throws:
IOException
-
getLocationCase
- Specified by:
getLocationCasein interfaceContentLocationOrBuilder
-
clearLocation
-
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;- Specified by:
getContainerNamein interfaceContentLocationOrBuilder- Returns:
- The containerName.
-
getContainerNameBytes
public 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;- Specified by:
getContainerNameBytesin interfaceContentLocationOrBuilder- Returns:
- The bytes for containerName.
-
setContainerName
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;- Parameters:
value- The containerName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setContainerNameBytes
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;- Parameters:
value- The bytes for containerName to set.- Returns:
- This builder for chaining.
-
hasRecordLocation
public boolean hasRecordLocation()Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;- Specified by:
hasRecordLocationin interfaceContentLocationOrBuilder- Returns:
- Whether the recordLocation field is set.
-
getRecordLocation
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;- Specified by:
getRecordLocationin interfaceContentLocationOrBuilder- Returns:
- The recordLocation.
-
setRecordLocation
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2; -
setRecordLocation
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2; -
mergeRecordLocation
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2; -
clearRecordLocation
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2; -
getRecordLocationBuilder
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2; -
getRecordLocationOrBuilder
Location within a row or record of a database table.
.google.privacy.dlp.v2.RecordLocation record_location = 2;- Specified by:
getRecordLocationOrBuilderin interfaceContentLocationOrBuilder
-
hasImageLocation
public boolean hasImageLocation()Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;- Specified by:
hasImageLocationin interfaceContentLocationOrBuilder- Returns:
- Whether the imageLocation field is set.
-
getImageLocation
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;- Specified by:
getImageLocationin interfaceContentLocationOrBuilder- Returns:
- The imageLocation.
-
setImageLocation
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3; -
setImageLocation
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3; -
mergeImageLocation
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3; -
clearImageLocation
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3; -
getImageLocationBuilder
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3; -
getImageLocationOrBuilder
Location within an image's pixels.
.google.privacy.dlp.v2.ImageLocation image_location = 3;- Specified by:
getImageLocationOrBuilderin interfaceContentLocationOrBuilder
-
hasDocumentLocation
public boolean hasDocumentLocation()Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;- Specified by:
hasDocumentLocationin interfaceContentLocationOrBuilder- Returns:
- Whether the documentLocation field is set.
-
getDocumentLocation
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;- Specified by:
getDocumentLocationin interfaceContentLocationOrBuilder- Returns:
- The documentLocation.
-
setDocumentLocation
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5; -
setDocumentLocation
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5; -
mergeDocumentLocation
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5; -
clearDocumentLocation
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5; -
getDocumentLocationBuilder
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5; -
getDocumentLocationOrBuilder
Location data for document files.
.google.privacy.dlp.v2.DocumentLocation document_location = 5;- Specified by:
getDocumentLocationOrBuilderin interfaceContentLocationOrBuilder
-
hasMetadataLocation
public boolean hasMetadataLocation()Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;- Specified by:
hasMetadataLocationin interfaceContentLocationOrBuilder- Returns:
- Whether the metadataLocation field is set.
-
getMetadataLocation
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;- Specified by:
getMetadataLocationin interfaceContentLocationOrBuilder- Returns:
- The metadataLocation.
-
setMetadataLocation
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8; -
setMetadataLocation
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8; -
mergeMetadataLocation
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8; -
clearMetadataLocation
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8; -
getMetadataLocationBuilder
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8; -
getMetadataLocationOrBuilder
Location within the metadata for inspected content.
.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;- Specified by:
getMetadataLocationOrBuilderin interfaceContentLocationOrBuilder
-
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;- Specified by:
hasContainerTimestampin interfaceContentLocationOrBuilder- Returns:
- Whether the containerTimestamp field is set.
-
getContainerTimestamp
public 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;- Specified by:
getContainerTimestampin interfaceContentLocationOrBuilder- Returns:
- The containerTimestamp.
-
setContainerTimestamp
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; -
setContainerTimestamp
public ContentLocation.Builder setContainerTimestamp(com.google.protobuf.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; -
mergeContainerTimestamp
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; -
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; -
getContainerTimestampBuilder
public com.google.protobuf.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; -
getContainerTimestampOrBuilder
public 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;- Specified by:
getContainerTimestampOrBuilderin interfaceContentLocationOrBuilder
-
getContainerVersion
Finding container version, if available ("generation" for Cloud Storage).string container_version = 7;- Specified by:
getContainerVersionin interfaceContentLocationOrBuilder- Returns:
- The containerVersion.
-
getContainerVersionBytes
public com.google.protobuf.ByteString getContainerVersionBytes()Finding container version, if available ("generation" for Cloud Storage).string container_version = 7;- Specified by:
getContainerVersionBytesin interfaceContentLocationOrBuilder- Returns:
- The bytes for containerVersion.
-
setContainerVersion
Finding container version, if available ("generation" for Cloud Storage).string container_version = 7;- Parameters:
value- The containerVersion to set.- Returns:
- This builder for chaining.
-
clearContainerVersion
Finding container version, if available ("generation" for Cloud Storage).string container_version = 7;- Returns:
- This builder for chaining.
-
setContainerVersionBytes
Finding container version, if available ("generation" for Cloud Storage).string container_version = 7;- Parameters:
value- The bytes for containerVersion to set.- Returns:
- This builder for chaining.
-