Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* 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 NestedRecordnAHdA extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
private static final long serialVersionUID = 1541349616115213108L;
public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"NestedRecordnAHdA\",\"namespace\":\"com.rtbhouse.utils.generated.avro.benchmark\",\"fields\":[{\"name\":\"vpazBACvwc\",\"type\":[\"null\",\"float\"]},{\"name\":\"hzAjDShMzL\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"UeUnzOAnAf\",\"type\":[\"null\",\"float\"]},{\"name\":\"XROqTVGvmV\",\"type\":[\"null\",\"float\"]},{\"name\":\"kMoqWkptqi\",\"type\":{\"type\":\"map\",\"values\":\"float\",\"avro.java.string\":\"String\"}},{\"name\":\"cOwFXdVxVm\",\"type\":{\"type\":\"array\",\"items\":\"bytes\"}},{\"name\":\"HhbkbXWPRP\",\"type\":[\"null\",\"boolean\"]},{\"name\":\"bylEDbRxsL\",\"type\":[\"null\",{\"type\":\"fixed\",\"name\":\"FixedeXSQj\",\"size\":7}]},{\"name\":\"NapZotePAI\",\"type\":[\"null\",\"float\"]},{\"name\":\"YZYjuaNVth\",\"type\":[\"null\",\"int\"]}]}");
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 NestedRecordnAHdA to a ByteBuffer. */
public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException {
return ENCODER.encode(this);
}
/** Deserializes a NestedRecordnAHdA from a ByteBuffer. */
public static NestedRecordnAHdA fromByteBuffer(
java.nio.ByteBuffer b) throws java.io.IOException {
return DECODER.decode(b);
}
private java.lang.Float vpazBACvwc;
private java.lang.String hzAjDShMzL;
private java.lang.Float UeUnzOAnAf;
private java.lang.Float XROqTVGvmV;
private java.util.Map kMoqWkptqi;
private java.util.List cOwFXdVxVm;
private java.lang.Boolean HhbkbXWPRP;
private com.rtbhouse.utils.generated.avro.benchmark.FixedeXSQj bylEDbRxsL;
private java.lang.Float NapZotePAI;
private java.lang.Integer YZYjuaNVth;
/**
* 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 NestedRecordnAHdA() {}
/**
* All-args constructor.
* @param vpazBACvwc The new value for vpazBACvwc
* @param hzAjDShMzL The new value for hzAjDShMzL
* @param UeUnzOAnAf The new value for UeUnzOAnAf
* @param XROqTVGvmV The new value for XROqTVGvmV
* @param kMoqWkptqi The new value for kMoqWkptqi
* @param cOwFXdVxVm The new value for cOwFXdVxVm
* @param HhbkbXWPRP The new value for HhbkbXWPRP
* @param bylEDbRxsL The new value for bylEDbRxsL
* @param NapZotePAI The new value for NapZotePAI
* @param YZYjuaNVth The new value for YZYjuaNVth
*/
public NestedRecordnAHdA(java.lang.Float vpazBACvwc, java.lang.String hzAjDShMzL, java.lang.Float UeUnzOAnAf, java.lang.Float XROqTVGvmV, java.util.Map kMoqWkptqi, java.util.List cOwFXdVxVm, java.lang.Boolean HhbkbXWPRP, com.rtbhouse.utils.generated.avro.benchmark.FixedeXSQj bylEDbRxsL, java.lang.Float NapZotePAI, java.lang.Integer YZYjuaNVth) {
this.vpazBACvwc = vpazBACvwc;
this.hzAjDShMzL = hzAjDShMzL;
this.UeUnzOAnAf = UeUnzOAnAf;
this.XROqTVGvmV = XROqTVGvmV;
this.kMoqWkptqi = kMoqWkptqi;
this.cOwFXdVxVm = cOwFXdVxVm;
this.HhbkbXWPRP = HhbkbXWPRP;
this.bylEDbRxsL = bylEDbRxsL;
this.NapZotePAI = NapZotePAI;
this.YZYjuaNVth = YZYjuaNVth;
}
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 vpazBACvwc;
case 1: return hzAjDShMzL;
case 2: return UeUnzOAnAf;
case 3: return XROqTVGvmV;
case 4: return kMoqWkptqi;
case 5: return cOwFXdVxVm;
case 6: return HhbkbXWPRP;
case 7: return bylEDbRxsL;
case 8: return NapZotePAI;
case 9: return YZYjuaNVth;
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: vpazBACvwc = (java.lang.Float)value$; break;
case 1: hzAjDShMzL = (java.lang.String)value$; break;
case 2: UeUnzOAnAf = (java.lang.Float)value$; break;
case 3: XROqTVGvmV = (java.lang.Float)value$; break;
case 4: kMoqWkptqi = (java.util.Map)value$; break;
case 5: cOwFXdVxVm = (java.util.List)value$; break;
case 6: HhbkbXWPRP = (java.lang.Boolean)value$; break;
case 7: bylEDbRxsL = (com.rtbhouse.utils.generated.avro.benchmark.FixedeXSQj)value$; break;
case 8: NapZotePAI = (java.lang.Float)value$; break;
case 9: YZYjuaNVth = (java.lang.Integer)value$; break;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
/**
* Gets the value of the 'vpazBACvwc' field.
* @return The value of the 'vpazBACvwc' field.
*/
public java.lang.Float getVpazBACvwc() {
return vpazBACvwc;
}
/**
* Gets the value of the 'hzAjDShMzL' field.
* @return The value of the 'hzAjDShMzL' field.
*/
public java.lang.String getHzAjDShMzL() {
return hzAjDShMzL;
}
/**
* Gets the value of the 'UeUnzOAnAf' field.
* @return The value of the 'UeUnzOAnAf' field.
*/
public java.lang.Float getUeUnzOAnAf() {
return UeUnzOAnAf;
}
/**
* Gets the value of the 'XROqTVGvmV' field.
* @return The value of the 'XROqTVGvmV' field.
*/
public java.lang.Float getXROqTVGvmV() {
return XROqTVGvmV;
}
/**
* Gets the value of the 'kMoqWkptqi' field.
* @return The value of the 'kMoqWkptqi' field.
*/
public java.util.Map getKMoqWkptqi() {
return kMoqWkptqi;
}
/**
* Gets the value of the 'cOwFXdVxVm' field.
* @return The value of the 'cOwFXdVxVm' field.
*/
public java.util.List getCOwFXdVxVm() {
return cOwFXdVxVm;
}
/**
* Gets the value of the 'HhbkbXWPRP' field.
* @return The value of the 'HhbkbXWPRP' field.
*/
public java.lang.Boolean getHhbkbXWPRP() {
return HhbkbXWPRP;
}
/**
* Gets the value of the 'bylEDbRxsL' field.
* @return The value of the 'bylEDbRxsL' field.
*/
public com.rtbhouse.utils.generated.avro.benchmark.FixedeXSQj getBylEDbRxsL() {
return bylEDbRxsL;
}
/**
* Gets the value of the 'NapZotePAI' field.
* @return The value of the 'NapZotePAI' field.
*/
public java.lang.Float getNapZotePAI() {
return NapZotePAI;
}
/**
* Gets the value of the 'YZYjuaNVth' field.
* @return The value of the 'YZYjuaNVth' field.
*/
public java.lang.Integer getYZYjuaNVth() {
return YZYjuaNVth;
}
/**
* Creates a new NestedRecordnAHdA RecordBuilder.
* @return A new NestedRecordnAHdA RecordBuilder
*/
public static com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder newBuilder() {
return new com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder();
}
/**
* Creates a new NestedRecordnAHdA RecordBuilder by copying an existing Builder.
* @param other The existing builder to copy.
* @return A new NestedRecordnAHdA RecordBuilder
*/
public static com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder newBuilder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder other) {
return new com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder(other);
}
/**
* Creates a new NestedRecordnAHdA RecordBuilder by copying an existing NestedRecordnAHdA instance.
* @param other The existing instance to copy.
* @return A new NestedRecordnAHdA RecordBuilder
*/
public static com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder newBuilder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA other) {
return new com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder(other);
}
/**
* RecordBuilder for NestedRecordnAHdA instances.
*/
public static class Builder extends org.apache.avro.specific.SpecificRecordBuilderBase
implements org.apache.avro.data.RecordBuilder {
private java.lang.Float vpazBACvwc;
private java.lang.String hzAjDShMzL;
private java.lang.Float UeUnzOAnAf;
private java.lang.Float XROqTVGvmV;
private java.util.Map kMoqWkptqi;
private java.util.List cOwFXdVxVm;
private java.lang.Boolean HhbkbXWPRP;
private com.rtbhouse.utils.generated.avro.benchmark.FixedeXSQj bylEDbRxsL;
private java.lang.Float NapZotePAI;
private java.lang.Integer YZYjuaNVth;
/** 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.NestedRecordnAHdA.Builder other) {
super(other);
if (isValidValue(fields()[0], other.vpazBACvwc)) {
this.vpazBACvwc = data().deepCopy(fields()[0].schema(), other.vpazBACvwc);
fieldSetFlags()[0] = true;
}
if (isValidValue(fields()[1], other.hzAjDShMzL)) {
this.hzAjDShMzL = data().deepCopy(fields()[1].schema(), other.hzAjDShMzL);
fieldSetFlags()[1] = true;
}
if (isValidValue(fields()[2], other.UeUnzOAnAf)) {
this.UeUnzOAnAf = data().deepCopy(fields()[2].schema(), other.UeUnzOAnAf);
fieldSetFlags()[2] = true;
}
if (isValidValue(fields()[3], other.XROqTVGvmV)) {
this.XROqTVGvmV = data().deepCopy(fields()[3].schema(), other.XROqTVGvmV);
fieldSetFlags()[3] = true;
}
if (isValidValue(fields()[4], other.kMoqWkptqi)) {
this.kMoqWkptqi = data().deepCopy(fields()[4].schema(), other.kMoqWkptqi);
fieldSetFlags()[4] = true;
}
if (isValidValue(fields()[5], other.cOwFXdVxVm)) {
this.cOwFXdVxVm = data().deepCopy(fields()[5].schema(), other.cOwFXdVxVm);
fieldSetFlags()[5] = true;
}
if (isValidValue(fields()[6], other.HhbkbXWPRP)) {
this.HhbkbXWPRP = data().deepCopy(fields()[6].schema(), other.HhbkbXWPRP);
fieldSetFlags()[6] = true;
}
if (isValidValue(fields()[7], other.bylEDbRxsL)) {
this.bylEDbRxsL = data().deepCopy(fields()[7].schema(), other.bylEDbRxsL);
fieldSetFlags()[7] = true;
}
if (isValidValue(fields()[8], other.NapZotePAI)) {
this.NapZotePAI = data().deepCopy(fields()[8].schema(), other.NapZotePAI);
fieldSetFlags()[8] = true;
}
if (isValidValue(fields()[9], other.YZYjuaNVth)) {
this.YZYjuaNVth = data().deepCopy(fields()[9].schema(), other.YZYjuaNVth);
fieldSetFlags()[9] = true;
}
}
/**
* Creates a Builder by copying an existing NestedRecordnAHdA instance
* @param other The existing instance to copy.
*/
private Builder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA other) {
super(SCHEMA$);
if (isValidValue(fields()[0], other.vpazBACvwc)) {
this.vpazBACvwc = data().deepCopy(fields()[0].schema(), other.vpazBACvwc);
fieldSetFlags()[0] = true;
}
if (isValidValue(fields()[1], other.hzAjDShMzL)) {
this.hzAjDShMzL = data().deepCopy(fields()[1].schema(), other.hzAjDShMzL);
fieldSetFlags()[1] = true;
}
if (isValidValue(fields()[2], other.UeUnzOAnAf)) {
this.UeUnzOAnAf = data().deepCopy(fields()[2].schema(), other.UeUnzOAnAf);
fieldSetFlags()[2] = true;
}
if (isValidValue(fields()[3], other.XROqTVGvmV)) {
this.XROqTVGvmV = data().deepCopy(fields()[3].schema(), other.XROqTVGvmV);
fieldSetFlags()[3] = true;
}
if (isValidValue(fields()[4], other.kMoqWkptqi)) {
this.kMoqWkptqi = data().deepCopy(fields()[4].schema(), other.kMoqWkptqi);
fieldSetFlags()[4] = true;
}
if (isValidValue(fields()[5], other.cOwFXdVxVm)) {
this.cOwFXdVxVm = data().deepCopy(fields()[5].schema(), other.cOwFXdVxVm);
fieldSetFlags()[5] = true;
}
if (isValidValue(fields()[6], other.HhbkbXWPRP)) {
this.HhbkbXWPRP = data().deepCopy(fields()[6].schema(), other.HhbkbXWPRP);
fieldSetFlags()[6] = true;
}
if (isValidValue(fields()[7], other.bylEDbRxsL)) {
this.bylEDbRxsL = data().deepCopy(fields()[7].schema(), other.bylEDbRxsL);
fieldSetFlags()[7] = true;
}
if (isValidValue(fields()[8], other.NapZotePAI)) {
this.NapZotePAI = data().deepCopy(fields()[8].schema(), other.NapZotePAI);
fieldSetFlags()[8] = true;
}
if (isValidValue(fields()[9], other.YZYjuaNVth)) {
this.YZYjuaNVth = data().deepCopy(fields()[9].schema(), other.YZYjuaNVth);
fieldSetFlags()[9] = true;
}
}
/**
* Gets the value of the 'vpazBACvwc' field.
* @return The value.
*/
public java.lang.Float getVpazBACvwc() {
return vpazBACvwc;
}
/**
* Sets the value of the 'vpazBACvwc' field.
* @param value The value of 'vpazBACvwc'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder setVpazBACvwc(java.lang.Float value) {
validate(fields()[0], value);
this.vpazBACvwc = value;
fieldSetFlags()[0] = true;
return this;
}
/**
* Checks whether the 'vpazBACvwc' field has been set.
* @return True if the 'vpazBACvwc' field has been set, false otherwise.
*/
public boolean hasVpazBACvwc() {
return fieldSetFlags()[0];
}
/**
* Clears the value of the 'vpazBACvwc' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder clearVpazBACvwc() {
vpazBACvwc = null;
fieldSetFlags()[0] = false;
return this;
}
/**
* Gets the value of the 'hzAjDShMzL' field.
* @return The value.
*/
public java.lang.String getHzAjDShMzL() {
return hzAjDShMzL;
}
/**
* Sets the value of the 'hzAjDShMzL' field.
* @param value The value of 'hzAjDShMzL'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder setHzAjDShMzL(java.lang.String value) {
validate(fields()[1], value);
this.hzAjDShMzL = value;
fieldSetFlags()[1] = true;
return this;
}
/**
* Checks whether the 'hzAjDShMzL' field has been set.
* @return True if the 'hzAjDShMzL' field has been set, false otherwise.
*/
public boolean hasHzAjDShMzL() {
return fieldSetFlags()[1];
}
/**
* Clears the value of the 'hzAjDShMzL' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder clearHzAjDShMzL() {
hzAjDShMzL = null;
fieldSetFlags()[1] = false;
return this;
}
/**
* Gets the value of the 'UeUnzOAnAf' field.
* @return The value.
*/
public java.lang.Float getUeUnzOAnAf() {
return UeUnzOAnAf;
}
/**
* Sets the value of the 'UeUnzOAnAf' field.
* @param value The value of 'UeUnzOAnAf'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder setUeUnzOAnAf(java.lang.Float value) {
validate(fields()[2], value);
this.UeUnzOAnAf = value;
fieldSetFlags()[2] = true;
return this;
}
/**
* Checks whether the 'UeUnzOAnAf' field has been set.
* @return True if the 'UeUnzOAnAf' field has been set, false otherwise.
*/
public boolean hasUeUnzOAnAf() {
return fieldSetFlags()[2];
}
/**
* Clears the value of the 'UeUnzOAnAf' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder clearUeUnzOAnAf() {
UeUnzOAnAf = null;
fieldSetFlags()[2] = false;
return this;
}
/**
* Gets the value of the 'XROqTVGvmV' field.
* @return The value.
*/
public java.lang.Float getXROqTVGvmV() {
return XROqTVGvmV;
}
/**
* Sets the value of the 'XROqTVGvmV' field.
* @param value The value of 'XROqTVGvmV'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder setXROqTVGvmV(java.lang.Float value) {
validate(fields()[3], value);
this.XROqTVGvmV = value;
fieldSetFlags()[3] = true;
return this;
}
/**
* Checks whether the 'XROqTVGvmV' field has been set.
* @return True if the 'XROqTVGvmV' field has been set, false otherwise.
*/
public boolean hasXROqTVGvmV() {
return fieldSetFlags()[3];
}
/**
* Clears the value of the 'XROqTVGvmV' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder clearXROqTVGvmV() {
XROqTVGvmV = null;
fieldSetFlags()[3] = false;
return this;
}
/**
* Gets the value of the 'kMoqWkptqi' field.
* @return The value.
*/
public java.util.Map getKMoqWkptqi() {
return kMoqWkptqi;
}
/**
* Sets the value of the 'kMoqWkptqi' field.
* @param value The value of 'kMoqWkptqi'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder setKMoqWkptqi(java.util.Map value) {
validate(fields()[4], value);
this.kMoqWkptqi = value;
fieldSetFlags()[4] = true;
return this;
}
/**
* Checks whether the 'kMoqWkptqi' field has been set.
* @return True if the 'kMoqWkptqi' field has been set, false otherwise.
*/
public boolean hasKMoqWkptqi() {
return fieldSetFlags()[4];
}
/**
* Clears the value of the 'kMoqWkptqi' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder clearKMoqWkptqi() {
kMoqWkptqi = null;
fieldSetFlags()[4] = false;
return this;
}
/**
* Gets the value of the 'cOwFXdVxVm' field.
* @return The value.
*/
public java.util.List getCOwFXdVxVm() {
return cOwFXdVxVm;
}
/**
* Sets the value of the 'cOwFXdVxVm' field.
* @param value The value of 'cOwFXdVxVm'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder setCOwFXdVxVm(java.util.List value) {
validate(fields()[5], value);
this.cOwFXdVxVm = value;
fieldSetFlags()[5] = true;
return this;
}
/**
* Checks whether the 'cOwFXdVxVm' field has been set.
* @return True if the 'cOwFXdVxVm' field has been set, false otherwise.
*/
public boolean hasCOwFXdVxVm() {
return fieldSetFlags()[5];
}
/**
* Clears the value of the 'cOwFXdVxVm' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder clearCOwFXdVxVm() {
cOwFXdVxVm = null;
fieldSetFlags()[5] = false;
return this;
}
/**
* Gets the value of the 'HhbkbXWPRP' field.
* @return The value.
*/
public java.lang.Boolean getHhbkbXWPRP() {
return HhbkbXWPRP;
}
/**
* Sets the value of the 'HhbkbXWPRP' field.
* @param value The value of 'HhbkbXWPRP'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder setHhbkbXWPRP(java.lang.Boolean value) {
validate(fields()[6], value);
this.HhbkbXWPRP = value;
fieldSetFlags()[6] = true;
return this;
}
/**
* Checks whether the 'HhbkbXWPRP' field has been set.
* @return True if the 'HhbkbXWPRP' field has been set, false otherwise.
*/
public boolean hasHhbkbXWPRP() {
return fieldSetFlags()[6];
}
/**
* Clears the value of the 'HhbkbXWPRP' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder clearHhbkbXWPRP() {
HhbkbXWPRP = null;
fieldSetFlags()[6] = false;
return this;
}
/**
* Gets the value of the 'bylEDbRxsL' field.
* @return The value.
*/
public com.rtbhouse.utils.generated.avro.benchmark.FixedeXSQj getBylEDbRxsL() {
return bylEDbRxsL;
}
/**
* Sets the value of the 'bylEDbRxsL' field.
* @param value The value of 'bylEDbRxsL'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder setBylEDbRxsL(com.rtbhouse.utils.generated.avro.benchmark.FixedeXSQj value) {
validate(fields()[7], value);
this.bylEDbRxsL = value;
fieldSetFlags()[7] = true;
return this;
}
/**
* Checks whether the 'bylEDbRxsL' field has been set.
* @return True if the 'bylEDbRxsL' field has been set, false otherwise.
*/
public boolean hasBylEDbRxsL() {
return fieldSetFlags()[7];
}
/**
* Clears the value of the 'bylEDbRxsL' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder clearBylEDbRxsL() {
bylEDbRxsL = null;
fieldSetFlags()[7] = false;
return this;
}
/**
* Gets the value of the 'NapZotePAI' field.
* @return The value.
*/
public java.lang.Float getNapZotePAI() {
return NapZotePAI;
}
/**
* Sets the value of the 'NapZotePAI' field.
* @param value The value of 'NapZotePAI'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder setNapZotePAI(java.lang.Float value) {
validate(fields()[8], value);
this.NapZotePAI = value;
fieldSetFlags()[8] = true;
return this;
}
/**
* Checks whether the 'NapZotePAI' field has been set.
* @return True if the 'NapZotePAI' field has been set, false otherwise.
*/
public boolean hasNapZotePAI() {
return fieldSetFlags()[8];
}
/**
* Clears the value of the 'NapZotePAI' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder clearNapZotePAI() {
NapZotePAI = null;
fieldSetFlags()[8] = false;
return this;
}
/**
* Gets the value of the 'YZYjuaNVth' field.
* @return The value.
*/
public java.lang.Integer getYZYjuaNVth() {
return YZYjuaNVth;
}
/**
* Sets the value of the 'YZYjuaNVth' field.
* @param value The value of 'YZYjuaNVth'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder setYZYjuaNVth(java.lang.Integer value) {
validate(fields()[9], value);
this.YZYjuaNVth = value;
fieldSetFlags()[9] = true;
return this;
}
/**
* Checks whether the 'YZYjuaNVth' field has been set.
* @return True if the 'YZYjuaNVth' field has been set, false otherwise.
*/
public boolean hasYZYjuaNVth() {
return fieldSetFlags()[9];
}
/**
* Clears the value of the 'YZYjuaNVth' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordnAHdA.Builder clearYZYjuaNVth() {
YZYjuaNVth = null;
fieldSetFlags()[9] = false;
return this;
}
@Override
@SuppressWarnings("unchecked")
public NestedRecordnAHdA build() {
try {
NestedRecordnAHdA record = new NestedRecordnAHdA();
record.vpazBACvwc = fieldSetFlags()[0] ? this.vpazBACvwc : (java.lang.Float) defaultValue(fields()[0]);
record.hzAjDShMzL = fieldSetFlags()[1] ? this.hzAjDShMzL : (java.lang.String) defaultValue(fields()[1]);
record.UeUnzOAnAf = fieldSetFlags()[2] ? this.UeUnzOAnAf : (java.lang.Float) defaultValue(fields()[2]);
record.XROqTVGvmV = fieldSetFlags()[3] ? this.XROqTVGvmV : (java.lang.Float) defaultValue(fields()[3]);
record.kMoqWkptqi = fieldSetFlags()[4] ? this.kMoqWkptqi : (java.util.Map) defaultValue(fields()[4]);
record.cOwFXdVxVm = fieldSetFlags()[5] ? this.cOwFXdVxVm : (java.util.List) defaultValue(fields()[5]);
record.HhbkbXWPRP = fieldSetFlags()[6] ? this.HhbkbXWPRP : (java.lang.Boolean) defaultValue(fields()[6]);
record.bylEDbRxsL = fieldSetFlags()[7] ? this.bylEDbRxsL : (com.rtbhouse.utils.generated.avro.benchmark.FixedeXSQj) defaultValue(fields()[7]);
record.NapZotePAI = fieldSetFlags()[8] ? this.NapZotePAI : (java.lang.Float) defaultValue(fields()[8]);
record.YZYjuaNVth = fieldSetFlags()[9] ? this.YZYjuaNVth : (java.lang.Integer) 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));
}
}