Interface SuggestionDenyListEntryOrBuilder

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

@Generated public interface SuggestionDenyListEntryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    int
    Required.

    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 Details

    • getBlockPhrase

      String getBlockPhrase()
       Required. Phrase to block from suggestions served. Can be maximum 125
       characters.
       
      string block_phrase = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The blockPhrase.
    • getBlockPhraseBytes

      com.google.protobuf.ByteString getBlockPhraseBytes()
       Required. Phrase to block from suggestions served. Can be maximum 125
       characters.
       
      string block_phrase = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for blockPhrase.
    • getMatchOperatorValue

      int getMatchOperatorValue()
       Required. The match operator to apply for this phrase. Whether to block the
       exact phrase, or block any suggestions containing this phrase.
       
      .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry.MatchOperator match_operator = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for matchOperator.
    • getMatchOperator

       Required. The match operator to apply for this phrase. Whether to block the
       exact phrase, or block any suggestions containing this phrase.
       
      .google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry.MatchOperator match_operator = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The matchOperator.