Interface SimpleTestOrBuilder

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

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

    • getName

      String getName()
       Required.  The name of the test, which should be unique in the test file.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required.  The name of the test, which should be unique in the test file.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getDescription

      String getDescription()
       A description of the test.
       
      string description = 2;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       A description of the test.
       
      string description = 2;
      Returns:
      The bytes for description.
    • getExpr

      String getExpr()
       Required.  The text of the CEL expression.
       
      string expr = 3;
      Returns:
      The expr.
    • getExprBytes

      com.google.protobuf.ByteString getExprBytes()
       Required.  The text of the CEL expression.
       
      string expr = 3;
      Returns:
      The bytes for expr.
    • getDisableMacros

      boolean getDisableMacros()
       Disables all macro expansion in parsing.
       
      bool disable_macros = 4;
      Returns:
      The disableMacros.
    • getDisableCheck

      boolean getDisableCheck()
       Disables the check phase.
       
      bool disable_check = 5;
      Returns:
      The disableCheck.
    • getCheckOnly

      boolean getCheckOnly()
       Disables the evaluate phase.
       
      bool check_only = 15;
      Returns:
      The checkOnly.
    • getTypeEnvList

      List<Decl> getTypeEnvList()
       The type environment to use for the check phase.
       
      repeated .cel.expr.Decl type_env = 6;
    • getTypeEnv

      Decl getTypeEnv(int index)
       The type environment to use for the check phase.
       
      repeated .cel.expr.Decl type_env = 6;
    • getTypeEnvCount

      int getTypeEnvCount()
       The type environment to use for the check phase.
       
      repeated .cel.expr.Decl type_env = 6;
    • getTypeEnvOrBuilderList

      List<? extends DeclOrBuilder> getTypeEnvOrBuilderList()
       The type environment to use for the check phase.
       
      repeated .cel.expr.Decl type_env = 6;
    • getTypeEnvOrBuilder

      DeclOrBuilder getTypeEnvOrBuilder(int index)
       The type environment to use for the check phase.
       
      repeated .cel.expr.Decl type_env = 6;
    • getContainer

      String getContainer()
       The container for name resolution.
       
      string container = 13;
      Returns:
      The container.
    • getContainerBytes

      com.google.protobuf.ByteString getContainerBytes()
       The container for name resolution.
       
      string container = 13;
      Returns:
      The bytes for container.
    • getLocale

      String getLocale()
       The locale to use for the evaluation phase.
       
      string locale = 14;
      Returns:
      The locale.
    • getLocaleBytes

      com.google.protobuf.ByteString getLocaleBytes()
       The locale to use for the evaluation phase.
       
      string locale = 14;
      Returns:
      The bytes for locale.
    • getBindingsCount

      int getBindingsCount()
       Variable bindings to use for the eval phase.
       
      map<string, .cel.expr.ExprValue> bindings = 7;
    • containsBindings

      boolean containsBindings(String key)
       Variable bindings to use for the eval phase.
       
      map<string, .cel.expr.ExprValue> bindings = 7;
    • getBindings

      Deprecated.
      Use getBindingsMap() instead.
    • getBindingsMap

      Map<String,ExprValue> getBindingsMap()
       Variable bindings to use for the eval phase.
       
      map<string, .cel.expr.ExprValue> bindings = 7;
    • getBindingsOrDefault

      ExprValue getBindingsOrDefault(String key, ExprValue defaultValue)
       Variable bindings to use for the eval phase.
       
      map<string, .cel.expr.ExprValue> bindings = 7;
    • getBindingsOrThrow

      ExprValue getBindingsOrThrow(String key)
       Variable bindings to use for the eval phase.
       
      map<string, .cel.expr.ExprValue> bindings = 7;
    • hasValue

      boolean hasValue()
       A normal value, which must match the evaluation result exactly
       via value equality semantics.  This coincides with proto equality,
       except for:
       *   maps are order-agnostic.
       *   a floating point NaN should match any NaN.
       
      .cel.expr.Value value = 8;
      Returns:
      Whether the value field is set.
    • getValue

      Value getValue()
       A normal value, which must match the evaluation result exactly
       via value equality semantics.  This coincides with proto equality,
       except for:
       *   maps are order-agnostic.
       *   a floating point NaN should match any NaN.
       
      .cel.expr.Value value = 8;
      Returns:
      The value.
    • getValueOrBuilder

      ValueOrBuilder getValueOrBuilder()
       A normal value, which must match the evaluation result exactly
       via value equality semantics.  This coincides with proto equality,
       except for:
       *   maps are order-agnostic.
       *   a floating point NaN should match any NaN.
       
      .cel.expr.Value value = 8;
    • hasTypedResult

      boolean hasTypedResult()
       A result and deduced expression type.
       
      .cel.expr.conformance.test.TypedResult typed_result = 16;
      Returns:
      Whether the typedResult field is set.
    • getTypedResult

      TypedResult getTypedResult()
       A result and deduced expression type.
       
      .cel.expr.conformance.test.TypedResult typed_result = 16;
      Returns:
      The typedResult.
    • getTypedResultOrBuilder

      TypedResultOrBuilder getTypedResultOrBuilder()
       A result and deduced expression type.
       
      .cel.expr.conformance.test.TypedResult typed_result = 16;
    • hasEvalError

      boolean hasEvalError()
       Matches error evaluation results.
       
      .cel.expr.ErrorSet eval_error = 9;
      Returns:
      Whether the evalError field is set.
    • getEvalError

      ErrorSet getEvalError()
       Matches error evaluation results.
       
      .cel.expr.ErrorSet eval_error = 9;
      Returns:
      The evalError.
    • getEvalErrorOrBuilder

      ErrorSetOrBuilder getEvalErrorOrBuilder()
       Matches error evaluation results.
       
      .cel.expr.ErrorSet eval_error = 9;
    • hasAnyEvalErrors

      boolean hasAnyEvalErrors()
       Matches one of several error results.
       (Using explicit message since oneof can't handle repeated.)
       
      .cel.expr.conformance.test.ErrorSetMatcher any_eval_errors = 10;
      Returns:
      Whether the anyEvalErrors field is set.
    • getAnyEvalErrors

      ErrorSetMatcher getAnyEvalErrors()
       Matches one of several error results.
       (Using explicit message since oneof can't handle repeated.)
       
      .cel.expr.conformance.test.ErrorSetMatcher any_eval_errors = 10;
      Returns:
      The anyEvalErrors.
    • getAnyEvalErrorsOrBuilder

      ErrorSetMatcherOrBuilder getAnyEvalErrorsOrBuilder()
       Matches one of several error results.
       (Using explicit message since oneof can't handle repeated.)
       
      .cel.expr.conformance.test.ErrorSetMatcher any_eval_errors = 10;
    • hasUnknown

      boolean hasUnknown()
       Matches unknown evaluation results.
       
      .cel.expr.UnknownSet unknown = 11;
      Returns:
      Whether the unknown field is set.
    • getUnknown

      UnknownSet getUnknown()
       Matches unknown evaluation results.
       
      .cel.expr.UnknownSet unknown = 11;
      Returns:
      The unknown.
    • getUnknownOrBuilder

      UnknownSetOrBuilder getUnknownOrBuilder()
       Matches unknown evaluation results.
       
      .cel.expr.UnknownSet unknown = 11;
    • hasAnyUnknowns

      boolean hasAnyUnknowns()
       Matches one of several unknown results.
       (Using explicit message since oneof can't handle repeated.)
       
      .cel.expr.conformance.test.UnknownSetMatcher any_unknowns = 12;
      Returns:
      Whether the anyUnknowns field is set.
    • getAnyUnknowns

      UnknownSetMatcher getAnyUnknowns()
       Matches one of several unknown results.
       (Using explicit message since oneof can't handle repeated.)
       
      .cel.expr.conformance.test.UnknownSetMatcher any_unknowns = 12;
      Returns:
      The anyUnknowns.
    • getAnyUnknownsOrBuilder

      UnknownSetMatcherOrBuilder getAnyUnknownsOrBuilder()
       Matches one of several unknown results.
       (Using explicit message since oneof can't handle repeated.)
       
      .cel.expr.conformance.test.UnknownSetMatcher any_unknowns = 12;
    • getResultMatcherCase

      SimpleTest.ResultMatcherCase getResultMatcherCase()