Interface Control.SynonymsActionOrBuilder

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

public static interface Control.SynonymsActionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    • getSynonymsList

      List<String> getSynonymsList()
       Defines a set of synonyms.
       Can specify up to 100 synonyms.
       Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is
       thrown.
       
      repeated string synonyms = 1;
      Returns:
      A list containing the synonyms.
    • getSynonymsCount

      int getSynonymsCount()
       Defines a set of synonyms.
       Can specify up to 100 synonyms.
       Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is
       thrown.
       
      repeated string synonyms = 1;
      Returns:
      The count of synonyms.
    • getSynonyms

      String getSynonyms(int index)
       Defines a set of synonyms.
       Can specify up to 100 synonyms.
       Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is
       thrown.
       
      repeated string synonyms = 1;
      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.
       Can specify up to 100 synonyms.
       Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is
       thrown.
       
      repeated string synonyms = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the synonyms at the given index.