Interface RuleOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Rule, Rule.Builder

    public interface RuleOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasBoostAction

        boolean hasBoostAction()
         A boost action.
         
        .google.cloud.retail.v2beta.Rule.BoostAction boost_action = 2;
        Returns:
        Whether the boostAction field is set.
      • getBoostAction

        Rule.BoostAction getBoostAction()
         A boost action.
         
        .google.cloud.retail.v2beta.Rule.BoostAction boost_action = 2;
        Returns:
        The boostAction.
      • getBoostActionOrBuilder

        Rule.BoostActionOrBuilder getBoostActionOrBuilder()
         A boost action.
         
        .google.cloud.retail.v2beta.Rule.BoostAction boost_action = 2;
      • hasRedirectAction

        boolean hasRedirectAction()
         Redirects a shopper to a specific page.
         
        .google.cloud.retail.v2beta.Rule.RedirectAction redirect_action = 3;
        Returns:
        Whether the redirectAction field is set.
      • getRedirectAction

        Rule.RedirectAction getRedirectAction()
         Redirects a shopper to a specific page.
         
        .google.cloud.retail.v2beta.Rule.RedirectAction redirect_action = 3;
        Returns:
        The redirectAction.
      • getRedirectActionOrBuilder

        Rule.RedirectActionOrBuilder getRedirectActionOrBuilder()
         Redirects a shopper to a specific page.
         
        .google.cloud.retail.v2beta.Rule.RedirectAction redirect_action = 3;
      • hasOnewaySynonymsAction

        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.v2beta.Rule.OnewaySynonymsAction oneway_synonyms_action = 6;
        Returns:
        Whether the onewaySynonymsAction field is set.
      • getOnewaySynonymsAction

        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.v2beta.Rule.OnewaySynonymsAction oneway_synonyms_action = 6;
        Returns:
        The onewaySynonymsAction.
      • getOnewaySynonymsActionOrBuilder

        Rule.OnewaySynonymsActionOrBuilder getOnewaySynonymsActionOrBuilder()
         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.v2beta.Rule.OnewaySynonymsAction oneway_synonyms_action = 6;
      • hasDoNotAssociateAction

        boolean hasDoNotAssociateAction()
         Prevents term from being associated with other terms.
         
        .google.cloud.retail.v2beta.Rule.DoNotAssociateAction do_not_associate_action = 7;
        Returns:
        Whether the doNotAssociateAction field is set.
      • getDoNotAssociateAction

        Rule.DoNotAssociateAction getDoNotAssociateAction()
         Prevents term from being associated with other terms.
         
        .google.cloud.retail.v2beta.Rule.DoNotAssociateAction do_not_associate_action = 7;
        Returns:
        The doNotAssociateAction.
      • getDoNotAssociateActionOrBuilder

        Rule.DoNotAssociateActionOrBuilder getDoNotAssociateActionOrBuilder()
         Prevents term from being associated with other terms.
         
        .google.cloud.retail.v2beta.Rule.DoNotAssociateAction do_not_associate_action = 7;
      • hasReplacementAction

        boolean hasReplacementAction()
         Replaces specific terms in the query.
         
        .google.cloud.retail.v2beta.Rule.ReplacementAction replacement_action = 8;
        Returns:
        Whether the replacementAction field is set.
      • getReplacementAction

        Rule.ReplacementAction getReplacementAction()
         Replaces specific terms in the query.
         
        .google.cloud.retail.v2beta.Rule.ReplacementAction replacement_action = 8;
        Returns:
        The replacementAction.
      • getReplacementActionOrBuilder

        Rule.ReplacementActionOrBuilder getReplacementActionOrBuilder()
         Replaces specific terms in the query.
         
        .google.cloud.retail.v2beta.Rule.ReplacementAction replacement_action = 8;
      • hasIgnoreAction

        boolean hasIgnoreAction()
         Ignores specific terms from query during search.
         
        .google.cloud.retail.v2beta.Rule.IgnoreAction ignore_action = 9;
        Returns:
        Whether the ignoreAction field is set.
      • getIgnoreAction

        Rule.IgnoreAction getIgnoreAction()
         Ignores specific terms from query during search.
         
        .google.cloud.retail.v2beta.Rule.IgnoreAction ignore_action = 9;
        Returns:
        The ignoreAction.
      • getIgnoreActionOrBuilder

        Rule.IgnoreActionOrBuilder getIgnoreActionOrBuilder()
         Ignores specific terms from query during search.
         
        .google.cloud.retail.v2beta.Rule.IgnoreAction ignore_action = 9;
      • hasFilterAction

        boolean hasFilterAction()
         Filters results.
         
        .google.cloud.retail.v2beta.Rule.FilterAction filter_action = 10;
        Returns:
        Whether the filterAction field is set.
      • getFilterAction

        Rule.FilterAction getFilterAction()
         Filters results.
         
        .google.cloud.retail.v2beta.Rule.FilterAction filter_action = 10;
        Returns:
        The filterAction.
      • getFilterActionOrBuilder

        Rule.FilterActionOrBuilder getFilterActionOrBuilder()
         Filters results.
         
        .google.cloud.retail.v2beta.Rule.FilterAction filter_action = 10;
      • hasTwowaySynonymsAction

        boolean hasTwowaySynonymsAction()
         Treats a set of terms as synonyms of one another.
         
        .google.cloud.retail.v2beta.Rule.TwowaySynonymsAction twoway_synonyms_action = 11;
        Returns:
        Whether the twowaySynonymsAction field is set.
      • getTwowaySynonymsAction

        Rule.TwowaySynonymsAction getTwowaySynonymsAction()
         Treats a set of terms as synonyms of one another.
         
        .google.cloud.retail.v2beta.Rule.TwowaySynonymsAction twoway_synonyms_action = 11;
        Returns:
        The twowaySynonymsAction.
      • getTwowaySynonymsActionOrBuilder

        Rule.TwowaySynonymsActionOrBuilder getTwowaySynonymsActionOrBuilder()
         Treats a set of terms as synonyms of one another.
         
        .google.cloud.retail.v2beta.Rule.TwowaySynonymsAction twoway_synonyms_action = 11;
      • hasCondition

        boolean hasCondition()
         Required. The condition that triggers the rule.
         If the condition is empty, the rule will always apply.
         
        .google.cloud.retail.v2beta.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the condition field is set.
      • getCondition

        Condition getCondition()
         Required. The condition that triggers the rule.
         If the condition is empty, the rule will always apply.
         
        .google.cloud.retail.v2beta.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The condition.
      • getConditionOrBuilder

        ConditionOrBuilder getConditionOrBuilder()
         Required. The condition that triggers the rule.
         If the condition is empty, the rule will always apply.
         
        .google.cloud.retail.v2beta.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED];