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

com.google.cloud.retail.v2alpha.RuleOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.55.0
Show 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/v2alpha/common.proto

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

public interface RuleOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.retail.v2alpha.Rule)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * A boost action.
   * 
* * .google.cloud.retail.v2alpha.Rule.BoostAction boost_action = 2; * * @return Whether the boostAction field is set. */ boolean hasBoostAction(); /** * * *
   * A boost action.
   * 
* * .google.cloud.retail.v2alpha.Rule.BoostAction boost_action = 2; * * @return The boostAction. */ com.google.cloud.retail.v2alpha.Rule.BoostAction getBoostAction(); /** * * *
   * A boost action.
   * 
* * .google.cloud.retail.v2alpha.Rule.BoostAction boost_action = 2; */ com.google.cloud.retail.v2alpha.Rule.BoostActionOrBuilder getBoostActionOrBuilder(); /** * * *
   * Redirects a shopper to a specific page.
   * 
* * .google.cloud.retail.v2alpha.Rule.RedirectAction redirect_action = 3; * * @return Whether the redirectAction field is set. */ boolean hasRedirectAction(); /** * * *
   * Redirects a shopper to a specific page.
   * 
* * .google.cloud.retail.v2alpha.Rule.RedirectAction redirect_action = 3; * * @return The redirectAction. */ com.google.cloud.retail.v2alpha.Rule.RedirectAction getRedirectAction(); /** * * *
   * Redirects a shopper to a specific page.
   * 
* * .google.cloud.retail.v2alpha.Rule.RedirectAction redirect_action = 3; */ com.google.cloud.retail.v2alpha.Rule.RedirectActionOrBuilder getRedirectActionOrBuilder(); /** * * *
   * Treats specific term as a synonym with a group of terms.
   * Group of terms will not be treated as synonyms with the specific term.
   * 
* * .google.cloud.retail.v2alpha.Rule.OnewaySynonymsAction oneway_synonyms_action = 6; * * @return Whether the onewaySynonymsAction field is set. */ boolean hasOnewaySynonymsAction(); /** * * *
   * Treats specific term as a synonym with a group of terms.
   * Group of terms will not be treated as synonyms with the specific term.
   * 
* * .google.cloud.retail.v2alpha.Rule.OnewaySynonymsAction oneway_synonyms_action = 6; * * @return The onewaySynonymsAction. */ com.google.cloud.retail.v2alpha.Rule.OnewaySynonymsAction getOnewaySynonymsAction(); /** * * *
   * Treats specific term as a synonym with a group of terms.
   * Group of terms will not be treated as synonyms with the specific term.
   * 
* * .google.cloud.retail.v2alpha.Rule.OnewaySynonymsAction oneway_synonyms_action = 6; */ com.google.cloud.retail.v2alpha.Rule.OnewaySynonymsActionOrBuilder getOnewaySynonymsActionOrBuilder(); /** * * *
   * Prevents term from being associated with other terms.
   * 
* * .google.cloud.retail.v2alpha.Rule.DoNotAssociateAction do_not_associate_action = 7; * * * @return Whether the doNotAssociateAction field is set. */ boolean hasDoNotAssociateAction(); /** * * *
   * Prevents term from being associated with other terms.
   * 
* * .google.cloud.retail.v2alpha.Rule.DoNotAssociateAction do_not_associate_action = 7; * * * @return The doNotAssociateAction. */ com.google.cloud.retail.v2alpha.Rule.DoNotAssociateAction getDoNotAssociateAction(); /** * * *
   * Prevents term from being associated with other terms.
   * 
* * .google.cloud.retail.v2alpha.Rule.DoNotAssociateAction do_not_associate_action = 7; * */ com.google.cloud.retail.v2alpha.Rule.DoNotAssociateActionOrBuilder getDoNotAssociateActionOrBuilder(); /** * * *
   * Replaces specific terms in the query.
   * 
* * .google.cloud.retail.v2alpha.Rule.ReplacementAction replacement_action = 8; * * @return Whether the replacementAction field is set. */ boolean hasReplacementAction(); /** * * *
   * Replaces specific terms in the query.
   * 
* * .google.cloud.retail.v2alpha.Rule.ReplacementAction replacement_action = 8; * * @return The replacementAction. */ com.google.cloud.retail.v2alpha.Rule.ReplacementAction getReplacementAction(); /** * * *
   * Replaces specific terms in the query.
   * 
* * .google.cloud.retail.v2alpha.Rule.ReplacementAction replacement_action = 8; */ com.google.cloud.retail.v2alpha.Rule.ReplacementActionOrBuilder getReplacementActionOrBuilder(); /** * * *
   * Ignores specific terms from query during search.
   * 
* * .google.cloud.retail.v2alpha.Rule.IgnoreAction ignore_action = 9; * * @return Whether the ignoreAction field is set. */ boolean hasIgnoreAction(); /** * * *
   * Ignores specific terms from query during search.
   * 
* * .google.cloud.retail.v2alpha.Rule.IgnoreAction ignore_action = 9; * * @return The ignoreAction. */ com.google.cloud.retail.v2alpha.Rule.IgnoreAction getIgnoreAction(); /** * * *
   * Ignores specific terms from query during search.
   * 
* * .google.cloud.retail.v2alpha.Rule.IgnoreAction ignore_action = 9; */ com.google.cloud.retail.v2alpha.Rule.IgnoreActionOrBuilder getIgnoreActionOrBuilder(); /** * * *
   * Filters results.
   * 
* * .google.cloud.retail.v2alpha.Rule.FilterAction filter_action = 10; * * @return Whether the filterAction field is set. */ boolean hasFilterAction(); /** * * *
   * Filters results.
   * 
* * .google.cloud.retail.v2alpha.Rule.FilterAction filter_action = 10; * * @return The filterAction. */ com.google.cloud.retail.v2alpha.Rule.FilterAction getFilterAction(); /** * * *
   * Filters results.
   * 
* * .google.cloud.retail.v2alpha.Rule.FilterAction filter_action = 10; */ com.google.cloud.retail.v2alpha.Rule.FilterActionOrBuilder getFilterActionOrBuilder(); /** * * *
   * Treats a set of terms as synonyms of one another.
   * 
* * .google.cloud.retail.v2alpha.Rule.TwowaySynonymsAction twoway_synonyms_action = 11; * * * @return Whether the twowaySynonymsAction field is set. */ boolean hasTwowaySynonymsAction(); /** * * *
   * Treats a set of terms as synonyms of one another.
   * 
* * .google.cloud.retail.v2alpha.Rule.TwowaySynonymsAction twoway_synonyms_action = 11; * * * @return The twowaySynonymsAction. */ com.google.cloud.retail.v2alpha.Rule.TwowaySynonymsAction getTwowaySynonymsAction(); /** * * *
   * Treats a set of terms as synonyms of one another.
   * 
* * .google.cloud.retail.v2alpha.Rule.TwowaySynonymsAction twoway_synonyms_action = 11; * */ com.google.cloud.retail.v2alpha.Rule.TwowaySynonymsActionOrBuilder getTwowaySynonymsActionOrBuilder(); /** * * *
   * Force returns an attribute as a facet in the request.
   * 
* * .google.cloud.retail.v2alpha.Rule.ForceReturnFacetAction force_return_facet_action = 12; * * * @return Whether the forceReturnFacetAction field is set. */ boolean hasForceReturnFacetAction(); /** * * *
   * Force returns an attribute as a facet in the request.
   * 
* * .google.cloud.retail.v2alpha.Rule.ForceReturnFacetAction force_return_facet_action = 12; * * * @return The forceReturnFacetAction. */ com.google.cloud.retail.v2alpha.Rule.ForceReturnFacetAction getForceReturnFacetAction(); /** * * *
   * Force returns an attribute as a facet in the request.
   * 
* * .google.cloud.retail.v2alpha.Rule.ForceReturnFacetAction force_return_facet_action = 12; * */ com.google.cloud.retail.v2alpha.Rule.ForceReturnFacetActionOrBuilder getForceReturnFacetActionOrBuilder(); /** * * *
   * Remove an attribute as a facet in the request (if present).
   * 
* * .google.cloud.retail.v2alpha.Rule.RemoveFacetAction remove_facet_action = 13; * * @return Whether the removeFacetAction field is set. */ boolean hasRemoveFacetAction(); /** * * *
   * Remove an attribute as a facet in the request (if present).
   * 
* * .google.cloud.retail.v2alpha.Rule.RemoveFacetAction remove_facet_action = 13; * * @return The removeFacetAction. */ com.google.cloud.retail.v2alpha.Rule.RemoveFacetAction getRemoveFacetAction(); /** * * *
   * Remove an attribute as a facet in the request (if present).
   * 
* * .google.cloud.retail.v2alpha.Rule.RemoveFacetAction remove_facet_action = 13; */ com.google.cloud.retail.v2alpha.Rule.RemoveFacetActionOrBuilder getRemoveFacetActionOrBuilder(); /** * * *
   * Required. The condition that triggers the rule.
   * If the condition is empty, the rule will always apply.
   * 
* * * .google.cloud.retail.v2alpha.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the condition field is set. */ boolean hasCondition(); /** * * *
   * Required. The condition that triggers the rule.
   * If the condition is empty, the rule will always apply.
   * 
* * * .google.cloud.retail.v2alpha.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED]; * * * @return The condition. */ com.google.cloud.retail.v2alpha.Condition getCondition(); /** * * *
   * Required. The condition that triggers the rule.
   * If the condition is empty, the rule will always apply.
   * 
* * * .google.cloud.retail.v2alpha.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED]; * */ com.google.cloud.retail.v2alpha.ConditionOrBuilder getConditionOrBuilder(); com.google.cloud.retail.v2alpha.Rule.ActionCase getActionCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy