Interface Rule.ReplacementActionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Rule.ReplacementAction, Rule.ReplacementAction.Builder
Enclosing class:
Rule

public static interface Rule.ReplacementActionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getQueryTerms(int index)
    Terms from the search query.
    com.google.protobuf.ByteString
    getQueryTermsBytes(int index)
    Terms from the search query.
    int
    Terms from the search query.
    Terms from the search query.
    Term that will be used for replacement.
    com.google.protobuf.ByteString
    Term that will be used for replacement.
    Will be [deprecated = true] post migration;
    com.google.protobuf.ByteString
    Will be [deprecated = true] post migration;

    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

    • getQueryTermsList

      List<String> getQueryTermsList()
       Terms from the search query.
       Will be replaced by replacement term.
       Can specify up to 100 terms.
       
      repeated string query_terms = 2;
      Returns:
      A list containing the queryTerms.
    • getQueryTermsCount

      int getQueryTermsCount()
       Terms from the search query.
       Will be replaced by replacement term.
       Can specify up to 100 terms.
       
      repeated string query_terms = 2;
      Returns:
      The count of queryTerms.
    • getQueryTerms

      String getQueryTerms(int index)
       Terms from the search query.
       Will be replaced by replacement term.
       Can specify up to 100 terms.
       
      repeated string query_terms = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The queryTerms at the given index.
    • getQueryTermsBytes

      com.google.protobuf.ByteString getQueryTermsBytes(int index)
       Terms from the search query.
       Will be replaced by replacement term.
       Can specify up to 100 terms.
       
      repeated string query_terms = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the queryTerms at the given index.
    • getReplacementTerm

      String getReplacementTerm()
       Term that will be used for replacement.
       
      string replacement_term = 3;
      Returns:
      The replacementTerm.
    • getReplacementTermBytes

      com.google.protobuf.ByteString getReplacementTermBytes()
       Term that will be used for replacement.
       
      string replacement_term = 3;
      Returns:
      The bytes for replacementTerm.
    • getTerm

      String getTerm()
       Will be [deprecated = true] post migration;
       
      string term = 1;
      Returns:
      The term.
    • getTermBytes

      com.google.protobuf.ByteString getTermBytes()
       Will be [deprecated = true] post migration;
       
      string term = 1;
      Returns:
      The bytes for term.