/*** Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY*/
packageexample.avro;
@SuppressWarnings("all")
@org.apache.avro.specific.AvroGeneratedpublic class User extends org.apache.avro.specific.SpecificRecordBase implementsorg.apache.avro.specific.SpecificRecord {public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"User\",\"namespace\":\"example.avro\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"favorite_number\",\"type\":[\"int\",\"null\"]},{\"name\":\"favorite_color\",\"type\":[\"string\",\"null\"]}]}");public static org.apache.avro.Schema getClassSchema() { returnSCHEMA$; }
@Deprecatedpublicjava.lang.CharSequence name;
@Deprecatedpublicjava.lang.Integer favorite_number;
@Deprecatedpublicjava.lang.CharSequence favorite_color;/*** 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()
.*/
publicUser() {}/*** All-args constructor.*/
publicUser(java.lang.CharSequence name, java.lang.Integer favorite_number, java.lang.CharSequence favorite_color) {this.name =name;this.favorite_number =favorite_number;this.favorite_color =favorite_color;
}public org.apache.avro.Schema getSchema() { returnSCHEMA$; }//Used by DatumWriter. Applications should not call.
public j