Interface PhraseMatchRuleOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    PhraseMatchRule, PhraseMatchRule.Builder

    public interface PhraseMatchRuleOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      PhraseMatchRuleConfig getConfig()
      Provides additional information about the rule that specifies how to apply the rule.
      PhraseMatchRuleConfigOrBuilder getConfigOrBuilder()
      Provides additional information about the rule that specifies how to apply the rule.
      boolean getNegated()
      Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
      String getQuery()
      Required.
      com.google.protobuf.ByteString getQueryBytes()
      Required.
      boolean hasConfig()
      Provides additional information about the rule that specifies how to apply the rule.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getQuery

        String getQuery()
         Required. The phrase to be matched.
         
        string query = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The query.
      • getQueryBytes

        com.google.protobuf.ByteString getQueryBytes()
         Required. The phrase to be matched.
         
        string query = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for query.
      • getNegated

        boolean getNegated()
         Specifies whether the phrase must be missing from the transcript segment or
         present in the transcript segment.
         
        bool negated = 2;
        Returns:
        The negated.
      • hasConfig

        boolean hasConfig()
         Provides additional information about the rule that specifies how to apply
         the rule.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
        Returns:
        Whether the config field is set.
      • getConfig

        PhraseMatchRuleConfig getConfig()
         Provides additional information about the rule that specifies how to apply
         the rule.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;
        Returns:
        The config.
      • getConfigOrBuilder

        PhraseMatchRuleConfigOrBuilder getConfigOrBuilder()
         Provides additional information about the rule that specifies how to apply
         the rule.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;