public static final class RedactConfig.Builder extends GeneratedMessage.Builder<RedactConfig.Builder> implements RedactConfigOrBuilder Redact a given value. For example, if used with an InfoTypeTransformation
transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the
output would be 'My phone number is '.
Protobuf type google.privacy.dlp.v2.RedactConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RedactConfig.BuilderImplements
RedactConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RedactConfig build()| Returns | |
|---|---|
| Type | Description |
RedactConfig |
|
buildPartial()
public RedactConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
RedactConfig |
|
clear()
public RedactConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
RedactConfig.Builder |
|
getDefaultInstanceForType()
public RedactConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RedactConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RedactConfig other)
public RedactConfig.Builder mergeFrom(RedactConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
RedactConfig |
| Returns | |
|---|---|
| Type | Description |
RedactConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RedactConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RedactConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RedactConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RedactConfig.Builder |
|