public static final class RedactionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder> implements RedactionConfigOrBuilder
DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations, redaction should be performed in Dialogflow / Agent Assist.Protobuf type
google.cloud.contactcenterinsights.v1.RedactionConfig| Modifier and Type | Method and Description |
|---|---|
RedactionConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RedactionConfig |
build() |
RedactionConfig |
buildPartial() |
RedactionConfig.Builder |
clear() |
RedactionConfig.Builder |
clearDeidentifyTemplate()
The fully-qualified DLP deidentify template resource name.
|
RedactionConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RedactionConfig.Builder |
clearInspectTemplate()
The fully-qualified DLP inspect template resource name.
|
RedactionConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RedactionConfig.Builder |
clone() |
RedactionConfig |
getDefaultInstanceForType() |
String |
getDeidentifyTemplate()
The fully-qualified DLP deidentify template resource name.
|
com.google.protobuf.ByteString |
getDeidentifyTemplateBytes()
The fully-qualified DLP deidentify template resource name.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInspectTemplate()
The fully-qualified DLP inspect template resource name.
|
com.google.protobuf.ByteString |
getInspectTemplateBytes()
The fully-qualified DLP inspect template resource name.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RedactionConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RedactionConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
RedactionConfig.Builder |
mergeFrom(RedactionConfig other) |
RedactionConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RedactionConfig.Builder |
setDeidentifyTemplate(String value)
The fully-qualified DLP deidentify template resource name.
|
RedactionConfig.Builder |
setDeidentifyTemplateBytes(com.google.protobuf.ByteString value)
The fully-qualified DLP deidentify template resource name.
|
RedactionConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RedactionConfig.Builder |
setInspectTemplate(String value)
The fully-qualified DLP inspect template resource name.
|
RedactionConfig.Builder |
setInspectTemplateBytes(com.google.protobuf.ByteString value)
The fully-qualified DLP inspect template resource name.
|
RedactionConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RedactionConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>public RedactionConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>public RedactionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RedactionConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RedactionConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RedactionConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>public RedactionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>public RedactionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>public RedactionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>public RedactionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>public RedactionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>public RedactionConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedactionConfig.Builder>public RedactionConfig.Builder mergeFrom(RedactionConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>public RedactionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedactionConfig.Builder>IOExceptionpublic String getDeidentifyTemplate()
The fully-qualified DLP deidentify template resource name.
Format:
`projects/{project}/deidentifyTemplates/{template}`
string deidentify_template = 1;getDeidentifyTemplate in interface RedactionConfigOrBuilderpublic com.google.protobuf.ByteString getDeidentifyTemplateBytes()
The fully-qualified DLP deidentify template resource name.
Format:
`projects/{project}/deidentifyTemplates/{template}`
string deidentify_template = 1;getDeidentifyTemplateBytes in interface RedactionConfigOrBuilderpublic RedactionConfig.Builder setDeidentifyTemplate(String value)
The fully-qualified DLP deidentify template resource name.
Format:
`projects/{project}/deidentifyTemplates/{template}`
string deidentify_template = 1;value - The deidentifyTemplate to set.public RedactionConfig.Builder clearDeidentifyTemplate()
The fully-qualified DLP deidentify template resource name.
Format:
`projects/{project}/deidentifyTemplates/{template}`
string deidentify_template = 1;public RedactionConfig.Builder setDeidentifyTemplateBytes(com.google.protobuf.ByteString value)
The fully-qualified DLP deidentify template resource name.
Format:
`projects/{project}/deidentifyTemplates/{template}`
string deidentify_template = 1;value - The bytes for deidentifyTemplate to set.public String getInspectTemplate()
The fully-qualified DLP inspect template resource name.
Format:
`projects/{project}/locations/{location}/inspectTemplates/{template}`
string inspect_template = 2;getInspectTemplate in interface RedactionConfigOrBuilderpublic com.google.protobuf.ByteString getInspectTemplateBytes()
The fully-qualified DLP inspect template resource name.
Format:
`projects/{project}/locations/{location}/inspectTemplates/{template}`
string inspect_template = 2;getInspectTemplateBytes in interface RedactionConfigOrBuilderpublic RedactionConfig.Builder setInspectTemplate(String value)
The fully-qualified DLP inspect template resource name.
Format:
`projects/{project}/locations/{location}/inspectTemplates/{template}`
string inspect_template = 2;value - The inspectTemplate to set.public RedactionConfig.Builder clearInspectTemplate()
The fully-qualified DLP inspect template resource name.
Format:
`projects/{project}/locations/{location}/inspectTemplates/{template}`
string inspect_template = 2;public RedactionConfig.Builder setInspectTemplateBytes(com.google.protobuf.ByteString value)
The fully-qualified DLP inspect template resource name.
Format:
`projects/{project}/locations/{location}/inspectTemplates/{template}`
string inspect_template = 2;value - The bytes for inspectTemplate to set.public final RedactionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>public final RedactionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RedactionConfig.Builder>Copyright © 2025 Google LLC. All rights reserved.