public static _Fields findByThriftId(int fieldId){
switch (fieldId) {
case 1:
    return MESSAGE_TYPE;
case 2:
  return REQUEST_INFO;
case 3:
return RESPONSE_INFO;
case 4:
return TRACE_INFO;
case 5:
return GLOBAL_CONTEXT;
case 6:
return LOCAL_CONTEXT;
case 7:
return HEARTBEAT_INFO;
default :
return null;
}
}

public static _Fields findByThriftId ( int fieldId ) { switch ( fieldId ) { case 1 : return MESSAGE_TYPE ; case 2 : return REQUEST_INFO ; case 3 : return RESPONSE_INFO ; case 4 : return TRACE_INFO ; case 5 : return GLOBAL_CONTEXT ; case 6 : return LOCAL_CONTEXT ; case 7 : return HEARTBEAT_INFO ; default : return null ; } }
find the _fields constant that matches fieldid , or null if its not found .
