Class RedactionConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RedactionConfig.Builder>
com.google.cloud.contactcenterinsights.v1.RedactionConfig.Builder
All Implemented Interfaces:
RedactionConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RedactionConfig

public static final class RedactionConfig.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RedactionConfig.Builder>
    • clear

      public RedactionConfig.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RedactionConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RedactionConfig.Builder>
    • getDefaultInstanceForType

      public RedactionConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RedactionConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RedactionConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RedactionConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedactionConfig.Builder>
    • mergeFrom

      public RedactionConfig.Builder mergeFrom(RedactionConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RedactionConfig.Builder>
    • mergeFrom

      public RedactionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RedactionConfig.Builder>
      Throws:
      IOException
    • getDeidentifyTemplate

      public String getDeidentifyTemplate()
       The fully-qualified DLP deidentify template resource name.
       Format:
       `projects/{project}/deidentifyTemplates/{template}`
       
      string deidentify_template = 1;
      Specified by:
      getDeidentifyTemplate in interface RedactionConfigOrBuilder
      Returns:
      The deidentifyTemplate.
    • getDeidentifyTemplateBytes

      public com.google.protobuf.ByteString getDeidentifyTemplateBytes()
       The fully-qualified DLP deidentify template resource name.
       Format:
       `projects/{project}/deidentifyTemplates/{template}`
       
      string deidentify_template = 1;
      Specified by:
      getDeidentifyTemplateBytes in interface RedactionConfigOrBuilder
      Returns:
      The bytes for deidentifyTemplate.
    • setDeidentifyTemplate

      public RedactionConfig.Builder setDeidentifyTemplate(String value)
       The fully-qualified DLP deidentify template resource name.
       Format:
       `projects/{project}/deidentifyTemplates/{template}`
       
      string deidentify_template = 1;
      Parameters:
      value - The deidentifyTemplate to set.
      Returns:
      This builder for chaining.
    • clearDeidentifyTemplate

      public RedactionConfig.Builder clearDeidentifyTemplate()
       The fully-qualified DLP deidentify template resource name.
       Format:
       `projects/{project}/deidentifyTemplates/{template}`
       
      string deidentify_template = 1;
      Returns:
      This builder for chaining.
    • setDeidentifyTemplateBytes

      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;
      Parameters:
      value - The bytes for deidentifyTemplate to set.
      Returns:
      This builder for chaining.
    • getInspectTemplate

      public String getInspectTemplate()
       The fully-qualified DLP inspect template resource name.
       Format:
       `projects/{project}/locations/{location}/inspectTemplates/{template}`
       
      string inspect_template = 2;
      Specified by:
      getInspectTemplate in interface RedactionConfigOrBuilder
      Returns:
      The inspectTemplate.
    • getInspectTemplateBytes

      public com.google.protobuf.ByteString getInspectTemplateBytes()
       The fully-qualified DLP inspect template resource name.
       Format:
       `projects/{project}/locations/{location}/inspectTemplates/{template}`
       
      string inspect_template = 2;
      Specified by:
      getInspectTemplateBytes in interface RedactionConfigOrBuilder
      Returns:
      The bytes for inspectTemplate.
    • setInspectTemplate

      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;
      Parameters:
      value - The inspectTemplate to set.
      Returns:
      This builder for chaining.
    • clearInspectTemplate

      public RedactionConfig.Builder clearInspectTemplate()
       The fully-qualified DLP inspect template resource name.
       Format:
       `projects/{project}/locations/{location}/inspectTemplates/{template}`
       
      string inspect_template = 2;
      Returns:
      This builder for chaining.
    • setInspectTemplateBytes

      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;
      Parameters:
      value - The bytes for inspectTemplate to set.
      Returns:
      This builder for chaining.