@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // SCHEDULED_EXECUTION_ID
          return SCHEDULED_EXECUTION_ID;
        case 2: // POLICY
          return POLICY;
        case 3: // DUMP_EXECUTION_ID
          return DUMP_EXECUTION_ID;
        case 4: // METADATA
          return METADATA;
        case 5: // PROGRESS
          return PROGRESS;
        case 6: // MESSAGE_FORMAT
          return MESSAGE_FORMAT;
        default:
          return null;
      }
    }
Find the _Fields constant that matches fieldId, or null if its not found.
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplicationMetrics.java