Interface Rule.OnewaySynonymsActionOrBuilder

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

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

    Modifier and Type
    Method
    Description
    getOnewayTerms(int index)
    Will be [deprecated = true] post migration;
    com.google.protobuf.ByteString
    Will be [deprecated = true] post migration;
    int
    Will be [deprecated = true] post migration;
    Will be [deprecated = true] post migration;
    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.
    getSynonyms(int index)
    Defines a set of synonyms.
    com.google.protobuf.ByteString
    getSynonymsBytes(int index)
    Defines a set of synonyms.
    int
    Defines a set of synonyms.
    Defines a set of synonyms.

    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 treat synonyms as their synonyms.
       Not themselves synonyms of the synonyms.
       Can specify up to 100 terms.
       
      repeated string query_terms = 3;
      Returns:
      A list containing the queryTerms.
    • getQueryTermsCount

      int getQueryTermsCount()
       Terms from the search query.
       Will treat synonyms as their synonyms.
       Not themselves synonyms of the synonyms.
       Can specify up to 100 terms.
       
      repeated string query_terms = 3;
      Returns:
      The count of queryTerms.
    • getQueryTerms

      String getQueryTerms(int index)
       Terms from the search query.
       Will treat synonyms as their synonyms.
       Not themselves synonyms of the synonyms.
       Can specify up to 100 terms.
       
      repeated string query_terms = 3;
      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 treat synonyms as their synonyms.
       Not themselves synonyms of the synonyms.
       Can specify up to 100 terms.
       
      repeated string query_terms = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the queryTerms at the given index.
    • getSynonymsList

      List<String> getSynonymsList()
       Defines a set of synonyms.
       Cannot contain duplicates.
       Can specify up to 100 synonyms.
       
      repeated string synonyms = 4;
      Returns:
      A list containing the synonyms.
    • getSynonymsCount

      int getSynonymsCount()
       Defines a set of synonyms.
       Cannot contain duplicates.
       Can specify up to 100 synonyms.
       
      repeated string synonyms = 4;
      Returns:
      The count of synonyms.
    • getSynonyms

      String getSynonyms(int index)
       Defines a set of synonyms.
       Cannot contain duplicates.
       Can specify up to 100 synonyms.
       
      repeated string synonyms = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The synonyms at the given index.
    • getSynonymsBytes

      com.google.protobuf.ByteString getSynonymsBytes(int index)
       Defines a set of synonyms.
       Cannot contain duplicates.
       Can specify up to 100 synonyms.
       
      repeated string synonyms = 4;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the synonyms at the given index.
    • getOnewayTermsList

      List<String> getOnewayTermsList()
       Will be [deprecated = true] post migration;
       
      repeated string oneway_terms = 2;
      Returns:
      A list containing the onewayTerms.
    • getOnewayTermsCount

      int getOnewayTermsCount()
       Will be [deprecated = true] post migration;
       
      repeated string oneway_terms = 2;
      Returns:
      The count of onewayTerms.
    • getOnewayTerms

      String getOnewayTerms(int index)
       Will be [deprecated = true] post migration;
       
      repeated string oneway_terms = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The onewayTerms at the given index.
    • getOnewayTermsBytes

      com.google.protobuf.ByteString getOnewayTermsBytes(int index)
       Will be [deprecated = true] post migration;
       
      repeated string oneway_terms = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the onewayTerms at the given index.