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 NestedRecordrdRvQ extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
private static final long serialVersionUID = 2755188283740053490L;
public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"NestedRecordrdRvQ\",\"namespace\":\"com.rtbhouse.utils.generated.avro.benchmark\",\"fields\":[{\"name\":\"tABrIPKTTt\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"EnumVYQwf\",\"symbols\":[\"yBVGsTonAQNDeOdCjqbybNIIkLrzChZxuvOIKw\",\"rTSvcGXbftMs\",\"JLqEemTvtYZNQHqtGbOVkLuxLreEUPeWsAtQHcr\",\"ToIPdoDOhyvVsDYmCCFidxMUCZn\",\"tdpKuUYJisLbjlDIgbacW\",\"wCmlaZMkKCkmdZYpAMN\"]}]},{\"name\":\"GhvmUwFLjX\",\"type\":[\"null\",\"double\"]},{\"name\":\"asFbDRSQfJ\",\"type\":{\"type\":\"array\",\"items\":\"boolean\"}},{\"name\":\"zGbfmpfrZG\",\"type\":[\"null\",{\"type\":\"enum\",\"name\":\"EnumaUgwm\",\"symbols\":[\"CjMOtHtBBdmh\",\"WzfKfaEihiNvtmvjLm\",\"nxGGGP\",\"IXWTIaosWEgEcsStHQML\",\"YiK\",\"eaztBkPUPhOUYyQsMHifsVGTieBAQyjfCWn\",\"vhjTNYadzAhEnmXzpdbsZWCKqrCnsLaKKXgT\",\"KqlwcOnXhgwONegAEpMKkMlzssm\",\"sagfGlPFR\"]}]},{\"name\":\"DcrtgFGBZF\",\"type\":[\"null\",\"float\"]},{\"name\":\"TpdBSTWkVb\",\"type\":[\"null\",{\"type\":\"fixed\",\"name\":\"FixedQpsxG\",\"size\":6}]},{\"name\":\"KTfVsohFju\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"BinskZmUsL\",\"type\":[\"null\",\"double\"]},{\"name\":\"kCXPkkQWZz\",\"type\":[\"null\",\"float\"]},{\"name\":\"rWAiiImOhC\",\"type\":[\"null\",\"float\"]}]}");
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 NestedRecordrdRvQ to a ByteBuffer. */
public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException {
return ENCODER.encode(this);
}
/** Deserializes a NestedRecordrdRvQ from a ByteBuffer. */
public static NestedRecordrdRvQ fromByteBuffer(
java.nio.ByteBuffer b) throws java.io.IOException {
return DECODER.decode(b);
}
private com.rtbhouse.utils.generated.avro.benchmark.EnumVYQwf tABrIPKTTt;
private java.lang.Double GhvmUwFLjX;
private java.util.List asFbDRSQfJ;
private com.rtbhouse.utils.generated.avro.benchmark.EnumaUgwm zGbfmpfrZG;
private java.lang.Float DcrtgFGBZF;
private com.rtbhouse.utils.generated.avro.benchmark.FixedQpsxG TpdBSTWkVb;
private java.lang.String KTfVsohFju;
private java.lang.Double BinskZmUsL;
private java.lang.Float kCXPkkQWZz;
private java.lang.Float rWAiiImOhC;
/**
* 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 NestedRecordrdRvQ() {}
/**
* All-args constructor.
* @param tABrIPKTTt The new value for tABrIPKTTt
* @param GhvmUwFLjX The new value for GhvmUwFLjX
* @param asFbDRSQfJ The new value for asFbDRSQfJ
* @param zGbfmpfrZG The new value for zGbfmpfrZG
* @param DcrtgFGBZF The new value for DcrtgFGBZF
* @param TpdBSTWkVb The new value for TpdBSTWkVb
* @param KTfVsohFju The new value for KTfVsohFju
* @param BinskZmUsL The new value for BinskZmUsL
* @param kCXPkkQWZz The new value for kCXPkkQWZz
* @param rWAiiImOhC The new value for rWAiiImOhC
*/
public NestedRecordrdRvQ(com.rtbhouse.utils.generated.avro.benchmark.EnumVYQwf tABrIPKTTt, java.lang.Double GhvmUwFLjX, java.util.List asFbDRSQfJ, com.rtbhouse.utils.generated.avro.benchmark.EnumaUgwm zGbfmpfrZG, java.lang.Float DcrtgFGBZF, com.rtbhouse.utils.generated.avro.benchmark.FixedQpsxG TpdBSTWkVb, java.lang.String KTfVsohFju, java.lang.Double BinskZmUsL, java.lang.Float kCXPkkQWZz, java.lang.Float rWAiiImOhC) {
this.tABrIPKTTt = tABrIPKTTt;
this.GhvmUwFLjX = GhvmUwFLjX;
this.asFbDRSQfJ = asFbDRSQfJ;
this.zGbfmpfrZG = zGbfmpfrZG;
this.DcrtgFGBZF = DcrtgFGBZF;
this.TpdBSTWkVb = TpdBSTWkVb;
this.KTfVsohFju = KTfVsohFju;
this.BinskZmUsL = BinskZmUsL;
this.kCXPkkQWZz = kCXPkkQWZz;
this.rWAiiImOhC = rWAiiImOhC;
}
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 tABrIPKTTt;
case 1: return GhvmUwFLjX;
case 2: return asFbDRSQfJ;
case 3: return zGbfmpfrZG;
case 4: return DcrtgFGBZF;
case 5: return TpdBSTWkVb;
case 6: return KTfVsohFju;
case 7: return BinskZmUsL;
case 8: return kCXPkkQWZz;
case 9: return rWAiiImOhC;
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: tABrIPKTTt = (com.rtbhouse.utils.generated.avro.benchmark.EnumVYQwf)value$; break;
case 1: GhvmUwFLjX = (java.lang.Double)value$; break;
case 2: asFbDRSQfJ = (java.util.List)value$; break;
case 3: zGbfmpfrZG = (com.rtbhouse.utils.generated.avro.benchmark.EnumaUgwm)value$; break;
case 4: DcrtgFGBZF = (java.lang.Float)value$; break;
case 5: TpdBSTWkVb = (com.rtbhouse.utils.generated.avro.benchmark.FixedQpsxG)value$; break;
case 6: KTfVsohFju = (java.lang.String)value$; break;
case 7: BinskZmUsL = (java.lang.Double)value$; break;
case 8: kCXPkkQWZz = (java.lang.Float)value$; break;
case 9: rWAiiImOhC = (java.lang.Float)value$; break;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
/**
* Gets the value of the 'tABrIPKTTt' field.
* @return The value of the 'tABrIPKTTt' field.
*/
public com.rtbhouse.utils.generated.avro.benchmark.EnumVYQwf getTABrIPKTTt() {
return tABrIPKTTt;
}
/**
* Gets the value of the 'GhvmUwFLjX' field.
* @return The value of the 'GhvmUwFLjX' field.
*/
public java.lang.Double getGhvmUwFLjX() {
return GhvmUwFLjX;
}
/**
* Gets the value of the 'asFbDRSQfJ' field.
* @return The value of the 'asFbDRSQfJ' field.
*/
public java.util.List getAsFbDRSQfJ() {
return asFbDRSQfJ;
}
/**
* Gets the value of the 'zGbfmpfrZG' field.
* @return The value of the 'zGbfmpfrZG' field.
*/
public com.rtbhouse.utils.generated.avro.benchmark.EnumaUgwm getZGbfmpfrZG() {
return zGbfmpfrZG;
}
/**
* Gets the value of the 'DcrtgFGBZF' field.
* @return The value of the 'DcrtgFGBZF' field.
*/
public java.lang.Float getDcrtgFGBZF() {
return DcrtgFGBZF;
}
/**
* Gets the value of the 'TpdBSTWkVb' field.
* @return The value of the 'TpdBSTWkVb' field.
*/
public com.rtbhouse.utils.generated.avro.benchmark.FixedQpsxG getTpdBSTWkVb() {
return TpdBSTWkVb;
}
/**
* Gets the value of the 'KTfVsohFju' field.
* @return The value of the 'KTfVsohFju' field.
*/
public java.lang.String getKTfVsohFju() {
return KTfVsohFju;
}
/**
* Gets the value of the 'BinskZmUsL' field.
* @return The value of the 'BinskZmUsL' field.
*/
public java.lang.Double getBinskZmUsL() {
return BinskZmUsL;
}
/**
* Gets the value of the 'kCXPkkQWZz' field.
* @return The value of the 'kCXPkkQWZz' field.
*/
public java.lang.Float getKCXPkkQWZz() {
return kCXPkkQWZz;
}
/**
* Gets the value of the 'rWAiiImOhC' field.
* @return The value of the 'rWAiiImOhC' field.
*/
public java.lang.Float getRWAiiImOhC() {
return rWAiiImOhC;
}
/**
* Creates a new NestedRecordrdRvQ RecordBuilder.
* @return A new NestedRecordrdRvQ RecordBuilder
*/
public static com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder newBuilder() {
return new com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder();
}
/**
* Creates a new NestedRecordrdRvQ RecordBuilder by copying an existing Builder.
* @param other The existing builder to copy.
* @return A new NestedRecordrdRvQ RecordBuilder
*/
public static com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder newBuilder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder other) {
return new com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder(other);
}
/**
* Creates a new NestedRecordrdRvQ RecordBuilder by copying an existing NestedRecordrdRvQ instance.
* @param other The existing instance to copy.
* @return A new NestedRecordrdRvQ RecordBuilder
*/
public static com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder newBuilder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ other) {
return new com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder(other);
}
/**
* RecordBuilder for NestedRecordrdRvQ instances.
*/
public static class Builder extends org.apache.avro.specific.SpecificRecordBuilderBase
implements org.apache.avro.data.RecordBuilder {
private com.rtbhouse.utils.generated.avro.benchmark.EnumVYQwf tABrIPKTTt;
private java.lang.Double GhvmUwFLjX;
private java.util.List asFbDRSQfJ;
private com.rtbhouse.utils.generated.avro.benchmark.EnumaUgwm zGbfmpfrZG;
private java.lang.Float DcrtgFGBZF;
private com.rtbhouse.utils.generated.avro.benchmark.FixedQpsxG TpdBSTWkVb;
private java.lang.String KTfVsohFju;
private java.lang.Double BinskZmUsL;
private java.lang.Float kCXPkkQWZz;
private java.lang.Float rWAiiImOhC;
/** 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.NestedRecordrdRvQ.Builder other) {
super(other);
if (isValidValue(fields()[0], other.tABrIPKTTt)) {
this.tABrIPKTTt = data().deepCopy(fields()[0].schema(), other.tABrIPKTTt);
fieldSetFlags()[0] = true;
}
if (isValidValue(fields()[1], other.GhvmUwFLjX)) {
this.GhvmUwFLjX = data().deepCopy(fields()[1].schema(), other.GhvmUwFLjX);
fieldSetFlags()[1] = true;
}
if (isValidValue(fields()[2], other.asFbDRSQfJ)) {
this.asFbDRSQfJ = data().deepCopy(fields()[2].schema(), other.asFbDRSQfJ);
fieldSetFlags()[2] = true;
}
if (isValidValue(fields()[3], other.zGbfmpfrZG)) {
this.zGbfmpfrZG = data().deepCopy(fields()[3].schema(), other.zGbfmpfrZG);
fieldSetFlags()[3] = true;
}
if (isValidValue(fields()[4], other.DcrtgFGBZF)) {
this.DcrtgFGBZF = data().deepCopy(fields()[4].schema(), other.DcrtgFGBZF);
fieldSetFlags()[4] = true;
}
if (isValidValue(fields()[5], other.TpdBSTWkVb)) {
this.TpdBSTWkVb = data().deepCopy(fields()[5].schema(), other.TpdBSTWkVb);
fieldSetFlags()[5] = true;
}
if (isValidValue(fields()[6], other.KTfVsohFju)) {
this.KTfVsohFju = data().deepCopy(fields()[6].schema(), other.KTfVsohFju);
fieldSetFlags()[6] = true;
}
if (isValidValue(fields()[7], other.BinskZmUsL)) {
this.BinskZmUsL = data().deepCopy(fields()[7].schema(), other.BinskZmUsL);
fieldSetFlags()[7] = true;
}
if (isValidValue(fields()[8], other.kCXPkkQWZz)) {
this.kCXPkkQWZz = data().deepCopy(fields()[8].schema(), other.kCXPkkQWZz);
fieldSetFlags()[8] = true;
}
if (isValidValue(fields()[9], other.rWAiiImOhC)) {
this.rWAiiImOhC = data().deepCopy(fields()[9].schema(), other.rWAiiImOhC);
fieldSetFlags()[9] = true;
}
}
/**
* Creates a Builder by copying an existing NestedRecordrdRvQ instance
* @param other The existing instance to copy.
*/
private Builder(com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ other) {
super(SCHEMA$);
if (isValidValue(fields()[0], other.tABrIPKTTt)) {
this.tABrIPKTTt = data().deepCopy(fields()[0].schema(), other.tABrIPKTTt);
fieldSetFlags()[0] = true;
}
if (isValidValue(fields()[1], other.GhvmUwFLjX)) {
this.GhvmUwFLjX = data().deepCopy(fields()[1].schema(), other.GhvmUwFLjX);
fieldSetFlags()[1] = true;
}
if (isValidValue(fields()[2], other.asFbDRSQfJ)) {
this.asFbDRSQfJ = data().deepCopy(fields()[2].schema(), other.asFbDRSQfJ);
fieldSetFlags()[2] = true;
}
if (isValidValue(fields()[3], other.zGbfmpfrZG)) {
this.zGbfmpfrZG = data().deepCopy(fields()[3].schema(), other.zGbfmpfrZG);
fieldSetFlags()[3] = true;
}
if (isValidValue(fields()[4], other.DcrtgFGBZF)) {
this.DcrtgFGBZF = data().deepCopy(fields()[4].schema(), other.DcrtgFGBZF);
fieldSetFlags()[4] = true;
}
if (isValidValue(fields()[5], other.TpdBSTWkVb)) {
this.TpdBSTWkVb = data().deepCopy(fields()[5].schema(), other.TpdBSTWkVb);
fieldSetFlags()[5] = true;
}
if (isValidValue(fields()[6], other.KTfVsohFju)) {
this.KTfVsohFju = data().deepCopy(fields()[6].schema(), other.KTfVsohFju);
fieldSetFlags()[6] = true;
}
if (isValidValue(fields()[7], other.BinskZmUsL)) {
this.BinskZmUsL = data().deepCopy(fields()[7].schema(), other.BinskZmUsL);
fieldSetFlags()[7] = true;
}
if (isValidValue(fields()[8], other.kCXPkkQWZz)) {
this.kCXPkkQWZz = data().deepCopy(fields()[8].schema(), other.kCXPkkQWZz);
fieldSetFlags()[8] = true;
}
if (isValidValue(fields()[9], other.rWAiiImOhC)) {
this.rWAiiImOhC = data().deepCopy(fields()[9].schema(), other.rWAiiImOhC);
fieldSetFlags()[9] = true;
}
}
/**
* Gets the value of the 'tABrIPKTTt' field.
* @return The value.
*/
public com.rtbhouse.utils.generated.avro.benchmark.EnumVYQwf getTABrIPKTTt() {
return tABrIPKTTt;
}
/**
* Sets the value of the 'tABrIPKTTt' field.
* @param value The value of 'tABrIPKTTt'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder setTABrIPKTTt(com.rtbhouse.utils.generated.avro.benchmark.EnumVYQwf value) {
validate(fields()[0], value);
this.tABrIPKTTt = value;
fieldSetFlags()[0] = true;
return this;
}
/**
* Checks whether the 'tABrIPKTTt' field has been set.
* @return True if the 'tABrIPKTTt' field has been set, false otherwise.
*/
public boolean hasTABrIPKTTt() {
return fieldSetFlags()[0];
}
/**
* Clears the value of the 'tABrIPKTTt' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder clearTABrIPKTTt() {
tABrIPKTTt = null;
fieldSetFlags()[0] = false;
return this;
}
/**
* Gets the value of the 'GhvmUwFLjX' field.
* @return The value.
*/
public java.lang.Double getGhvmUwFLjX() {
return GhvmUwFLjX;
}
/**
* Sets the value of the 'GhvmUwFLjX' field.
* @param value The value of 'GhvmUwFLjX'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder setGhvmUwFLjX(java.lang.Double value) {
validate(fields()[1], value);
this.GhvmUwFLjX = value;
fieldSetFlags()[1] = true;
return this;
}
/**
* Checks whether the 'GhvmUwFLjX' field has been set.
* @return True if the 'GhvmUwFLjX' field has been set, false otherwise.
*/
public boolean hasGhvmUwFLjX() {
return fieldSetFlags()[1];
}
/**
* Clears the value of the 'GhvmUwFLjX' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder clearGhvmUwFLjX() {
GhvmUwFLjX = null;
fieldSetFlags()[1] = false;
return this;
}
/**
* Gets the value of the 'asFbDRSQfJ' field.
* @return The value.
*/
public java.util.List getAsFbDRSQfJ() {
return asFbDRSQfJ;
}
/**
* Sets the value of the 'asFbDRSQfJ' field.
* @param value The value of 'asFbDRSQfJ'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder setAsFbDRSQfJ(java.util.List value) {
validate(fields()[2], value);
this.asFbDRSQfJ = value;
fieldSetFlags()[2] = true;
return this;
}
/**
* Checks whether the 'asFbDRSQfJ' field has been set.
* @return True if the 'asFbDRSQfJ' field has been set, false otherwise.
*/
public boolean hasAsFbDRSQfJ() {
return fieldSetFlags()[2];
}
/**
* Clears the value of the 'asFbDRSQfJ' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder clearAsFbDRSQfJ() {
asFbDRSQfJ = null;
fieldSetFlags()[2] = false;
return this;
}
/**
* Gets the value of the 'zGbfmpfrZG' field.
* @return The value.
*/
public com.rtbhouse.utils.generated.avro.benchmark.EnumaUgwm getZGbfmpfrZG() {
return zGbfmpfrZG;
}
/**
* Sets the value of the 'zGbfmpfrZG' field.
* @param value The value of 'zGbfmpfrZG'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder setZGbfmpfrZG(com.rtbhouse.utils.generated.avro.benchmark.EnumaUgwm value) {
validate(fields()[3], value);
this.zGbfmpfrZG = value;
fieldSetFlags()[3] = true;
return this;
}
/**
* Checks whether the 'zGbfmpfrZG' field has been set.
* @return True if the 'zGbfmpfrZG' field has been set, false otherwise.
*/
public boolean hasZGbfmpfrZG() {
return fieldSetFlags()[3];
}
/**
* Clears the value of the 'zGbfmpfrZG' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder clearZGbfmpfrZG() {
zGbfmpfrZG = null;
fieldSetFlags()[3] = false;
return this;
}
/**
* Gets the value of the 'DcrtgFGBZF' field.
* @return The value.
*/
public java.lang.Float getDcrtgFGBZF() {
return DcrtgFGBZF;
}
/**
* Sets the value of the 'DcrtgFGBZF' field.
* @param value The value of 'DcrtgFGBZF'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder setDcrtgFGBZF(java.lang.Float value) {
validate(fields()[4], value);
this.DcrtgFGBZF = value;
fieldSetFlags()[4] = true;
return this;
}
/**
* Checks whether the 'DcrtgFGBZF' field has been set.
* @return True if the 'DcrtgFGBZF' field has been set, false otherwise.
*/
public boolean hasDcrtgFGBZF() {
return fieldSetFlags()[4];
}
/**
* Clears the value of the 'DcrtgFGBZF' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder clearDcrtgFGBZF() {
DcrtgFGBZF = null;
fieldSetFlags()[4] = false;
return this;
}
/**
* Gets the value of the 'TpdBSTWkVb' field.
* @return The value.
*/
public com.rtbhouse.utils.generated.avro.benchmark.FixedQpsxG getTpdBSTWkVb() {
return TpdBSTWkVb;
}
/**
* Sets the value of the 'TpdBSTWkVb' field.
* @param value The value of 'TpdBSTWkVb'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder setTpdBSTWkVb(com.rtbhouse.utils.generated.avro.benchmark.FixedQpsxG value) {
validate(fields()[5], value);
this.TpdBSTWkVb = value;
fieldSetFlags()[5] = true;
return this;
}
/**
* Checks whether the 'TpdBSTWkVb' field has been set.
* @return True if the 'TpdBSTWkVb' field has been set, false otherwise.
*/
public boolean hasTpdBSTWkVb() {
return fieldSetFlags()[5];
}
/**
* Clears the value of the 'TpdBSTWkVb' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder clearTpdBSTWkVb() {
TpdBSTWkVb = null;
fieldSetFlags()[5] = false;
return this;
}
/**
* Gets the value of the 'KTfVsohFju' field.
* @return The value.
*/
public java.lang.String getKTfVsohFju() {
return KTfVsohFju;
}
/**
* Sets the value of the 'KTfVsohFju' field.
* @param value The value of 'KTfVsohFju'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder setKTfVsohFju(java.lang.String value) {
validate(fields()[6], value);
this.KTfVsohFju = value;
fieldSetFlags()[6] = true;
return this;
}
/**
* Checks whether the 'KTfVsohFju' field has been set.
* @return True if the 'KTfVsohFju' field has been set, false otherwise.
*/
public boolean hasKTfVsohFju() {
return fieldSetFlags()[6];
}
/**
* Clears the value of the 'KTfVsohFju' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder clearKTfVsohFju() {
KTfVsohFju = null;
fieldSetFlags()[6] = false;
return this;
}
/**
* Gets the value of the 'BinskZmUsL' field.
* @return The value.
*/
public java.lang.Double getBinskZmUsL() {
return BinskZmUsL;
}
/**
* Sets the value of the 'BinskZmUsL' field.
* @param value The value of 'BinskZmUsL'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder setBinskZmUsL(java.lang.Double value) {
validate(fields()[7], value);
this.BinskZmUsL = value;
fieldSetFlags()[7] = true;
return this;
}
/**
* Checks whether the 'BinskZmUsL' field has been set.
* @return True if the 'BinskZmUsL' field has been set, false otherwise.
*/
public boolean hasBinskZmUsL() {
return fieldSetFlags()[7];
}
/**
* Clears the value of the 'BinskZmUsL' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder clearBinskZmUsL() {
BinskZmUsL = null;
fieldSetFlags()[7] = false;
return this;
}
/**
* Gets the value of the 'kCXPkkQWZz' field.
* @return The value.
*/
public java.lang.Float getKCXPkkQWZz() {
return kCXPkkQWZz;
}
/**
* Sets the value of the 'kCXPkkQWZz' field.
* @param value The value of 'kCXPkkQWZz'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder setKCXPkkQWZz(java.lang.Float value) {
validate(fields()[8], value);
this.kCXPkkQWZz = value;
fieldSetFlags()[8] = true;
return this;
}
/**
* Checks whether the 'kCXPkkQWZz' field has been set.
* @return True if the 'kCXPkkQWZz' field has been set, false otherwise.
*/
public boolean hasKCXPkkQWZz() {
return fieldSetFlags()[8];
}
/**
* Clears the value of the 'kCXPkkQWZz' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder clearKCXPkkQWZz() {
kCXPkkQWZz = null;
fieldSetFlags()[8] = false;
return this;
}
/**
* Gets the value of the 'rWAiiImOhC' field.
* @return The value.
*/
public java.lang.Float getRWAiiImOhC() {
return rWAiiImOhC;
}
/**
* Sets the value of the 'rWAiiImOhC' field.
* @param value The value of 'rWAiiImOhC'.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder setRWAiiImOhC(java.lang.Float value) {
validate(fields()[9], value);
this.rWAiiImOhC = value;
fieldSetFlags()[9] = true;
return this;
}
/**
* Checks whether the 'rWAiiImOhC' field has been set.
* @return True if the 'rWAiiImOhC' field has been set, false otherwise.
*/
public boolean hasRWAiiImOhC() {
return fieldSetFlags()[9];
}
/**
* Clears the value of the 'rWAiiImOhC' field.
* @return This builder.
*/
public com.rtbhouse.utils.generated.avro.benchmark.NestedRecordrdRvQ.Builder clearRWAiiImOhC() {
rWAiiImOhC = null;
fieldSetFlags()[9] = false;
return this;
}
@Override
@SuppressWarnings("unchecked")
public NestedRecordrdRvQ build() {
try {
NestedRecordrdRvQ record = new NestedRecordrdRvQ();
record.tABrIPKTTt = fieldSetFlags()[0] ? this.tABrIPKTTt : (com.rtbhouse.utils.generated.avro.benchmark.EnumVYQwf) defaultValue(fields()[0]);
record.GhvmUwFLjX = fieldSetFlags()[1] ? this.GhvmUwFLjX : (java.lang.Double) defaultValue(fields()[1]);
record.asFbDRSQfJ = fieldSetFlags()[2] ? this.asFbDRSQfJ : (java.util.List) defaultValue(fields()[2]);
record.zGbfmpfrZG = fieldSetFlags()[3] ? this.zGbfmpfrZG : (com.rtbhouse.utils.generated.avro.benchmark.EnumaUgwm) defaultValue(fields()[3]);
record.DcrtgFGBZF = fieldSetFlags()[4] ? this.DcrtgFGBZF : (java.lang.Float) defaultValue(fields()[4]);
record.TpdBSTWkVb = fieldSetFlags()[5] ? this.TpdBSTWkVb : (com.rtbhouse.utils.generated.avro.benchmark.FixedQpsxG) defaultValue(fields()[5]);
record.KTfVsohFju = fieldSetFlags()[6] ? this.KTfVsohFju : (java.lang.String) defaultValue(fields()[6]);
record.BinskZmUsL = fieldSetFlags()[7] ? this.BinskZmUsL : (java.lang.Double) defaultValue(fields()[7]);
record.kCXPkkQWZz = fieldSetFlags()[8] ? this.kCXPkkQWZz : (java.lang.Float) defaultValue(fields()[8]);
record.rWAiiImOhC = fieldSetFlags()[9] ? this.rWAiiImOhC : (java.lang.Float) 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));
}
}