public static _Fields findByThriftId(int fieldId){
switch (fieldId) {
default :
    return null;
}
}

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