All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.retail.v2.ConditionOrBuilder Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/retail/v2/common.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.retail.v2;

public interface ConditionOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.retail.v2.Condition)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * 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; */ java.util.List 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; */ com.google.cloud.retail.v2.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; */ 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; */ java.util.List 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; */ com.google.cloud.retail.v2.Condition.QueryTermOrBuilder getQueryTermsOrBuilder(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; */ java.util.List 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; */ com.google.cloud.retail.v2.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; */ 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; */ java.util.List 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; */ com.google.cloud.retail.v2.Condition.TimeRangeOrBuilder getActiveTimeRangeOrBuilder(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.v2.UserEvent.page_categories];
   * 
* * repeated string page_categories = 4; * * @return A list containing the pageCategories. */ java.util.List 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.v2.UserEvent.page_categories];
   * 
* * repeated string page_categories = 4; * * @return The count of pageCategories. */ 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.v2.UserEvent.page_categories];
   * 
* * repeated string page_categories = 4; * * @param index The index of the element to return. * @return The pageCategories at the given index. */ java.lang.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.v2.UserEvent.page_categories];
   * 
* * repeated string page_categories = 4; * * @param index The index of the value to return. * @return The bytes of the pageCategories at the given index. */ com.google.protobuf.ByteString getPageCategoriesBytes(int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy