- 3.57.0 (latest)
- 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 final class FileStoreDataProfile extends GeneratedMessageV3 implements FileStoreDataProfileOrBuilder
The profile for a file store.
- Cloud Storage: maps 1:1 with a bucket.
- Amazon S3: maps 1:1 with a bucket.
Protobuf type google.privacy.dlp.v2.FileStoreDataProfile
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FileStoreDataProfileImplements
FileStoreDataProfileOrBuilderStatic Fields
CONFIG_SNAPSHOT_FIELD_NUMBER
public static final int CONFIG_SNAPSHOT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DATA_RISK_LEVEL_FIELD_NUMBER
public static final int DATA_RISK_LEVEL_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DATA_SOURCE_TYPE_FIELD_NUMBER
public static final int DATA_SOURCE_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DATA_STORAGE_LOCATIONS_FIELD_NUMBER
public static final int DATA_STORAGE_LOCATIONS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FILE_CLUSTER_SUMMARIES_FIELD_NUMBER
public static final int FILE_CLUSTER_SUMMARIES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FILE_STORE_INFO_TYPE_SUMMARIES_FIELD_NUMBER
public static final int FILE_STORE_INFO_TYPE_SUMMARIES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FILE_STORE_IS_EMPTY_FIELD_NUMBER
public static final int FILE_STORE_IS_EMPTY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FILE_STORE_LOCATION_FIELD_NUMBER
public static final int FILE_STORE_LOCATION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FILE_STORE_PATH_FIELD_NUMBER
public static final int FILE_STORE_PATH_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
FULL_RESOURCE_FIELD_NUMBER
public static final int FULL_RESOURCE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LAST_MODIFIED_TIME_FIELD_NUMBER
public static final int LAST_MODIFIED_TIME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LOCATION_TYPE_FIELD_NUMBER
public static final int LOCATION_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PROFILE_LAST_GENERATED_FIELD_NUMBER
public static final int PROFILE_LAST_GENERATED_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PROFILE_STATUS_FIELD_NUMBER
public static final int PROFILE_STATUS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PROJECT_DATA_PROFILE_FIELD_NUMBER
public static final int PROJECT_DATA_PROFILE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RESOURCE_ATTRIBUTES_FIELD_NUMBER
public static final int RESOURCE_ATTRIBUTES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RESOURCE_LABELS_FIELD_NUMBER
public static final int RESOURCE_LABELS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RESOURCE_VISIBILITY_FIELD_NUMBER
public static final int RESOURCE_VISIBILITY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SENSITIVITY_SCORE_FIELD_NUMBER
public static final int SENSITIVITY_SCORE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static FileStoreDataProfile getDefaultInstance()
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static FileStoreDataProfile.Builder newBuilder()
Returns | |
---|---|
Type | Description |
FileStoreDataProfile.Builder |
newBuilder(FileStoreDataProfile prototype)
public static FileStoreDataProfile.Builder newBuilder(FileStoreDataProfile prototype)
Parameter | |
---|---|
Name | Description |
prototype |
FileStoreDataProfile |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile.Builder |
parseDelimitedFrom(InputStream input)
public static FileStoreDataProfile parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileStoreDataProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static FileStoreDataProfile parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileStoreDataProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static FileStoreDataProfile parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileStoreDataProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static FileStoreDataProfile parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FileStoreDataProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static FileStoreDataProfile parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileStoreDataProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static FileStoreDataProfile parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FileStoreDataProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<FileStoreDataProfile> parser()
Returns | |
---|---|
Type | Description |
Parser<FileStoreDataProfile> |
Methods
containsResourceAttributes(String key)
public boolean containsResourceAttributes(String key)
Attributes of the resource being profiled. Currently used attributes:
- customer_managed_encryption: boolean
- true: the resource is encrypted with a customer-managed key.
- false: the resource is encrypted with a provider-managed key.
map<string, .google.privacy.dlp.v2.Value> resource_attributes = 17;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
containsResourceLabels(String key)
public boolean containsResourceLabels(String key)
The labels applied to the resource at the time the profile was generated.
map<string, string> resource_labels = 18;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getConfigSnapshot()
public DataProfileConfigSnapshot getConfigSnapshot()
The snapshot of the configurations used to generate the profile.
.google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7;
Returns | |
---|---|
Type | Description |
DataProfileConfigSnapshot |
The configSnapshot. |
getConfigSnapshotOrBuilder()
public DataProfileConfigSnapshotOrBuilder getConfigSnapshotOrBuilder()
The snapshot of the configurations used to generate the profile.
.google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7;
Returns | |
---|---|
Type | Description |
DataProfileConfigSnapshotOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
The time the file store was first created.
.google.protobuf.Timestamp create_time = 14;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time the file store was first created.
.google.protobuf.Timestamp create_time = 14;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDataRiskLevel()
public DataRiskLevel getDataRiskLevel()
The data risk level of this resource.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13;
Returns | |
---|---|
Type | Description |
DataRiskLevel |
The dataRiskLevel. |
getDataRiskLevelOrBuilder()
public DataRiskLevelOrBuilder getDataRiskLevelOrBuilder()
The data risk level of this resource.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13;
Returns | |
---|---|
Type | Description |
DataRiskLevelOrBuilder |
getDataSourceType()
public DataSourceType getDataSourceType()
The resource type that was profiled.
.google.privacy.dlp.v2.DataSourceType data_source_type = 2;
Returns | |
---|---|
Type | Description |
DataSourceType |
The dataSourceType. |
getDataSourceTypeOrBuilder()
public DataSourceTypeOrBuilder getDataSourceTypeOrBuilder()
The resource type that was profiled.
.google.privacy.dlp.v2.DataSourceType data_source_type = 2;
Returns | |
---|---|
Type | Description |
DataSourceTypeOrBuilder |
getDataStorageLocations(int index)
public String getDataStorageLocations(int index)
For resources that have multiple storage locations, these are those
regions. For Cloud Storage this is the list of regions chosen for
dual-region storage. file_store_location
will normally be the
corresponding multi-region for the list of individual locations. The first
region is always picked as the processing and storage location for the data
profile.
repeated string data_storage_locations = 19;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The dataStorageLocations at the given index. |
getDataStorageLocationsBytes(int index)
public ByteString getDataStorageLocationsBytes(int index)
For resources that have multiple storage locations, these are those
regions. For Cloud Storage this is the list of regions chosen for
dual-region storage. file_store_location
will normally be the
corresponding multi-region for the list of individual locations. The first
region is always picked as the processing and storage location for the data
profile.
repeated string data_storage_locations = 19;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the dataStorageLocations at the given index. |
getDataStorageLocationsCount()
public int getDataStorageLocationsCount()
For resources that have multiple storage locations, these are those
regions. For Cloud Storage this is the list of regions chosen for
dual-region storage. file_store_location
will normally be the
corresponding multi-region for the list of individual locations. The first
region is always picked as the processing and storage location for the data
profile.
repeated string data_storage_locations = 19;
Returns | |
---|---|
Type | Description |
int |
The count of dataStorageLocations. |
getDataStorageLocationsList()
public ProtocolStringList getDataStorageLocationsList()
For resources that have multiple storage locations, these are those
regions. For Cloud Storage this is the list of regions chosen for
dual-region storage. file_store_location
will normally be the
corresponding multi-region for the list of individual locations. The first
region is always picked as the processing and storage location for the data
profile.
repeated string data_storage_locations = 19;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the dataStorageLocations. |
getDefaultInstanceForType()
public FileStoreDataProfile getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
getFileClusterSummaries(int index)
public FileClusterSummary getFileClusterSummaries(int index)
FileClusterSummary per each cluster.
repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FileClusterSummary |
getFileClusterSummariesCount()
public int getFileClusterSummariesCount()
FileClusterSummary per each cluster.
repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;
Returns | |
---|---|
Type | Description |
int |
getFileClusterSummariesList()
public List<FileClusterSummary> getFileClusterSummariesList()
FileClusterSummary per each cluster.
repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;
Returns | |
---|---|
Type | Description |
List<FileClusterSummary> |
getFileClusterSummariesOrBuilder(int index)
public FileClusterSummaryOrBuilder getFileClusterSummariesOrBuilder(int index)
FileClusterSummary per each cluster.
repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FileClusterSummaryOrBuilder |
getFileClusterSummariesOrBuilderList()
public List<? extends FileClusterSummaryOrBuilder> getFileClusterSummariesOrBuilderList()
FileClusterSummary per each cluster.
repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16;
Returns | |
---|---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.FileClusterSummaryOrBuilder> |
getFileStoreInfoTypeSummaries(int index)
public FileStoreInfoTypeSummary getFileStoreInfoTypeSummaries(int index)
InfoTypes detected in this file store.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FileStoreInfoTypeSummary |
getFileStoreInfoTypeSummariesCount()
public int getFileStoreInfoTypeSummariesCount()
InfoTypes detected in this file store.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
Returns | |
---|---|
Type | Description |
int |
getFileStoreInfoTypeSummariesList()
public List<FileStoreInfoTypeSummary> getFileStoreInfoTypeSummariesList()
InfoTypes detected in this file store.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
Returns | |
---|---|
Type | Description |
List<FileStoreInfoTypeSummary> |
getFileStoreInfoTypeSummariesOrBuilder(int index)
public FileStoreInfoTypeSummaryOrBuilder getFileStoreInfoTypeSummariesOrBuilder(int index)
InfoTypes detected in this file store.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FileStoreInfoTypeSummaryOrBuilder |
getFileStoreInfoTypeSummariesOrBuilderList()
public List<? extends FileStoreInfoTypeSummaryOrBuilder> getFileStoreInfoTypeSummariesOrBuilderList()
InfoTypes detected in this file store.
repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
Returns | |
---|---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.FileStoreInfoTypeSummaryOrBuilder> |
getFileStoreIsEmpty()
public boolean getFileStoreIsEmpty()
The file store does not have any files.
bool file_store_is_empty = 23;
Returns | |
---|---|
Type | Description |
boolean |
The fileStoreIsEmpty. |
getFileStoreLocation()
public String getFileStoreLocation()
The location of the file store.
- Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations
- Amazon S3: https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints
string file_store_location = 5;
Returns | |
---|---|
Type | Description |
String |
The fileStoreLocation. |
getFileStoreLocationBytes()
public ByteString getFileStoreLocationBytes()
The location of the file store.
- Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations
- Amazon S3: https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints
string file_store_location = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for fileStoreLocation. |
getFileStorePath()
public String getFileStorePath()
The file store path.
- Cloud Storage:
gs://{bucket}
- Amazon S3:
s3://{bucket}
string file_store_path = 6;
Returns | |
---|---|
Type | Description |
String |
The fileStorePath. |
getFileStorePathBytes()
public ByteString getFileStorePathBytes()
The file store path.
- Cloud Storage:
gs://{bucket}
- Amazon S3:
s3://{bucket}
string file_store_path = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for fileStorePath. |
getFullResource()
public String getFullResource()
The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name
Example format of an S3 bucket full resource name:
//cloudasset.googleapis.com/organizations/{org_id}/otherCloudConnections/aws/arn:aws:s3:::{bucket_name}
string full_resource = 24;
Returns | |
---|---|
Type | Description |
String |
The fullResource. |
getFullResourceBytes()
public ByteString getFullResourceBytes()
The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name
Example format of an S3 bucket full resource name:
//cloudasset.googleapis.com/organizations/{org_id}/otherCloudConnections/aws/arn:aws:s3:::{bucket_name}
string full_resource = 24;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for fullResource. |
getLastModifiedTime()
public Timestamp getLastModifiedTime()
The time the file store was last modified.
.google.protobuf.Timestamp last_modified_time = 15;
Returns | |
---|---|
Type | Description |
Timestamp |
The lastModifiedTime. |
getLastModifiedTimeOrBuilder()
public TimestampOrBuilder getLastModifiedTimeOrBuilder()
The time the file store was last modified.
.google.protobuf.Timestamp last_modified_time = 15;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getLocationType()
public String getLocationType()
The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.
string location_type = 20;
Returns | |
---|---|
Type | Description |
String |
The locationType. |
getLocationTypeBytes()
public ByteString getLocationTypeBytes()
The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.
string location_type = 20;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for locationType. |
getName()
public String getName()
The name of the profile.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the profile.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getParserForType()
public Parser<FileStoreDataProfile> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<FileStoreDataProfile> |
getProfileLastGenerated()
public Timestamp getProfileLastGenerated()
The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 10;
Returns | |
---|---|
Type | Description |
Timestamp |
The profileLastGenerated. |
getProfileLastGeneratedOrBuilder()
public TimestampOrBuilder getProfileLastGeneratedOrBuilder()
The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 10;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getProfileStatus()
public ProfileStatus getProfileStatus()
Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.
.google.privacy.dlp.v2.ProfileStatus profile_status = 8;
Returns | |
---|---|
Type | Description |
ProfileStatus |
The profileStatus. |
getProfileStatusOrBuilder()
public ProfileStatusOrBuilder getProfileStatusOrBuilder()
Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.
.google.privacy.dlp.v2.ProfileStatus profile_status = 8;
Returns | |
---|---|
Type | Description |
ProfileStatusOrBuilder |
getProjectDataProfile()
public String getProjectDataProfile()
The resource name of the project data profile for this file store.
string project_data_profile = 3;
Returns | |
---|---|
Type | Description |
String |
The projectDataProfile. |
getProjectDataProfileBytes()
public ByteString getProjectDataProfileBytes()
The resource name of the project data profile for this file store.
string project_data_profile = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for projectDataProfile. |
getProjectId()
public String getProjectId()
The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id.
string project_id = 4;
Returns | |
---|---|
Type | Description |
String |
The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id.
string project_id = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for projectId. |
getResourceAttributes() (deprecated)
public Map<String,Value> getResourceAttributes()
Use #getResourceAttributesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,Value> |
getResourceAttributesCount()
public int getResourceAttributesCount()
Attributes of the resource being profiled. Currently used attributes:
- customer_managed_encryption: boolean
- true: the resource is encrypted with a customer-managed key.
- false: the resource is encrypted with a provider-managed key.
map<string, .google.privacy.dlp.v2.Value> resource_attributes = 17;
Returns | |
---|---|
Type | Description |
int |
getResourceAttributesMap()
public Map<String,Value> getResourceAttributesMap()
Attributes of the resource being profiled. Currently used attributes:
- customer_managed_encryption: boolean
- true: the resource is encrypted with a customer-managed key.
- false: the resource is encrypted with a provider-managed key.
map<string, .google.privacy.dlp.v2.Value> resource_attributes = 17;
Returns | |
---|---|
Type | Description |
Map<String,Value> |
getResourceAttributesOrDefault(String key, Value defaultValue)
public Value getResourceAttributesOrDefault(String key, Value defaultValue)
Attributes of the resource being profiled. Currently used attributes:
- customer_managed_encryption: boolean
- true: the resource is encrypted with a customer-managed key.
- false: the resource is encrypted with a provider-managed key.
map<string, .google.privacy.dlp.v2.Value> resource_attributes = 17;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
Value |
Returns | |
---|---|
Type | Description |
Value |
getResourceAttributesOrThrow(String key)
public Value getResourceAttributesOrThrow(String key)
Attributes of the resource being profiled. Currently used attributes:
- customer_managed_encryption: boolean
- true: the resource is encrypted with a customer-managed key.
- false: the resource is encrypted with a provider-managed key.
map<string, .google.privacy.dlp.v2.Value> resource_attributes = 17;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Value |
getResourceLabels() (deprecated)
public Map<String,String> getResourceLabels()
Use #getResourceLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getResourceLabelsCount()
public int getResourceLabelsCount()
The labels applied to the resource at the time the profile was generated.
map<string, string> resource_labels = 18;
Returns | |
---|---|
Type | Description |
int |
getResourceLabelsMap()
public Map<String,String> getResourceLabelsMap()
The labels applied to the resource at the time the profile was generated.
map<string, string> resource_labels = 18;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getResourceLabelsOrDefault(String key, String defaultValue)
public String getResourceLabelsOrDefault(String key, String defaultValue)
The labels applied to the resource at the time the profile was generated.
map<string, string> resource_labels = 18;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getResourceLabelsOrThrow(String key)
public String getResourceLabelsOrThrow(String key)
The labels applied to the resource at the time the profile was generated.
map<string, string> resource_labels = 18;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getResourceVisibility()
public ResourceVisibility getResourceVisibility()
How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 11;
Returns | |
---|---|
Type | Description |
ResourceVisibility |
The resourceVisibility. |
getResourceVisibilityValue()
public int getResourceVisibilityValue()
How broadly a resource has been shared.
.google.privacy.dlp.v2.ResourceVisibility resource_visibility = 11;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for resourceVisibility. |
getSensitivityScore()
public SensitivityScore getSensitivityScore()
The sensitivity score of this resource.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12;
Returns | |
---|---|
Type | Description |
SensitivityScore |
The sensitivityScore. |
getSensitivityScoreOrBuilder()
public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()
The sensitivity score of this resource.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12;
Returns | |
---|---|
Type | Description |
SensitivityScoreOrBuilder |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getState()
public FileStoreDataProfile.State getState()
State of a profile.
.google.privacy.dlp.v2.FileStoreDataProfile.State state = 9;
Returns | |
---|---|
Type | Description |
FileStoreDataProfile.State |
The state. |
getStateValue()
public int getStateValue()
State of a profile.
.google.privacy.dlp.v2.FileStoreDataProfile.State state = 9;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
hasConfigSnapshot()
public boolean hasConfigSnapshot()
The snapshot of the configurations used to generate the profile.
.google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the configSnapshot field is set. |
hasCreateTime()
public boolean hasCreateTime()
The time the file store was first created.
.google.protobuf.Timestamp create_time = 14;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasDataRiskLevel()
public boolean hasDataRiskLevel()
The data risk level of this resource.
.google.privacy.dlp.v2.DataRiskLevel data_risk_level = 13;
Returns | |
---|---|
Type | Description |
boolean |
Whether the dataRiskLevel field is set. |
hasDataSourceType()
public boolean hasDataSourceType()
The resource type that was profiled.
.google.privacy.dlp.v2.DataSourceType data_source_type = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the dataSourceType field is set. |
hasLastModifiedTime()
public boolean hasLastModifiedTime()
The time the file store was last modified.
.google.protobuf.Timestamp last_modified_time = 15;
Returns | |
---|---|
Type | Description |
boolean |
Whether the lastModifiedTime field is set. |
hasProfileLastGenerated()
public boolean hasProfileLastGenerated()
The last time the profile was generated.
.google.protobuf.Timestamp profile_last_generated = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the profileLastGenerated field is set. |
hasProfileStatus()
public boolean hasProfileStatus()
Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.
.google.privacy.dlp.v2.ProfileStatus profile_status = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the profileStatus field is set. |
hasSensitivityScore()
public boolean hasSensitivityScore()
The sensitivity score of this resource.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 12;
Returns | |
---|---|
Type | Description |
boolean |
Whether the sensitivityScore field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public FileStoreDataProfile.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
FileStoreDataProfile.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FileStoreDataProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public FileStoreDataProfile.Builder toBuilder()
Returns | |
---|---|
Type | Description |
FileStoreDataProfile.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |