Interface Expr.ComprehensionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Expr.Comprehension, Expr.Comprehension.Builder
Enclosing class:
Expr

public static interface Expr.ComprehensionOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The initial value of the accumulator.
    The name of the variable used for accumulation of the result.
    com.google.protobuf.ByteString
    The name of the variable used for accumulation of the result.
    The range over which var iterates.
    The name of the iteration variable.
    com.google.protobuf.ByteString
    The name of the iteration variable.
    An expression which can contain iter_var and accu_var.
    An expression which can contain iter_var and accu_var.
    An expression which can contain accu_var.
    boolean
    The initial value of the accumulator.
    boolean
    The range over which var iterates.
    boolean
    An expression which can contain iter_var and accu_var.
    boolean
    An expression which can contain iter_var and accu_var.
    boolean
    An expression which can contain accu_var.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getIterVar

      String getIterVar()
       The name of the iteration variable.
       
      string iter_var = 1 [json_name = "iterVar"];
      Returns:
      The iterVar.
    • getIterVarBytes

      com.google.protobuf.ByteString getIterVarBytes()
       The name of the iteration variable.
       
      string iter_var = 1 [json_name = "iterVar"];
      Returns:
      The bytes for iterVar.
    • hasIterRange

      boolean hasIterRange()
       The range over which var iterates.
       
      .google.api.expr.v1beta1.Expr iter_range = 2 [json_name = "iterRange"];
      Returns:
      Whether the iterRange field is set.
    • getIterRange

      Expr getIterRange()
       The range over which var iterates.
       
      .google.api.expr.v1beta1.Expr iter_range = 2 [json_name = "iterRange"];
      Returns:
      The iterRange.
    • getAccuVar

      String getAccuVar()
       The name of the variable used for accumulation of the result.
       
      string accu_var = 3 [json_name = "accuVar"];
      Returns:
      The accuVar.
    • getAccuVarBytes

      com.google.protobuf.ByteString getAccuVarBytes()
       The name of the variable used for accumulation of the result.
       
      string accu_var = 3 [json_name = "accuVar"];
      Returns:
      The bytes for accuVar.
    • hasAccuInit

      boolean hasAccuInit()
       The initial value of the accumulator.
       
      .google.api.expr.v1beta1.Expr accu_init = 4 [json_name = "accuInit"];
      Returns:
      Whether the accuInit field is set.
    • getAccuInit

      Expr getAccuInit()
       The initial value of the accumulator.
       
      .google.api.expr.v1beta1.Expr accu_init = 4 [json_name = "accuInit"];
      Returns:
      The accuInit.
    • hasLoopCondition

      boolean hasLoopCondition()
       An expression which can contain iter_var and accu_var.
      
       Returns false when the result has been computed and may be used as
       a hint to short-circuit the remainder of the comprehension.
       
      .google.api.expr.v1beta1.Expr loop_condition = 5 [json_name = "loopCondition"];
      Returns:
      Whether the loopCondition field is set.
    • getLoopCondition

      Expr getLoopCondition()
       An expression which can contain iter_var and accu_var.
      
       Returns false when the result has been computed and may be used as
       a hint to short-circuit the remainder of the comprehension.
       
      .google.api.expr.v1beta1.Expr loop_condition = 5 [json_name = "loopCondition"];
      Returns:
      The loopCondition.
    • hasLoopStep

      boolean hasLoopStep()
       An expression which can contain iter_var and accu_var.
      
       Computes the next value of accu_var.
       
      .google.api.expr.v1beta1.Expr loop_step = 6 [json_name = "loopStep"];
      Returns:
      Whether the loopStep field is set.
    • getLoopStep

      Expr getLoopStep()
       An expression which can contain iter_var and accu_var.
      
       Computes the next value of accu_var.
       
      .google.api.expr.v1beta1.Expr loop_step = 6 [json_name = "loopStep"];
      Returns:
      The loopStep.
    • hasResult

      boolean hasResult()
       An expression which can contain accu_var.
      
       Computes the result.
       
      .google.api.expr.v1beta1.Expr result = 7 [json_name = "result"];
      Returns:
      Whether the result field is set.
    • getResult

      Expr getResult()
       An expression which can contain accu_var.
      
       Computes the result.
       
      .google.api.expr.v1beta1.Expr result = 7 [json_name = "result"];
      Returns:
      The result.