- 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 Container.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Container.BuilderImplements
ContainerOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Container.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Container.Builder |
build()
public Container build()
Type | Description |
Container |
buildPartial()
public Container buildPartial()
Type | Description |
Container |
clear()
public Container.Builder clear()
Type | Description |
Container.Builder |
clearField(Descriptors.FieldDescriptor field)
public Container.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Container.Builder |
clearFullPath()
public Container.Builder clearFullPath()
A string representation of the full container name. Examples:
- BigQuery: 'Project:DataSetId.TableId'
- Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;
Type | Description |
Container.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Container.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Container.Builder |
clearProjectId()
public Container.Builder clearProjectId()
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;
Type | Description |
Container.Builder | This builder for chaining. |
clearRelativePath()
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 istable_id
- Google Cloud Storage file
gs://bucket/folder/filename.txt
, the relative path isfolder/filename.txt
string relative_path = 5;
Type | Description |
Container.Builder | This builder for chaining. |
clearRootPath()
public Container.Builder clearRootPath()
The root of the container. Examples:
- For BigQuery table
project_id:dataset_id.table_id
, the root isdataset_id
- For Google Cloud Storage file
gs://bucket/folder/filename.txt
, the root isgs://bucket
string root_path = 4;
Type | Description |
Container.Builder | This builder for chaining. |
clearType()
public Container.Builder clearType()
Container type, for example BigQuery or Google Cloud Storage.
string type = 1;
Type | Description |
Container.Builder | This builder for chaining. |
clearUpdateTime()
public Container.Builder clearUpdateTime()
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 update_time = 6;
Type | Description |
Container.Builder |
clearVersion()
public Container.Builder clearVersion()
Findings container version, if available ("generation" for Google Cloud Storage).
string version = 7;
Type | Description |
Container.Builder | This builder for chaining. |
clone()
public Container.Builder clone()
Type | Description |
Container.Builder |
getDefaultInstanceForType()
public Container getDefaultInstanceForType()
Type | Description |
Container |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFullPath()
public String getFullPath()
A string representation of the full container name. Examples:
- BigQuery: 'Project:DataSetId.TableId'
- Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;
Type | Description |
String | The fullPath. |
getFullPathBytes()
public ByteString getFullPathBytes()
A string representation of the full container name. Examples:
- BigQuery: 'Project:DataSetId.TableId'
- Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;
Type | Description |
ByteString | The bytes for fullPath. |
getProjectId()
public String getProjectId()
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;
Type | Description |
ByteString | The bytes for projectId. |
getRelativePath()
public String getRelativePath()
The rest of the path after the root. Examples:
- For BigQuery table
project_id:dataset_id.table_id
, the relative path istable_id
- Google Cloud Storage file
gs://bucket/folder/filename.txt
, the relative path isfolder/filename.txt
string relative_path = 5;
Type | Description |
String | The relativePath. |
getRelativePathBytes()
public ByteString getRelativePathBytes()
The rest of the path after the root. Examples:
- For BigQuery table
project_id:dataset_id.table_id
, the relative path istable_id
- Google Cloud Storage file
gs://bucket/folder/filename.txt
, the relative path isfolder/filename.txt
string relative_path = 5;
Type | Description |
ByteString | The bytes for relativePath. |
getRootPath()
public String getRootPath()
The root of the container. Examples:
- For BigQuery table
project_id:dataset_id.table_id
, the root isdataset_id
- For Google Cloud Storage file
gs://bucket/folder/filename.txt
, the root isgs://bucket
string root_path = 4;
Type | Description |
String | The rootPath. |
getRootPathBytes()
public ByteString getRootPathBytes()
The root of the container. Examples:
- For BigQuery table
project_id:dataset_id.table_id
, the root isdataset_id
- For Google Cloud Storage file
gs://bucket/folder/filename.txt
, the root isgs://bucket
string root_path = 4;
Type | Description |
ByteString | The bytes for rootPath. |
getType()
public String getType()
Container type, for example BigQuery or Google Cloud Storage.
string type = 1;
Type | Description |
String | The type. |
getTypeBytes()
public ByteString getTypeBytes()
Container type, for example BigQuery or Google Cloud Storage.
string type = 1;
Type | Description |
ByteString | The bytes for type. |
getUpdateTime()
public Timestamp getUpdateTime()
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 update_time = 6;
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
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 update_time = 6;
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
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 update_time = 6;
Type | Description |
TimestampOrBuilder |
getVersion()
public String getVersion()
Findings container version, if available ("generation" for Google Cloud Storage).
string version = 7;
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
Findings container version, if available ("generation" for Google Cloud Storage).
string version = 7;
Type | Description |
ByteString | The bytes for version. |
hasUpdateTime()
public boolean hasUpdateTime()
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 update_time = 6;
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Container other)
public Container.Builder mergeFrom(Container other)
Name | Description |
other | Container |
Type | Description |
Container.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Container.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Container.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Container.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Container.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Container.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Container.Builder |
mergeUpdateTime(Timestamp value)
public Container.Builder mergeUpdateTime(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 update_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
Container.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Container.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Container.Builder |
setFullPath(String value)
public Container.Builder setFullPath(String value)
A string representation of the full container name. Examples:
- BigQuery: 'Project:DataSetId.TableId'
- Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;
Name | Description |
value | String The fullPath to set. |
Type | Description |
Container.Builder | This builder for chaining. |
setFullPathBytes(ByteString value)
public Container.Builder setFullPathBytes(ByteString value)
A string representation of the full container name. Examples:
- BigQuery: 'Project:DataSetId.TableId'
- Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
string full_path = 3;
Name | Description |
value | ByteString The bytes for fullPath to set. |
Type | Description |
Container.Builder | This builder for chaining. |
setProjectId(String value)
public 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;
Name | Description |
value | String The projectId to set. |
Type | Description |
Container.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public Container.Builder setProjectIdBytes(ByteString value)
Project where the finding was found. Can be different from the project that owns the finding.
string project_id = 2;
Name | Description |
value | ByteString The bytes for projectId to set. |
Type | Description |
Container.Builder | This builder for chaining. |
setRelativePath(String value)
public 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 istable_id
- Google Cloud Storage file
gs://bucket/folder/filename.txt
, the relative path isfolder/filename.txt
string relative_path = 5;
Name | Description |
value | String The relativePath to set. |
Type | Description |
Container.Builder | This builder for chaining. |
setRelativePathBytes(ByteString value)
public Container.Builder setRelativePathBytes(ByteString value)
The rest of the path after the root. Examples:
- For BigQuery table
project_id:dataset_id.table_id
, the relative path istable_id
- Google Cloud Storage file
gs://bucket/folder/filename.txt
, the relative path isfolder/filename.txt
string relative_path = 5;
Name | Description |
value | ByteString The bytes for relativePath to set. |
Type | Description |
Container.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Container.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Container.Builder |
setRootPath(String value)
public Container.Builder setRootPath(String value)
The root of the container. Examples:
- For BigQuery table
project_id:dataset_id.table_id
, the root isdataset_id
- For Google Cloud Storage file
gs://bucket/folder/filename.txt
, the root isgs://bucket
string root_path = 4;
Name | Description |
value | String The rootPath to set. |
Type | Description |
Container.Builder | This builder for chaining. |
setRootPathBytes(ByteString value)
public Container.Builder setRootPathBytes(ByteString value)
The root of the container. Examples:
- For BigQuery table
project_id:dataset_id.table_id
, the root isdataset_id
- For Google Cloud Storage file
gs://bucket/folder/filename.txt
, the root isgs://bucket
string root_path = 4;
Name | Description |
value | ByteString The bytes for rootPath to set. |
Type | Description |
Container.Builder | This builder for chaining. |
setType(String value)
public Container.Builder setType(String value)
Container type, for example BigQuery or Google Cloud Storage.
string type = 1;
Name | Description |
value | String The type to set. |
Type | Description |
Container.Builder | This builder for chaining. |
setTypeBytes(ByteString value)
public Container.Builder setTypeBytes(ByteString value)
Container type, for example BigQuery or Google Cloud Storage.
string type = 1;
Name | Description |
value | ByteString The bytes for type to set. |
Type | Description |
Container.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Container.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Container.Builder |
setUpdateTime(Timestamp value)
public Container.Builder setUpdateTime(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 update_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
Container.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Container.Builder setUpdateTime(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 update_time = 6;
Name | Description |
builderForValue | Builder |
Type | Description |
Container.Builder |
setVersion(String value)
public Container.Builder setVersion(String value)
Findings container version, if available ("generation" for Google Cloud Storage).
string version = 7;
Name | Description |
value | String The version to set. |
Type | Description |
Container.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public Container.Builder setVersionBytes(ByteString value)
Findings container version, if available ("generation" for Google Cloud Storage).
string version = 7;
Name | Description |
value | ByteString The bytes for version to set. |
Type | Description |
Container.Builder | This builder for chaining. |