Class TestSuite.Builder

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

public static final class TestSuite.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TestSuite.Builder> implements TestSuiteOrBuilder
 A test suite is a collection of tests designed to evaluate the correctness of
 a CEL policy, a CEL expression or the conformance of a CEL implementation to
 the standard specification.
 
Protobuf type cel.expr.conformance.test.TestSuite
  • 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<TestSuite.Builder>
    • clear

      public TestSuite.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<TestSuite.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<TestSuite.Builder>
    • getDefaultInstanceForType

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

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

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

      public TestSuite.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<TestSuite.Builder>
    • setField

      public TestSuite.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<TestSuite.Builder>
    • clearField

      public TestSuite.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<TestSuite.Builder>
    • clearOneof

      public TestSuite.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<TestSuite.Builder>
    • setRepeatedField

      public TestSuite.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<TestSuite.Builder>
    • addRepeatedField

      public TestSuite.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<TestSuite.Builder>
    • mergeFrom

      public TestSuite.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<TestSuite.Builder>
    • mergeFrom

      public TestSuite.Builder mergeFrom(TestSuite other)
    • isInitialized

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

      public TestSuite.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<TestSuite.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The name of the test suite.
       
      string name = 1;
      Specified by:
      getName in interface TestSuiteOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the test suite.
       
      string name = 1;
      Specified by:
      getNameBytes in interface TestSuiteOrBuilder
      Returns:
      The bytes for name.
    • setName

      public TestSuite.Builder setName(String value)
       The name of the test suite.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public TestSuite.Builder clearName()
       The name of the test suite.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public TestSuite.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the test suite.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Description of the test suite.
       
      string description = 2;
      Specified by:
      getDescription in interface TestSuiteOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description of the test suite.
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface TestSuiteOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public TestSuite.Builder setDescription(String value)
       Description of the test suite.
       
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public TestSuite.Builder clearDescription()
       Description of the test suite.
       
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public TestSuite.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Description of the test suite.
       
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getSectionsList

      public List<TestSection> getSectionsList()
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
      Specified by:
      getSectionsList in interface TestSuiteOrBuilder
    • getSectionsCount

      public int getSectionsCount()
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
      Specified by:
      getSectionsCount in interface TestSuiteOrBuilder
    • getSections

      public TestSection getSections(int index)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
      Specified by:
      getSections in interface TestSuiteOrBuilder
    • setSections

      public TestSuite.Builder setSections(int index, TestSection value)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • setSections

      public TestSuite.Builder setSections(int index, TestSection.Builder builderForValue)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • addSections

      public TestSuite.Builder addSections(TestSection value)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • addSections

      public TestSuite.Builder addSections(int index, TestSection value)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • addSections

      public TestSuite.Builder addSections(TestSection.Builder builderForValue)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • addSections

      public TestSuite.Builder addSections(int index, TestSection.Builder builderForValue)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • addAllSections

      public TestSuite.Builder addAllSections(Iterable<? extends TestSection> values)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • clearSections

      public TestSuite.Builder clearSections()
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • removeSections

      public TestSuite.Builder removeSections(int index)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • getSectionsBuilder

      public TestSection.Builder getSectionsBuilder(int index)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • getSectionsOrBuilder

      public TestSectionOrBuilder getSectionsOrBuilder(int index)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
      Specified by:
      getSectionsOrBuilder in interface TestSuiteOrBuilder
    • getSectionsOrBuilderList

      public List<? extends TestSectionOrBuilder> getSectionsOrBuilderList()
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
      Specified by:
      getSectionsOrBuilderList in interface TestSuiteOrBuilder
    • addSectionsBuilder

      public TestSection.Builder addSectionsBuilder()
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • addSectionsBuilder

      public TestSection.Builder addSectionsBuilder(int index)
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • getSectionsBuilderList

      public List<TestSection.Builder> getSectionsBuilderList()
       Test sections of the test suite.
       Each section represents a behavior to be tested.
       
      repeated .cel.expr.conformance.test.TestSection sections = 3;
    • setUnknownFields

      public final TestSuite.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<TestSuite.Builder>
    • mergeUnknownFields

      public final TestSuite.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<TestSuite.Builder>