Interface Rule.OnewaySynonymsActionOrBuilder (2.2.0)

public static interface Rule.OnewaySynonymsActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOnewayTerms(int index)

public abstract String getOnewayTerms(int index)

Will be [deprecated = true] post migration;

repeated string oneway_terms = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The onewayTerms at the given index.

getOnewayTermsBytes(int index)

public abstract ByteString getOnewayTermsBytes(int index)

Will be [deprecated = true] post migration;

repeated string oneway_terms = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the onewayTerms at the given index.

getOnewayTermsCount()

public abstract int getOnewayTermsCount()

Will be [deprecated = true] post migration;

repeated string oneway_terms = 2;

Returns
TypeDescription
int

The count of onewayTerms.

getOnewayTermsList()

public abstract List<String> getOnewayTermsList()

Will be [deprecated = true] post migration;

repeated string oneway_terms = 2;

Returns
TypeDescription
List<String>

A list containing the onewayTerms.

getQueryTerms(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The queryTerms at the given index.

getQueryTermsBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the queryTerms at the given index.

getQueryTermsCount()

public abstract 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
TypeDescription
int

The count of queryTerms.

getQueryTermsList()

public abstract 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
TypeDescription
List<String>

A list containing the queryTerms.

getSynonyms(int index)

public abstract String getSynonyms(int index)

Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.

repeated string synonyms = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The synonyms at the given index.

getSynonymsBytes(int index)

public abstract ByteString getSynonymsBytes(int index)

Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.

repeated string synonyms = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the synonyms at the given index.

getSynonymsCount()

public abstract int getSynonymsCount()

Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.

repeated string synonyms = 4;

Returns
TypeDescription
int

The count of synonyms.

getSynonymsList()

public abstract List<String> getSynonymsList()

Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.

repeated string synonyms = 4;

Returns
TypeDescription
List<String>

A list containing the synonyms.