Class Explain.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Explain,Explain.Builder>
com.google.api.expr.v1alpha1.Explain.Builder
All Implemented Interfaces:
ExplainOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
Explain

public static final class Explain.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Explain,Explain.Builder> implements ExplainOrBuilder
 Values of intermediate expressions produced when evaluating expression.
 Deprecated, use `EvalState` instead.
 
Protobuf type google.api.expr.v1alpha1.Explain
  • Method Details

    • getValuesList

      public List<Value> getValuesList()
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
      Specified by:
      getValuesList in interface ExplainOrBuilder
    • getValuesCount

      public int getValuesCount()
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
      Specified by:
      getValuesCount in interface ExplainOrBuilder
    • getValues

      public Value getValues(int index)
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
      Specified by:
      getValues in interface ExplainOrBuilder
    • setValues

      public Explain.Builder setValues(int index, Value value)
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
    • setValues

      public Explain.Builder setValues(int index, Value.Builder builderForValue)
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
    • addValues

      public Explain.Builder addValues(Value value)
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
    • addValues

      public Explain.Builder addValues(int index, Value value)
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
    • addValues

      public Explain.Builder addValues(Value.Builder builderForValue)
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
    • addValues

      public Explain.Builder addValues(int index, Value.Builder builderForValue)
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
    • addAllValues

      public Explain.Builder addAllValues(Iterable<? extends Value> values)
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
    • clearValues

      public Explain.Builder clearValues()
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
    • removeValues

      public Explain.Builder removeValues(int index)
       All of the observed values.
      
       The field value_index is an index in the values list.
       Separating values from steps is needed to remove redundant values.
       
      repeated .google.api.expr.v1alpha1.Value values = 1 [json_name = "values"];
    • getExprStepsList

      public List<Explain.ExprStep> getExprStepsList()
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];
      Specified by:
      getExprStepsList in interface ExplainOrBuilder
    • getExprStepsCount

      public int getExprStepsCount()
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];
      Specified by:
      getExprStepsCount in interface ExplainOrBuilder
    • getExprSteps

      public Explain.ExprStep getExprSteps(int index)
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];
      Specified by:
      getExprSteps in interface ExplainOrBuilder
    • setExprSteps

      public Explain.Builder setExprSteps(int index, Explain.ExprStep value)
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];
    • setExprSteps

      public Explain.Builder setExprSteps(int index, Explain.ExprStep.Builder builderForValue)
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];
    • addExprSteps

      public Explain.Builder addExprSteps(Explain.ExprStep value)
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];
    • addExprSteps

      public Explain.Builder addExprSteps(int index, Explain.ExprStep value)
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];
    • addExprSteps

      public Explain.Builder addExprSteps(Explain.ExprStep.Builder builderForValue)
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];
    • addExprSteps

      public Explain.Builder addExprSteps(int index, Explain.ExprStep.Builder builderForValue)
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];
    • addAllExprSteps

      public Explain.Builder addAllExprSteps(Iterable<? extends Explain.ExprStep> values)
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];
    • clearExprSteps

      public Explain.Builder clearExprSteps()
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];
    • removeExprSteps

      public Explain.Builder removeExprSteps(int index)
       List of steps.
      
       Repeated evaluations of the same expression generate new ExprStep
       instances. The order of such ExprStep instances matches the order of
       elements returned by Comprehension.iter_range.
       
      repeated .google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2 [json_name = "exprSteps"];