public static final class SdpAdvancedConfig.Builder extends GeneratedMessage.Builder<SdpAdvancedConfig.Builder> implements SdpAdvancedConfigOrBuilderSensitive Data Protection Advanced configuration.
Protobuf type google.cloud.modelarmor.v1.SdpAdvancedConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SdpAdvancedConfig.BuilderImplements
SdpAdvancedConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SdpAdvancedConfig build()| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig |
|
buildPartial()
public SdpAdvancedConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig |
|
clear()
public SdpAdvancedConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig.Builder |
|
clearDeidentifyTemplate()
public SdpAdvancedConfig.Builder clearDeidentifyTemplate()Optional. Optional Sensitive Data Protection Deidentify template resource name.
If provided then DeidentifyContent action is performed during Sanitization using this template and inspect template. The De-identified data will be returned in SdpDeidentifyResult. Note that all info-types present in the deidentify template must be present in inspect template.
e.g.
projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}
string deidentify_template = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig.Builder |
This builder for chaining. |
clearInspectTemplate()
public SdpAdvancedConfig.Builder clearInspectTemplate()Optional. Sensitive Data Protection inspect template resource name
If only inspect template is provided (de-identify template not provided), then Sensitive Data Protection InspectContent action is performed during Sanitization. All Sensitive Data Protection findings identified during inspection will be returned as SdpFinding in SdpInsepctionResult.
e.g.
projects/{project}/locations/{location}/inspectTemplates/{inspect_template}
string inspect_template = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SdpAdvancedConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig |
|
getDeidentifyTemplate()
public String getDeidentifyTemplate()Optional. Optional Sensitive Data Protection Deidentify template resource name.
If provided then DeidentifyContent action is performed during Sanitization using this template and inspect template. The De-identified data will be returned in SdpDeidentifyResult. Note that all info-types present in the deidentify template must be present in inspect template.
e.g.
projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}
string deidentify_template = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The deidentifyTemplate. |
getDeidentifyTemplateBytes()
public ByteString getDeidentifyTemplateBytes()Optional. Optional Sensitive Data Protection Deidentify template resource name.
If provided then DeidentifyContent action is performed during Sanitization using this template and inspect template. The De-identified data will be returned in SdpDeidentifyResult. Note that all info-types present in the deidentify template must be present in inspect template.
e.g.
projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}
string deidentify_template = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deidentifyTemplate. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInspectTemplate()
public String getInspectTemplate()Optional. Sensitive Data Protection inspect template resource name
If only inspect template is provided (de-identify template not provided), then Sensitive Data Protection InspectContent action is performed during Sanitization. All Sensitive Data Protection findings identified during inspection will be returned as SdpFinding in SdpInsepctionResult.
e.g.
projects/{project}/locations/{location}/inspectTemplates/{inspect_template}
string inspect_template = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The inspectTemplate. |
getInspectTemplateBytes()
public ByteString getInspectTemplateBytes()Optional. Sensitive Data Protection inspect template resource name
If only inspect template is provided (de-identify template not provided), then Sensitive Data Protection InspectContent action is performed during Sanitization. All Sensitive Data Protection findings identified during inspection will be returned as SdpFinding in SdpInsepctionResult.
e.g.
projects/{project}/locations/{location}/inspectTemplates/{inspect_template}
string inspect_template = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for inspectTemplate. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SdpAdvancedConfig other)
public SdpAdvancedConfig.Builder mergeFrom(SdpAdvancedConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
SdpAdvancedConfig |
| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SdpAdvancedConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SdpAdvancedConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig.Builder |
|
setDeidentifyTemplate(String value)
public SdpAdvancedConfig.Builder setDeidentifyTemplate(String value)Optional. Optional Sensitive Data Protection Deidentify template resource name.
If provided then DeidentifyContent action is performed during Sanitization using this template and inspect template. The De-identified data will be returned in SdpDeidentifyResult. Note that all info-types present in the deidentify template must be present in inspect template.
e.g.
projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}
string deidentify_template = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deidentifyTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig.Builder |
This builder for chaining. |
setDeidentifyTemplateBytes(ByteString value)
public SdpAdvancedConfig.Builder setDeidentifyTemplateBytes(ByteString value)Optional. Optional Sensitive Data Protection Deidentify template resource name.
If provided then DeidentifyContent action is performed during Sanitization using this template and inspect template. The De-identified data will be returned in SdpDeidentifyResult. Note that all info-types present in the deidentify template must be present in inspect template.
e.g.
projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}
string deidentify_template = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deidentifyTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig.Builder |
This builder for chaining. |
setInspectTemplate(String value)
public SdpAdvancedConfig.Builder setInspectTemplate(String value)Optional. Sensitive Data Protection inspect template resource name
If only inspect template is provided (de-identify template not provided), then Sensitive Data Protection InspectContent action is performed during Sanitization. All Sensitive Data Protection findings identified during inspection will be returned as SdpFinding in SdpInsepctionResult.
e.g.
projects/{project}/locations/{location}/inspectTemplates/{inspect_template}
string inspect_template = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe inspectTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig.Builder |
This builder for chaining. |
setInspectTemplateBytes(ByteString value)
public SdpAdvancedConfig.Builder setInspectTemplateBytes(ByteString value)Optional. Sensitive Data Protection inspect template resource name
If only inspect template is provided (de-identify template not provided), then Sensitive Data Protection InspectContent action is performed during Sanitization. All Sensitive Data Protection findings identified during inspection will be returned as SdpFinding in SdpInsepctionResult.
e.g.
projects/{project}/locations/{location}/inspectTemplates/{inspect_template}
string inspect_template = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for inspectTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
SdpAdvancedConfig.Builder |
This builder for chaining. |