Interface ConditionOrBuilder (2.44.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.retail.v2.Condition.QueryTermOrBuilder>