public static _Fields findByThriftId(int fieldId){
switch (fieldId) {
case 1:
    return CODE;
case 2:
  return TYPE;
case 3:
return MSG;
case 4:
return CONFIG;
case 5:
return GUI;
default :
return null;
}
}

public static _Fields findByThriftId ( int fieldId ) { switch ( fieldId ) { case 1 : return CODE ; case 2 : return TYPE ; case 3 : return MSG ; case 4 : return CONFIG ; case 5 : return GUI ; default : return null ; } }
find the _fields constant that matches fieldid , or null if its not found .
