Class TestSection.Builder

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

public static final class TestSection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TestSection.Builder> implements TestSectionOrBuilder
 A collection of related test cases.
 
Protobuf type cel.expr.conformance.test.TestSection
  • 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<TestSection.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public TestSection.Builder mergeFrom(TestSection other)
    • isInitialized

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

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

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

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

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

      public TestSection.Builder clearName()
       Name of the test section.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

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

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

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

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

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

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

      public List<TestCase> getTestsList()
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
      Specified by:
      getTestsList in interface TestSectionOrBuilder
    • getTestsCount

      public int getTestsCount()
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
      Specified by:
      getTestsCount in interface TestSectionOrBuilder
    • getTests

      public TestCase getTests(int index)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
      Specified by:
      getTests in interface TestSectionOrBuilder
    • setTests

      public TestSection.Builder setTests(int index, TestCase value)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • setTests

      public TestSection.Builder setTests(int index, TestCase.Builder builderForValue)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • addTests

      public TestSection.Builder addTests(TestCase value)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • addTests

      public TestSection.Builder addTests(int index, TestCase value)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • addTests

      public TestSection.Builder addTests(TestCase.Builder builderForValue)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • addTests

      public TestSection.Builder addTests(int index, TestCase.Builder builderForValue)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • addAllTests

      public TestSection.Builder addAllTests(Iterable<? extends TestCase> values)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • clearTests

      public TestSection.Builder clearTests()
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • removeTests

      public TestSection.Builder removeTests(int index)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • getTestsBuilder

      public TestCase.Builder getTestsBuilder(int index)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • getTestsOrBuilder

      public TestCaseOrBuilder getTestsOrBuilder(int index)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
      Specified by:
      getTestsOrBuilder in interface TestSectionOrBuilder
    • getTestsOrBuilderList

      public List<? extends TestCaseOrBuilder> getTestsOrBuilderList()
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
      Specified by:
      getTestsOrBuilderList in interface TestSectionOrBuilder
    • addTestsBuilder

      public TestCase.Builder addTestsBuilder()
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • addTestsBuilder

      public TestCase.Builder addTestsBuilder(int index)
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • getTestsBuilderList

      public List<TestCase.Builder> getTestsBuilderList()
       Test cases of the test section.
       Each test case represents a test scenario.
       
      repeated .cel.expr.conformance.test.TestCase tests = 3;
    • setUnknownFields

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

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