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

com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw Maven / Gradle / Ivy

/**
 * Autogenerated by Avro
 *
 * DO NOT EDIT DIRECTLY
 */
package com.rtbhouse.utils.generated.avro.benchmark;

import org.apache.avro.specific.SpecificData;
import org.apache.avro.message.BinaryMessageEncoder;
import org.apache.avro.message.BinaryMessageDecoder;
import org.apache.avro.message.SchemaStore;

@SuppressWarnings("all")
@org.apache.avro.specific.AvroGenerated
public class NestedRecordLMFhw extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
  private static final long serialVersionUID = 7852117292742515650L;
  public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"NestedRecordLMFhw\",\"namespace\":\"com.rtbhouse.utils.generated.avro.benchmark\",\"fields\":[{\"name\":\"zQApbHqUBM\",\"type\":\"long\"},{\"name\":\"ifnxJfdYLh\",\"type\":[\"null\",\"int\"]},{\"name\":\"XgdzOwgYRK\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"fixed\",\"name\":\"FixedQXxno\",\"size\":2}}},{\"name\":\"qcSphtBoHw\",\"type\":\"long\"},{\"name\":\"fdXiKyrAUd\",\"type\":\"int\"},{\"name\":\"SHIZeswFCl\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"fixed\",\"name\":\"FixedwpCvH\",\"size\":4},\"avro.java.string\":\"String\"}},{\"name\":\"ohsNTpUTaU\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}},{\"name\":\"pzYUXtMNOj\",\"type\":{\"type\":\"record\",\"name\":\"NestedRecordzatZj\",\"fields\":[{\"name\":\"sRRwCInMmL\",\"type\":[\"null\",\"int\"]},{\"name\":\"UmjvPXMSSU\",\"type\":[\"null\",\"int\"]},{\"name\":\"JbxteqDoCH\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"xicxSEwCQz\",\"type\":\"int\"},{\"name\":\"bWKcnKlYCI\",\"type\":\"double\"},{\"name\":\"ehLdScNmpZ\",\"type\":\"boolean\"},{\"name\":\"PHxQhwUmuA\",\"type\":\"float\"},{\"name\":\"tfZqMnRvCb\",\"type\":\"boolean\"},{\"name\":\"KZBxobnPyT\",\"type\":\"double\"},{\"name\":\"KtmYGOPJUd\",\"type\":[\"null\",\"int\"]}]}},{\"name\":\"XDroyRsCYT\",\"type\":[\"null\",{\"type\":\"fixed\",\"name\":\"FixedAZbkW\",\"size\":9}]},{\"name\":\"waVDMDicyV\",\"type\":{\"type\":\"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 BinaryMessageDecoder instance 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
   */
  public static BinaryMessageDecoder createDecoder(SchemaStore resolver) {
    return new BinaryMessageDecoder(MODEL$, SCHEMA$, resolver);
  }

  /** Serializes this NestedRecordLMFhw to a ByteBuffer. */
  public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException {
    return ENCODER.encode(this);
  }

  /** Deserializes a NestedRecordLMFhw from a ByteBuffer. */
  public static NestedRecordLMFhw fromByteBuffer(
      java.nio.ByteBuffer b) throws java.io.IOException {
    return DECODER.decode(b);
  }

   private long zQApbHqUBM;
   private java.lang.Integer ifnxJfdYLh;
   private java.util.List XgdzOwgYRK;
   private long qcSphtBoHw;
   private int fdXiKyrAUd;
   private java.util.Map SHIZeswFCl;
   private java.util.Map ohsNTpUTaU;
   private com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj pzYUXtMNOj;
   private com.rtbhouse.utils.generated.avro.benchmark.FixedAZbkW XDroyRsCYT;
   private java.lang.String waVDMDicyV;

  /**
   * 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 NestedRecordLMFhw() {}

  /**
   * All-args constructor.
   * @param zQApbHqUBM The new value for zQApbHqUBM
   * @param ifnxJfdYLh The new value for ifnxJfdYLh
   * @param XgdzOwgYRK The new value for XgdzOwgYRK
   * @param qcSphtBoHw The new value for qcSphtBoHw
   * @param fdXiKyrAUd The new value for fdXiKyrAUd
   * @param SHIZeswFCl The new value for SHIZeswFCl
   * @param ohsNTpUTaU The new value for ohsNTpUTaU
   * @param pzYUXtMNOj The new value for pzYUXtMNOj
   * @param XDroyRsCYT The new value for XDroyRsCYT
   * @param waVDMDicyV The new value for waVDMDicyV
   */
  public NestedRecordLMFhw(java.lang.Long zQApbHqUBM, java.lang.Integer ifnxJfdYLh, java.util.List XgdzOwgYRK, java.lang.Long qcSphtBoHw, java.lang.Integer fdXiKyrAUd, java.util.Map SHIZeswFCl, java.util.Map ohsNTpUTaU, com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj pzYUXtMNOj, com.rtbhouse.utils.generated.avro.benchmark.FixedAZbkW XDroyRsCYT, java.lang.String waVDMDicyV) {
    this.zQApbHqUBM = zQApbHqUBM;
    this.ifnxJfdYLh = ifnxJfdYLh;
    this.XgdzOwgYRK = XgdzOwgYRK;
    this.qcSphtBoHw = qcSphtBoHw;
    this.fdXiKyrAUd = fdXiKyrAUd;
    this.SHIZeswFCl = SHIZeswFCl;
    this.ohsNTpUTaU = ohsNTpUTaU;
    this.pzYUXtMNOj = pzYUXtMNOj;
    this.XDroyRsCYT = XDroyRsCYT;
    this.waVDMDicyV = waVDMDicyV;
  }

  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 zQApbHqUBM;
    case 1: return ifnxJfdYLh;
    case 2: return XgdzOwgYRK;
    case 3: return qcSphtBoHw;
    case 4: return fdXiKyrAUd;
    case 5: return SHIZeswFCl;
    case 6: return ohsNTpUTaU;
    case 7: return pzYUXtMNOj;
    case 8: return XDroyRsCYT;
    case 9: return waVDMDicyV;
    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: zQApbHqUBM = (java.lang.Long)value$; break;
    case 1: ifnxJfdYLh = (java.lang.Integer)value$; break;
    case 2: XgdzOwgYRK = (java.util.List)value$; break;
    case 3: qcSphtBoHw = (java.lang.Long)value$; break;
    case 4: fdXiKyrAUd = (java.lang.Integer)value$; break;
    case 5: SHIZeswFCl = (java.util.Map)value$; break;
    case 6: ohsNTpUTaU = (java.util.Map)value$; break;
    case 7: pzYUXtMNOj = (com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj)value$; break;
    case 8: XDroyRsCYT = (com.rtbhouse.utils.generated.avro.benchmark.FixedAZbkW)value$; break;
    case 9: waVDMDicyV = (java.lang.String)value$; break;
    default: throw new org.apache.avro.AvroRuntimeException("Bad index");
    }
  }

  /**
   * Gets the value of the 'zQApbHqUBM' field.
   * @return The value of the 'zQApbHqUBM' field.
   */
  public java.lang.Long getZQApbHqUBM() {
    return zQApbHqUBM;
  }


  /**
   * Gets the value of the 'ifnxJfdYLh' field.
   * @return The value of the 'ifnxJfdYLh' field.
   */
  public java.lang.Integer getIfnxJfdYLh() {
    return ifnxJfdYLh;
  }


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


  /**
   * Gets the value of the 'qcSphtBoHw' field.
   * @return The value of the 'qcSphtBoHw' field.
   */
  public java.lang.Long getQcSphtBoHw() {
    return qcSphtBoHw;
  }


  /**
   * Gets the value of the 'fdXiKyrAUd' field.
   * @return The value of the 'fdXiKyrAUd' field.
   */
  public java.lang.Integer getFdXiKyrAUd() {
    return fdXiKyrAUd;
  }


  /**
   * Gets the value of the 'SHIZeswFCl' field.
   * @return The value of the 'SHIZeswFCl' field.
   */
  public java.util.Map getSHIZeswFCl() {
    return SHIZeswFCl;
  }


  /**
   * Gets the value of the 'ohsNTpUTaU' field.
   * @return The value of the 'ohsNTpUTaU' field.
   */
  public java.util.Map getOhsNTpUTaU() {
    return ohsNTpUTaU;
  }


  /**
   * Gets the value of the 'pzYUXtMNOj' field.
   * @return The value of the 'pzYUXtMNOj' field.
   */
  public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj getPzYUXtMNOj() {
    return pzYUXtMNOj;
  }


  /**
   * Gets the value of the 'XDroyRsCYT' field.
   * @return The value of the 'XDroyRsCYT' field.
   */
  public com.rtbhouse.utils.generated.avro.benchmark.FixedAZbkW getXDroyRsCYT() {
    return XDroyRsCYT;
  }


  /**
   * Gets the value of the 'waVDMDicyV' field.
   * @return The value of the 'waVDMDicyV' field.
   */
  public java.lang.String getWaVDMDicyV() {
    return waVDMDicyV;
  }


  /**
   * Creates a new NestedRecordLMFhw RecordBuilder.
   * @return A new NestedRecordLMFhw RecordBuilder
   */
  public static com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder newBuilder() {
    return new com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder();
  }

  /**
   * Creates a new NestedRecordLMFhw RecordBuilder by copying an existing Builder.
   * @param other The existing builder to copy.
   * @return A new NestedRecordLMFhw RecordBuilder
   */
  public static com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder newBuilder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder other) {
    return new com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder(other);
  }

  /**
   * Creates a new NestedRecordLMFhw RecordBuilder by copying an existing NestedRecordLMFhw instance.
   * @param other The existing instance to copy.
   * @return A new NestedRecordLMFhw RecordBuilder
   */
  public static com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder newBuilder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw other) {
    return new com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder(other);
  }

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

    private long zQApbHqUBM;
    private java.lang.Integer ifnxJfdYLh;
    private java.util.List XgdzOwgYRK;
    private long qcSphtBoHw;
    private int fdXiKyrAUd;
    private java.util.Map SHIZeswFCl;
    private java.util.Map ohsNTpUTaU;
    private com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj pzYUXtMNOj;
    private com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj.Builder pzYUXtMNOjBuilder;
    private com.rtbhouse.utils.generated.avro.benchmark.FixedAZbkW XDroyRsCYT;
    private java.lang.String waVDMDicyV;

    /** 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.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder other) {
      super(other);
      if (isValidValue(fields()[0], other.zQApbHqUBM)) {
        this.zQApbHqUBM = data().deepCopy(fields()[0].schema(), other.zQApbHqUBM);
        fieldSetFlags()[0] = true;
      }
      if (isValidValue(fields()[1], other.ifnxJfdYLh)) {
        this.ifnxJfdYLh = data().deepCopy(fields()[1].schema(), other.ifnxJfdYLh);
        fieldSetFlags()[1] = true;
      }
      if (isValidValue(fields()[2], other.XgdzOwgYRK)) {
        this.XgdzOwgYRK = data().deepCopy(fields()[2].schema(), other.XgdzOwgYRK);
        fieldSetFlags()[2] = true;
      }
      if (isValidValue(fields()[3], other.qcSphtBoHw)) {
        this.qcSphtBoHw = data().deepCopy(fields()[3].schema(), other.qcSphtBoHw);
        fieldSetFlags()[3] = true;
      }
      if (isValidValue(fields()[4], other.fdXiKyrAUd)) {
        this.fdXiKyrAUd = data().deepCopy(fields()[4].schema(), other.fdXiKyrAUd);
        fieldSetFlags()[4] = true;
      }
      if (isValidValue(fields()[5], other.SHIZeswFCl)) {
        this.SHIZeswFCl = data().deepCopy(fields()[5].schema(), other.SHIZeswFCl);
        fieldSetFlags()[5] = true;
      }
      if (isValidValue(fields()[6], other.ohsNTpUTaU)) {
        this.ohsNTpUTaU = data().deepCopy(fields()[6].schema(), other.ohsNTpUTaU);
        fieldSetFlags()[6] = true;
      }
      if (isValidValue(fields()[7], other.pzYUXtMNOj)) {
        this.pzYUXtMNOj = data().deepCopy(fields()[7].schema(), other.pzYUXtMNOj);
        fieldSetFlags()[7] = true;
      }
      if (other.hasPzYUXtMNOjBuilder()) {
        this.pzYUXtMNOjBuilder = com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj.newBuilder(other.getPzYUXtMNOjBuilder());
      }
      if (isValidValue(fields()[8], other.XDroyRsCYT)) {
        this.XDroyRsCYT = data().deepCopy(fields()[8].schema(), other.XDroyRsCYT);
        fieldSetFlags()[8] = true;
      }
      if (isValidValue(fields()[9], other.waVDMDicyV)) {
        this.waVDMDicyV = data().deepCopy(fields()[9].schema(), other.waVDMDicyV);
        fieldSetFlags()[9] = true;
      }
    }

    /**
     * Creates a Builder by copying an existing NestedRecordLMFhw instance
     * @param other The existing instance to copy.
     */
    private Builder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw other) {
            super(SCHEMA$);
      if (isValidValue(fields()[0], other.zQApbHqUBM)) {
        this.zQApbHqUBM = data().deepCopy(fields()[0].schema(), other.zQApbHqUBM);
        fieldSetFlags()[0] = true;
      }
      if (isValidValue(fields()[1], other.ifnxJfdYLh)) {
        this.ifnxJfdYLh = data().deepCopy(fields()[1].schema(), other.ifnxJfdYLh);
        fieldSetFlags()[1] = true;
      }
      if (isValidValue(fields()[2], other.XgdzOwgYRK)) {
        this.XgdzOwgYRK = data().deepCopy(fields()[2].schema(), other.XgdzOwgYRK);
        fieldSetFlags()[2] = true;
      }
      if (isValidValue(fields()[3], other.qcSphtBoHw)) {
        this.qcSphtBoHw = data().deepCopy(fields()[3].schema(), other.qcSphtBoHw);
        fieldSetFlags()[3] = true;
      }
      if (isValidValue(fields()[4], other.fdXiKyrAUd)) {
        this.fdXiKyrAUd = data().deepCopy(fields()[4].schema(), other.fdXiKyrAUd);
        fieldSetFlags()[4] = true;
      }
      if (isValidValue(fields()[5], other.SHIZeswFCl)) {
        this.SHIZeswFCl = data().deepCopy(fields()[5].schema(), other.SHIZeswFCl);
        fieldSetFlags()[5] = true;
      }
      if (isValidValue(fields()[6], other.ohsNTpUTaU)) {
        this.ohsNTpUTaU = data().deepCopy(fields()[6].schema(), other.ohsNTpUTaU);
        fieldSetFlags()[6] = true;
      }
      if (isValidValue(fields()[7], other.pzYUXtMNOj)) {
        this.pzYUXtMNOj = data().deepCopy(fields()[7].schema(), other.pzYUXtMNOj);
        fieldSetFlags()[7] = true;
      }
      this.pzYUXtMNOjBuilder = null;
      if (isValidValue(fields()[8], other.XDroyRsCYT)) {
        this.XDroyRsCYT = data().deepCopy(fields()[8].schema(), other.XDroyRsCYT);
        fieldSetFlags()[8] = true;
      }
      if (isValidValue(fields()[9], other.waVDMDicyV)) {
        this.waVDMDicyV = data().deepCopy(fields()[9].schema(), other.waVDMDicyV);
        fieldSetFlags()[9] = true;
      }
    }

    /**
      * Gets the value of the 'zQApbHqUBM' field.
      * @return The value.
      */
    public java.lang.Long getZQApbHqUBM() {
      return zQApbHqUBM;
    }

    /**
      * Sets the value of the 'zQApbHqUBM' field.
      * @param value The value of 'zQApbHqUBM'.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder setZQApbHqUBM(long value) {
      validate(fields()[0], value);
      this.zQApbHqUBM = value;
      fieldSetFlags()[0] = true;
      return this;
    }

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


    /**
      * Clears the value of the 'zQApbHqUBM' field.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder clearZQApbHqUBM() {
      fieldSetFlags()[0] = false;
      return this;
    }

    /**
      * Gets the value of the 'ifnxJfdYLh' field.
      * @return The value.
      */
    public java.lang.Integer getIfnxJfdYLh() {
      return ifnxJfdYLh;
    }

    /**
      * Sets the value of the 'ifnxJfdYLh' field.
      * @param value The value of 'ifnxJfdYLh'.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder setIfnxJfdYLh(java.lang.Integer value) {
      validate(fields()[1], value);
      this.ifnxJfdYLh = value;
      fieldSetFlags()[1] = true;
      return this;
    }

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


    /**
      * Clears the value of the 'ifnxJfdYLh' field.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder clearIfnxJfdYLh() {
      ifnxJfdYLh = null;
      fieldSetFlags()[1] = false;
      return this;
    }

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

    /**
      * Sets the value of the 'XgdzOwgYRK' field.
      * @param value The value of 'XgdzOwgYRK'.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder setXgdzOwgYRK(java.util.List value) {
      validate(fields()[2], value);
      this.XgdzOwgYRK = value;
      fieldSetFlags()[2] = true;
      return this;
    }

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


    /**
      * Clears the value of the 'XgdzOwgYRK' field.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder clearXgdzOwgYRK() {
      XgdzOwgYRK = null;
      fieldSetFlags()[2] = false;
      return this;
    }

    /**
      * Gets the value of the 'qcSphtBoHw' field.
      * @return The value.
      */
    public java.lang.Long getQcSphtBoHw() {
      return qcSphtBoHw;
    }

    /**
      * Sets the value of the 'qcSphtBoHw' field.
      * @param value The value of 'qcSphtBoHw'.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder setQcSphtBoHw(long value) {
      validate(fields()[3], value);
      this.qcSphtBoHw = value;
      fieldSetFlags()[3] = true;
      return this;
    }

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


    /**
      * Clears the value of the 'qcSphtBoHw' field.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder clearQcSphtBoHw() {
      fieldSetFlags()[3] = false;
      return this;
    }

    /**
      * Gets the value of the 'fdXiKyrAUd' field.
      * @return The value.
      */
    public java.lang.Integer getFdXiKyrAUd() {
      return fdXiKyrAUd;
    }

    /**
      * Sets the value of the 'fdXiKyrAUd' field.
      * @param value The value of 'fdXiKyrAUd'.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder setFdXiKyrAUd(int value) {
      validate(fields()[4], value);
      this.fdXiKyrAUd = value;
      fieldSetFlags()[4] = true;
      return this;
    }

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


    /**
      * Clears the value of the 'fdXiKyrAUd' field.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder clearFdXiKyrAUd() {
      fieldSetFlags()[4] = false;
      return this;
    }

    /**
      * Gets the value of the 'SHIZeswFCl' field.
      * @return The value.
      */
    public java.util.Map getSHIZeswFCl() {
      return SHIZeswFCl;
    }

    /**
      * Sets the value of the 'SHIZeswFCl' field.
      * @param value The value of 'SHIZeswFCl'.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder setSHIZeswFCl(java.util.Map value) {
      validate(fields()[5], value);
      this.SHIZeswFCl = value;
      fieldSetFlags()[5] = true;
      return this;
    }

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


    /**
      * Clears the value of the 'SHIZeswFCl' field.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder clearSHIZeswFCl() {
      SHIZeswFCl = null;
      fieldSetFlags()[5] = false;
      return this;
    }

    /**
      * Gets the value of the 'ohsNTpUTaU' field.
      * @return The value.
      */
    public java.util.Map getOhsNTpUTaU() {
      return ohsNTpUTaU;
    }

    /**
      * Sets the value of the 'ohsNTpUTaU' field.
      * @param value The value of 'ohsNTpUTaU'.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder setOhsNTpUTaU(java.util.Map value) {
      validate(fields()[6], value);
      this.ohsNTpUTaU = value;
      fieldSetFlags()[6] = true;
      return this;
    }

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


    /**
      * Clears the value of the 'ohsNTpUTaU' field.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder clearOhsNTpUTaU() {
      ohsNTpUTaU = null;
      fieldSetFlags()[6] = false;
      return this;
    }

    /**
      * Gets the value of the 'pzYUXtMNOj' field.
      * @return The value.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj getPzYUXtMNOj() {
      return pzYUXtMNOj;
    }

    /**
      * Sets the value of the 'pzYUXtMNOj' field.
      * @param value The value of 'pzYUXtMNOj'.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder setPzYUXtMNOj(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj value) {
      validate(fields()[7], value);
      this.pzYUXtMNOjBuilder = null;
      this.pzYUXtMNOj = value;
      fieldSetFlags()[7] = true;
      return this;
    }

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

    /**
     * Gets the Builder instance for the 'pzYUXtMNOj' field and creates one if it doesn't exist yet.
     * @return This builder.
     */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj.Builder getPzYUXtMNOjBuilder() {
      if (pzYUXtMNOjBuilder == null) {
        if (hasPzYUXtMNOj()) {
          setPzYUXtMNOjBuilder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj.newBuilder(pzYUXtMNOj));
        } else {
          setPzYUXtMNOjBuilder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj.newBuilder());
        }
      }
      return pzYUXtMNOjBuilder;
    }

    /**
     * Sets the Builder instance for the 'pzYUXtMNOj' field
     * @param value The builder instance that must be set.
     * @return This builder.
     */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder setPzYUXtMNOjBuilder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj.Builder value) {
      clearPzYUXtMNOj();
      pzYUXtMNOjBuilder = value;
      return this;
    }

    /**
     * Checks whether the 'pzYUXtMNOj' field has an active Builder instance
     * @return True if the 'pzYUXtMNOj' field has an active Builder instance
     */
    public boolean hasPzYUXtMNOjBuilder() {
      return pzYUXtMNOjBuilder != null;
    }

    /**
      * Clears the value of the 'pzYUXtMNOj' field.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder clearPzYUXtMNOj() {
      pzYUXtMNOj = null;
      pzYUXtMNOjBuilder = null;
      fieldSetFlags()[7] = false;
      return this;
    }

    /**
      * Gets the value of the 'XDroyRsCYT' field.
      * @return The value.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.FixedAZbkW getXDroyRsCYT() {
      return XDroyRsCYT;
    }

    /**
      * Sets the value of the 'XDroyRsCYT' field.
      * @param value The value of 'XDroyRsCYT'.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder setXDroyRsCYT(com.rtbhouse.utils.generated.avro.benchmark.FixedAZbkW value) {
      validate(fields()[8], value);
      this.XDroyRsCYT = value;
      fieldSetFlags()[8] = true;
      return this;
    }

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


    /**
      * Clears the value of the 'XDroyRsCYT' field.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder clearXDroyRsCYT() {
      XDroyRsCYT = null;
      fieldSetFlags()[8] = false;
      return this;
    }

    /**
      * Gets the value of the 'waVDMDicyV' field.
      * @return The value.
      */
    public java.lang.String getWaVDMDicyV() {
      return waVDMDicyV;
    }

    /**
      * Sets the value of the 'waVDMDicyV' field.
      * @param value The value of 'waVDMDicyV'.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder setWaVDMDicyV(java.lang.String value) {
      validate(fields()[9], value);
      this.waVDMDicyV = value;
      fieldSetFlags()[9] = true;
      return this;
    }

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


    /**
      * Clears the value of the 'waVDMDicyV' field.
      * @return This builder.
      */
    public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordLMFhw.Builder clearWaVDMDicyV() {
      waVDMDicyV = null;
      fieldSetFlags()[9] = false;
      return this;
    }

    @Override
    @SuppressWarnings("unchecked")
    public NestedRecordLMFhw build() {
      try {
        NestedRecordLMFhw record = new NestedRecordLMFhw();
        record.zQApbHqUBM = fieldSetFlags()[0] ? this.zQApbHqUBM : (java.lang.Long) defaultValue(fields()[0]);
        record.ifnxJfdYLh = fieldSetFlags()[1] ? this.ifnxJfdYLh : (java.lang.Integer) defaultValue(fields()[1]);
        record.XgdzOwgYRK = fieldSetFlags()[2] ? this.XgdzOwgYRK : (java.util.List) defaultValue(fields()[2]);
        record.qcSphtBoHw = fieldSetFlags()[3] ? this.qcSphtBoHw : (java.lang.Long) defaultValue(fields()[3]);
        record.fdXiKyrAUd = fieldSetFlags()[4] ? this.fdXiKyrAUd : (java.lang.Integer) defaultValue(fields()[4]);
        record.SHIZeswFCl = fieldSetFlags()[5] ? this.SHIZeswFCl : (java.util.Map) defaultValue(fields()[5]);
        record.ohsNTpUTaU = fieldSetFlags()[6] ? this.ohsNTpUTaU : (java.util.Map) defaultValue(fields()[6]);
        if (pzYUXtMNOjBuilder != null) {
          record.pzYUXtMNOj = this.pzYUXtMNOjBuilder.build();
        } else {
          record.pzYUXtMNOj = fieldSetFlags()[7] ? this.pzYUXtMNOj : (com.rtbhouse.utils.generated.avro.benchmark.NestedRecordzatZj) defaultValue(fields()[7]);
        }
        record.XDroyRsCYT = fieldSetFlags()[8] ? this.XDroyRsCYT : (com.rtbhouse.utils.generated.avro.benchmark.FixedAZbkW) defaultValue(fields()[8]);
        record.waVDMDicyV = fieldSetFlags()[9] ? this.waVDMDicyV : (java.lang.String) defaultValue(fields()[9]);
        return record;
      } 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));
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy