Class EvalState.Builder

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

public static final class EvalState.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<EvalState,EvalState.Builder> implements EvalStateOrBuilder
 The state of an evaluation.

 Can represent an initial, partial, or completed state of evaluation.
 
Protobuf type google.api.expr.v1beta1.EvalState
  • Method Details

    • getValuesList

      public List<ExprValue> getValuesList()
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
      Specified by:
      getValuesList in interface EvalStateOrBuilder
    • getValuesCount

      public int getValuesCount()
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
      Specified by:
      getValuesCount in interface EvalStateOrBuilder
    • getValues

      public ExprValue getValues(int index)
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
      Specified by:
      getValues in interface EvalStateOrBuilder
    • setValues

      public EvalState.Builder setValues(int index, ExprValue value)
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
    • setValues

      public EvalState.Builder setValues(int index, ExprValue.Builder builderForValue)
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
    • addValues

      public EvalState.Builder addValues(ExprValue value)
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
    • addValues

      public EvalState.Builder addValues(int index, ExprValue value)
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
    • addValues

      public EvalState.Builder addValues(ExprValue.Builder builderForValue)
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
    • addValues

      public EvalState.Builder addValues(int index, ExprValue.Builder builderForValue)
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
    • addAllValues

      public EvalState.Builder addAllValues(Iterable<? extends ExprValue> values)
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
    • clearValues

      public EvalState.Builder clearValues()
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
    • removeValues

      public EvalState.Builder removeValues(int index)
       The unique values referenced in this message.
       
      repeated .google.api.expr.v1beta1.ExprValue values = 1 [json_name = "values"];
    • getResultsList

      public List<EvalState.Result> getResultsList()
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];
      Specified by:
      getResultsList in interface EvalStateOrBuilder
    • getResultsCount

      public int getResultsCount()
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];
      Specified by:
      getResultsCount in interface EvalStateOrBuilder
    • getResults

      public EvalState.Result getResults(int index)
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];
      Specified by:
      getResults in interface EvalStateOrBuilder
    • setResults

      public EvalState.Builder setResults(int index, EvalState.Result value)
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];
    • setResults

      public EvalState.Builder setResults(int index, EvalState.Result.Builder builderForValue)
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];
    • addResults

      public EvalState.Builder addResults(EvalState.Result value)
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];
    • addResults

      public EvalState.Builder addResults(int index, EvalState.Result value)
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];
    • addResults

      public EvalState.Builder addResults(EvalState.Result.Builder builderForValue)
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];
    • addResults

      public EvalState.Builder addResults(int index, EvalState.Result.Builder builderForValue)
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];
    • addAllResults

      public EvalState.Builder addAllResults(Iterable<? extends EvalState.Result> values)
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];
    • clearResults

      public EvalState.Builder clearResults()
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];
    • removeResults

      public EvalState.Builder removeResults(int index)
       An ordered list of results.
      
       Tracks the flow of evaluation through the expression.
       May be sparse.
       
      repeated .google.api.expr.v1beta1.EvalState.Result results = 3 [json_name = "results"];