001    /**
002     * Autogenerated by Avro
003     * 
004     * DO NOT EDIT DIRECTLY
005     */
006    package org.apache.hadoop.io.serializer.avro;  
007    @SuppressWarnings("all")
008    public class AvroRecord extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
009      public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"AvroRecord\",\"namespace\":\"org.apache.hadoop.io.serializer.avro\",\"fields\":[{\"name\":\"intField\",\"type\":\"int\"}]}");
010      public int intField;
011      public org.apache.avro.Schema getSchema() { return SCHEMA$; }
012      // Used by DatumWriter.  Applications should not call. 
013      public java.lang.Object get(int field$) {
014        switch (field$) {
015        case 0: return intField;
016        default: throw new org.apache.avro.AvroRuntimeException("Bad index");
017        }
018      }
019      // Used by DatumReader.  Applications should not call. 
020      @SuppressWarnings(value="unchecked")
021      public void put(int field$, java.lang.Object value$) {
022        switch (field$) {
023        case 0: intField = (java.lang.Integer)value$; break;
024        default: throw new org.apache.avro.AvroRuntimeException("Bad index");
025        }
026      }
027    }