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 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

      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.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

      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.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

      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.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

      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.v2alpha.Condition.TimeRange active_time_range = 3;
    • getPageCategoriesList

      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][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

      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][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.