Class RedactionConfig (2.16.0)

public final class RedactionConfig extends GeneratedMessageV3 implements RedactionConfigOrBuilder

DLP resources used for redaction while ingesting conversations.

Protobuf type google.cloud.contactcenterinsights.v1.RedactionConfig

Static Fields

DEIDENTIFY_TEMPLATE_FIELD_NUMBER

public static final int DEIDENTIFY_TEMPLATE_FIELD_NUMBER
Field Value
TypeDescription
int

INSPECT_TEMPLATE_FIELD_NUMBER

public static final int INSPECT_TEMPLATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RedactionConfig getDefaultInstance()
Returns
TypeDescription
RedactionConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RedactionConfig.Builder newBuilder()
Returns
TypeDescription
RedactionConfig.Builder

newBuilder(RedactionConfig prototype)

public static RedactionConfig.Builder newBuilder(RedactionConfig prototype)
Parameter
NameDescription
prototypeRedactionConfig
Returns
TypeDescription
RedactionConfig.Builder

parseDelimitedFrom(InputStream input)

public static RedactionConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RedactionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RedactionConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RedactionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RedactionConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RedactionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RedactionConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RedactionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RedactionConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RedactionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RedactionConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RedactionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RedactionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RedactionConfig> parser()
Returns
TypeDescription
Parser<RedactionConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RedactionConfig getDefaultInstanceForType()
Returns
TypeDescription
RedactionConfig

getDeidentifyTemplate()

public String getDeidentifyTemplate()

The fully-qualified DLP deidentify template resource name. Format: projects/{project}/deidentifyTemplates/{template}

string deidentify_template = 1;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for deidentifyTemplate.

getInspectTemplate()

public String getInspectTemplate()

The fully-qualified DLP inspect template resource name. Format: projects/{project}/inspectTemplates/{template}

string inspect_template = 2;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for inspectTemplate.

getParserForType()

public Parser<RedactionConfig> getParserForType()
Returns
TypeDescription
Parser<RedactionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RedactionConfig.Builder newBuilderForType()
Returns
TypeDescription
RedactionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RedactionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RedactionConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RedactionConfig.Builder toBuilder()
Returns
TypeDescription
RedactionConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException