public static final class CloudDlpDataProfile.Builder extends GeneratedMessage.Builder<CloudDlpDataProfile.Builder> implements CloudDlpDataProfileOrBuilderThe data profile associated with the finding.
Protobuf type google.cloud.securitycenter.v2.CloudDlpDataProfile
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CloudDlpDataProfile.BuilderImplements
CloudDlpDataProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CloudDlpDataProfile build()| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile |
|
buildPartial()
public CloudDlpDataProfile buildPartial()| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile |
|
clear()
public CloudDlpDataProfile.Builder clear()| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile.Builder |
|
clearDataProfile()
public CloudDlpDataProfile.Builder clearDataProfile() Name of the data profile, for example,
projects/123/locations/europe/tableProfiles/8383929.
string data_profile = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile.Builder |
This builder for chaining. |
clearParentType()
public CloudDlpDataProfile.Builder clearParentType()The resource hierarchy level at which the data profile was generated.
.google.cloud.securitycenter.v2.CloudDlpDataProfile.ParentType parent_type = 2;
| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile.Builder |
This builder for chaining. |
getDataProfile()
public String getDataProfile() Name of the data profile, for example,
projects/123/locations/europe/tableProfiles/8383929.
string data_profile = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The dataProfile. |
getDataProfileBytes()
public ByteString getDataProfileBytes() Name of the data profile, for example,
projects/123/locations/europe/tableProfiles/8383929.
string data_profile = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataProfile. |
getDefaultInstanceForType()
public CloudDlpDataProfile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParentType()
public CloudDlpDataProfile.ParentType getParentType()The resource hierarchy level at which the data profile was generated.
.google.cloud.securitycenter.v2.CloudDlpDataProfile.ParentType parent_type = 2;
| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile.ParentType |
The parentType. |
getParentTypeValue()
public int getParentTypeValue()The resource hierarchy level at which the data profile was generated.
.google.cloud.securitycenter.v2.CloudDlpDataProfile.ParentType parent_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for parentType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CloudDlpDataProfile other)
public CloudDlpDataProfile.Builder mergeFrom(CloudDlpDataProfile other)| Parameter | |
|---|---|
| Name | Description |
other |
CloudDlpDataProfile |
| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudDlpDataProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CloudDlpDataProfile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile.Builder |
|
setDataProfile(String value)
public CloudDlpDataProfile.Builder setDataProfile(String value) Name of the data profile, for example,
projects/123/locations/europe/tableProfiles/8383929.
string data_profile = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataProfile to set. |
| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile.Builder |
This builder for chaining. |
setDataProfileBytes(ByteString value)
public CloudDlpDataProfile.Builder setDataProfileBytes(ByteString value) Name of the data profile, for example,
projects/123/locations/europe/tableProfiles/8383929.
string data_profile = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataProfile to set. |
| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile.Builder |
This builder for chaining. |
setParentType(CloudDlpDataProfile.ParentType value)
public CloudDlpDataProfile.Builder setParentType(CloudDlpDataProfile.ParentType value)The resource hierarchy level at which the data profile was generated.
.google.cloud.securitycenter.v2.CloudDlpDataProfile.ParentType parent_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudDlpDataProfile.ParentTypeThe parentType to set. |
| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile.Builder |
This builder for chaining. |
setParentTypeValue(int value)
public CloudDlpDataProfile.Builder setParentTypeValue(int value)The resource hierarchy level at which the data profile was generated.
.google.cloud.securitycenter.v2.CloudDlpDataProfile.ParentType parent_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for parentType to set. |
| Returns | |
|---|---|
| Type | Description |
CloudDlpDataProfile.Builder |
This builder for chaining. |