All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.bullet.dsl.ListsAvro Maven / Gradle / Ivy

The newest version!
/**
 * Autogenerated by Avro
 *
 * DO NOT EDIT DIRECTLY
 */
package com.yahoo.bullet.dsl;

import org.apache.avro.generic.GenericArray;
import org.apache.avro.specific.SpecificData;
import org.apache.avro.util.Utf8;
import org.apache.avro.message.BinaryMessageEncoder;
import org.apache.avro.message.BinaryMessageDecoder;
import org.apache.avro.message.SchemaStore;

@org.apache.avro.specific.AvroGenerated
public class ListsAvro extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
  private static final long serialVersionUID = 7073582635823630994L;
  public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"ListsAvro\",\"namespace\":\"com.yahoo.bullet.dsl\",\"fields\":[{\"name\":\"myIntList\",\"type\":{\"type\":\"array\",\"items\":\"int\"}},{\"name\":\"myLongList\",\"type\":{\"type\":\"array\",\"items\":\"long\"}},{\"name\":\"myFloatList\",\"type\":{\"type\":\"array\",\"items\":\"float\"}},{\"name\":\"myDoubleList\",\"type\":{\"type\":\"array\",\"items\":\"double\"}},{\"name\":\"myBoolList\",\"type\":{\"type\":\"array\",\"items\":\"boolean\"}},{\"name\":\"myStringList\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}},{\"name\":\"myIntMapList\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"map\",\"values\":\"int\",\"avro.java.string\":\"String\"}}},{\"name\":\"myLongMapList\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"map\",\"values\":\"long\",\"avro.java.string\":\"String\"}}},{\"name\":\"myFloatMapList\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"map\",\"values\":\"float\",\"avro.java.string\":\"String\"}}},{\"name\":\"myDoubleMapList\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"map\",\"values\":\"double\",\"avro.java.string\":\"String\"}}},{\"name\":\"myBoolMapList\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"map\",\"values\":\"boolean\",\"avro.java.string\":\"String\"}}},{\"name\":\"myStringMapList\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}}}]}");
  public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; }

  private static SpecificData MODEL$ = new SpecificData();

  private static final BinaryMessageEncoder ENCODER =
      new BinaryMessageEncoder(MODEL$, SCHEMA$);

  private static final BinaryMessageDecoder DECODER =
      new BinaryMessageDecoder(MODEL$, SCHEMA$);

  /**
   * Return the BinaryMessageEncoder instance used by this class.
   * @return the message encoder used by this class
   */
  public static BinaryMessageEncoder getEncoder() {
    return ENCODER;
  }

  /**
   * Return the BinaryMessageDecoder instance used by this class.
   * @return the message decoder used by this class
   */
  public static BinaryMessageDecoder getDecoder() {
    return DECODER;
  }

  /**
   * Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}.
   * @param resolver a {@link SchemaStore} used to find schemas by fingerprint
   * @return a BinaryMessageDecoder instance for this class backed by the given SchemaStore
   */
  public static BinaryMessageDecoder createDecoder(SchemaStore resolver) {
    return new BinaryMessageDecoder(MODEL$, SCHEMA$, resolver);
  }

  /**
   * Serializes this ListsAvro to a ByteBuffer.
   * @return a buffer holding the serialized data for this instance
   * @throws java.io.IOException if this instance could not be serialized
   */
  public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException {
    return ENCODER.encode(this);
  }

  /**
   * Deserializes a ListsAvro from a ByteBuffer.
   * @param b a byte buffer holding serialized data for an instance of this class
   * @return a ListsAvro instance decoded from the given buffer
   * @throws java.io.IOException if the given bytes could not be deserialized into an instance of this class
   */
  public static ListsAvro fromByteBuffer(
      java.nio.ByteBuffer b) throws java.io.IOException {
    return DECODER.decode(b);
  }

  @Deprecated public java.util.List myIntList;
  @Deprecated public java.util.List myLongList;
  @Deprecated public java.util.List myFloatList;
  @Deprecated public java.util.List myDoubleList;
  @Deprecated public java.util.List myBoolList;
  @Deprecated public java.util.List myStringList;
  @Deprecated public java.util.List> myIntMapList;
  @Deprecated public java.util.List> myLongMapList;
  @Deprecated public java.util.List> myFloatMapList;
  @Deprecated public java.util.List> myDoubleMapList;
  @Deprecated public java.util.List> myBoolMapList;
  @Deprecated public java.util.List> myStringMapList;

  /**
   * Default constructor.  Note that this does not initialize fields
   * to their default values from the schema.  If that is desired then
   * one should use newBuilder().
   */
  public ListsAvro() {}

  /**
   * All-args constructor.
   * @param myIntList The new value for myIntList
   * @param myLongList The new value for myLongList
   * @param myFloatList The new value for myFloatList
   * @param myDoubleList The new value for myDoubleList
   * @param myBoolList The new value for myBoolList
   * @param myStringList The new value for myStringList
   * @param myIntMapList The new value for myIntMapList
   * @param myLongMapList The new value for myLongMapList
   * @param myFloatMapList The new value for myFloatMapList
   * @param myDoubleMapList The new value for myDoubleMapList
   * @param myBoolMapList The new value for myBoolMapList
   * @param myStringMapList The new value for myStringMapList
   */
  public ListsAvro(java.util.List myIntList, java.util.List myLongList, java.util.List myFloatList, java.util.List myDoubleList, java.util.List myBoolList, java.util.List myStringList, java.util.List> myIntMapList, java.util.List> myLongMapList, java.util.List> myFloatMapList, java.util.List> myDoubleMapList, java.util.List> myBoolMapList, java.util.List> myStringMapList) {
    this.myIntList = myIntList;
    this.myLongList = myLongList;
    this.myFloatList = myFloatList;
    this.myDoubleList = myDoubleList;
    this.myBoolList = myBoolList;
    this.myStringList = myStringList;
    this.myIntMapList = myIntMapList;
    this.myLongMapList = myLongMapList;
    this.myFloatMapList = myFloatMapList;
    this.myDoubleMapList = myDoubleMapList;
    this.myBoolMapList = myBoolMapList;
    this.myStringMapList = myStringMapList;
  }

  public org.apache.avro.specific.SpecificData getSpecificData() { return MODEL$; }
  public org.apache.avro.Schema getSchema() { return SCHEMA$; }
  // Used by DatumWriter.  Applications should not call.
  public java.lang.Object get(int field$) {
    switch (field$) {
    case 0: return myIntList;
    case 1: return myLongList;
    case 2: return myFloatList;
    case 3: return myDoubleList;
    case 4: return myBoolList;
    case 5: return myStringList;
    case 6: return myIntMapList;
    case 7: return myLongMapList;
    case 8: return myFloatMapList;
    case 9: return myDoubleMapList;
    case 10: return myBoolMapList;
    case 11: return myStringMapList;
    default: throw new org.apache.avro.AvroRuntimeException("Bad index");
    }
  }

  // Used by DatumReader.  Applications should not call.
  @SuppressWarnings(value="unchecked")
  public void put(int field$, java.lang.Object value$) {
    switch (field$) {
    case 0: myIntList = (java.util.List)value$; break;
    case 1: myLongList = (java.util.List)value$; break;
    case 2: myFloatList = (java.util.List)value$; break;
    case 3: myDoubleList = (java.util.List)value$; break;
    case 4: myBoolList = (java.util.List)value$; break;
    case 5: myStringList = (java.util.List)value$; break;
    case 6: myIntMapList = (java.util.List>)value$; break;
    case 7: myLongMapList = (java.util.List>)value$; break;
    case 8: myFloatMapList = (java.util.List>)value$; break;
    case 9: myDoubleMapList = (java.util.List>)value$; break;
    case 10: myBoolMapList = (java.util.List>)value$; break;
    case 11: myStringMapList = (java.util.List>)value$; break;
    default: throw new org.apache.avro.AvroRuntimeException("Bad index");
    }
  }

  /**
   * Gets the value of the 'myIntList' field.
   * @return The value of the 'myIntList' field.
   */
  public java.util.List getMyIntList() {
    return myIntList;
  }


  /**
   * Sets the value of the 'myIntList' field.
   * @param value the value to set.
   */
  public void setMyIntList(java.util.List value) {
    this.myIntList = value;
  }

  /**
   * Gets the value of the 'myLongList' field.
   * @return The value of the 'myLongList' field.
   */
  public java.util.List getMyLongList() {
    return myLongList;
  }


  /**
   * Sets the value of the 'myLongList' field.
   * @param value the value to set.
   */
  public void setMyLongList(java.util.List value) {
    this.myLongList = value;
  }

  /**
   * Gets the value of the 'myFloatList' field.
   * @return The value of the 'myFloatList' field.
   */
  public java.util.List getMyFloatList() {
    return myFloatList;
  }


  /**
   * Sets the value of the 'myFloatList' field.
   * @param value the value to set.
   */
  public void setMyFloatList(java.util.List value) {
    this.myFloatList = value;
  }

  /**
   * Gets the value of the 'myDoubleList' field.
   * @return The value of the 'myDoubleList' field.
   */
  public java.util.List getMyDoubleList() {
    return myDoubleList;
  }


  /**
   * Sets the value of the 'myDoubleList' field.
   * @param value the value to set.
   */
  public void setMyDoubleList(java.util.List value) {
    this.myDoubleList = value;
  }

  /**
   * Gets the value of the 'myBoolList' field.
   * @return The value of the 'myBoolList' field.
   */
  public java.util.List getMyBoolList() {
    return myBoolList;
  }


  /**
   * Sets the value of the 'myBoolList' field.
   * @param value the value to set.
   */
  public void setMyBoolList(java.util.List value) {
    this.myBoolList = value;
  }

  /**
   * Gets the value of the 'myStringList' field.
   * @return The value of the 'myStringList' field.
   */
  public java.util.List getMyStringList() {
    return myStringList;
  }


  /**
   * Sets the value of the 'myStringList' field.
   * @param value the value to set.
   */
  public void setMyStringList(java.util.List value) {
    this.myStringList = value;
  }

  /**
   * Gets the value of the 'myIntMapList' field.
   * @return The value of the 'myIntMapList' field.
   */
  public java.util.List> getMyIntMapList() {
    return myIntMapList;
  }


  /**
   * Sets the value of the 'myIntMapList' field.
   * @param value the value to set.
   */
  public void setMyIntMapList(java.util.List> value) {
    this.myIntMapList = value;
  }

  /**
   * Gets the value of the 'myLongMapList' field.
   * @return The value of the 'myLongMapList' field.
   */
  public java.util.List> getMyLongMapList() {
    return myLongMapList;
  }


  /**
   * Sets the value of the 'myLongMapList' field.
   * @param value the value to set.
   */
  public void setMyLongMapList(java.util.List> value) {
    this.myLongMapList = value;
  }

  /**
   * Gets the value of the 'myFloatMapList' field.
   * @return The value of the 'myFloatMapList' field.
   */
  public java.util.List> getMyFloatMapList() {
    return myFloatMapList;
  }


  /**
   * Sets the value of the 'myFloatMapList' field.
   * @param value the value to set.
   */
  public void setMyFloatMapList(java.util.List> value) {
    this.myFloatMapList = value;
  }

  /**
   * Gets the value of the 'myDoubleMapList' field.
   * @return The value of the 'myDoubleMapList' field.
   */
  public java.util.List> getMyDoubleMapList() {
    return myDoubleMapList;
  }


  /**
   * Sets the value of the 'myDoubleMapList' field.
   * @param value the value to set.
   */
  public void setMyDoubleMapList(java.util.List> value) {
    this.myDoubleMapList = value;
  }

  /**
   * Gets the value of the 'myBoolMapList' field.
   * @return The value of the 'myBoolMapList' field.
   */
  public java.util.List> getMyBoolMapList() {
    return myBoolMapList;
  }


  /**
   * Sets the value of the 'myBoolMapList' field.
   * @param value the value to set.
   */
  public void setMyBoolMapList(java.util.List> value) {
    this.myBoolMapList = value;
  }

  /**
   * Gets the value of the 'myStringMapList' field.
   * @return The value of the 'myStringMapList' field.
   */
  public java.util.List> getMyStringMapList() {
    return myStringMapList;
  }


  /**
   * Sets the value of the 'myStringMapList' field.
   * @param value the value to set.
   */
  public void setMyStringMapList(java.util.List> value) {
    this.myStringMapList = value;
  }

  /**
   * Creates a new ListsAvro RecordBuilder.
   * @return A new ListsAvro RecordBuilder
   */
  public static com.yahoo.bullet.dsl.ListsAvro.Builder newBuilder() {
    return new com.yahoo.bullet.dsl.ListsAvro.Builder();
  }

  /**
   * Creates a new ListsAvro RecordBuilder by copying an existing Builder.
   * @param other The existing builder to copy.
   * @return A new ListsAvro RecordBuilder
   */
  public static com.yahoo.bullet.dsl.ListsAvro.Builder newBuilder(com.yahoo.bullet.dsl.ListsAvro.Builder other) {
    if (other == null) {
      return new com.yahoo.bullet.dsl.ListsAvro.Builder();
    } else {
      return new com.yahoo.bullet.dsl.ListsAvro.Builder(other);
    }
  }

  /**
   * Creates a new ListsAvro RecordBuilder by copying an existing ListsAvro instance.
   * @param other The existing instance to copy.
   * @return A new ListsAvro RecordBuilder
   */
  public static com.yahoo.bullet.dsl.ListsAvro.Builder newBuilder(com.yahoo.bullet.dsl.ListsAvro other) {
    if (other == null) {
      return new com.yahoo.bullet.dsl.ListsAvro.Builder();
    } else {
      return new com.yahoo.bullet.dsl.ListsAvro.Builder(other);
    }
  }

  /**
   * RecordBuilder for ListsAvro instances.
   */
  @org.apache.avro.specific.AvroGenerated
  public static class Builder extends org.apache.avro.specific.SpecificRecordBuilderBase
    implements org.apache.avro.data.RecordBuilder {

    private java.util.List myIntList;
    private java.util.List myLongList;
    private java.util.List myFloatList;
    private java.util.List myDoubleList;
    private java.util.List myBoolList;
    private java.util.List myStringList;
    private java.util.List> myIntMapList;
    private java.util.List> myLongMapList;
    private java.util.List> myFloatMapList;
    private java.util.List> myDoubleMapList;
    private java.util.List> myBoolMapList;
    private java.util.List> myStringMapList;

    /** Creates a new Builder */
    private Builder() {
      super(SCHEMA$);
    }

    /**
     * Creates a Builder by copying an existing Builder.
     * @param other The existing Builder to copy.
     */
    private Builder(com.yahoo.bullet.dsl.ListsAvro.Builder other) {
      super(other);
      if (isValidValue(fields()[0], other.myIntList)) {
        this.myIntList = data().deepCopy(fields()[0].schema(), other.myIntList);
        fieldSetFlags()[0] = other.fieldSetFlags()[0];
      }
      if (isValidValue(fields()[1], other.myLongList)) {
        this.myLongList = data().deepCopy(fields()[1].schema(), other.myLongList);
        fieldSetFlags()[1] = other.fieldSetFlags()[1];
      }
      if (isValidValue(fields()[2], other.myFloatList)) {
        this.myFloatList = data().deepCopy(fields()[2].schema(), other.myFloatList);
        fieldSetFlags()[2] = other.fieldSetFlags()[2];
      }
      if (isValidValue(fields()[3], other.myDoubleList)) {
        this.myDoubleList = data().deepCopy(fields()[3].schema(), other.myDoubleList);
        fieldSetFlags()[3] = other.fieldSetFlags()[3];
      }
      if (isValidValue(fields()[4], other.myBoolList)) {
        this.myBoolList = data().deepCopy(fields()[4].schema(), other.myBoolList);
        fieldSetFlags()[4] = other.fieldSetFlags()[4];
      }
      if (isValidValue(fields()[5], other.myStringList)) {
        this.myStringList = data().deepCopy(fields()[5].schema(), other.myStringList);
        fieldSetFlags()[5] = other.fieldSetFlags()[5];
      }
      if (isValidValue(fields()[6], other.myIntMapList)) {
        this.myIntMapList = data().deepCopy(fields()[6].schema(), other.myIntMapList);
        fieldSetFlags()[6] = other.fieldSetFlags()[6];
      }
      if (isValidValue(fields()[7], other.myLongMapList)) {
        this.myLongMapList = data().deepCopy(fields()[7].schema(), other.myLongMapList);
        fieldSetFlags()[7] = other.fieldSetFlags()[7];
      }
      if (isValidValue(fields()[8], other.myFloatMapList)) {
        this.myFloatMapList = data().deepCopy(fields()[8].schema(), other.myFloatMapList);
        fieldSetFlags()[8] = other.fieldSetFlags()[8];
      }
      if (isValidValue(fields()[9], other.myDoubleMapList)) {
        this.myDoubleMapList = data().deepCopy(fields()[9].schema(), other.myDoubleMapList);
        fieldSetFlags()[9] = other.fieldSetFlags()[9];
      }
      if (isValidValue(fields()[10], other.myBoolMapList)) {
        this.myBoolMapList = data().deepCopy(fields()[10].schema(), other.myBoolMapList);
        fieldSetFlags()[10] = other.fieldSetFlags()[10];
      }
      if (isValidValue(fields()[11], other.myStringMapList)) {
        this.myStringMapList = data().deepCopy(fields()[11].schema(), other.myStringMapList);
        fieldSetFlags()[11] = other.fieldSetFlags()[11];
      }
    }

    /**
     * Creates a Builder by copying an existing ListsAvro instance
     * @param other The existing instance to copy.
     */
    private Builder(com.yahoo.bullet.dsl.ListsAvro other) {
      super(SCHEMA$);
      if (isValidValue(fields()[0], other.myIntList)) {
        this.myIntList = data().deepCopy(fields()[0].schema(), other.myIntList);
        fieldSetFlags()[0] = true;
      }
      if (isValidValue(fields()[1], other.myLongList)) {
        this.myLongList = data().deepCopy(fields()[1].schema(), other.myLongList);
        fieldSetFlags()[1] = true;
      }
      if (isValidValue(fields()[2], other.myFloatList)) {
        this.myFloatList = data().deepCopy(fields()[2].schema(), other.myFloatList);
        fieldSetFlags()[2] = true;
      }
      if (isValidValue(fields()[3], other.myDoubleList)) {
        this.myDoubleList = data().deepCopy(fields()[3].schema(), other.myDoubleList);
        fieldSetFlags()[3] = true;
      }
      if (isValidValue(fields()[4], other.myBoolList)) {
        this.myBoolList = data().deepCopy(fields()[4].schema(), other.myBoolList);
        fieldSetFlags()[4] = true;
      }
      if (isValidValue(fields()[5], other.myStringList)) {
        this.myStringList = data().deepCopy(fields()[5].schema(), other.myStringList);
        fieldSetFlags()[5] = true;
      }
      if (isValidValue(fields()[6], other.myIntMapList)) {
        this.myIntMapList = data().deepCopy(fields()[6].schema(), other.myIntMapList);
        fieldSetFlags()[6] = true;
      }
      if (isValidValue(fields()[7], other.myLongMapList)) {
        this.myLongMapList = data().deepCopy(fields()[7].schema(), other.myLongMapList);
        fieldSetFlags()[7] = true;
      }
      if (isValidValue(fields()[8], other.myFloatMapList)) {
        this.myFloatMapList = data().deepCopy(fields()[8].schema(), other.myFloatMapList);
        fieldSetFlags()[8] = true;
      }
      if (isValidValue(fields()[9], other.myDoubleMapList)) {
        this.myDoubleMapList = data().deepCopy(fields()[9].schema(), other.myDoubleMapList);
        fieldSetFlags()[9] = true;
      }
      if (isValidValue(fields()[10], other.myBoolMapList)) {
        this.myBoolMapList = data().deepCopy(fields()[10].schema(), other.myBoolMapList);
        fieldSetFlags()[10] = true;
      }
      if (isValidValue(fields()[11], other.myStringMapList)) {
        this.myStringMapList = data().deepCopy(fields()[11].schema(), other.myStringMapList);
        fieldSetFlags()[11] = true;
      }
    }

    /**
      * Gets the value of the 'myIntList' field.
      * @return The value.
      */
    public java.util.List getMyIntList() {
      return myIntList;
    }


    /**
      * Sets the value of the 'myIntList' field.
      * @param value The value of 'myIntList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyIntList(java.util.List value) {
      validate(fields()[0], value);
      this.myIntList = value;
      fieldSetFlags()[0] = true;
      return this;
    }

    /**
      * Checks whether the 'myIntList' field has been set.
      * @return True if the 'myIntList' field has been set, false otherwise.
      */
    public boolean hasMyIntList() {
      return fieldSetFlags()[0];
    }


    /**
      * Clears the value of the 'myIntList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyIntList() {
      myIntList = null;
      fieldSetFlags()[0] = false;
      return this;
    }

    /**
      * Gets the value of the 'myLongList' field.
      * @return The value.
      */
    public java.util.List getMyLongList() {
      return myLongList;
    }


    /**
      * Sets the value of the 'myLongList' field.
      * @param value The value of 'myLongList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyLongList(java.util.List value) {
      validate(fields()[1], value);
      this.myLongList = value;
      fieldSetFlags()[1] = true;
      return this;
    }

    /**
      * Checks whether the 'myLongList' field has been set.
      * @return True if the 'myLongList' field has been set, false otherwise.
      */
    public boolean hasMyLongList() {
      return fieldSetFlags()[1];
    }


    /**
      * Clears the value of the 'myLongList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyLongList() {
      myLongList = null;
      fieldSetFlags()[1] = false;
      return this;
    }

    /**
      * Gets the value of the 'myFloatList' field.
      * @return The value.
      */
    public java.util.List getMyFloatList() {
      return myFloatList;
    }


    /**
      * Sets the value of the 'myFloatList' field.
      * @param value The value of 'myFloatList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyFloatList(java.util.List value) {
      validate(fields()[2], value);
      this.myFloatList = value;
      fieldSetFlags()[2] = true;
      return this;
    }

    /**
      * Checks whether the 'myFloatList' field has been set.
      * @return True if the 'myFloatList' field has been set, false otherwise.
      */
    public boolean hasMyFloatList() {
      return fieldSetFlags()[2];
    }


    /**
      * Clears the value of the 'myFloatList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyFloatList() {
      myFloatList = null;
      fieldSetFlags()[2] = false;
      return this;
    }

    /**
      * Gets the value of the 'myDoubleList' field.
      * @return The value.
      */
    public java.util.List getMyDoubleList() {
      return myDoubleList;
    }


    /**
      * Sets the value of the 'myDoubleList' field.
      * @param value The value of 'myDoubleList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyDoubleList(java.util.List value) {
      validate(fields()[3], value);
      this.myDoubleList = value;
      fieldSetFlags()[3] = true;
      return this;
    }

    /**
      * Checks whether the 'myDoubleList' field has been set.
      * @return True if the 'myDoubleList' field has been set, false otherwise.
      */
    public boolean hasMyDoubleList() {
      return fieldSetFlags()[3];
    }


    /**
      * Clears the value of the 'myDoubleList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyDoubleList() {
      myDoubleList = null;
      fieldSetFlags()[3] = false;
      return this;
    }

    /**
      * Gets the value of the 'myBoolList' field.
      * @return The value.
      */
    public java.util.List getMyBoolList() {
      return myBoolList;
    }


    /**
      * Sets the value of the 'myBoolList' field.
      * @param value The value of 'myBoolList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyBoolList(java.util.List value) {
      validate(fields()[4], value);
      this.myBoolList = value;
      fieldSetFlags()[4] = true;
      return this;
    }

    /**
      * Checks whether the 'myBoolList' field has been set.
      * @return True if the 'myBoolList' field has been set, false otherwise.
      */
    public boolean hasMyBoolList() {
      return fieldSetFlags()[4];
    }


    /**
      * Clears the value of the 'myBoolList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyBoolList() {
      myBoolList = null;
      fieldSetFlags()[4] = false;
      return this;
    }

    /**
      * Gets the value of the 'myStringList' field.
      * @return The value.
      */
    public java.util.List getMyStringList() {
      return myStringList;
    }


    /**
      * Sets the value of the 'myStringList' field.
      * @param value The value of 'myStringList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyStringList(java.util.List value) {
      validate(fields()[5], value);
      this.myStringList = value;
      fieldSetFlags()[5] = true;
      return this;
    }

    /**
      * Checks whether the 'myStringList' field has been set.
      * @return True if the 'myStringList' field has been set, false otherwise.
      */
    public boolean hasMyStringList() {
      return fieldSetFlags()[5];
    }


    /**
      * Clears the value of the 'myStringList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyStringList() {
      myStringList = null;
      fieldSetFlags()[5] = false;
      return this;
    }

    /**
      * Gets the value of the 'myIntMapList' field.
      * @return The value.
      */
    public java.util.List> getMyIntMapList() {
      return myIntMapList;
    }


    /**
      * Sets the value of the 'myIntMapList' field.
      * @param value The value of 'myIntMapList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyIntMapList(java.util.List> value) {
      validate(fields()[6], value);
      this.myIntMapList = value;
      fieldSetFlags()[6] = true;
      return this;
    }

    /**
      * Checks whether the 'myIntMapList' field has been set.
      * @return True if the 'myIntMapList' field has been set, false otherwise.
      */
    public boolean hasMyIntMapList() {
      return fieldSetFlags()[6];
    }


    /**
      * Clears the value of the 'myIntMapList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyIntMapList() {
      myIntMapList = null;
      fieldSetFlags()[6] = false;
      return this;
    }

    /**
      * Gets the value of the 'myLongMapList' field.
      * @return The value.
      */
    public java.util.List> getMyLongMapList() {
      return myLongMapList;
    }


    /**
      * Sets the value of the 'myLongMapList' field.
      * @param value The value of 'myLongMapList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyLongMapList(java.util.List> value) {
      validate(fields()[7], value);
      this.myLongMapList = value;
      fieldSetFlags()[7] = true;
      return this;
    }

    /**
      * Checks whether the 'myLongMapList' field has been set.
      * @return True if the 'myLongMapList' field has been set, false otherwise.
      */
    public boolean hasMyLongMapList() {
      return fieldSetFlags()[7];
    }


    /**
      * Clears the value of the 'myLongMapList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyLongMapList() {
      myLongMapList = null;
      fieldSetFlags()[7] = false;
      return this;
    }

    /**
      * Gets the value of the 'myFloatMapList' field.
      * @return The value.
      */
    public java.util.List> getMyFloatMapList() {
      return myFloatMapList;
    }


    /**
      * Sets the value of the 'myFloatMapList' field.
      * @param value The value of 'myFloatMapList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyFloatMapList(java.util.List> value) {
      validate(fields()[8], value);
      this.myFloatMapList = value;
      fieldSetFlags()[8] = true;
      return this;
    }

    /**
      * Checks whether the 'myFloatMapList' field has been set.
      * @return True if the 'myFloatMapList' field has been set, false otherwise.
      */
    public boolean hasMyFloatMapList() {
      return fieldSetFlags()[8];
    }


    /**
      * Clears the value of the 'myFloatMapList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyFloatMapList() {
      myFloatMapList = null;
      fieldSetFlags()[8] = false;
      return this;
    }

    /**
      * Gets the value of the 'myDoubleMapList' field.
      * @return The value.
      */
    public java.util.List> getMyDoubleMapList() {
      return myDoubleMapList;
    }


    /**
      * Sets the value of the 'myDoubleMapList' field.
      * @param value The value of 'myDoubleMapList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyDoubleMapList(java.util.List> value) {
      validate(fields()[9], value);
      this.myDoubleMapList = value;
      fieldSetFlags()[9] = true;
      return this;
    }

    /**
      * Checks whether the 'myDoubleMapList' field has been set.
      * @return True if the 'myDoubleMapList' field has been set, false otherwise.
      */
    public boolean hasMyDoubleMapList() {
      return fieldSetFlags()[9];
    }


    /**
      * Clears the value of the 'myDoubleMapList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyDoubleMapList() {
      myDoubleMapList = null;
      fieldSetFlags()[9] = false;
      return this;
    }

    /**
      * Gets the value of the 'myBoolMapList' field.
      * @return The value.
      */
    public java.util.List> getMyBoolMapList() {
      return myBoolMapList;
    }


    /**
      * Sets the value of the 'myBoolMapList' field.
      * @param value The value of 'myBoolMapList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyBoolMapList(java.util.List> value) {
      validate(fields()[10], value);
      this.myBoolMapList = value;
      fieldSetFlags()[10] = true;
      return this;
    }

    /**
      * Checks whether the 'myBoolMapList' field has been set.
      * @return True if the 'myBoolMapList' field has been set, false otherwise.
      */
    public boolean hasMyBoolMapList() {
      return fieldSetFlags()[10];
    }


    /**
      * Clears the value of the 'myBoolMapList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyBoolMapList() {
      myBoolMapList = null;
      fieldSetFlags()[10] = false;
      return this;
    }

    /**
      * Gets the value of the 'myStringMapList' field.
      * @return The value.
      */
    public java.util.List> getMyStringMapList() {
      return myStringMapList;
    }


    /**
      * Sets the value of the 'myStringMapList' field.
      * @param value The value of 'myStringMapList'.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder setMyStringMapList(java.util.List> value) {
      validate(fields()[11], value);
      this.myStringMapList = value;
      fieldSetFlags()[11] = true;
      return this;
    }

    /**
      * Checks whether the 'myStringMapList' field has been set.
      * @return True if the 'myStringMapList' field has been set, false otherwise.
      */
    public boolean hasMyStringMapList() {
      return fieldSetFlags()[11];
    }


    /**
      * Clears the value of the 'myStringMapList' field.
      * @return This builder.
      */
    public com.yahoo.bullet.dsl.ListsAvro.Builder clearMyStringMapList() {
      myStringMapList = null;
      fieldSetFlags()[11] = false;
      return this;
    }

    @Override
    @SuppressWarnings("unchecked")
    public ListsAvro build() {
      try {
        ListsAvro record = new ListsAvro();
        record.myIntList = fieldSetFlags()[0] ? this.myIntList : (java.util.List) defaultValue(fields()[0]);
        record.myLongList = fieldSetFlags()[1] ? this.myLongList : (java.util.List) defaultValue(fields()[1]);
        record.myFloatList = fieldSetFlags()[2] ? this.myFloatList : (java.util.List) defaultValue(fields()[2]);
        record.myDoubleList = fieldSetFlags()[3] ? this.myDoubleList : (java.util.List) defaultValue(fields()[3]);
        record.myBoolList = fieldSetFlags()[4] ? this.myBoolList : (java.util.List) defaultValue(fields()[4]);
        record.myStringList = fieldSetFlags()[5] ? this.myStringList : (java.util.List) defaultValue(fields()[5]);
        record.myIntMapList = fieldSetFlags()[6] ? this.myIntMapList : (java.util.List>) defaultValue(fields()[6]);
        record.myLongMapList = fieldSetFlags()[7] ? this.myLongMapList : (java.util.List>) defaultValue(fields()[7]);
        record.myFloatMapList = fieldSetFlags()[8] ? this.myFloatMapList : (java.util.List>) defaultValue(fields()[8]);
        record.myDoubleMapList = fieldSetFlags()[9] ? this.myDoubleMapList : (java.util.List>) defaultValue(fields()[9]);
        record.myBoolMapList = fieldSetFlags()[10] ? this.myBoolMapList : (java.util.List>) defaultValue(fields()[10]);
        record.myStringMapList = fieldSetFlags()[11] ? this.myStringMapList : (java.util.List>) defaultValue(fields()[11]);
        return record;
      } catch (org.apache.avro.AvroMissingFieldException e) {
        throw e;
      } catch (java.lang.Exception e) {
        throw new org.apache.avro.AvroRuntimeException(e);
      }
    }
  }

  @SuppressWarnings("unchecked")
  private static final org.apache.avro.io.DatumWriter
    WRITER$ = (org.apache.avro.io.DatumWriter)MODEL$.createDatumWriter(SCHEMA$);

  @Override public void writeExternal(java.io.ObjectOutput out)
    throws java.io.IOException {
    WRITER$.write(this, SpecificData.getEncoder(out));
  }

  @SuppressWarnings("unchecked")
  private static final org.apache.avro.io.DatumReader
    READER$ = (org.apache.avro.io.DatumReader)MODEL$.createDatumReader(SCHEMA$);

  @Override public void readExternal(java.io.ObjectInput in)
    throws java.io.IOException {
    READER$.read(this, SpecificData.getDecoder(in));
  }

  @Override protected boolean hasCustomCoders() { return true; }

  @Override public void customEncode(org.apache.avro.io.Encoder out)
    throws java.io.IOException
  {
    long size0 = this.myIntList.size();
    out.writeArrayStart();
    out.setItemCount(size0);
    long actualSize0 = 0;
    for (java.lang.Integer e0: this.myIntList) {
      actualSize0++;
      out.startItem();
      out.writeInt(e0);
    }
    out.writeArrayEnd();
    if (actualSize0 != size0)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size0 + ", but element count was " + actualSize0 + ".");

    long size1 = this.myLongList.size();
    out.writeArrayStart();
    out.setItemCount(size1);
    long actualSize1 = 0;
    for (java.lang.Long e1: this.myLongList) {
      actualSize1++;
      out.startItem();
      out.writeLong(e1);
    }
    out.writeArrayEnd();
    if (actualSize1 != size1)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size1 + ", but element count was " + actualSize1 + ".");

    long size2 = this.myFloatList.size();
    out.writeArrayStart();
    out.setItemCount(size2);
    long actualSize2 = 0;
    for (java.lang.Float e2: this.myFloatList) {
      actualSize2++;
      out.startItem();
      out.writeFloat(e2);
    }
    out.writeArrayEnd();
    if (actualSize2 != size2)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size2 + ", but element count was " + actualSize2 + ".");

    long size3 = this.myDoubleList.size();
    out.writeArrayStart();
    out.setItemCount(size3);
    long actualSize3 = 0;
    for (java.lang.Double e3: this.myDoubleList) {
      actualSize3++;
      out.startItem();
      out.writeDouble(e3);
    }
    out.writeArrayEnd();
    if (actualSize3 != size3)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size3 + ", but element count was " + actualSize3 + ".");

    long size4 = this.myBoolList.size();
    out.writeArrayStart();
    out.setItemCount(size4);
    long actualSize4 = 0;
    for (java.lang.Boolean e4: this.myBoolList) {
      actualSize4++;
      out.startItem();
      out.writeBoolean(e4);
    }
    out.writeArrayEnd();
    if (actualSize4 != size4)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size4 + ", but element count was " + actualSize4 + ".");

    long size5 = this.myStringList.size();
    out.writeArrayStart();
    out.setItemCount(size5);
    long actualSize5 = 0;
    for (java.lang.String e5: this.myStringList) {
      actualSize5++;
      out.startItem();
      out.writeString(e5);
    }
    out.writeArrayEnd();
    if (actualSize5 != size5)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size5 + ", but element count was " + actualSize5 + ".");

    long size6 = this.myIntMapList.size();
    out.writeArrayStart();
    out.setItemCount(size6);
    long actualSize6 = 0;
    for (java.util.Map e6: this.myIntMapList) {
      actualSize6++;
      out.startItem();
      long size7 = e6.size();
      out.writeMapStart();
      out.setItemCount(size7);
      long actualSize7 = 0;
      for (java.util.Map.Entry e7: e6.entrySet()) {
        actualSize7++;
        out.startItem();
        out.writeString(e7.getKey());
        java.lang.Integer v7 = e7.getValue();
        out.writeInt(v7);
      }
      out.writeMapEnd();
      if (actualSize7 != size7)
      throw new java.util.ConcurrentModificationException("Map-size written was " + size7 + ", but element count was " + actualSize7 + ".");
    }
    out.writeArrayEnd();
    if (actualSize6 != size6)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size6 + ", but element count was " + actualSize6 + ".");

    long size8 = this.myLongMapList.size();
    out.writeArrayStart();
    out.setItemCount(size8);
    long actualSize8 = 0;
    for (java.util.Map e8: this.myLongMapList) {
      actualSize8++;
      out.startItem();
      long size9 = e8.size();
      out.writeMapStart();
      out.setItemCount(size9);
      long actualSize9 = 0;
      for (java.util.Map.Entry e9: e8.entrySet()) {
        actualSize9++;
        out.startItem();
        out.writeString(e9.getKey());
        java.lang.Long v9 = e9.getValue();
        out.writeLong(v9);
      }
      out.writeMapEnd();
      if (actualSize9 != size9)
      throw new java.util.ConcurrentModificationException("Map-size written was " + size9 + ", but element count was " + actualSize9 + ".");
    }
    out.writeArrayEnd();
    if (actualSize8 != size8)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size8 + ", but element count was " + actualSize8 + ".");

    long size10 = this.myFloatMapList.size();
    out.writeArrayStart();
    out.setItemCount(size10);
    long actualSize10 = 0;
    for (java.util.Map e10: this.myFloatMapList) {
      actualSize10++;
      out.startItem();
      long size11 = e10.size();
      out.writeMapStart();
      out.setItemCount(size11);
      long actualSize11 = 0;
      for (java.util.Map.Entry e11: e10.entrySet()) {
        actualSize11++;
        out.startItem();
        out.writeString(e11.getKey());
        java.lang.Float v11 = e11.getValue();
        out.writeFloat(v11);
      }
      out.writeMapEnd();
      if (actualSize11 != size11)
      throw new java.util.ConcurrentModificationException("Map-size written was " + size11 + ", but element count was " + actualSize11 + ".");
    }
    out.writeArrayEnd();
    if (actualSize10 != size10)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size10 + ", but element count was " + actualSize10 + ".");

    long size12 = this.myDoubleMapList.size();
    out.writeArrayStart();
    out.setItemCount(size12);
    long actualSize12 = 0;
    for (java.util.Map e12: this.myDoubleMapList) {
      actualSize12++;
      out.startItem();
      long size13 = e12.size();
      out.writeMapStart();
      out.setItemCount(size13);
      long actualSize13 = 0;
      for (java.util.Map.Entry e13: e12.entrySet()) {
        actualSize13++;
        out.startItem();
        out.writeString(e13.getKey());
        java.lang.Double v13 = e13.getValue();
        out.writeDouble(v13);
      }
      out.writeMapEnd();
      if (actualSize13 != size13)
      throw new java.util.ConcurrentModificationException("Map-size written was " + size13 + ", but element count was " + actualSize13 + ".");
    }
    out.writeArrayEnd();
    if (actualSize12 != size12)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size12 + ", but element count was " + actualSize12 + ".");

    long size14 = this.myBoolMapList.size();
    out.writeArrayStart();
    out.setItemCount(size14);
    long actualSize14 = 0;
    for (java.util.Map e14: this.myBoolMapList) {
      actualSize14++;
      out.startItem();
      long size15 = e14.size();
      out.writeMapStart();
      out.setItemCount(size15);
      long actualSize15 = 0;
      for (java.util.Map.Entry e15: e14.entrySet()) {
        actualSize15++;
        out.startItem();
        out.writeString(e15.getKey());
        java.lang.Boolean v15 = e15.getValue();
        out.writeBoolean(v15);
      }
      out.writeMapEnd();
      if (actualSize15 != size15)
      throw new java.util.ConcurrentModificationException("Map-size written was " + size15 + ", but element count was " + actualSize15 + ".");
    }
    out.writeArrayEnd();
    if (actualSize14 != size14)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size14 + ", but element count was " + actualSize14 + ".");

    long size16 = this.myStringMapList.size();
    out.writeArrayStart();
    out.setItemCount(size16);
    long actualSize16 = 0;
    for (java.util.Map e16: this.myStringMapList) {
      actualSize16++;
      out.startItem();
      long size17 = e16.size();
      out.writeMapStart();
      out.setItemCount(size17);
      long actualSize17 = 0;
      for (java.util.Map.Entry e17: e16.entrySet()) {
        actualSize17++;
        out.startItem();
        out.writeString(e17.getKey());
        java.lang.String v17 = e17.getValue();
        out.writeString(v17);
      }
      out.writeMapEnd();
      if (actualSize17 != size17)
      throw new java.util.ConcurrentModificationException("Map-size written was " + size17 + ", but element count was " + actualSize17 + ".");
    }
    out.writeArrayEnd();
    if (actualSize16 != size16)
      throw new java.util.ConcurrentModificationException("Array-size written was " + size16 + ", but element count was " + actualSize16 + ".");

  }

  @Override public void customDecode(org.apache.avro.io.ResolvingDecoder in)
    throws java.io.IOException
  {
    org.apache.avro.Schema.Field[] fieldOrder = in.readFieldOrderIfDiff();
    if (fieldOrder == null) {
      long size0 = in.readArrayStart();
      java.util.List a0 = this.myIntList;
      if (a0 == null) {
        a0 = new SpecificData.Array((int)size0, SCHEMA$.getField("myIntList").schema());
        this.myIntList = a0;
      } else a0.clear();
      SpecificData.Array ga0 = (a0 instanceof SpecificData.Array ? (SpecificData.Array)a0 : null);
      for ( ; 0 < size0; size0 = in.arrayNext()) {
        for ( ; size0 != 0; size0--) {
          java.lang.Integer e0 = (ga0 != null ? ga0.peek() : null);
          e0 = in.readInt();
          a0.add(e0);
        }
      }

      long size1 = in.readArrayStart();
      java.util.List a1 = this.myLongList;
      if (a1 == null) {
        a1 = new SpecificData.Array((int)size1, SCHEMA$.getField("myLongList").schema());
        this.myLongList = a1;
      } else a1.clear();
      SpecificData.Array ga1 = (a1 instanceof SpecificData.Array ? (SpecificData.Array)a1 : null);
      for ( ; 0 < size1; size1 = in.arrayNext()) {
        for ( ; size1 != 0; size1--) {
          java.lang.Long e1 = (ga1 != null ? ga1.peek() : null);
          e1 = in.readLong();
          a1.add(e1);
        }
      }

      long size2 = in.readArrayStart();
      java.util.List a2 = this.myFloatList;
      if (a2 == null) {
        a2 = new SpecificData.Array((int)size2, SCHEMA$.getField("myFloatList").schema());
        this.myFloatList = a2;
      } else a2.clear();
      SpecificData.Array ga2 = (a2 instanceof SpecificData.Array ? (SpecificData.Array)a2 : null);
      for ( ; 0 < size2; size2 = in.arrayNext()) {
        for ( ; size2 != 0; size2--) {
          java.lang.Float e2 = (ga2 != null ? ga2.peek() : null);
          e2 = in.readFloat();
          a2.add(e2);
        }
      }

      long size3 = in.readArrayStart();
      java.util.List a3 = this.myDoubleList;
      if (a3 == null) {
        a3 = new SpecificData.Array((int)size3, SCHEMA$.getField("myDoubleList").schema());
        this.myDoubleList = a3;
      } else a3.clear();
      SpecificData.Array ga3 = (a3 instanceof SpecificData.Array ? (SpecificData.Array)a3 : null);
      for ( ; 0 < size3; size3 = in.arrayNext()) {
        for ( ; size3 != 0; size3--) {
          java.lang.Double e3 = (ga3 != null ? ga3.peek() : null);
          e3 = in.readDouble();
          a3.add(e3);
        }
      }

      long size4 = in.readArrayStart();
      java.util.List a4 = this.myBoolList;
      if (a4 == null) {
        a4 = new SpecificData.Array((int)size4, SCHEMA$.getField("myBoolList").schema());
        this.myBoolList = a4;
      } else a4.clear();
      SpecificData.Array ga4 = (a4 instanceof SpecificData.Array ? (SpecificData.Array)a4 : null);
      for ( ; 0 < size4; size4 = in.arrayNext()) {
        for ( ; size4 != 0; size4--) {
          java.lang.Boolean e4 = (ga4 != null ? ga4.peek() : null);
          e4 = in.readBoolean();
          a4.add(e4);
        }
      }

      long size5 = in.readArrayStart();
      java.util.List a5 = this.myStringList;
      if (a5 == null) {
        a5 = new SpecificData.Array((int)size5, SCHEMA$.getField("myStringList").schema());
        this.myStringList = a5;
      } else a5.clear();
      SpecificData.Array ga5 = (a5 instanceof SpecificData.Array ? (SpecificData.Array)a5 : null);
      for ( ; 0 < size5; size5 = in.arrayNext()) {
        for ( ; size5 != 0; size5--) {
          java.lang.String e5 = (ga5 != null ? ga5.peek() : null);
          e5 = in.readString();
          a5.add(e5);
        }
      }

      long size6 = in.readArrayStart();
      java.util.List> a6 = this.myIntMapList;
      if (a6 == null) {
        a6 = new SpecificData.Array>((int)size6, SCHEMA$.getField("myIntMapList").schema());
        this.myIntMapList = a6;
      } else a6.clear();
      SpecificData.Array> ga6 = (a6 instanceof SpecificData.Array ? (SpecificData.Array>)a6 : null);
      for ( ; 0 < size6; size6 = in.arrayNext()) {
        for ( ; size6 != 0; size6--) {
          java.util.Map e6 = (ga6 != null ? ga6.peek() : null);
          long size7 = in.readMapStart();
          java.util.Map m7 = e6; // Need fresh name due to limitation of macro system
          if (m7 == null) {
            m7 = new java.util.HashMap((int)size7);
            e6 = m7;
          } else m7.clear();
          for ( ; 0 < size7; size7 = in.mapNext()) {
            for ( ; size7 != 0; size7--) {
              java.lang.String k7 = null;
              k7 = in.readString();
              java.lang.Integer v7 = null;
              v7 = in.readInt();
              m7.put(k7, v7);
            }
          }
          a6.add(e6);
        }
      }

      long size8 = in.readArrayStart();
      java.util.List> a8 = this.myLongMapList;
      if (a8 == null) {
        a8 = new SpecificData.Array>((int)size8, SCHEMA$.getField("myLongMapList").schema());
        this.myLongMapList = a8;
      } else a8.clear();
      SpecificData.Array> ga8 = (a8 instanceof SpecificData.Array ? (SpecificData.Array>)a8 : null);
      for ( ; 0 < size8; size8 = in.arrayNext()) {
        for ( ; size8 != 0; size8--) {
          java.util.Map e8 = (ga8 != null ? ga8.peek() : null);
          long size9 = in.readMapStart();
          java.util.Map m9 = e8; // Need fresh name due to limitation of macro system
          if (m9 == null) {
            m9 = new java.util.HashMap((int)size9);
            e8 = m9;
          } else m9.clear();
          for ( ; 0 < size9; size9 = in.mapNext()) {
            for ( ; size9 != 0; size9--) {
              java.lang.String k9 = null;
              k9 = in.readString();
              java.lang.Long v9 = null;
              v9 = in.readLong();
              m9.put(k9, v9);
            }
          }
          a8.add(e8);
        }
      }

      long size10 = in.readArrayStart();
      java.util.List> a10 = this.myFloatMapList;
      if (a10 == null) {
        a10 = new SpecificData.Array>((int)size10, SCHEMA$.getField("myFloatMapList").schema());
        this.myFloatMapList = a10;
      } else a10.clear();
      SpecificData.Array> ga10 = (a10 instanceof SpecificData.Array ? (SpecificData.Array>)a10 : null);
      for ( ; 0 < size10; size10 = in.arrayNext()) {
        for ( ; size10 != 0; size10--) {
          java.util.Map e10 = (ga10 != null ? ga10.peek() : null);
          long size11 = in.readMapStart();
          java.util.Map m11 = e10; // Need fresh name due to limitation of macro system
          if (m11 == null) {
            m11 = new java.util.HashMap((int)size11);
            e10 = m11;
          } else m11.clear();
          for ( ; 0 < size11; size11 = in.mapNext()) {
            for ( ; size11 != 0; size11--) {
              java.lang.String k11 = null;
              k11 = in.readString();
              java.lang.Float v11 = null;
              v11 = in.readFloat();
              m11.put(k11, v11);
            }
          }
          a10.add(e10);
        }
      }

      long size12 = in.readArrayStart();
      java.util.List> a12 = this.myDoubleMapList;
      if (a12 == null) {
        a12 = new SpecificData.Array>((int)size12, SCHEMA$.getField("myDoubleMapList").schema());
        this.myDoubleMapList = a12;
      } else a12.clear();
      SpecificData.Array> ga12 = (a12 instanceof SpecificData.Array ? (SpecificData.Array>)a12 : null);
      for ( ; 0 < size12; size12 = in.arrayNext()) {
        for ( ; size12 != 0; size12--) {
          java.util.Map e12 = (ga12 != null ? ga12.peek() : null);
          long size13 = in.readMapStart();
          java.util.Map m13 = e12; // Need fresh name due to limitation of macro system
          if (m13 == null) {
            m13 = new java.util.HashMap((int)size13);
            e12 = m13;
          } else m13.clear();
          for ( ; 0 < size13; size13 = in.mapNext()) {
            for ( ; size13 != 0; size13--) {
              java.lang.String k13 = null;
              k13 = in.readString();
              java.lang.Double v13 = null;
              v13 = in.readDouble();
              m13.put(k13, v13);
            }
          }
          a12.add(e12);
        }
      }

      long size14 = in.readArrayStart();
      java.util.List> a14 = this.myBoolMapList;
      if (a14 == null) {
        a14 = new SpecificData.Array>((int)size14, SCHEMA$.getField("myBoolMapList").schema());
        this.myBoolMapList = a14;
      } else a14.clear();
      SpecificData.Array> ga14 = (a14 instanceof SpecificData.Array ? (SpecificData.Array>)a14 : null);
      for ( ; 0 < size14; size14 = in.arrayNext()) {
        for ( ; size14 != 0; size14--) {
          java.util.Map e14 = (ga14 != null ? ga14.peek() : null);
          long size15 = in.readMapStart();
          java.util.Map m15 = e14; // Need fresh name due to limitation of macro system
          if (m15 == null) {
            m15 = new java.util.HashMap((int)size15);
            e14 = m15;
          } else m15.clear();
          for ( ; 0 < size15; size15 = in.mapNext()) {
            for ( ; size15 != 0; size15--) {
              java.lang.String k15 = null;
              k15 = in.readString();
              java.lang.Boolean v15 = null;
              v15 = in.readBoolean();
              m15.put(k15, v15);
            }
          }
          a14.add(e14);
        }
      }

      long size16 = in.readArrayStart();
      java.util.List> a16 = this.myStringMapList;
      if (a16 == null) {
        a16 = new SpecificData.Array>((int)size16, SCHEMA$.getField("myStringMapList").schema());
        this.myStringMapList = a16;
      } else a16.clear();
      SpecificData.Array> ga16 = (a16 instanceof SpecificData.Array ? (SpecificData.Array>)a16 : null);
      for ( ; 0 < size16; size16 = in.arrayNext()) {
        for ( ; size16 != 0; size16--) {
          java.util.Map e16 = (ga16 != null ? ga16.peek() : null);
          long size17 = in.readMapStart();
          java.util.Map m17 = e16; // Need fresh name due to limitation of macro system
          if (m17 == null) {
            m17 = new java.util.HashMap((int)size17);
            e16 = m17;
          } else m17.clear();
          for ( ; 0 < size17; size17 = in.mapNext()) {
            for ( ; size17 != 0; size17--) {
              java.lang.String k17 = null;
              k17 = in.readString();
              java.lang.String v17 = null;
              v17 = in.readString();
              m17.put(k17, v17);
            }
          }
          a16.add(e16);
        }
      }

    } else {
      for (int i = 0; i < 12; i++) {
        switch (fieldOrder[i].pos()) {
        case 0:
          long size0 = in.readArrayStart();
          java.util.List a0 = this.myIntList;
          if (a0 == null) {
            a0 = new SpecificData.Array((int)size0, SCHEMA$.getField("myIntList").schema());
            this.myIntList = a0;
          } else a0.clear();
          SpecificData.Array ga0 = (a0 instanceof SpecificData.Array ? (SpecificData.Array)a0 : null);
          for ( ; 0 < size0; size0 = in.arrayNext()) {
            for ( ; size0 != 0; size0--) {
              java.lang.Integer e0 = (ga0 != null ? ga0.peek() : null);
              e0 = in.readInt();
              a0.add(e0);
            }
          }
          break;

        case 1:
          long size1 = in.readArrayStart();
          java.util.List a1 = this.myLongList;
          if (a1 == null) {
            a1 = new SpecificData.Array((int)size1, SCHEMA$.getField("myLongList").schema());
            this.myLongList = a1;
          } else a1.clear();
          SpecificData.Array ga1 = (a1 instanceof SpecificData.Array ? (SpecificData.Array)a1 : null);
          for ( ; 0 < size1; size1 = in.arrayNext()) {
            for ( ; size1 != 0; size1--) {
              java.lang.Long e1 = (ga1 != null ? ga1.peek() : null);
              e1 = in.readLong();
              a1.add(e1);
            }
          }
          break;

        case 2:
          long size2 = in.readArrayStart();
          java.util.List a2 = this.myFloatList;
          if (a2 == null) {
            a2 = new SpecificData.Array((int)size2, SCHEMA$.getField("myFloatList").schema());
            this.myFloatList = a2;
          } else a2.clear();
          SpecificData.Array ga2 = (a2 instanceof SpecificData.Array ? (SpecificData.Array)a2 : null);
          for ( ; 0 < size2; size2 = in.arrayNext()) {
            for ( ; size2 != 0; size2--) {
              java.lang.Float e2 = (ga2 != null ? ga2.peek() : null);
              e2 = in.readFloat();
              a2.add(e2);
            }
          }
          break;

        case 3:
          long size3 = in.readArrayStart();
          java.util.List a3 = this.myDoubleList;
          if (a3 == null) {
            a3 = new SpecificData.Array((int)size3, SCHEMA$.getField("myDoubleList").schema());
            this.myDoubleList = a3;
          } else a3.clear();
          SpecificData.Array ga3 = (a3 instanceof SpecificData.Array ? (SpecificData.Array)a3 : null);
          for ( ; 0 < size3; size3 = in.arrayNext()) {
            for ( ; size3 != 0; size3--) {
              java.lang.Double e3 = (ga3 != null ? ga3.peek() : null);
              e3 = in.readDouble();
              a3.add(e3);
            }
          }
          break;

        case 4:
          long size4 = in.readArrayStart();
          java.util.List a4 = this.myBoolList;
          if (a4 == null) {
            a4 = new SpecificData.Array((int)size4, SCHEMA$.getField("myBoolList").schema());
            this.myBoolList = a4;
          } else a4.clear();
          SpecificData.Array ga4 = (a4 instanceof SpecificData.Array ? (SpecificData.Array)a4 : null);
          for ( ; 0 < size4; size4 = in.arrayNext()) {
            for ( ; size4 != 0; size4--) {
              java.lang.Boolean e4 = (ga4 != null ? ga4.peek() : null);
              e4 = in.readBoolean();
              a4.add(e4);
            }
          }
          break;

        case 5:
          long size5 = in.readArrayStart();
          java.util.List a5 = this.myStringList;
          if (a5 == null) {
            a5 = new SpecificData.Array((int)size5, SCHEMA$.getField("myStringList").schema());
            this.myStringList = a5;
          } else a5.clear();
          SpecificData.Array ga5 = (a5 instanceof SpecificData.Array ? (SpecificData.Array)a5 : null);
          for ( ; 0 < size5; size5 = in.arrayNext()) {
            for ( ; size5 != 0; size5--) {
              java.lang.String e5 = (ga5 != null ? ga5.peek() : null);
              e5 = in.readString();
              a5.add(e5);
            }
          }
          break;

        case 6:
          long size6 = in.readArrayStart();
          java.util.List> a6 = this.myIntMapList;
          if (a6 == null) {
            a6 = new SpecificData.Array>((int)size6, SCHEMA$.getField("myIntMapList").schema());
            this.myIntMapList = a6;
          } else a6.clear();
          SpecificData.Array> ga6 = (a6 instanceof SpecificData.Array ? (SpecificData.Array>)a6 : null);
          for ( ; 0 < size6; size6 = in.arrayNext()) {
            for ( ; size6 != 0; size6--) {
              java.util.Map e6 = (ga6 != null ? ga6.peek() : null);
              long size7 = in.readMapStart();
              java.util.Map m7 = e6; // Need fresh name due to limitation of macro system
              if (m7 == null) {
                m7 = new java.util.HashMap((int)size7);
                e6 = m7;
              } else m7.clear();
              for ( ; 0 < size7; size7 = in.mapNext()) {
                for ( ; size7 != 0; size7--) {
                  java.lang.String k7 = null;
                  k7 = in.readString();
                  java.lang.Integer v7 = null;
                  v7 = in.readInt();
                  m7.put(k7, v7);
                }
              }
              a6.add(e6);
            }
          }
          break;

        case 7:
          long size8 = in.readArrayStart();
          java.util.List> a8 = this.myLongMapList;
          if (a8 == null) {
            a8 = new SpecificData.Array>((int)size8, SCHEMA$.getField("myLongMapList").schema());
            this.myLongMapList = a8;
          } else a8.clear();
          SpecificData.Array> ga8 = (a8 instanceof SpecificData.Array ? (SpecificData.Array>)a8 : null);
          for ( ; 0 < size8; size8 = in.arrayNext()) {
            for ( ; size8 != 0; size8--) {
              java.util.Map e8 = (ga8 != null ? ga8.peek() : null);
              long size9 = in.readMapStart();
              java.util.Map m9 = e8; // Need fresh name due to limitation of macro system
              if (m9 == null) {
                m9 = new java.util.HashMap((int)size9);
                e8 = m9;
              } else m9.clear();
              for ( ; 0 < size9; size9 = in.mapNext()) {
                for ( ; size9 != 0; size9--) {
                  java.lang.String k9 = null;
                  k9 = in.readString();
                  java.lang.Long v9 = null;
                  v9 = in.readLong();
                  m9.put(k9, v9);
                }
              }
              a8.add(e8);
            }
          }
          break;

        case 8:
          long size10 = in.readArrayStart();
          java.util.List> a10 = this.myFloatMapList;
          if (a10 == null) {
            a10 = new SpecificData.Array>((int)size10, SCHEMA$.getField("myFloatMapList").schema());
            this.myFloatMapList = a10;
          } else a10.clear();
          SpecificData.Array> ga10 = (a10 instanceof SpecificData.Array ? (SpecificData.Array>)a10 : null);
          for ( ; 0 < size10; size10 = in.arrayNext()) {
            for ( ; size10 != 0; size10--) {
              java.util.Map e10 = (ga10 != null ? ga10.peek() : null);
              long size11 = in.readMapStart();
              java.util.Map m11 = e10; // Need fresh name due to limitation of macro system
              if (m11 == null) {
                m11 = new java.util.HashMap((int)size11);
                e10 = m11;
              } else m11.clear();
              for ( ; 0 < size11; size11 = in.mapNext()) {
                for ( ; size11 != 0; size11--) {
                  java.lang.String k11 = null;
                  k11 = in.readString();
                  java.lang.Float v11 = null;
                  v11 = in.readFloat();
                  m11.put(k11, v11);
                }
              }
              a10.add(e10);
            }
          }
          break;

        case 9:
          long size12 = in.readArrayStart();
          java.util.List> a12 = this.myDoubleMapList;
          if (a12 == null) {
            a12 = new SpecificData.Array>((int)size12, SCHEMA$.getField("myDoubleMapList").schema());
            this.myDoubleMapList = a12;
          } else a12.clear();
          SpecificData.Array> ga12 = (a12 instanceof SpecificData.Array ? (SpecificData.Array>)a12 : null);
          for ( ; 0 < size12; size12 = in.arrayNext()) {
            for ( ; size12 != 0; size12--) {
              java.util.Map e12 = (ga12 != null ? ga12.peek() : null);
              long size13 = in.readMapStart();
              java.util.Map m13 = e12; // Need fresh name due to limitation of macro system
              if (m13 == null) {
                m13 = new java.util.HashMap((int)size13);
                e12 = m13;
              } else m13.clear();
              for ( ; 0 < size13; size13 = in.mapNext()) {
                for ( ; size13 != 0; size13--) {
                  java.lang.String k13 = null;
                  k13 = in.readString();
                  java.lang.Double v13 = null;
                  v13 = in.readDouble();
                  m13.put(k13, v13);
                }
              }
              a12.add(e12);
            }
          }
          break;

        case 10:
          long size14 = in.readArrayStart();
          java.util.List> a14 = this.myBoolMapList;
          if (a14 == null) {
            a14 = new SpecificData.Array>((int)size14, SCHEMA$.getField("myBoolMapList").schema());
            this.myBoolMapList = a14;
          } else a14.clear();
          SpecificData.Array> ga14 = (a14 instanceof SpecificData.Array ? (SpecificData.Array>)a14 : null);
          for ( ; 0 < size14; size14 = in.arrayNext()) {
            for ( ; size14 != 0; size14--) {
              java.util.Map e14 = (ga14 != null ? ga14.peek() : null);
              long size15 = in.readMapStart();
              java.util.Map m15 = e14; // Need fresh name due to limitation of macro system
              if (m15 == null) {
                m15 = new java.util.HashMap((int)size15);
                e14 = m15;
              } else m15.clear();
              for ( ; 0 < size15; size15 = in.mapNext()) {
                for ( ; size15 != 0; size15--) {
                  java.lang.String k15 = null;
                  k15 = in.readString();
                  java.lang.Boolean v15 = null;
                  v15 = in.readBoolean();
                  m15.put(k15, v15);
                }
              }
              a14.add(e14);
            }
          }
          break;

        case 11:
          long size16 = in.readArrayStart();
          java.util.List> a16 = this.myStringMapList;
          if (a16 == null) {
            a16 = new SpecificData.Array>((int)size16, SCHEMA$.getField("myStringMapList").schema());
            this.myStringMapList = a16;
          } else a16.clear();
          SpecificData.Array> ga16 = (a16 instanceof SpecificData.Array ? (SpecificData.Array>)a16 : null);
          for ( ; 0 < size16; size16 = in.arrayNext()) {
            for ( ; size16 != 0; size16--) {
              java.util.Map e16 = (ga16 != null ? ga16.peek() : null);
              long size17 = in.readMapStart();
              java.util.Map m17 = e16; // Need fresh name due to limitation of macro system
              if (m17 == null) {
                m17 = new java.util.HashMap((int)size17);
                e16 = m17;
              } else m17.clear();
              for ( ; 0 < size17; size17 = in.mapNext()) {
                for ( ; size17 != 0; size17--) {
                  java.lang.String k17 = null;
                  k17 = in.readString();
                  java.lang.String v17 = null;
                  v17 = in.readString();
                  m17.put(k17, v17);
                }
              }
              a16.add(e16);
            }
          }
          break;

        default:
          throw new java.io.IOException("Corrupt ResolvingDecoder.");
        }
      }
    }
  }
}














© 2015 - 2024 Weber Informatics LLC | Privacy Policy