public static Enum1 forNumber(int value) {
        switch (value) {
          case 1: return VAL1;
          case 2: return VAL2;
          default: return null;
        }
      }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
ql/src/gen/protobuf/gen-test/org/apache/hadoop/hive/ql/io/protobuf/SampleProtos.java