public static _Fields findByThriftId(int fieldId){
switch (fieldId) {
case 1:
    return BEGIN_IN_BOTH;
case 3:
  return OLD_STRING;
case 12:
return END_IN_BOTH;
default :
return null;
}
}

public static _Fields findByThriftId ( int fieldId ) { switch ( fieldId ) { case 1 : return BEGIN_IN_BOTH ; case 3 : return OLD_STRING ; case 12 : return END_IN_BOTH ; default : return null ; } }
find the _fields constant that matches fieldid , or null if its not found .
