Interface ConditionOrBuilder (2.26.0)

public interface ConditionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActiveTimeRange(int index)

public abstract Condition.TimeRange getActiveTimeRange(int index)

Range of time(s) specifying when Condition is active. Condition true if any time range matches.

repeated .google.cloud.retail.v2.Condition.TimeRange active_time_range = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Condition.TimeRange

getActiveTimeRangeCount()

public abstract int getActiveTimeRangeCount()

Range of time(s) specifying when Condition is active. Condition true if any time range matches.

repeated .google.cloud.retail.v2.Condition.TimeRange active_time_range = 3;

Returns
TypeDescription
int

getActiveTimeRangeList()

public abstract List<Condition.TimeRange> getActiveTimeRangeList()

Range of time(s) specifying when Condition is active. Condition true if any time range matches.

repeated .google.cloud.retail.v2.Condition.TimeRange active_time_range = 3;

Returns
TypeDescription
List<TimeRange>

getActiveTimeRangeOrBuilder(int index)

public abstract Condition.TimeRangeOrBuilder getActiveTimeRangeOrBuilder(int index)

Range of time(s) specifying when Condition is active. Condition true if any time range matches.

repeated .google.cloud.retail.v2.Condition.TimeRange active_time_range = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Condition.TimeRangeOrBuilder

getActiveTimeRangeOrBuilderList()

public abstract List<? extends Condition.TimeRangeOrBuilder> getActiveTimeRangeOrBuilderList()

Range of time(s) specifying when Condition is active. Condition true if any time range matches.

repeated .google.cloud.retail.v2.Condition.TimeRange active_time_range = 3;

Returns
TypeDescription
List<? extends com.google.cloud.retail.v2.Condition.TimeRangeOrBuilder>

getQueryTerms(int index)

public abstract Condition.QueryTerm getQueryTerms(int index)

A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).

repeated .google.cloud.retail.v2.Condition.QueryTerm query_terms = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Condition.QueryTerm

getQueryTermsCount()

public abstract int getQueryTermsCount()

A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).

repeated .google.cloud.retail.v2.Condition.QueryTerm query_terms = 1;

Returns
TypeDescription
int

getQueryTermsList()

public abstract List<Condition.QueryTerm> getQueryTermsList()

A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).

repeated .google.cloud.retail.v2.Condition.QueryTerm query_terms = 1;

Returns
TypeDescription
List<QueryTerm>

getQueryTermsOrBuilder(int index)

public abstract Condition.QueryTermOrBuilder getQueryTermsOrBuilder(int index)

A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).

repeated .google.cloud.retail.v2.Condition.QueryTerm query_terms = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Condition.QueryTermOrBuilder

getQueryTermsOrBuilderList()

public abstract List<? extends Condition.QueryTermOrBuilder> getQueryTermsOrBuilderList()

A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).

repeated .google.cloud.retail.v2.Condition.QueryTerm query_terms = 1;

Returns
TypeDescription
List<? extends com.google.cloud.retail.v2.Condition.QueryTermOrBuilder>