Class TestOutput.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
dev.cel.expr.conformance.test.TestOutput.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TestOutputOrBuilder, Cloneable
Enclosing class:
TestOutput

public static final class TestOutput.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder> implements TestOutputOrBuilder
 Expected result of the test case.
 
Protobuf type cel.expr.conformance.test.TestOutput
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
    • clear

      public TestOutput.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
    • getDefaultInstanceForType

      public TestOutput getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TestOutput build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TestOutput buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public TestOutput.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
    • setField

      public TestOutput.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
    • clearField

      public TestOutput.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
    • clearOneof

      public TestOutput.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
    • setRepeatedField

      public TestOutput.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
    • addRepeatedField

      public TestOutput.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
    • mergeFrom

      public TestOutput.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TestOutput.Builder>
    • mergeFrom

      public TestOutput.Builder mergeFrom(TestOutput other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
    • mergeFrom

      public TestOutput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TestOutput.Builder>
      Throws:
      IOException
    • getResultKindCase

      public TestOutput.ResultKindCase getResultKindCase()
      Specified by:
      getResultKindCase in interface TestOutputOrBuilder
    • clearResultKind

      public TestOutput.Builder clearResultKind()
    • hasResultValue

      public boolean hasResultValue()
       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 result_value = 8;
      Specified by:
      hasResultValue in interface TestOutputOrBuilder
      Returns:
      Whether the resultValue field is set.
    • getResultValue

      public Value getResultValue()
       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 result_value = 8;
      Specified by:
      getResultValue in interface TestOutputOrBuilder
      Returns:
      The resultValue.
    • setResultValue

      public TestOutput.Builder setResultValue(Value value)
       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 result_value = 8;
    • setResultValue

      public TestOutput.Builder setResultValue(Value.Builder builderForValue)
       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 result_value = 8;
    • mergeResultValue

      public TestOutput.Builder mergeResultValue(Value value)
       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 result_value = 8;
    • clearResultValue

      public TestOutput.Builder clearResultValue()
       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 result_value = 8;
    • getResultValueBuilder

      public Value.Builder getResultValueBuilder()
       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 result_value = 8;
    • getResultValueOrBuilder

      public ValueOrBuilder getResultValueOrBuilder()
       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 result_value = 8;
      Specified by:
      getResultValueOrBuilder in interface TestOutputOrBuilder
    • hasResultExpr

      public boolean hasResultExpr()
       An expression to be evaluated using the cel environment configured for
       the test suite. The result of this expression must match the result of
       the test case.
       
      string result_expr = 9;
      Specified by:
      hasResultExpr in interface TestOutputOrBuilder
      Returns:
      Whether the resultExpr field is set.
    • getResultExpr

      public String getResultExpr()
       An expression to be evaluated using the cel environment configured for
       the test suite. The result of this expression must match the result of
       the test case.
       
      string result_expr = 9;
      Specified by:
      getResultExpr in interface TestOutputOrBuilder
      Returns:
      The resultExpr.
    • getResultExprBytes

      public com.google.protobuf.ByteString getResultExprBytes()
       An expression to be evaluated using the cel environment configured for
       the test suite. The result of this expression must match the result of
       the test case.
       
      string result_expr = 9;
      Specified by:
      getResultExprBytes in interface TestOutputOrBuilder
      Returns:
      The bytes for resultExpr.
    • setResultExpr

      public TestOutput.Builder setResultExpr(String value)
       An expression to be evaluated using the cel environment configured for
       the test suite. The result of this expression must match the result of
       the test case.
       
      string result_expr = 9;
      Parameters:
      value - The resultExpr to set.
      Returns:
      This builder for chaining.
    • clearResultExpr

      public TestOutput.Builder clearResultExpr()
       An expression to be evaluated using the cel environment configured for
       the test suite. The result of this expression must match the result of
       the test case.
       
      string result_expr = 9;
      Returns:
      This builder for chaining.
    • setResultExprBytes

      public TestOutput.Builder setResultExprBytes(com.google.protobuf.ByteString value)
       An expression to be evaluated using the cel environment configured for
       the test suite. The result of this expression must match the result of
       the test case.
       
      string result_expr = 9;
      Parameters:
      value - The bytes for resultExpr to set.
      Returns:
      This builder for chaining.
    • hasEvalError

      public boolean hasEvalError()
       An error evaluation result set. Success if we match all of the errors in
       the set.
       
      .cel.expr.ErrorSet eval_error = 10;
      Specified by:
      hasEvalError in interface TestOutputOrBuilder
      Returns:
      Whether the evalError field is set.
    • getEvalError

      public ErrorSet getEvalError()
       An error evaluation result set. Success if we match all of the errors in
       the set.
       
      .cel.expr.ErrorSet eval_error = 10;
      Specified by:
      getEvalError in interface TestOutputOrBuilder
      Returns:
      The evalError.
    • setEvalError

      public TestOutput.Builder setEvalError(ErrorSet value)
       An error evaluation result set. Success if we match all of the errors in
       the set.
       
      .cel.expr.ErrorSet eval_error = 10;
    • setEvalError

      public TestOutput.Builder setEvalError(ErrorSet.Builder builderForValue)
       An error evaluation result set. Success if we match all of the errors in
       the set.
       
      .cel.expr.ErrorSet eval_error = 10;
    • mergeEvalError

      public TestOutput.Builder mergeEvalError(ErrorSet value)
       An error evaluation result set. Success if we match all of the errors in
       the set.
       
      .cel.expr.ErrorSet eval_error = 10;
    • clearEvalError

      public TestOutput.Builder clearEvalError()
       An error evaluation result set. Success if we match all of the errors in
       the set.
       
      .cel.expr.ErrorSet eval_error = 10;
    • getEvalErrorBuilder

      public ErrorSet.Builder getEvalErrorBuilder()
       An error evaluation result set. Success if we match all of the errors in
       the set.
       
      .cel.expr.ErrorSet eval_error = 10;
    • getEvalErrorOrBuilder

      public ErrorSetOrBuilder getEvalErrorOrBuilder()
       An error evaluation result set. Success if we match all of the errors in
       the set.
       
      .cel.expr.ErrorSet eval_error = 10;
      Specified by:
      getEvalErrorOrBuilder in interface TestOutputOrBuilder
    • hasUnknown

      public boolean hasUnknown()
       An unknown evaluation result.
       
      .cel.expr.UnknownSet unknown = 11;
      Specified by:
      hasUnknown in interface TestOutputOrBuilder
      Returns:
      Whether the unknown field is set.
    • getUnknown

      public UnknownSet getUnknown()
       An unknown evaluation result.
       
      .cel.expr.UnknownSet unknown = 11;
      Specified by:
      getUnknown in interface TestOutputOrBuilder
      Returns:
      The unknown.
    • setUnknown

      public TestOutput.Builder setUnknown(UnknownSet value)
       An unknown evaluation result.
       
      .cel.expr.UnknownSet unknown = 11;
    • setUnknown

      public TestOutput.Builder setUnknown(UnknownSet.Builder builderForValue)
       An unknown evaluation result.
       
      .cel.expr.UnknownSet unknown = 11;
    • mergeUnknown

      public TestOutput.Builder mergeUnknown(UnknownSet value)
       An unknown evaluation result.
       
      .cel.expr.UnknownSet unknown = 11;
    • clearUnknown

      public TestOutput.Builder clearUnknown()
       An unknown evaluation result.
       
      .cel.expr.UnknownSet unknown = 11;
    • getUnknownBuilder

      public UnknownSet.Builder getUnknownBuilder()
       An unknown evaluation result.
       
      .cel.expr.UnknownSet unknown = 11;
    • getUnknownOrBuilder

      public UnknownSetOrBuilder getUnknownOrBuilder()
       An unknown evaluation result.
       
      .cel.expr.UnknownSet unknown = 11;
      Specified by:
      getUnknownOrBuilder in interface TestOutputOrBuilder
    • setUnknownFields

      public final TestOutput.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>
    • mergeUnknownFields

      public final TestOutput.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TestOutput.Builder>