Interface ConditionOrBuilder (2.56.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.v2beta.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.v2beta.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.v2beta.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.v2beta.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.v2beta.Condition.TimeRange active_time_range = 3;

Returns
Type Description
List<? extends com.google.cloud.retail.v2beta.Condition.TimeRangeOrBuilder>

getPageCategories(int index)

public abstract String getPageCategories(int index)

Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;

repeated string page_categories = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The pageCategories at the given index.

getPageCategoriesBytes(int index)

public abstract ByteString getPageCategoriesBytes(int index)

Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;

repeated string page_categories = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the pageCategories at the given index.

getPageCategoriesCount()

public abstract int getPageCategoriesCount()

Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;

repeated string page_categories = 4;

Returns
Type Description
int

The count of pageCategories.

getPageCategoriesList()

public abstract List<String> getPageCategoriesList()

Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;

repeated string page_categories = 4;

Returns
Type Description
List<String>

A list containing the pageCategories.

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.v2beta.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.v2beta.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.v2beta.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.v2beta.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.v2beta.Condition.QueryTerm query_terms = 1;

Returns
Type Description
List<? extends com.google.cloud.retail.v2beta.Condition.QueryTermOrBuilder>