Class PhraseMatchRuleConfig.Builder

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

public static final class PhraseMatchRuleConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<PhraseMatchRuleConfig.Builder> implements PhraseMatchRuleConfigOrBuilder
 Configuration information of a phrase match rule.
 
Protobuf type google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig
  • 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<PhraseMatchRuleConfig.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<PhraseMatchRuleConfig.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<PhraseMatchRuleConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public PhraseMatchRuleConfig.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<PhraseMatchRuleConfig.Builder>
    • mergeFrom

    • isInitialized

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

      public PhraseMatchRuleConfig.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<PhraseMatchRuleConfig.Builder>
      Throws:
      IOException
    • getConfigCase

      public PhraseMatchRuleConfig.ConfigCase getConfigCase()
      Specified by:
      getConfigCase in interface PhraseMatchRuleConfigOrBuilder
    • clearConfig

      public PhraseMatchRuleConfig.Builder clearConfig()
    • hasExactMatchConfig

      public boolean hasExactMatchConfig()
       The configuration for the exact match rule.
       
      .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;
      Specified by:
      hasExactMatchConfig in interface PhraseMatchRuleConfigOrBuilder
      Returns:
      Whether the exactMatchConfig field is set.
    • getExactMatchConfig

      public ExactMatchConfig getExactMatchConfig()
       The configuration for the exact match rule.
       
      .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;
      Specified by:
      getExactMatchConfig in interface PhraseMatchRuleConfigOrBuilder
      Returns:
      The exactMatchConfig.
    • setExactMatchConfig

      public PhraseMatchRuleConfig.Builder setExactMatchConfig(ExactMatchConfig value)
       The configuration for the exact match rule.
       
      .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;
    • setExactMatchConfig

      public PhraseMatchRuleConfig.Builder setExactMatchConfig(ExactMatchConfig.Builder builderForValue)
       The configuration for the exact match rule.
       
      .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;
    • mergeExactMatchConfig

      public PhraseMatchRuleConfig.Builder mergeExactMatchConfig(ExactMatchConfig value)
       The configuration for the exact match rule.
       
      .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;
    • clearExactMatchConfig

      public PhraseMatchRuleConfig.Builder clearExactMatchConfig()
       The configuration for the exact match rule.
       
      .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;
    • getExactMatchConfigBuilder

      public ExactMatchConfig.Builder getExactMatchConfigBuilder()
       The configuration for the exact match rule.
       
      .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;
    • getExactMatchConfigOrBuilder

      public ExactMatchConfigOrBuilder getExactMatchConfigOrBuilder()
       The configuration for the exact match rule.
       
      .google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;
      Specified by:
      getExactMatchConfigOrBuilder in interface PhraseMatchRuleConfigOrBuilder