- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RedactionConfig.BuilderImplements
RedactionConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RedactionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |
build()
public RedactionConfig build()
Returns | |
---|---|
Type | Description |
RedactionConfig |
buildPartial()
public RedactionConfig buildPartial()
Returns | |
---|---|
Type | Description |
RedactionConfig |
clear()
public RedactionConfig.Builder clear()
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |
clearDeidentifyTemplate()
public RedactionConfig.Builder clearDeidentifyTemplate()
The fully-qualified DLP deidentify template resource name.
Format:
projects/{project}/deidentifyTemplates/{template}
string deidentify_template = 1;
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RedactionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |
clearInspectTemplate()
public RedactionConfig.Builder clearInspectTemplate()
The fully-qualified DLP inspect template resource name.
Format:
projects/{project}/inspectTemplates/{template}
string inspect_template = 2;
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RedactionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |
clone()
public RedactionConfig.Builder clone()
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |
getDefaultInstanceForType()
public RedactionConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RedactionConfig |
getDeidentifyTemplate()
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. |
getDeidentifyTemplateBytes()
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInspectTemplate()
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. |
getInspectTemplateBytes()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RedactionConfig other)
public RedactionConfig.Builder mergeFrom(RedactionConfig other)
Parameter | |
---|---|
Name | Description |
other | RedactionConfig |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RedactionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RedactionConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RedactionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |
setDeidentifyTemplate(String value)
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. |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder | This builder for chaining. |
setDeidentifyTemplateBytes(ByteString value)
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. |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RedactionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |
setInspectTemplate(String value)
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. |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder | This builder for chaining. |
setInspectTemplateBytes(ByteString value)
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. |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RedactionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RedactionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RedactionConfig.Builder |