Class SimpleTestSection.Builder

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

public static final class SimpleTestSection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SimpleTestSection.Builder> implements SimpleTestSectionOrBuilder
 A collection of related SimpleTests.

 The section is the unit of organization within a test file, and should
 guide where new tests are added.
 
Protobuf type cel.expr.conformance.test.SimpleTestSection
  • 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<SimpleTestSection.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public SimpleTestSection.Builder mergeFrom(SimpleTestSection other)
    • isInitialized

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

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

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

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

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

      public SimpleTestSection.Builder clearName()
       Required.  The name of the section.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

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

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

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

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

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

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

      public List<SimpleTest> getTestList()
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
      Specified by:
      getTestList in interface SimpleTestSectionOrBuilder
    • getTestCount

      public int getTestCount()
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
      Specified by:
      getTestCount in interface SimpleTestSectionOrBuilder
    • getTest

      public SimpleTest getTest(int index)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
      Specified by:
      getTest in interface SimpleTestSectionOrBuilder
    • setTest

      public SimpleTestSection.Builder setTest(int index, SimpleTest value)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • setTest

      public SimpleTestSection.Builder setTest(int index, SimpleTest.Builder builderForValue)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • addTest

      public SimpleTestSection.Builder addTest(SimpleTest value)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • addTest

      public SimpleTestSection.Builder addTest(int index, SimpleTest value)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • addTest

      public SimpleTestSection.Builder addTest(SimpleTest.Builder builderForValue)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • addTest

      public SimpleTestSection.Builder addTest(int index, SimpleTest.Builder builderForValue)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • addAllTest

      public SimpleTestSection.Builder addAllTest(Iterable<? extends SimpleTest> values)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • clearTest

      public SimpleTestSection.Builder clearTest()
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • removeTest

      public SimpleTestSection.Builder removeTest(int index)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • getTestBuilder

      public SimpleTest.Builder getTestBuilder(int index)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • getTestOrBuilder

      public SimpleTestOrBuilder getTestOrBuilder(int index)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
      Specified by:
      getTestOrBuilder in interface SimpleTestSectionOrBuilder
    • getTestOrBuilderList

      public List<? extends SimpleTestOrBuilder> getTestOrBuilderList()
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
      Specified by:
      getTestOrBuilderList in interface SimpleTestSectionOrBuilder
    • addTestBuilder

      public SimpleTest.Builder addTestBuilder()
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • addTestBuilder

      public SimpleTest.Builder addTestBuilder(int index)
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • getTestBuilderList

      public List<SimpleTest.Builder> getTestBuilderList()
       The contained tests.
       
      repeated .cel.expr.conformance.test.SimpleTest test = 3;
    • setUnknownFields

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

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