public static final class Container.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
Container.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Container |
build() |
Container |
buildPartial() |
Container.Builder |
clear() |
Container.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Container.Builder |
clearFullPath()
A string representation of the full container name.
|
Container.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Container.Builder |
clearProjectId()
Project where the finding was found.
|
Container.Builder |
clearRelativePath()
The rest of the path after the root.
|
Container.Builder |
clearRootPath()
The root of the container.
|
Container.Builder |
clearType()
Container type, for example BigQuery or Cloud Storage.
|
Container.Builder |
clearUpdateTime()
Findings container modification timestamp, if applicable.
|
Container.Builder |
clearVersion()
Findings container version, if available
("generation" for Cloud Storage).
|
Container.Builder |
clone() |
Container |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFullPath()
A string representation of the full container name.
|
com.google.protobuf.ByteString |
getFullPathBytes()
A string representation of the full container name.
|
String |
getProjectId()
Project where the finding was found.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Project where the finding was found.
|
String |
getRelativePath()
The rest of the path after the root.
|
com.google.protobuf.ByteString |
getRelativePathBytes()
The rest of the path after the root.
|
String |
getRootPath()
The root of the container.
|
com.google.protobuf.ByteString |
getRootPathBytes()
The root of the container.
|
String |
getType()
Container type, for example BigQuery or Cloud Storage.
|
com.google.protobuf.ByteString |
getTypeBytes()
Container type, for example BigQuery or Cloud Storage.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Findings container modification timestamp, if applicable.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Findings container modification timestamp, if applicable.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Findings container modification timestamp, if applicable.
|
String |
getVersion()
Findings container version, if available
("generation" for Cloud Storage).
|
com.google.protobuf.ByteString |
getVersionBytes()
Findings container version, if available
("generation" for Cloud Storage).
|
boolean |
hasUpdateTime()
Findings container modification timestamp, if applicable.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Container.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Container.Builder |
mergeFrom(Container other) |
Container.Builder |
mergeFrom(com.google.protobuf.Message other) |
Container.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Container.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Findings container modification timestamp, if applicable.
|
Container.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Container.Builder |
setFullPath(String value)
A string representation of the full container name.
|
Container.Builder |
setFullPathBytes(com.google.protobuf.ByteString value)
A string representation of the full container name.
|
Container.Builder |
setProjectId(String value)
Project where the finding was found.
|
Container.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Project where the finding was found.
|
Container.Builder |
setRelativePath(String value)
The rest of the path after the root.
|
Container.Builder |
setRelativePathBytes(com.google.protobuf.ByteString value)
The rest of the path after the root.
|
Container.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Container.Builder |
setRootPath(String value)
The root of the container.
|
Container.Builder |
setRootPathBytes(com.google.protobuf.ByteString value)
The root of the container.
|
Container.Builder |
setType(String value)
Container type, for example BigQuery or Cloud Storage.
|
Container.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
Container type, for example BigQuery or Cloud Storage.
|
Container.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Container.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Findings container modification timestamp, if applicable.
|
Container.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Findings container modification timestamp, if applicable.
|
Container.Builder |
setVersion(String value)
Findings container version, if available
("generation" for Cloud Storage).
|
Container.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
Findings container version, if available
("generation" for Cloud Storage).
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>public Container.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>public Container getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Container build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Container buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Container.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>public Container.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>public Container.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>public Container.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>public Container.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>public Container.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>public Container.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Container.Builder>public Container.Builder mergeFrom(Container other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>public Container.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Container.Builder>IOExceptionpublic String getType()
Container type, for example BigQuery or Cloud Storage.
string type = 1;getType in interface ContainerOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Container type, for example BigQuery or Cloud Storage.
string type = 1;getTypeBytes in interface ContainerOrBuilderpublic Container.Builder setType(String value)
Container type, for example BigQuery or Cloud Storage.
string type = 1;value - The type to set.public Container.Builder clearType()
Container type, for example BigQuery or Cloud Storage.
string type = 1;public Container.Builder setTypeBytes(com.google.protobuf.ByteString value)
Container type, for example BigQuery or Cloud Storage.
string type = 1;value - The bytes for type to set.public String getProjectId()
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;getProjectId in interface ContainerOrBuilderpublic 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;getProjectIdBytes in interface ContainerOrBuilderpublic Container.Builder setProjectId(String value)
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;value - The projectId to set.public Container.Builder clearProjectId()
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;public Container.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;value - The bytes for projectId to set.public String 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;getFullPath in interface ContainerOrBuilderpublic 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;getFullPathBytes in interface ContainerOrBuilderpublic Container.Builder setFullPath(String value)
A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;value - The fullPath to set.public Container.Builder 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;public Container.Builder setFullPathBytes(com.google.protobuf.ByteString value)
A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;value - The bytes for fullPath to set.public String 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;getRootPath in interface ContainerOrBuilderpublic 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;getRootPathBytes in interface ContainerOrBuilderpublic Container.Builder setRootPath(String value)
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;value - The rootPath to set.public Container.Builder 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;public Container.Builder setRootPathBytes(com.google.protobuf.ByteString value)
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;value - The bytes for rootPath to set.public String 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;getRelativePath in interface ContainerOrBuilderpublic 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;getRelativePathBytes in interface ContainerOrBuilderpublic Container.Builder setRelativePath(String value)
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;value - The relativePath to set.public Container.Builder 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;public Container.Builder setRelativePathBytes(com.google.protobuf.ByteString value)
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;value - The bytes for relativePath to set.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;hasUpdateTime in interface ContainerOrBuilderpublic 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;getUpdateTime in interface ContainerOrBuilderpublic Container.Builder setUpdateTime(com.google.protobuf.Timestamp value)
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;public Container.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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;public Container.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
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;public Container.Builder 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;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;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;getUpdateTimeOrBuilder in interface ContainerOrBuilderpublic String getVersion()
Findings container version, if available
("generation" for Cloud Storage).
string version = 7;getVersion in interface ContainerOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
Findings container version, if available
("generation" for Cloud Storage).
string version = 7;getVersionBytes in interface ContainerOrBuilderpublic Container.Builder setVersion(String value)
Findings container version, if available
("generation" for Cloud Storage).
string version = 7;value - The version to set.public Container.Builder clearVersion()
Findings container version, if available
("generation" for Cloud Storage).
string version = 7;public Container.Builder setVersionBytes(com.google.protobuf.ByteString value)
Findings container version, if available
("generation" for Cloud Storage).
string version = 7;value - The bytes for version to set.public final Container.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>public final Container.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Container.Builder>Copyright © 2022 Google LLC. All rights reserved.