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}/locations/{location}/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}/locations/{location}/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}/locations/{location}/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}/locations/{location}/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}/locations/{location}/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