Interface Rule.DoNotAssociateActionOrBuilder (2.53.0)

public static interface Rule.DoNotAssociateActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDoNotAssociateTerms(int index)

public abstract String getDoNotAssociateTerms(int index)

Cannot contain duplicates or the query term. Can specify up to 100 terms.

repeated string do_not_associate_terms = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The doNotAssociateTerms at the given index.

getDoNotAssociateTermsBytes(int index)

public abstract ByteString getDoNotAssociateTermsBytes(int index)

Cannot contain duplicates or the query term. Can specify up to 100 terms.

repeated string do_not_associate_terms = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the doNotAssociateTerms at the given index.

getDoNotAssociateTermsCount()

public abstract int getDoNotAssociateTermsCount()

Cannot contain duplicates or the query term. Can specify up to 100 terms.

repeated string do_not_associate_terms = 3;

Returns
Type Description
int

The count of doNotAssociateTerms.

getDoNotAssociateTermsList()

public abstract List<String> getDoNotAssociateTermsList()

Cannot contain duplicates or the query term. Can specify up to 100 terms.

repeated string do_not_associate_terms = 3;

Returns
Type Description
List<String>

A list containing the doNotAssociateTerms.

getQueryTerms(int index)

public abstract String getQueryTerms(int index)

Terms from the search query. Will not consider do_not_associate_terms for search if in search query. 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 not consider do_not_associate_terms for search if in search query. 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 not consider do_not_associate_terms for search if in search query. 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 not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.

repeated string query_terms = 2;

Returns
Type Description
List<String>

A list containing the queryTerms.

getTerms(int index)

public abstract String getTerms(int index)

Will be [deprecated = true] post migration;

repeated string terms = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The terms at the given index.

getTermsBytes(int index)

public abstract ByteString getTermsBytes(int index)

Will be [deprecated = true] post migration;

repeated string terms = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the terms at the given index.

getTermsCount()

public abstract int getTermsCount()

Will be [deprecated = true] post migration;

repeated string terms = 1;

Returns
Type Description
int

The count of terms.

getTermsList()

public abstract List<String> getTermsList()

Will be [deprecated = true] post migration;

repeated string terms = 1;

Returns
Type Description
List<String>

A list containing the terms.