Interface Rule.ReplacementActionOrBuilder (2.49.0)

public static interface Rule.ReplacementActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getQueryTerms(int index)

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The queryTerms at the given index.

getQueryTermsBytes(int index)

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the queryTerms at the given index.

getQueryTermsCount()

public abstract 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
Type Description
int

The count of queryTerms.

getQueryTermsList()

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

A list containing the queryTerms.

getReplacementTerm()

public abstract String getReplacementTerm()

Term that will be used for replacement.

string replacement_term = 3;

Returns
Type Description
String

The replacementTerm.

getReplacementTermBytes()

public abstract ByteString getReplacementTermBytes()

Term that will be used for replacement.

string replacement_term = 3;

Returns
Type Description
ByteString

The bytes for replacementTerm.

getTerm()

public abstract String getTerm()

Will be [deprecated = true] post migration;

string term = 1;

Returns
Type Description
String

The term.

getTermBytes()

public abstract ByteString getTermBytes()

Will be [deprecated = true] post migration;

string term = 1;

Returns
Type Description
ByteString

The bytes for term.