Interface MatchingFunctionOrBuilder

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

public interface MatchingFunctionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasFunctionString

      boolean hasFunctionString()
       String representation of the Function.
      
       Examples:
      
       1. IDENTITY(true) or IDENTITY(false). All or no feed items served.
       2. EQUALS(CONTEXT.DEVICE,"Mobile")
       3. IN(FEED_ITEM_ID,{1000001,1000002,1000003})
       4. CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"})
       5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile"))
      
       For more details, visit
       https://developers.google.com/google-ads/api/docs/extensions/feeds/matching-functions
      
       Note that because multiple strings may represent the same underlying
       function (whitespace and single versus double quotation marks, for
       example), the value returned may not be identical to the string sent in a
       mutate request.
       
      optional string function_string = 5;
      Returns:
      Whether the functionString field is set.
    • getFunctionString

      String getFunctionString()
       String representation of the Function.
      
       Examples:
      
       1. IDENTITY(true) or IDENTITY(false). All or no feed items served.
       2. EQUALS(CONTEXT.DEVICE,"Mobile")
       3. IN(FEED_ITEM_ID,{1000001,1000002,1000003})
       4. CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"})
       5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile"))
      
       For more details, visit
       https://developers.google.com/google-ads/api/docs/extensions/feeds/matching-functions
      
       Note that because multiple strings may represent the same underlying
       function (whitespace and single versus double quotation marks, for
       example), the value returned may not be identical to the string sent in a
       mutate request.
       
      optional string function_string = 5;
      Returns:
      The functionString.
    • getFunctionStringBytes

      com.google.protobuf.ByteString getFunctionStringBytes()
       String representation of the Function.
      
       Examples:
      
       1. IDENTITY(true) or IDENTITY(false). All or no feed items served.
       2. EQUALS(CONTEXT.DEVICE,"Mobile")
       3. IN(FEED_ITEM_ID,{1000001,1000002,1000003})
       4. CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"})
       5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile"))
      
       For more details, visit
       https://developers.google.com/google-ads/api/docs/extensions/feeds/matching-functions
      
       Note that because multiple strings may represent the same underlying
       function (whitespace and single versus double quotation marks, for
       example), the value returned may not be identical to the string sent in a
       mutate request.
       
      optional string function_string = 5;
      Returns:
      The bytes for functionString.
    • getOperatorValue

      int getOperatorValue()
       Operator for a function.
       
      .google.ads.googleads.v18.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator operator = 4;
      Returns:
      The enum numeric value on the wire for operator.
    • getOperator

       Operator for a function.
       
      .google.ads.googleads.v18.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator operator = 4;
      Returns:
      The operator.
    • getLeftOperandsList

      List<Operand> getLeftOperandsList()
       The operands on the left hand side of the equation. This is also the
       operand to be used for single operand expressions such as NOT.
       
      repeated .google.ads.googleads.v18.common.Operand left_operands = 2;
    • getLeftOperands

      Operand getLeftOperands(int index)
       The operands on the left hand side of the equation. This is also the
       operand to be used for single operand expressions such as NOT.
       
      repeated .google.ads.googleads.v18.common.Operand left_operands = 2;
    • getLeftOperandsCount

      int getLeftOperandsCount()
       The operands on the left hand side of the equation. This is also the
       operand to be used for single operand expressions such as NOT.
       
      repeated .google.ads.googleads.v18.common.Operand left_operands = 2;
    • getLeftOperandsOrBuilderList

      List<? extends OperandOrBuilder> getLeftOperandsOrBuilderList()
       The operands on the left hand side of the equation. This is also the
       operand to be used for single operand expressions such as NOT.
       
      repeated .google.ads.googleads.v18.common.Operand left_operands = 2;
    • getLeftOperandsOrBuilder

      OperandOrBuilder getLeftOperandsOrBuilder(int index)
       The operands on the left hand side of the equation. This is also the
       operand to be used for single operand expressions such as NOT.
       
      repeated .google.ads.googleads.v18.common.Operand left_operands = 2;
    • getRightOperandsList

      List<Operand> getRightOperandsList()
       The operands on the right hand side of the equation.
       
      repeated .google.ads.googleads.v18.common.Operand right_operands = 3;
    • getRightOperands

      Operand getRightOperands(int index)
       The operands on the right hand side of the equation.
       
      repeated .google.ads.googleads.v18.common.Operand right_operands = 3;
    • getRightOperandsCount

      int getRightOperandsCount()
       The operands on the right hand side of the equation.
       
      repeated .google.ads.googleads.v18.common.Operand right_operands = 3;
    • getRightOperandsOrBuilderList

      List<? extends OperandOrBuilder> getRightOperandsOrBuilderList()
       The operands on the right hand side of the equation.
       
      repeated .google.ads.googleads.v18.common.Operand right_operands = 3;
    • getRightOperandsOrBuilder

      OperandOrBuilder getRightOperandsOrBuilder(int index)
       The operands on the right hand side of the equation.
       
      repeated .google.ads.googleads.v18.common.Operand right_operands = 3;