Package com.google.privacy.dlp.v2
Class Container.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Container.Builder>
com.google.privacy.dlp.v2.Container.Builder
- All Implemented Interfaces:
ContainerOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Container
public static final class Container.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Container.Builder>
implements ContainerOrBuilder
Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.Protobuf type
google.privacy.dlp.v2.Container-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A string representation of the full container name.Project where the finding was found.The rest of the path after the root.The root of the container.Container type, for example BigQuery or Cloud Storage.Findings container modification timestamp, if applicable.Findings container version, if available ("generation" for Cloud Storage).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA string representation of the full container name.com.google.protobuf.ByteStringA string representation of the full container name.Project where the finding was found.com.google.protobuf.ByteStringProject where the finding was found.The rest of the path after the root.com.google.protobuf.ByteStringThe rest of the path after the root.The root of the container.com.google.protobuf.ByteStringThe root of the container.getType()Container type, for example BigQuery or Cloud Storage.com.google.protobuf.ByteStringContainer type, for example BigQuery or Cloud Storage.com.google.protobuf.TimestampFindings container modification timestamp, if applicable.com.google.protobuf.Timestamp.BuilderFindings container modification timestamp, if applicable.com.google.protobuf.TimestampOrBuilderFindings container modification timestamp, if applicable.Findings container version, if available ("generation" for Cloud Storage).com.google.protobuf.ByteStringFindings container version, if available ("generation" for Cloud Storage).booleanFindings container modification timestamp, if applicable.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Findings container modification timestamp, if applicable.setFullPath(String value) A string representation of the full container name.setFullPathBytes(com.google.protobuf.ByteString value) A string representation of the full container name.setProjectId(String value) Project where the finding was found.setProjectIdBytes(com.google.protobuf.ByteString value) Project where the finding was found.setRelativePath(String value) The rest of the path after the root.setRelativePathBytes(com.google.protobuf.ByteString value) The rest of the path after the root.setRootPath(String value) The root of the container.setRootPathBytes(com.google.protobuf.ByteString value) The root of the container.Container type, for example BigQuery or Cloud Storage.setTypeBytes(com.google.protobuf.ByteString value) Container type, for example BigQuery or Cloud Storage.setUpdateTime(com.google.protobuf.Timestamp value) Findings container modification timestamp, if applicable.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Findings container modification timestamp, if applicable.setVersion(String value) Findings container version, if available ("generation" for Cloud Storage).setVersionBytes(com.google.protobuf.ByteString value) Findings container version, if available ("generation" for Cloud Storage).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<Container.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<Container.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<Container.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<Container.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Container.Builder>
-
mergeFrom
public Container.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<Container.Builder>- Throws:
IOException
-
getType
Container type, for example BigQuery or Cloud Storage.
string type = 1;- Specified by:
getTypein interfaceContainerOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Container type, for example BigQuery or Cloud Storage.
string type = 1;- Specified by:
getTypeBytesin interfaceContainerOrBuilder- Returns:
- The bytes for type.
-
setType
Container type, for example BigQuery or Cloud Storage.
string type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Container type, for example BigQuery or Cloud Storage.
string type = 1;- Returns:
- This builder for chaining.
-
setTypeBytes
Container type, for example BigQuery or Cloud Storage.
string type = 1;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getProjectId
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;- Specified by:
getProjectIdin interfaceContainerOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;- Specified by:
getProjectIdBytesin interfaceContainerOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;- Returns:
- This builder for chaining.
-
setProjectIdBytes
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getFullPath
A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;- Specified by:
getFullPathin interfaceContainerOrBuilder- Returns:
- The fullPath.
-
getFullPathBytes
public com.google.protobuf.ByteString getFullPathBytes()A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;- Specified by:
getFullPathBytesin interfaceContainerOrBuilder- Returns:
- The bytes for fullPath.
-
setFullPath
A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;- Parameters:
value- The fullPath to set.- Returns:
- This builder for chaining.
-
clearFullPath
A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;- Returns:
- This builder for chaining.
-
setFullPathBytes
A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;- Parameters:
value- The bytes for fullPath to set.- Returns:
- This builder for chaining.
-
getRootPath
The root of the container. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the root is `dataset_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root is `gs://bucket`
string root_path = 4;- Specified by:
getRootPathin interfaceContainerOrBuilder- Returns:
- The rootPath.
-
getRootPathBytes
public com.google.protobuf.ByteString getRootPathBytes()The root of the container. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the root is `dataset_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root is `gs://bucket`
string root_path = 4;- Specified by:
getRootPathBytesin interfaceContainerOrBuilder- Returns:
- The bytes for rootPath.
-
setRootPath
The root of the container. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the root is `dataset_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root is `gs://bucket`
string root_path = 4;- Parameters:
value- The rootPath to set.- Returns:
- This builder for chaining.
-
clearRootPath
The root of the container. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the root is `dataset_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root is `gs://bucket`
string root_path = 4;- Returns:
- This builder for chaining.
-
setRootPathBytes
The root of the container. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the root is `dataset_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root is `gs://bucket`
string root_path = 4;- Parameters:
value- The bytes for rootPath to set.- Returns:
- This builder for chaining.
-
getRelativePath
The rest of the path after the root. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the relative path is `table_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is `folder/filename.txt`
string relative_path = 5;- Specified by:
getRelativePathin interfaceContainerOrBuilder- Returns:
- The relativePath.
-
getRelativePathBytes
public com.google.protobuf.ByteString getRelativePathBytes()The rest of the path after the root. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the relative path is `table_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is `folder/filename.txt`
string relative_path = 5;- Specified by:
getRelativePathBytesin interfaceContainerOrBuilder- Returns:
- The bytes for relativePath.
-
setRelativePath
The rest of the path after the root. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the relative path is `table_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is `folder/filename.txt`
string relative_path = 5;- Parameters:
value- The relativePath to set.- Returns:
- This builder for chaining.
-
clearRelativePath
The rest of the path after the root. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the relative path is `table_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is `folder/filename.txt`
string relative_path = 5;- Returns:
- This builder for chaining.
-
setRelativePathBytes
The rest of the path after the root. Examples: - For BigQuery table `project_id:dataset_id.table_id`, the relative path is `table_id` - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is `folder/filename.txt`
string relative_path = 5;- Parameters:
value- The bytes for relativePath to set.- Returns:
- This builder for chaining.
-
hasUpdateTime
public boolean hasUpdateTime()Findings 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 update_time = 6;- Specified by:
hasUpdateTimein interfaceContainerOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Findings 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 update_time = 6;- Specified by:
getUpdateTimein interfaceContainerOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Findings 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 update_time = 6; -
setUpdateTime
Findings 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 update_time = 6; -
mergeUpdateTime
Findings 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 update_time = 6; -
clearUpdateTime
Findings 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 update_time = 6; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Findings 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 update_time = 6; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Findings 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 update_time = 6;- Specified by:
getUpdateTimeOrBuilderin interfaceContainerOrBuilder
-
getVersion
Findings container version, if available ("generation" for Cloud Storage).string version = 7;- Specified by:
getVersionin interfaceContainerOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Findings container version, if available ("generation" for Cloud Storage).string version = 7;- Specified by:
getVersionBytesin interfaceContainerOrBuilder- Returns:
- The bytes for version.
-
setVersion
Findings container version, if available ("generation" for Cloud Storage).string version = 7;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
Findings container version, if available ("generation" for Cloud Storage).string version = 7;- Returns:
- This builder for chaining.
-
setVersionBytes
Findings container version, if available ("generation" for Cloud Storage).string version = 7;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-