Package com.google.cloud.retail.v2alpha
Interface ConditionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Condition,Condition.Builder
@Generated
public interface ConditionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetActiveTimeRange(int index) Range of time(s) specifying when Condition is active.intRange of time(s) specifying when Condition is active.Range of time(s) specifying when Condition is active.getActiveTimeRangeOrBuilder(int index) Range of time(s) specifying when Condition is active.List<? extends Condition.TimeRangeOrBuilder>Range of time(s) specifying when Condition is active.getPageCategories(int index) Used to support browse uses cases.com.google.protobuf.ByteStringgetPageCategoriesBytes(int index) Used to support browse uses cases.intUsed to support browse uses cases.Used to support browse uses cases.getQueryTerms(int index) A list (up to 10 entries) of terms to match the query on.intA list (up to 10 entries) of terms to match the query on.A list (up to 10 entries) of terms to match the query on.getQueryTermsOrBuilder(int index) A list (up to 10 entries) of terms to match the query on.List<? extends Condition.QueryTermOrBuilder>A list (up to 10 entries) of terms to match the query on.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getQueryTermsList
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.v2alpha.Condition.QueryTerm query_terms = 1; -
getQueryTerms
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.v2alpha.Condition.QueryTerm query_terms = 1; -
getQueryTermsCount
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.v2alpha.Condition.QueryTerm query_terms = 1; -
getQueryTermsOrBuilderList
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.v2alpha.Condition.QueryTerm query_terms = 1; -
getQueryTermsOrBuilder
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.v2alpha.Condition.QueryTerm query_terms = 1; -
getActiveTimeRangeList
List<Condition.TimeRange> getActiveTimeRangeList()Range of time(s) specifying when Condition is active. Condition true if any time range matches.
repeated .google.cloud.retail.v2alpha.Condition.TimeRange active_time_range = 3; -
getActiveTimeRange
Range of time(s) specifying when Condition is active. Condition true if any time range matches.
repeated .google.cloud.retail.v2alpha.Condition.TimeRange active_time_range = 3; -
getActiveTimeRangeCount
int getActiveTimeRangeCount()Range of time(s) specifying when Condition is active. Condition true if any time range matches.
repeated .google.cloud.retail.v2alpha.Condition.TimeRange active_time_range = 3; -
getActiveTimeRangeOrBuilderList
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.v2alpha.Condition.TimeRange active_time_range = 3; -
getActiveTimeRangeOrBuilder
Range of time(s) specifying when Condition is active. Condition true if any time range matches.
repeated .google.cloud.retail.v2alpha.Condition.TimeRange active_time_range = 3; -
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][google.cloud.retail.v2alpha.UserEvent.page_categories];
repeated string page_categories = 4;- Returns:
- A list containing the pageCategories.
-
getPageCategoriesCount
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][google.cloud.retail.v2alpha.UserEvent.page_categories];
repeated string page_categories = 4;- Returns:
- The count of pageCategories.
-
getPageCategories
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][google.cloud.retail.v2alpha.UserEvent.page_categories];
repeated string page_categories = 4;- Parameters:
index- The index of the element to return.- Returns:
- The pageCategories at the given index.
-
getPageCategoriesBytes
com.google.protobuf.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][google.cloud.retail.v2alpha.UserEvent.page_categories];
repeated string page_categories = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pageCategories at the given index.
-