Class RedactionConfig.Builder (2.19.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.19.0keyboard_arrow_down
public static final class RedactionConfig . Builder extends GeneratedMessageV3 . Builder<RedactionConfig . Builder > implements RedactionConfigOrBuilder
DLP resources used for redaction while ingesting conversations.
Protobuf type google.cloud.contactcenterinsights.v1.RedactionConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public RedactionConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public RedactionConfig build ()
public RedactionConfig buildPartial ()
public RedactionConfig . Builder clear ()
Overrides
public RedactionConfig . Builder clearDeidentifyTemplate ()
The fully-qualified DLP deidentify template resource name.
Format:
projects/{project}/deidentifyTemplates/{template}
string deidentify_template = 1;
public RedactionConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public RedactionConfig . Builder clearInspectTemplate ()
The fully-qualified DLP inspect template resource name.
Format:
projects/{project}/inspectTemplates/{template}
string inspect_template = 2;
public RedactionConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public RedactionConfig . Builder clone ()
Overrides
public RedactionConfig getDefaultInstanceForType ()
public String getDeidentifyTemplate ()
The fully-qualified DLP deidentify template resource name.
Format:
projects/{project}/deidentifyTemplates/{template}
string deidentify_template = 1;
Returns
Type
Description
String
The deidentifyTemplate.
public ByteString getDeidentifyTemplateBytes ()
The fully-qualified DLP deidentify template resource name.
Format:
projects/{project}/deidentifyTemplates/{template}
string deidentify_template = 1;
Returns
Type
Description
ByteString
The bytes for deidentifyTemplate.
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public String getInspectTemplate ()
The fully-qualified DLP inspect template resource name.
Format:
projects/{project}/inspectTemplates/{template}
string inspect_template = 2;
Returns
Type
Description
String
The inspectTemplate.
public ByteString getInspectTemplateBytes ()
The fully-qualified DLP inspect template resource name.
Format:
projects/{project}/inspectTemplates/{template}
string inspect_template = 2;
Returns
Type
Description
ByteString
The bytes for inspectTemplate.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public RedactionConfig . Builder mergeFrom ( RedactionConfig other )
public RedactionConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public RedactionConfig . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final RedactionConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public RedactionConfig . Builder setDeidentifyTemplate ( String value )
The fully-qualified DLP deidentify template resource name.
Format:
projects/{project}/deidentifyTemplates/{template}
string deidentify_template = 1;
Parameter
Name
Description
value
String
The deidentifyTemplate to set.
public RedactionConfig . Builder setDeidentifyTemplateBytes ( ByteString value )
The fully-qualified DLP deidentify template resource name.
Format:
projects/{project}/deidentifyTemplates/{template}
string deidentify_template = 1;
Parameter
Name
Description
value
ByteString
The bytes for deidentifyTemplate to set.
public RedactionConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public RedactionConfig . Builder setInspectTemplate ( String value )
The fully-qualified DLP inspect template resource name.
Format:
projects/{project}/inspectTemplates/{template}
string inspect_template = 2;
Parameter
Name
Description
value
String
The inspectTemplate to set.
public RedactionConfig . Builder setInspectTemplateBytes ( ByteString value )
The fully-qualified DLP inspect template resource name.
Format:
projects/{project}/inspectTemplates/{template}
string inspect_template = 2;
Parameter
Name
Description
value
ByteString
The bytes for inspectTemplate to set.
public RedactionConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final RedactionConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,[]]